Category : Postfix

Connect to a Plesk server via SSH. Create a copy “postfix” configuration file: # cp -a /etc/postfix/main.cf /root/backup_main.cf Open “postfix” configuration file in a text editor, for example, “vi” editor: # vi /etc/postfix/main.cf Add the lines specified below to the configuration file main.cf and make sure that these lines are present only once in the ..

Read more

Is it possible to change the time for mail to give up on sending (Retry) from 5 days which is right now to like 1 day or 12 hours for plesk postfix MTA? Edit the following to /etc/postfix/main.cf near the top: # nano /etc/postfix/main.cf maximal_queue_lifetime = 1h maximal_backoff_time = 15m minimal_backoff_time = 5m queue_run_delay = ..

Read more

Post fix restart produces the following # tail -f /usr/local/psa/var/log/maillog Mar 4 21:40:07 postfix/postfix-script[24660]: fatal: the Postfix mail system is not running Mar 4 21:40:08 postfix/postfix-script[24731]: starting the Postfix mail system Mar 4 21:40:08 postfix/master[24732]: fatal: bind 0.0.0.0 port 25: Address already in use Look for multiple instances of smtp inet n – n – ..

Read more

Error in plesk postfix email logs: Notice: Error: EHLO not accepted from server! in /var/www/vhosts/domain.com/httpdocs/system/library/mail.php on line 237 Check postfix main and comment out non_smtpd_milters: smtpd_milters = , inet:127.0.0.1:12768 #non_smtpd_milters = , inet:127.0.0.1:12768 Restart postfix: # service postfix restart Shutting down postfix: [ OK ] Starting postf..

Read more

Source: http://kb.sp.parallels.com/en/115472 My server is using the Postfix mail server. For some reason, all messages it sends contain unnecessary headers, like the following: X-No-Relay: not in my network or X-No-Auth: unauthenticated sender The number of headers is multiplied by the number of message recipients, e.g., the headers of a message sent to two recipients would ..

Read more

How to clear the mailqueue. Check the mailq: # /usr/local/psa/admin/bin/mailqueuemng -s View 5 of the items for a certain domain: # /usr/local/psa/admin/bin/mailqueuemng -s | grep -C 5 user@domain.com # /usr/local/psa/admin/bin/mailqueuemng -D” or # postsuper -d ALL If you get a permission error on an older PLesk 9 instance # /usr/sbin/postsuper -d ALL To remove specific ..

Read more