HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Random Questions (http://www.howtoforge.com/forums/showthread.php?t=38764)

dclardy 2nd September 2009 18:56

SMTP Server not sending emails
 
I just installed this on my server, and I am extremely happy with everything so far except I can't send emails.

I am unable to send emails from the email accounts that I have setup. What is the correct SMTP setup for these. The email account is drew@drewclardy.info. I can send emails to that account and receive them, but I can't send them from that account unless I use squirrel mail.

till 3rd September 2009 10:58

You have to enable smtp-auth in your email client. The username and password are the same then the pop3 password.

dclardy 3rd September 2009 15:17

How do I go about that? I am new to linux. I have the Perfect Server Ubuntu version with ISPConfig 3.0.

falko 3rd September 2009 16:22

There must be something like "Server requires authentication" in your email client. Please activate this option.

dclardy 3rd September 2009 16:42

This is the error that I get in Thunderbird.

http://drewclardy.info/untitled.bmp

till 3rd September 2009 17:23

Please take a look in the mail log on the server and post the error messages that you get there when you try to authenticate with smtp-auth. Also make sure that you did not enable ssl in thunderbird.

dclardy 3rd September 2009 17:28

These are from the mail-warn log:

Code:

Sep 3 09:37:44 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: SASL authentication failure: Password verification failed
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL PLAIN authentication failed: generic failure
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL LOGIN authentication failed: generic failure
Sep 3 09:37:48 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:48 server postfix/smtpd[20859]: warning: SASL authentication failure: Password verification failed
Sep 3 09:37:48 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL PLAIN authentication failed: generic failure
Sep 3 09:37:49 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:49 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL LOGIN authentication failed: generic failure

This is from the mail-log:

Code:

Sep 3 09:35:01 server postfix/smtpd[20802]: connect from localhost.localdomain[127.0.0.1]
Sep 3 09:35:01 server postfix/smtpd[20802]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Sep 3 09:35:01 server postfix/smtpd[20802]: disconnect from localhost.localdomain[127.0.0.1]
Sep 3 09:37:37 server postfix/smtpd[20859]: connect from h3.204.39.162.static.ip.windstream.net[162.39.204.3]
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: SASL authentication failure: Password verification failed
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL PLAIN authentication failed: generic failure
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:44 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL LOGIN authentication failed: generic failure
Sep 3 09:37:48 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:48 server postfix/smtpd[20859]: warning: SASL authentication failure: Password verification failed
Sep 3 09:37:48 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL PLAIN authentication failed: generic failure
Sep 3 09:37:49 server postfix/smtpd[20859]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 3 09:37:49 server postfix/smtpd[20859]: warning: h3.204.39.162.static.ip.windstream.net[162.39.204.3]: SASL LOGIN authentication failed: generic failure
Sep 3 09:37:50 server postfix/smtpd[20859]: disconnect from h3.204.39.162.static.ip.windstream.net[162.39.204.3]


dclardy 3rd September 2009 23:07

It looks like the SASLAuth files did not load properly. Is there anyway to reinstall them at this point?

Do these files make up that server?

libsas12-2 libsas12-modules libsas12-modules-sql sas12-bin

When I tried to install these using Falko's how-to directions, they could not be found. I thought that I saw them being installed in the initial load of Ubuntu.

I also had the same issue with getmail14. How can I put these items on the server? Do I need to do a wipe and then reinstall? My personal site is the only that is currently on the server. It is not a big deal to me to do that.

Is there another operating system that you Linux Gods would recommend? I am new to the whole system, but Ubuntu is a name that I had heard before so I went with it.

Thanks for help and suggestions.

till 3rd September 2009 23:33

This explains of course your problems. The setup can not work if not all files from all steps are installed and all these files have to be installed before ispconfig is installed. If you will install them after ispconfig, they might overwrite the ispconfig setup.

The recommended OS for ISPConfig is debian.

dclardy 3rd September 2009 23:39

Thanks for the recommendation. I will switch over to Debian tonight. No issue really.

The reason the files were not installed is because they were not in the repository. To me that does not make any sense, but I just kept going. Completly my fault on that.

Thanks.


All times are GMT +2. The time now is 17:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.