Archive for the smtp Category

Such a pity (and no wonder they disbanded), I was working with opensolaris sendmail trying to configure it to work with a smarthost that required authentication. I found out there is no SASL auth support on the default sendmail binary. Looks like you have to compile it yourself… I didn’t do so, but this guy seems to have made it work.

Debugging SMTP Servers

| September 2nd, 2010

I had to setup some postfix and sendmail servers today and I needed to manually debug them to see if it worked.

If you’re using sendmail, you can use sendmail -v somebody@gmail.com, it gives a nice output of all the raw SMTP communication.

Postfix doesn’t have this unfortunately so I had to test it out manually. This tutorial proved to be useful to test my relayhost using AUTH PLAIN.

I used these two howtos on setting up postfix and sendmail with a mail relay using an AUTH method. For the postfix tutorial, I don’t know if you need to add smtp_always_send_ehlo = yes or smtp_sasl_security_options = noanonymous, but I could be wrong.