HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Problem recieving mail (http://www.howtoforge.com/forums/showthread.php?t=1693)

webstergd 15th December 2005 10:07

Problem recieving mail
 
I am quite pleased with ispconfig. It is truly an amazing program. However, I am having trouble receiving e-mails in my inbox. This holds true using the webmail interface and outlook. It appears as if they are not being properly delivered to the users e-mail box. I am able to send main from the account so SMTP works perfectly. Also, no e-mails are getting bounced back.

My set up is as follows:
Fedora Core 4 perfect
MTA Postfix
logs are enabled
maildir is disabled
spamfilter is enabled

on the email account:
catchAll-email is enabled
MailScan is enabled
Keep Copy is enabled
Spamfilter is enabled
Antivirus is enabled
Span Strategy accept
spanHits: 5
Rewrite subject is enabled

When I viewed the log files they are not giving me any errors and the server is recieving the e-mails.

Any ideas? Thanks for your help!

falko 15th December 2005 10:22

Can you try to send a mail to the system and at the same time have a look at the mail log and post the relevant excerpt of the log here?

webstergd 16th December 2005 01:37

here is /var/log/maillog: from system start to when i sent the message....was about a 2 min delay:

Code:

Dec 15 19:16:33 www postfix/postfix-script: starting the Postfix mail system
Dec 15 19:16:33 www postfix/master[3104]: daemon started -- version 2.2.2, configuration /etc/postfix
Dec 15 19:16:33 www postfix/qmgr[3109]: D11B11110175: from=<webmaster@axiompvp.com>, size=984, nrcpt=1 (queue active)
Dec 15 19:16:33 www postfix/qmgr[3109]: 44C081110178: from=<webmaster@axiompvp.com>, size=1094, nrcpt=1 (queue active)
Dec 15 19:17:03 www postfix/smtp[3116]: connect to mx1.hotmail.com[65.54.244.136]: Connection timed out (port 25)
Dec 15 19:17:03 www postfix/smtp[3120]: connect to mx2.hotmail.com[65.54.244.40]: Connection timed out (port 25)
Dec 15 19:17:33 www postfix/smtp[3116]: connect to mx2.hotmail.com[65.54.190.50]: Connection timed out (port 25)
Dec 15 19:17:33 www postfix/smtp[3120]: connect to mx2.hotmail.com[65.54.190.50]: Connection timed out (port 25)
Dec 15 19:18:03 www postfix/smtp[3116]: connect to mx1.hotmail.com[65.54.245.8]: Connection timed out (port 25)
Dec 15 19:18:03 www postfix/smtp[3120]: connect to mx1.hotmail.com[64.4.50.50]: Connection timed out (port 25)
Dec 15 19:18:33 www postfix/smtp[3116]: connect to mx3.hotmail.com[65.54.244.72]: Connection timed out (port 25)
Dec 15 19:18:33 www postfix/smtp[3120]: connect to mx4.hotmail.com[65.54.244.232]: Connection timed out (port 25)
Dec 15 19:19:03 www postfix/smtp[3116]: connect to mx2.hotmail.com[65.54.244.168]: Connection timed out (port 25)
Dec 15 19:19:03 www postfix/smtp[3120]: connect to mx1.hotmail.com[65.54.245.8]: Connection timed out (port 25)
Dec 15 19:19:09 www ipop3d[3685]: pop3 service init from 24.125.34.87
Dec 15 19:19:09 www ipop3d[3685]: Login user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0/0
Dec 15 19:19:09 www ipop3d[3685]: Logout user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0 ndele=0
Dec 15 19:19:19 www ipop3d[3690]: pop3 service init from 24.125.34.87
Dec 15 19:19:19 www ipop3d[3690]: Login user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0/0
Dec 15 19:19:19 www ipop3d[3690]: Logout user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0 ndele=0
Dec 15 19:19:26 www postfix/smtpd[3696]: connect from cedar.vcu.edu[128.172.184.213]
Dec 15 19:19:26 www postfix/smtpd[3696]: D27A41110180: client=cedar.vcu.edu[128.172.184.213]
Dec 15 19:19:26 www postfix/cleanup[3699]: D27A41110180: message-id=<000001c601d6$7580eb10$9101a8c0@laptop>
Dec 15 19:19:26 www postfix/qmgr[3109]: D27A41110180: from=<webstergd@vcu.edu>, size=2626, nrcpt=1 (queue active)
Dec 15 19:19:26 www postfix/smtpd[3696]: disconnect from cedar.vcu.edu[128.172.184.213]
Dec 15 19:19:27 www postfix/local[3700]: D27A41110180: to=<root@www.axiompvp.com>, orig_to=<webmaster@axiompvp.com>, relay=local, delay=1, status=sent (delivered to mailbox)
Dec 15 19:19:27 www postfix/qmgr[3109]: D27A41110180: removed
Dec 15 19:19:33 www postfix/smtp[3116]: connect to mx1.hotmail.com[65.54.244.8]: Connection timed out (port 25)
Dec 15 19:19:33 www postfix/smtp[3120]: connect to mx3.hotmail.com[65.54.244.200]: Connection timed out (port 25)
Dec 15 19:19:42 www postfix/smtpd[3696]: connect from www.axiompvp.com[24.125.34.87]
Dec 15 19:19:42 www postfix/smtpd[3696]: 975021110180: client=www.axiompvp.com[24.125.34.87], sasl_method=LOGIN, sasl_username=webmaster
Dec 15 19:19:42 www postfix/cleanup[3699]: 975021110180: message-id=<000501c601d6$83be6540$9101a8c0@laptop>
Dec 15 19:19:42 www postfix/qmgr[3109]: 975021110180: from=<webmaster@axiompvp.com>, size=2161, nrcpt=1 (queue active)
Dec 15 19:19:43 www ipop3d[3709]: pop3 service init from 24.125.34.87
Dec 15 19:19:43 www ipop3d[3709]: Login user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0/0
Dec 15 19:19:43 www ipop3d[3709]: Logout user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0 ndele=0
Dec 15 19:19:43 www postfix/smtp[3708]: 975021110180: to=<webstergd@vcu.edu>, relay=brightmailscanner.ucc.vcu.edu[128.172.8.162], delay=1, status=sent (250 2.0.0 jBG0Jh4p019896 Message accepted for delivery)
Dec 15 19:19:43 www postfix/qmgr[3109]: 975021110180: removed
Dec 15 19:19:45 www postfix/smtpd[3696]: disconnect from www.axiompvp.com[24.125.34.87]
Dec 15 19:20:03 www postfix/smtp[3116]: connect to mx3.hotmail.com[64.4.50.179]: Connection timed out (port 25)
Dec 15 19:20:03 www postfix/smtp[3120]: connect to mx4.hotmail.com[65.54.190.179]: Connection timed out (port 25)
Dec 15 19:20:23 www ipop3d[3722]: pop3 service init from 24.125.34.87
Dec 15 19:20:23 www ipop3d[3722]: Login user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0/0
Dec 15 19:20:23 www ipop3d[3722]: Logout user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0 ndele=0

looks like hotmail is having a little problems recieving any mail. Any ideas on how to fix that? increase time out time?

I am sending the mail message from webstergd@vcu.edu to webmaster@axiompvp.com

I hope this is the mail log you are looking for. If you would like another log to be sent please just ask. THank again :-)

till 16th December 2005 09:23

For hotmail you will have to add SPF records for your domain at the authoritive DNS Server, otherwise hotmail refuses your smtp connections.

Please check if the domain that shall receive the email is listed in /etc/postfix/local-host-names (without www) and the email address is listed in /etc/postfix/virtusertable

falko 16th December 2005 09:50

Have a look at this thread: http://www.howtoforge.com/forums/showthread.php?t=802

For help on how to create an SPF record - the SPF record form in ISPConfig is very similar to http://www.openspf.org/wizard.html?mydomain=&x=26&y=5.

webstergd 16th December 2005 10:54

Thank you both for your reply. Below is the content in the virtusertable and also local-host-names

virtusertable:
webmaster@www.axiompvp.com webmaster
@www.axiompvp.com webmaster
webmaster@axiompvp.com webmaster
@axiompvp.com webmaster

local-host-names:
localhost
www.axiompvp.com
localhost.www.axiompvp.com
localhost.axiompvp.com
axiompvp.com

Everything looks ok to me. Any chance you see anything?

till 16th December 2005 10:57

Thats OK so far.

Please try to check your maillog with the command "tail -f /path/to/mail/log". This will open an continous tail command. If you now send an email to your server, which lines where added to the mail log?

webstergd 16th December 2005 11:02

Here is the output

Dec 16 05:01:01 www ipop3d[20257]: pop3 service init from 24.125.34.87
Dec 16 05:01:01 www ipop3d[20257]: Login user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0/0
Dec 16 05:01:01 www ipop3d[20257]: Logout user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0 ndele=0
Dec 16 05:01:02 www postfix/smtp[20182]: connect to mx2.hotmail.com[65.54.190.50]: Connection timed out (port 25)Dec 16 05:01:02 www postfix/smtp[20183]: connect to mx1.hotmail.com[64.4.50.50]: Connection timed out (port 25)
Dec 16 05:01:02 www postfix/smtp[20184]: connect to mx1.hotmail.com[64.4.50.50]: Connection timed out (port 25)
Dec 16 05:01:02 www postfix/smtp[20185]: connect to mx4.hotmail.com[65.54.190.179]: Connection timed out (port 25)
Dec 16 05:01:02 www postfix/smtp[20186]: connect to mx4.hotmail.com[65.54.244.104]: Connection timed out (port 25)
Dec 16 05:01:07 www postfix/smtpd[20263]: connect from cedar.vcu.edu[128.172.184.213]
Dec 16 05:01:07 www postfix/smtpd[20263]: 9DA341110183: client=cedar.vcu.edu[128.172.184.213]
Dec 16 05:01:07 www postfix/cleanup[20266]: 9DA341110183: message-id=<000001c60227$b99a11e0$9101a8c0@laptop>
Dec 16 05:01:07 www postfix/qmgr[11278]: 9DA341110183: from=<webstergd@vcu.edu>, size=2625, nrcpt=1 (queue active)
Dec 16 05:01:07 www postfix/local[20267]: 9DA341110183: to=<root@www.axiompvp.com>, orig_to=<webmaster@axiompvp.com>, relay=local, delay=0, status=sent (delivered to mailbox)
Dec 16 05:01:07 www postfix/qmgr[11278]: 9DA341110183: removed
Dec 16 05:01:07 www postfix/smtpd[20263]: disconnect from cedar.vcu.edu[128.172.184.213]

till 16th December 2005 11:10

Quote:

Dec 16 05:01:07 www postfix/local[20267]: 9DA341110183: to=<root@www.axiompvp.com>, orig_to=<webmaster@axiompvp.com>, relay=local, delay=0, status=sent (delivered to mailbox)
The mail is delivered, but to root. Have you set any redirects in postfix for the webmaster account? Please have a look in the postfix aliases file.

Try to create another mail account that is not a webmaster address. If this account is working properly we know thats not a general problem in mail delivery.

webstergd 16th December 2005 11:20

Dec 16 05:17:58 www ipop3d[20966]: pop3 service init from 24.125.34.87
Dec 16 05:17:58 www ipop3d[20966]: Login user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0/0
Dec 16 05:17:58 www ipop3d[20966]: Logout user=webmaster host=www.axiompvp.com [24.125.34.87] nmsgs=0 ndele=0
Dec 16 05:18:01 www postfix/smtpd[20967]: connect from cedar.vcu.edu[128.172.184.213]
Dec 16 05:18:01 www postfix/smtpd[20967]: AB8FE1110183: client=cedar.vcu.edu[128.172.184.213]
Dec 16 05:18:01 www postfix/cleanup[20970]: AB8FE1110183: message-id=<000501c6022a$1639b340$9101a8c0@laptop>
Dec 16 05:18:01 www postfix/qmgr[20891]: AB8FE1110183: from=<webstergd@vcu.edu>, size=2652, nrcpt=1 (queue active)
Dec 16 05:18:01 www postfix/smtpd[20967]: disconnect from cedar.vcu.edu[128.172.184.213]
Dec 16 05:18:01 www postfix/pickup[20890]: E41511110185: uid=10010 from=<malikulmawt>
Dec 16 05:18:01 www postfix/cleanup[20970]: E41511110185: message-id=<20051216101801.E41511110185@www.axiompvp.com>
Dec 16 05:18:01 www postfix/qmgr[20891]: E41511110185: from=<malikulmawt@www.axiompvp.com>, size=380, nrcpt=1 (queue active)
Dec 16 05:18:01 www postfix/local[20971]: AB8FE1110183: to=<malikulmawt@www.axiompvp.com>, orig_to=<malikulmawt@axiompvp.com>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 16 05:18:01 www postfix/qmgr[20891]: AB8FE1110183: removed
Dec 16 05:18:02 www postfix/local[20971]: E41511110185: to=<admispconfig@localhost.axiompvp.com>, orig_to=<admispconfig@localhost>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 16 05:18:02 www postfix/qmgr[20891]: E41511110185: removed


looks as if it went to the account. Thank you again for your help. Any ideas on how to fix webmaster?


All times are GMT +2. The time now is 18:06.

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