Courier issues, new install, cant connect

Discussion in 'Server Operation' started by Smitherines, Apr 8, 2011.

  1. Smitherines

    Smitherines New Member

    Hey guys, I have a brand new Debian Squeeze server up. I have everything working except for email. When I try to use outlook to connect to the server to send and receive email, I get errors up the wazoo.

    I'll post my mail.log. Can anyone help me locate the issues here?
    Code:
    Apr  7 23:01:35 webserver postfix/master[9800]: daemon started -- version 2.7.1, configuration /etc/postfix
    Apr  7 23:02:01 webserver postfix/master[9800]: terminating on signal 15
    Apr  7 23:03:18 webserver postfix/master[10291]: daemon started -- version 2.7.1, configuration /etc/postfix
    Apr  7 23:10:45 webserver postfix/smtpd[10312]: connect from mta1.srv.hcvlny.cv.net[167.206.4.196]
    Apr  7 23:10:45 webserver postfix/smtpd[10312]: NOQUEUE: reject: RCPT from mta1.srv.hcvlny.cv.net[167.206.4.196]: 554 5.7.1 <john@dtmwerkz.com>: Relay access denied; from=<john2619@optonline.net> to=<john@dtmwerkz.com> proto=ESMTP helo=<mta1.srv.hcvlny.cv.net>
    Apr  7 23:10:46 webserver postfix/smtpd[10312]: disconnect from mta1.srv.hcvlny.cv.net[167.206.4.196]
    Apr  7 23:14:06 webserver postfix/anvil[10316]: statistics: max connection rate 1/60s for (smtp:167.206.4.196) at Apr  7 23:10:45
    Apr  7 23:14:06 webserver postfix/anvil[10316]: statistics: max connection count 1 for (smtp:167.206.4.196) at Apr  7 23:10:45
    Apr  7 23:14:06 webserver postfix/anvil[10316]: statistics: max cache size 1 at Apr  7 23:10:45
    Apr  7 23:18:37 webserver postfix/master[10291]: terminating on signal 15
    Apr  7 23:18:37 webserver postfix/master[10443]: daemon started -- version 2.7.1, configuration /etc/postfix
    Apr  7 23:19:07 webserver postfix/smtpd[10472]: connect from localhost[127.0.0.1]
    Apr  7 23:20:27 webserver postfix/smtpd[10472]: disconnect from localhost[127.0.0.1]
    Apr  7 23:21:37 webserver authdaemond: modules="authpam", daemons=5
    Apr  7 23:21:37 webserver authdaemond: Installing libauthpam
    Apr  7 23:21:37 webserver authdaemond: Installation complete: authpam
    Apr  7 23:31:19 webserver postfix/master[10443]: terminating on signal 15
    Apr  7 23:31:19 webserver postfix/master[11177]: daemon started -- version 2.7.1, configuration /etc/postfix
    Apr  7 23:39:01 webserver postfix/pickup[11179]: 971D679D88: uid=0 from=<root>
    Apr  7 23:39:01 webserver postfix/cleanup[14413]: 971D679D88: message-id=<20110408033901.971D679D88@webserver.dtmwerkz.com>
    Apr  7 23:39:01 webserver postfix/qmgr[11180]: 971D679D88: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr  7 23:39:01 webserver postfix/local[14415]: 971D679D88: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.25, delays=0.13/0.03/0/0.08, dsn=2.0.0, status=sent (delivered to maildir)
    Apr  7 23:39:01 webserver postfix/qmgr[11180]: 971D679D88: removed
    Apr  8 00:05:03 webserver imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr  8 00:09:01 webserver postfix/pickup[11179]: 95B4079DB4: uid=0 from=<root>
    Apr  8 00:09:01 webserver postfix/cleanup[15346]: 95B4079DB4: message-id=<20110408040901.95B4079DB4@webserver.dtmwerkz.com>
    Apr  8 00:09:01 webserver postfix/qmgr[11180]: 95B4079DB4: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr  8 00:09:01 webserver postfix/local[15348]: 95B4079DB4: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr  8 00:09:01 webserver postfix/qmgr[11180]: 95B4079DB4: removed
    Apr  8 00:22:04 webserver imapd: Connection, ip=[::ffff:192.168.1.1]
    Apr  8 00:22:04 webserver imapd: chdir Maildir: No such file or directory
    Apr  8 00:22:04 webserver imapd: ftpaccess: No such file or directory
    Apr  8 00:22:04 webserver postfix/smtpd[15392]: connect from unknown[192.168.1.1]
    Apr  8 00:22:04 webserver postfix/smtpd[15392]: NOQUEUE: reject: RCPT from unknown[192.168.1.1]: 554 5.7.1 <ftpaccess@dtmwerkz.com>: Relay access denied; from=<ftpaccess@dtmwerkz.com> to=<ftpaccess@dtmwerkz.com> proto=ESMTP helo=<JohnnyPC>
    Apr  8 00:22:04 webserver postfix/smtpd[15392]: lost connection after RCPT from unknown[192.168.1.1]
    Apr  8 00:22:04 webserver postfix/smtpd[15392]: disconnect from unknown[192.168.1.1]
    Apr  8 00:25:24 webserver postfix/anvil[15395]: statistics: max connection rate 1/60s for (smtp:192.168.1.1) at Apr  8 00:22:04
    Apr  8 00:25:24 webserver postfix/anvil[15395]: statistics: max connection count 1 for (smtp:192.168.1.1) at Apr  8 00:22:04
    Apr  8 00:25:24 webserver postfix/anvil[15395]: statistics: max cache size 1 at Apr  8 00:22:04
    Apr  8 00:25:51 webserver imapd: Connection, ip=[::ffff:192.168.1.1]
    Apr  8 00:25:51 webserver imapd: Disconnected, ip=[::ffff:192.168.1.1], time=0
    Apr  8 00:25:51 webserver postfix/smtpd[15399]: connect from unknown[192.168.1.1]
    Apr  8 00:25:51 webserver postfix/smtpd[15399]: NOQUEUE: reject: RCPT from unknown[192.168.1.1]: 554 5.7.1 <ftpaccess@dtmwerkz.com>: Relay access denied; from=<ftpaccess@dtmwerkz.com> to=<ftpaccess@dtmwerkz.com> proto=ESMTP helo=<JohnnyPC>
    Apr  8 00:25:51 webserver postfix/smtpd[15399]: lost connection after RCPT from unknown[192.168.1.1]
    Apr  8 00:25:51 webserver postfix/smtpd[15399]: disconnect from unknown[192.168.1.1]
    Apr  8 00:26:23 webserver imapd: Connection, ip=[::ffff:192.168.1.1]
    Apr  8 00:26:23 webserver imapd: Disconnected, ip=[::ffff:192.168.1.1], time=0
    Apr  8 00:26:23 webserver postfix/smtpd[15399]: connect from unknown[192.168.1.1]
    Apr  8 00:26:23 webserver postfix/smtpd[15399]: setting up TLS connection from unknown[192.168.1.1]
    Apr  8 00:26:23 webserver postfix/smtpd[15399]: Anonymous TLS connection established from unknown[192.168.1.1]: TLSv1 with cipher AES128-SHA (128/128 bits)
    Apr  8 00:26:26 webserver postfix/smtpd[15399]: NOQUEUE: reject: RCPT from unknown[192.168.1.1]: 554 5.7.1 <ftpaccess@dtmwerkz.com>: Relay access denied; from=<ftpaccess@dtmwerkz.com> to=<ftpaccess@dtmwerkz.com> proto=ESMTP helo=<JohnnyPC>
    Apr  8 00:26:26 webserver postfix/smtpd[15399]: lost connection after RCPT from unknown[192.168.1.1]
    Apr  8 00:26:26 webserver postfix/smtpd[15399]: disconnect from unknown[192.168.1.1]
    Apr  8 00:28:00 webserver imapd: Connection, ip=[::ffff:192.168.1.1]
    Apr  8 00:28:00 webserver imapd: Disconnected, ip=[::ffff:192.168.1.1], time=0
    Apr  8 00:28:00 webserver postfix/smtpd[15399]: connect from unknown[192.168.1.1]
    Apr  8 00:28:00 webserver postfix/smtpd[15399]: setting up TLS connection from unknown[192.168.1.1]
    Apr  8 00:28:00 webserver postfix/smtpd[15399]: Anonymous TLS connection established from unknown[192.168.1.1]: TLSv1 with cipher AES128-SHA (128/128 bits)
    Apr  8 00:28:00 webserver postfix/smtpd[15399]: NOQUEUE: reject: RCPT from unknown[192.168.1.1]: 554 5.7.1 <ftpaccess@dtmwerkz.com>: Relay access denied; from=<ftpaccess@dtmwerkz.com> to=<ftpaccess@dtmwerkz.com> proto=ESMTP helo=<JohnnyPC>
    Apr  8 00:28:00 webserver postfix/smtpd[15399]: lost connection after RCPT from unknown[192.168.1.1]
    Apr  8 00:28:00 webserver postfix/smtpd[15399]: disconnect from unknown[192.168.1.1]
    Apr  8 00:31:20 webserver postfix/anvil[15401]: statistics: max connection rate 2/60s for (smtp:192.168.1.1) at Apr  8 00:26:23
    Apr  8 00:31:20 webserver postfix/anvil[15401]: statistics: max connection count 1 for (smtp:192.168.1.1) at Apr  8 00:25:51
    Apr  8 00:31:20 webserver postfix/anvil[15401]: statistics: max cache size 1 at Apr  8 00:25:51
    Apr  8 00:34:52 webserver postfix/master[11177]: terminating on signal 15
    Apr  8 00:34:52 webserver postfix/master[15512]: daemon started -- version 2.7.1, configuration /etc/postfix
    Apr  8 00:35:16 webserver imapd: Connection, ip=[::ffff:192.168.1.1]
    Apr  8 00:35:16 webserver imapd: Disconnected, ip=[::ffff:192.168.1.1], time=0
    Apr  8 00:35:16 webserver postfix/smtpd[15518]: connect from unknown[192.168.1.1]
    Apr  8 00:35:16 webserver postfix/smtpd[15518]: setting up TLS connection from unknown[192.168.1.1]
    Apr  8 00:35:16 webserver postfix/smtpd[15518]: Anonymous TLS connection established from unknown[192.168.1.1]: TLSv1 with cipher AES128-SHA (128/128 bits)
    Apr  8 00:35:16 webserver postfix/smtpd[15518]: NOQUEUE: reject: RCPT from unknown[192.168.1.1]: 554 5.7.1 <ftpaccess@dtmwerkz.com>: Relay access denied; from=<ftpaccess@dtmwerkz.com> to=<ftpaccess@dtmwerkz.com> proto=ESMTP helo=<JohnnyPC>
    Apr  8 00:35:16 webserver postfix/smtpd[15518]: lost connection after RCPT from unknown[192.168.1.1]
    Apr  8 00:35:16 webserver postfix/smtpd[15518]: disconnect from unknown[192.168.1.1]
    Apr  8 00:38:09 webserver imapd: Connection, ip=[::ffff:192.168.1.1]
    Apr  8 00:38:11 webserver imapd: chdir Maildir: No such file or directory
    Apr  8 00:38:11 webserver imapd: ftpaccess: No such file or directory
    Apr  8 00:38:11 webserver postfix/smtpd[15556]: connect from unknown[192.168.1.1]
    Apr  8 00:38:11 webserver postfix/smtpd[15556]: setting up TLS connection from unknown[192.168.1.1]
    Apr  8 00:38:11 webserver postfix/smtpd[15556]: Anonymous TLS connection established from unknown[192.168.1.1]: TLSv1 with cipher AES128-SHA (128/128 bits)
    Apr  8 00:38:11 webserver postfix/smtpd[15556]: NOQUEUE: reject: RCPT from unknown[192.168.1.1]: 554 5.7.1 <ftpaccess@dtmwerkz.com>: Relay access denied; from=<ftpaccess@dtmwerkz.com> to=<ftpaccess@dtmwerkz.com> proto=ESMTP helo=<JohnnyPC>
    Apr  8 00:38:11 webserver postfix/smtpd[15556]: lost connection after RCPT from unknown[192.168.1.1]
    Apr  8 00:38:11 webserver postfix/smtpd[15556]: disconnect from unknown[192.168.1.1]
    Apr  8 00:39:01 webserver postfix/pickup[15514]: BA62579DB7: uid=0 from=<root>
    Apr  8 00:39:01 webserver postfix/cleanup[15569]: BA62579DB7: message-id=<20110408043901.BA62579DB7@webserver.dtmwerkz.com>
    Apr  8 00:39:01 webserver postfix/qmgr[15515]: BA62579DB7: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr  8 00:39:01 webserver postfix/local[15570]: BA62579DB7: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr  8 00:39:01 webserver postfix/qmgr[15515]: BA62579DB7: removed
    Apr  8 00:40:09 webserver imapd: Connection, ip=[::ffff:192.168.1.1]
    Apr  8 00:40:09 webserver imapd: Disconnected, ip=[::ffff:192.168.1.1], time=0
    Apr  8 00:41:31 webserver postfix/anvil[15521]: statistics: max connection rate 1/60s for (smtp:192.168.1.1) at Apr  8 00:35:16
    Apr  8 00:41:31 webserver postfix/anvil[15521]: statistics: max connection count 1 for (smtp:192.168.1.1) at Apr  8 00:35:16
    Apr  8 00:41:31 webserver postfix/anvil[15521]: statistics: max cache size 1 at Apr  8 00:35:16
    Apr  8 00:57:46 webserver authdaemond: modules="authpam", daemons=5
    Apr  8 00:57:46 webserver authdaemond: Installing libauthpam
    Apr  8 00:57:46 webserver authdaemond: Installation complete: authpam
    Apr  8 00:57:59 webserver postfix/master[2165]: daemon started -- version 2.7.1, configuration /etc/postfix
    
     
    Last edited: Apr 11, 2011
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you send an email to that accout before you tried to fetch emails? Maildir is created automatically when the first email arrives.


    Did you enable "Server requires authentication" in your email client?

    Which tutorial (URL) did you use to set up the system? Can you post your /etc/postfix/main.cf?
     
  3. Smitherines

    Smitherines New Member

    Let me repost my email log. I want to tackle the SMTP issues first.

    Code:
    Apr 10 08:09:01 webserver postfix/pickup[31390]: 3705179DCA: uid=0 from=<root>
    Apr 10 08:09:01 webserver postfix/cleanup[31403]: 3705179DCA: message-id=<20110410120901.3705179DCA@webserver.dtmwerkz.com>
    Apr 10 08:09:01 webserver postfix/qmgr[2184]: 3705179DCA: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 08:09:01 webserver postfix/local[31405]: 3705179DCA: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 08:09:01 webserver postfix/qmgr[2184]: 3705179DCA: removed
    Apr 10 08:39:01 webserver postfix/pickup[31390]: 5863C79DCA: uid=0 from=<root>
    Apr 10 08:39:01 webserver postfix/cleanup[31426]: 5863C79DCA: message-id=<20110410123901.5863C79DCA@webserver.dtmwerkz.com>
    Apr 10 08:39:01 webserver postfix/qmgr[2184]: 5863C79DCA: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 08:39:01 webserver postfix/local[31428]: 5863C79DCA: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 08:39:01 webserver postfix/qmgr[2184]: 5863C79DCA: removed
    Apr 10 09:09:01 webserver postfix/pickup[31390]: 7745679DCA: uid=0 from=<root>
    Apr 10 09:09:01 webserver postfix/cleanup[31443]: 7745679DCA: message-id=<20110410130901.7745679DCA@webserver.dtmwerkz.com>
    Apr 10 09:09:01 webserver postfix/qmgr[2184]: 7745679DCA: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 09:09:01 webserver postfix/local[31445]: 7745679DCA: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 09:09:01 webserver postfix/qmgr[2184]: 7745679DCA: removed
    Apr 10 09:39:01 webserver postfix/pickup[31454]: 98AF479DCA: uid=0 from=<root>
    Apr 10 09:39:01 webserver postfix/cleanup[31467]: 98AF479DCA: message-id=<20110410133901.98AF479DCA@webserver.dtmwerkz.com>
    Apr 10 09:39:01 webserver postfix/qmgr[2184]: 98AF479DCA: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 09:39:01 webserver postfix/local[31469]: 98AF479DCA: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 09:39:01 webserver postfix/qmgr[2184]: 98AF479DCA: removed
    Apr 10 10:09:01 webserver postfix/pickup[31454]: B802D79DCA: uid=0 from=<root>
    Apr 10 10:09:01 webserver postfix/cleanup[31653]: B802D79DCA: message-id=<20110410140901.B802D79DCA@webserver.dtmwerkz.com>
    Apr 10 10:09:01 webserver postfix/qmgr[2184]: B802D79DCA: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 10:09:01 webserver postfix/local[31655]: B802D79DCA: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 10:09:01 webserver postfix/qmgr[2184]: B802D79DCA: removed
    Apr 10 10:39:02 webserver postfix/pickup[31454]: 7C07F7A037: uid=0 from=<root>
    Apr 10 10:39:02 webserver postfix/cleanup[32500]: 7C07F7A037: message-id=<20110410143902.7C07F7A037@webserver.dtmwerkz.com>
    Apr 10 10:39:02 webserver postfix/qmgr[2184]: 7C07F7A037: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 10:39:02 webserver postfix/local[32502]: 7C07F7A037: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.27, delays=0.16/0.07/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 10:39:02 webserver postfix/qmgr[2184]: 7C07F7A037: removed
    Apr 10 11:09:01 webserver postfix/pickup[32511]: 9DE857A034: uid=0 from=<root>
    Apr 10 11:09:01 webserver postfix/cleanup[32523]: 9DE857A034: message-id=<20110410150901.9DE857A034@webserver.dtmwerkz.com>
    Apr 10 11:09:01 webserver postfix/qmgr[2184]: 9DE857A034: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 11:09:01 webserver postfix/local[32525]: 9DE857A034: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 11:09:01 webserver postfix/qmgr[2184]: 9DE857A034: removed
    Apr 10 11:39:01 webserver postfix/pickup[32511]: C54357A034: uid=0 from=<root>
    Apr 10 11:39:01 webserver postfix/cleanup[32546]: C54357A034: message-id=<20110410153901.C54357A034@webserver.dtmwerkz.com>
    Apr 10 11:39:01 webserver postfix/qmgr[2184]: C54357A034: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 11:39:01 webserver postfix/local[32548]: C54357A034: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 11:39:01 webserver postfix/qmgr[2184]: C54357A034: removed
    Apr 10 12:09:01 webserver postfix/pickup[32511]: E43187A036: uid=0 from=<root>
    Apr 10 12:09:01 webserver postfix/cleanup[32563]: E43187A036: message-id=<20110410160901.E43187A036@webserver.dtmwerkz.com>
    Apr 10 12:09:01 webserver postfix/qmgr[2184]: E43187A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 12:09:01 webserver postfix/local[32565]: E43187A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 12:09:01 webserver postfix/qmgr[2184]: E43187A036: removed
    Apr 10 12:39:02 webserver postfix/pickup[32575]: 1239D7A036: uid=0 from=<root>
    Apr 10 12:39:02 webserver postfix/cleanup[32587]: 1239D7A036: message-id=<20110410163902.1239D7A036@webserver.dtmwerkz.com>
    Apr 10 12:39:02 webserver postfix/qmgr[2184]: 1239D7A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 12:39:02 webserver postfix/local[32589]: 1239D7A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 12:39:02 webserver postfix/qmgr[2184]: 1239D7A036: removed
    Apr 10 13:09:01 webserver postfix/pickup[32575]: 3100E7A036: uid=0 from=<root>
    Apr 10 13:09:01 webserver postfix/cleanup[32604]: 3100E7A036: message-id=<20110410170901.3100E7A036@webserver.dtmwerkz.com>
    Apr 10 13:09:01 webserver postfix/qmgr[2184]: 3100E7A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 13:09:01 webserver postfix/local[32606]: 3100E7A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 13:09:01 webserver postfix/qmgr[2184]: 3100E7A036: removed
    Apr 10 13:39:01 webserver postfix/pickup[32575]: 526027A036: uid=0 from=<root>
    Apr 10 13:39:01 webserver postfix/cleanup[32627]: 526027A036: message-id=<20110410173901.526027A036@webserver.dtmwerkz.com>
    Apr 10 13:39:01 webserver postfix/qmgr[2184]: 526027A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 13:39:01 webserver postfix/local[32629]: 526027A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 13:39:01 webserver postfix/qmgr[2184]: 526027A036: removed
    Apr 10 14:09:01 webserver postfix/pickup[32575]: 713937A036: uid=0 from=<root>
    Apr 10 14:09:01 webserver postfix/cleanup[32644]: 713937A036: message-id=<20110410180901.713937A036@webserver.dtmwerkz.com>
    Apr 10 14:09:01 webserver postfix/qmgr[2184]: 713937A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 14:09:01 webserver postfix/local[32646]: 713937A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 14:09:01 webserver postfix/qmgr[2184]: 713937A036: removed
    Apr 10 14:39:01 webserver postfix/pickup[32649]: 92FCD7A036: uid=0 from=<root>
    Apr 10 14:39:01 webserver postfix/cleanup[32668]: 92FCD7A036: message-id=<20110410183901.92FCD7A036@webserver.dtmwerkz.com>
    Apr 10 14:39:01 webserver postfix/qmgr[2184]: 92FCD7A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 14:39:01 webserver postfix/local[32670]: 92FCD7A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 14:39:01 webserver postfix/qmgr[2184]: 92FCD7A036: removed
    Apr 10 15:09:01 webserver postfix/pickup[32649]: B2C387A036: uid=0 from=<root>
    Apr 10 15:09:01 webserver postfix/cleanup[32708]: B2C387A036: message-id=<20110410190901.B2C387A036@webserver.dtmwerkz.com>
    Apr 10 15:09:01 webserver postfix/qmgr[2184]: B2C387A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 15:09:01 webserver postfix/local[32710]: B2C387A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 15:09:01 webserver postfix/qmgr[2184]: B2C387A036: removed
    Apr 10 15:39:01 webserver postfix/pickup[32649]: D40B27A036: uid=0 from=<root>
    Apr 10 15:39:01 webserver postfix/cleanup[32736]: D40B27A036: message-id=<20110410193901.D40B27A036@webserver.dtmwerkz.com>
    Apr 10 15:39:01 webserver postfix/qmgr[2184]: D40B27A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 15:39:01 webserver postfix/local[32738]: D40B27A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 15:39:01 webserver postfix/qmgr[2184]: D40B27A036: removed
    Apr 10 16:09:01 webserver postfix/pickup[32741]: F2EBB7A036: uid=0 from=<root>
    Apr 10 16:09:02 webserver postfix/cleanup[32754]: F2EBB7A036: message-id=<20110410200901.F2EBB7A036@webserver.dtmwerkz.com>
    Apr 10 16:09:02 webserver postfix/qmgr[2184]: F2EBB7A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 16:09:02 webserver postfix/local[32756]: F2EBB7A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 16:09:02 webserver postfix/qmgr[2184]: F2EBB7A036: removed
    Apr 10 16:39:01 webserver postfix/pickup[32741]: 2053E7A036: uid=0 from=<root>
    Apr 10 16:39:01 webserver postfix/cleanup[309]: 2053E7A036: message-id=<20110410203901.2053E7A036@webserver.dtmwerkz.com>
    Apr 10 16:39:01 webserver postfix/qmgr[2184]: 2053E7A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 16:39:01 webserver postfix/local[311]: 2053E7A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 16:39:01 webserver postfix/qmgr[2184]: 2053E7A036: removed
    Apr 10 17:09:01 webserver postfix/pickup[32741]: 3F1117A036: uid=0 from=<root>
    Apr 10 17:09:01 webserver postfix/cleanup[327]: 3F1117A036: message-id=<20110410210901.3F1117A036@webserver.dtmwerkz.com>
    Apr 10 17:09:01 webserver postfix/qmgr[2184]: 3F1117A036: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 17:09:01 webserver postfix/local[329]: 3F1117A036: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 17:09:01 webserver postfix/qmgr[2184]: 3F1117A036: removed
    Apr 10 17:34:44 webserver postfix/smtpd[371]: connect from localhost[127.0.0.1]
    Apr 10 17:34:44 webserver postfix/smtpd[371]: C67197A0F6: client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=ftpaccess
    Apr 10 17:34:44 webserver postfix/cleanup[375]: C67197A0F6: message-id=<6a1f4af1b2182c643e6f3615baf9b16f@www.dtmwerkz.com>
    Apr 10 17:34:44 webserver postfix/qmgr[2184]: C67197A0F6: from=<john2619@optonline.net>, size=1789, nrcpt=1 (queue active)
    Apr 10 17:34:44 webserver postfix/smtpd[371]: disconnect from localhost[127.0.0.1]
    Apr 10 17:35:06 webserver postfix/smtp[376]: connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out
    Apr 10 17:35:27 webserver postfix/smtp[376]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:35:27 webserver postfix/smtp[376]: C67197A0F6: to=<john2619@optonline.net>, relay=none, delay=42, delays=0.06/0.04/42/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    Apr 10 17:36:04 webserver postfix/smtpd[371]: connect from localhost[127.0.0.1]
    Apr 10 17:36:04 webserver postfix/smtpd[371]: 34C917A11A: client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=ftpaccess
    Apr 10 17:36:04 webserver postfix/cleanup[375]: 34C917A11A: message-id=<8c6a444f561e6b32d059903133ae21f8@www.dtmwerkz.com>
    Apr 10 17:36:04 webserver postfix/qmgr[2184]: 34C917A11A: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:36:04 webserver postfix/smtpd[371]: disconnect from localhost[127.0.0.1]
    Apr 10 17:36:25 webserver postfix/smtp[376]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:36:46 webserver postfix/smtp[376]: connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out
    Apr 10 17:36:46 webserver postfix/smtp[376]: 34C917A11A: to=<john2619@optonline.net>, relay=none, delay=42, delays=0.05/0/42/0, dsn=4.4.1, status=deferred (connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out)
    Apr 10 17:39:01 webserver postfix/pickup[367]: 7B2D87A122: uid=0 from=<root>
    Apr 10 17:39:01 webserver postfix/cleanup[425]: 7B2D87A122: message-id=<20110410213901.7B2D87A122@webserver.dtmwerkz.com>
    Apr 10 17:39:01 webserver postfix/qmgr[2184]: 7B2D87A122: from=<root@webserver.dtmwerkz.com>, size=759, nrcpt=1 (queue active)
    Apr 10 17:39:01 webserver postfix/local[427]: 7B2D87A122: to=<moderator@webserver.dtmwerkz.com>, orig_to=<root>, relay=local, delay=0.06, delays=0.04/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 10 17:39:01 webserver postfix/qmgr[2184]: 7B2D87A122: removed
    Apr 10 17:40:13 webserver postfix/smtpd[432]: connect from localhost[127.0.0.1]
    Apr 10 17:40:13 webserver postfix/smtpd[432]: B8DB179F9C: client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=ftpaccess
    Apr 10 17:40:13 webserver postfix/cleanup[425]: B8DB179F9C: message-id=<8be20bbd7f0b8de1ee9a1e831d4da65e@www.dtmwerkz.com>`
    Apr 10 17:40:13 webserver postfix/qmgr[2184]: B8DB179F9C: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:40:13 webserver postfix/smtpd[432]: disconnect from localhost[127.0.0.1]
    Apr 10 17:40:34 webserver postfix/smtp[435]: connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out
    Apr 10 17:40:55 webserver postfix/smtp[435]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:40:55 webserver postfix/smtp[435]: B8DB179F9C: to=<john2619@optonline.net>, relay=none, delay=42, delays=0.05/0.03/42/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    Apr 10 17:43:00 webserver postfix/qmgr[2184]: C67197A0F6: from=<john2619@optonline.net>, size=1789, nrcpt=1 (queue active)
    Apr 10 17:43:00 webserver postfix/qmgr[2184]: 34C917A11A: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:43:21 webserver postfix/smtp[444]: connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out
    Apr 10 17:43:22 webserver postfix/smtp[445]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:43:42 webserver postfix/smtp[444]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:43:42 webserver postfix/smtp[444]: C67197A0F6: to=<john2619@optonline.net>, relay=none, delay=538, delays=496/0.02/42/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    Apr 10 17:43:43 webserver postfix/smtp[445]: connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out
    Apr 10 17:43:43 webserver postfix/smtp[445]: 34C917A11A: to=<john2619@optonline.net>, relay=none, delay=460, delays=417/0.02/43/0, dsn=4.4.1, status=deferred (connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out)
    Apr 10 17:48:00 webserver postfix/qmgr[2184]: B8DB179F9C: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:48:22 webserver postfix/smtp[466]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:48:43 webserver postfix/smtp[466]: connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out
    Apr 10 17:48:43 webserver postfix/smtp[466]: B8DB179F9C: to=<john2619@optonline.net>, relay=none, delay=509, delays=467/0.02/42/0, dsn=4.4.1, status=deferred (connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out)
    Apr 10 17:53:00 webserver postfix/qmgr[2184]: C67197A0F6: from=<john2619@optonline.net>, size=1789, nrcpt=1 (queue active)
    Apr 10 17:53:00 webserver postfix/qmgr[2184]: 34C917A11A: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:53:21 webserver postfix/smtp[487]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:53:22 webserver postfix/smtp[488]: connect to mx2.optonline.net[167.206.4.79]:25: Connection timed out
    Apr 10 17:53:27 webserver postfix/master[2165]: terminating on signal 15
    Apr 10 17:53:28 webserver postfix/master[592]: daemon started -- version 2.7.1, configuration /etc/postfix
    Apr 10 17:53:28 webserver postfix/qmgr[595]: 34C917A11A: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:53:28 webserver postfix/qmgr[595]: C67197A0F6: from=<john2619@optonline.net>, size=1789, nrcpt=1 (queue active)
    Apr 10 17:53:49 webserver postfix/smtp[597]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:53:49 webserver postfix/smtp[597]: 34C917A11A: to=<john2619@optonline.net>, relay=none, delay=1065, delays=1044/0.12/21/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    Apr 10 17:53:50 webserver postfix/smtp[599]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:53:50 webserver postfix/smtp[599]: C67197A0F6: to=<john2619@optonline.net>, relay=none, delay=1145, delays=1123/0.13/22/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    Apr 10 17:54:09 webserver postfix/smtpd[603]: connect from localhost[127.0.0.1]
    Apr 10 17:54:09 webserver postfix/smtpd[603]: E02137A11F: client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=ftpaccess
    Apr 10 17:54:09 webserver postfix/cleanup[605]: E02137A11F: message-id=<c7819118e43dff236a889c070eb27612@www.dtmwerkz.com>
    Apr 10 17:54:09 webserver postfix/qmgr[595]: E02137A11F: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:54:09 webserver postfix/smtpd[603]: disconnect from localhost[127.0.0.1]
    Apr 10 17:54:30 webserver postfix/smtp[597]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:54:30 webserver postfix/smtp[597]: E02137A11F: to=<john2619@optonline.net>, relay=none, delay=21, delays=0.06/0/21/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    Apr 10 17:57:56 webserver postfix/master[592]: terminating on signal 15
    Apr 10 17:57:56 webserver postfix/master[728]: daemon started -- version 2.7.1, configuration /etc/postfix
    Apr 10 17:57:56 webserver postfix/qmgr[731]: B8DB179F9C: from=<john2619@optonline.net>, size=1298, nrcpt=1 (queue active)
    Apr 10 17:58:00 webserver postfix/master[728]: reload -- version 2.7.1, configuration /etc/postfix
    Apr 10 17:58:00 webserver postfix/qmgr[748]: B8DB179F9C: skipped, still being delivered
    Apr 10 17:58:17 webserver postfix/smtp[733]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 10 17:58:18 webserver postfix/smtp[733]: B8DB179F9C: to=<john2619@optonline.net>, relay=none, delay=1084, delays=1063/0.06/21/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    Apr 10 17:59:52 webserver postfix/master[728]: terminating on signal 15
    

    postfix main.cf ....

    Code:
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    
    
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = no
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    myhostname = webserver.dtmwerkz.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = webserver.dtmwerkz.com, localhost.dtmwerkz.com, , localhost
    relayhost = mx1.optonline.net
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    mailbox_command = 
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain = 
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    home_mailbox = Maildir/
     
    Last edited: Apr 11, 2011
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please check if your server is blacklisted: http://mxtoolbox.com/blacklists.aspx
     
  5. Smitherines

    Smitherines New Member

    I am blacklisted, now what? I pay my ISP specifically for port 80 and port 25, what should I do?
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  7. Smitherines

    Smitherines New Member

    When I relay messages to my ISP mx server, what creditentials do I use? And yes, I have a dynamic IP. Do I use the username and password from MY server, or....?
     
  8. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I guess you have an email account on your ISP's MX server? Use the username/password of that account.
     
  9. Smitherines

    Smitherines New Member

    I get connection timed out when I try to use my ISP's relay server. I followed the relaying how-to to the "T".

    Edit: Even after setting up the relay, it still says "relay=none" in the log. What should I do now?


    Code:
    Apr 13 12:10:05 webserver postfix/smtp[11199]: connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out
    Apr 13 12:10:05 webserver postfix/smtp[11199]: B91B47A134: to=<john2619@optonline.net>, relay=none, delay=21, delays=0.05/0/21/0, dsn=4.4.1, status=deferred (connect to mx1.optonline.net[167.206.4.77]:25: Connection timed out)
    this is my postfix main.cf

    Code:
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    
    
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = no
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    myhostname = webserver.dtmwerkz.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = webserver.dtmwerkz.com, localhost.dtmwerkz.com, , localhost
    relayhost = mx1.optonline.net
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    mailbox_command = 
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain = 
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    home_mailbox = Maildir/
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_sasl_security_options = 
     
    Last edited: Apr 13, 2011
  10. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    It seems as if your ISP mail server refuses connections. You should contact your ISP.
     

Share This Page