How do I need to configure SMTP Auth? I have dedicated FreeBSD box, The email sending without smtp module is working perfectly but very slow. The receiver receives email after almost 15 mins. I checked the maillog it says delays and timeouts that means the server keeps on trying to send email again and again until it successfully sends one. This is consuming lots of CPU.

I am seeking help for configuring smpt module to use my dedicated box's  smtp server,
I need help in following places where I have ???? sign:

#SMTP server settings
SMTP server -&gt; smpt.mydomain.com  # Tested by pinging, its working
SMTP backup server -&gt; mail.mydomain.com  # Also verified by Ping
SMTP port -&gt; 25
USE SSL

#SMTP Authentication
Username -&gt; ???????
Password -&gt; ???????


I tried using localhost, also username and password of the dedicated box or leaving both lines blank which gives me:


  Unable to send e-mail. Contact the site administrator if the problem
  persists.


also checking the debug log doesn't show any log, it says check admin/reports/dblog but when I got to the link it just shows me the contents from admin/reports no any dblog
Most providers block smtp ports, I had to use a mail redirection service when I set this up.

If the message gets through after 15 minutes though, I suspect you have a  mail server misconfiguration. Nowadays, I usually go for a much simpler approach, I use google's smtp server to send the emails.

An easy way you can test if port 25 is blocked is by connecting by SSH to a remote server, then trying to telnet on local server port 25. 

telnet mail.port25.com 25


If the port is open, you should get a response similar to this:

Trying 69.63.149.30...
Connected to mail.port25.com (69.63.149.30).
Escape character is '^]'.
220 mail.port25.com (PowerMTA(TM) v4.0) ESMTP service ready


Another thing to check, if you are using qmail make sure the trigger file has proper permissions. qmail/queue/lock/trigger should be prw--w--w qmails:qmail.