How To Flush The Mail Queue In Postfix

Author: , December 13th, 2010

Flush the mail queue: # postfix flush OR # postfix -f View the mail queue: # mailq Delete all mail from the queue: # postsuper -d ALL Delete all mails in the deferred queue: # postsuper -d ALL deferred

How To Configure The RelayHost In Postfix

Author: , November 27th, 2010

http://www.postfix.org/postconf.5.html “Specify a domain name, hostname, hostname:port, [hostname]:port, [hostaddress] or [hostaddress]:port. The form [hostname] turns off MX lookups.” For example: relayhost = $mydomain relayhost = [smtprelay.wyzaerd.com]:2525

How To Configure PostFix To Listen On Multiple Ports

Author: , November 27th, 2010

Modify /etc/postfix/master.cf, and add one line per port. The example below shows the original smtp line along with a sample new line. 25 inet n – – – – smtpd 2525 inet n – – – – smtpd Make sure to open the port in your firewall… Another interesting solution I found was to use […]