My Emails are not getting delivered ??

10 posts / 0 new
Last post
#1 Tue, 03/06/2012 - 04:12
Anonymous

My Emails are not getting delivered ??

Hi,

I have noticed while testing that emails I send to my gmail account are delivered immediately but the same email to my hotmail account does not show up at all, not even in junk/spam folders. I don't have any spam settings on the account.

What are the settings I need to check or set in order to make sure email gets delivered ?

Thanks.

Tue, 03/06/2012 - 08:36
andreychek

Howdy,

Take a peek in your email logs in /var/log/maillog or /var/log/mail.log -- what do you see in there when your system tries to deliver the emails to a Hotmail account?

-Eric

Wed, 03/07/2012 - 01:23
Davvit

Mar 7 01:49:19 rm-1003-06 postfix/smtpd[15891]: connect from rm-1003-06.datarealm.com[65.23.129.163] Mar 7 01:49:19 rm-1003-06 postfix/smtpd[15891]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory Mar 7 01:49:19 rm-1003-06 postfix/smtpd[15891]: warning: rm-1003-06.datarealm.com[65.23.129.163]: SASL LOGIN authentication failed: generic failure Mar 7 01:49:19 rm-1003-06 postfix/smtpd[15891]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory Mar 7 01:49:19 rm-1003-06 postfix/smtpd[15891]: warning: SASL authentication failure: Password verification failed Mar 7 01:49:19 rm-1003-06 postfix/smtpd[15891]: warning: rm-1003-06.datarealm.com[65.23.129.163]: SASL PLAIN authentication failed: generic failure Mar 7 01:49:20 rm-1003-06 postfix/smtpd[15891]: 063C1340F50: client=rm-1003-06.datarealm.com[65.23.129.163] Mar 7 01:49:20 rm-1003-06 postfix/cleanup[15894]: 063C1340F50: message-id=1331102959.4f5704ef4c756@www.simpg.net Mar 7 01:49:20 rm-1003-06 postfix/qmgr[28083]: 063C1340F50: from=Admin@simpg.net, size=3358, nrcpt=1 (queue active) Mar 7 01:49:20 rm-1003-06 postfix/smtpd[15891]: disconnect from rm-1003-06.datarealm.com[65.23.129.163] Mar 7 01:49:21 rm-1003-06 postfix/smtp[15895]: 063C1340F50: to=yukseklikler@hotmail.com, relay=mx2.hotmail.com[65.55.92.184]:25, delay=1.1, delays=0.38/0.08/0.48/0.15, dsn=2.0.0, status=sent (250 1331102959.4f5704ef4c756@www.simpg.net Queued mail for delivery) Mar 7 01:49:21 rm-1003-06 postfix/qmgr[28083]: 063C1340F50: removed

When I clicked on "Login to UserMin"

I got an error:

Failed to save mailbox : Failed to open PID file

So I went to the mailbox using "Root" and sent a test email to my gmail account and that was sent.

Mar 7 02:00:13 rm-1003-06 postfix/pickup[14793]: 37190340F72: uid=0 from=simpy@simpg.net Mar 7 02:00:13 rm-1003-06 postfix/cleanup[16290]: 37190340F72: message-id=1331103612.16223@simpg.net Mar 7 02:00:13 rm-1003-06 postfix/qmgr[28083]: 37190340F72: from=simpy@simpg.net, size=636, nrcpt=1 (queue active) Mar 7 02:00:15 rm-1003-06 postfix/smtp[16292]: 37190340F72: to=dave.fethiye@gmail.com, relay=gmail-smtp-in.l.google.com[209.85.225.26]:25, delay=2.1, delays=0.29/0.05/0.64/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1331103615 j7si11646608igq.71) Mar 7 02:00:15 rm-1003-06 postfix/qmgr[28083]: 37190340F72: removed

I checked the password for the "simpy" user and it is correct.

Not sure what is going wrong :(

Wed, 03/07/2012 - 09:29
andreychek

In the logs above, it's showing this error:

warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory

That will prevent you from logging in to send email.

You may want to try restarting saslauthd with this:

/etc/init.d/saslauthd restart

You could also try the same thing to assist with that Usermin error:

/etc/init.d/usermin restart

Wed, 03/07/2012 - 14:09
Davvit

OK

Thanks I ran them and usermin now works.

But the is an inconsistancy.

Under usermin it shows there are Zero emails in the inbox but when I look under Webmin --> Servers --> Read Email there are 4 emails in the inbox !!!

I am going to try an send the email to the Hotmail account again and see if it works better.

Wed, 03/07/2012 - 14:22
Davvit

Hi

I just did another send and at least now it looks like the server sent the email -- or put it on the queue:

Mar 7 15:04:42 rm-1003-06 postfix/smtpd[7837]: connect from rm-1003-06.datarealm.com[65.23.129.163] Mar 7 15:04:42 rm-1003-06 postfix/smtpd[7837]: AA131340F51: client=rm-1003-06.datarealm.com[65.23.129.163], sasl_method=LOGIN, sasl_username=simpy Mar 7 15:04:42 rm-1003-06 postfix/cleanup[7845]: AA131340F51: message-id=1331150682.4f57bf5a305e8@www.simpg.net Mar 7 15:04:42 rm-1003-06 postfix/qmgr[28083]: AA131340F51: from=Admin@simpg.net, size=2112, nrcpt=1 (queue active) Mar 7 15:04:42 rm-1003-06 postfix/smtpd[7837]: disconnect from rm-1003-06.datarealm.com[65.23.129.163] Mar 7 15:04:43 rm-1003-06 postfix/smtp[7849]: AA131340F51: to=yukseklikler@hotmail.com, relay=mx4.hotmail.com[65.54.188.126]:25, delay=0.64, delays=0.26/0.04/0.15/0.19, dsn=2.0.0, status=sent (250 1331150682.4f57bf5a305e8@www.simpg.net Queued mail for delivery) Mar 7 15:04:43 rm-1003-06 postfix/qmgr[28083]: AA131340F51: removed

When it says "Queued mail for delivery"

When will it get delivered ?

When it say "Removed" - does that mean it has been delivered ?

Thanks for helping me understand.

BTW - I did NOT get the email at "yukseklikler@hotmail.com" so there is still some problems ....

Wed, 03/07/2012 - 15:05
andreychek

When it says "Queued mail for delivery" When will it get delivered ? When it say "Removed" - does that mean it has been delivered ?

Yup! That means that Hotmail accepted the email for delivery.

You may want to make sure it didn't end up in your spam folder.

-Eric

Thu, 03/08/2012 - 06:26
Davvit

OK

  • Yes this time it arrived, but it did go in the Spam folder

The guy at rackmounted suggested this:

=================================

The only thing I could think of that might help is adding an SPF record to your DNS server, one like this is usually all you need.

"v=spf1 a mx ~all"

======================================

Does this make sense to you ?

EDIT ---

JUST noticed that all my vs have this anyway - must be standard setup by VirtalMin.

Thu, 03/08/2012 - 07:52
andreychek

Yeah, SPF should be enabled by default.

You could try going to a service such as this one to verify that your record looks correct:

http://www.mxtoolbox.com/spf.aspx

Fri, 03/09/2012 - 07:42 (Reply to #9)
Davvit

Thanks - seems to check out OK :)

Topic locked