• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Script / Cron for Qmail sendmail

T

Techforce

Guest
Sorry if this is a duplicate someone has already asked, but is there a way using the cron or merely editing a file via ssh that sends a CC of all outgoing emails through the sendmail sytem to an email address we type in?
 
To email the output to a different email address just add the line

MAILTO="user@example.com"

To the crontab before the command.

Also:

# cat /etc/crontab | grep MAILTO
MAILTO=root
 
Thanks Igor, but Im not sure I understand that this is the answer to what I was looking for.

I was asking more on the lines what path to the sendmail file is, and what can I change in it so that in addition to it sending outgoing mail to the recipient, it also sends another copy to an email address that I define.
 
Back
Top