Category Archives: postfix

Useful Postfix CLI commands to manage email queue

During dev I sometimes need to check what emails are scheduled to be sent. Display a list of queued mails sudo mailq View message in queue sudo postcat -vq QUEUE_ID Delete queued mail after debugging sudo postsuper -d ALL

Posted in postfix, Uncategorized | Tagged , , | Leave a comment

Nastavenie Postfix s Gmail SMTP

Nedávno som musel riešiť relayhost pre Postfix nakoľko s localhostu mi PHP nechcel posielať mail.Takže som postupoval podľa popisu na http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/, podrobnejší popis i s kompiláciou je na http://souptonuts.sourceforge.net/postfix_tutorial.html sudo aptitude install postfix libsasl2 ca-certificate libsasl2-modules Predtým som to mal … Continue reading

Posted in postfix, ubuntu | Leave a comment