[debian 5 + ispconfig 3] Unable to send mail

Discussion in 'HOWTO-Related Questions' started by tanakskool, Jun 3, 2009.

  1. tanakskool

    tanakskool New Member

    I have followed this tutorial and everything seems to work fine except the email service. I am not able to send email out from my machine. When I to send through squirrel mail, I got this error.

    Undelivered Mail Returned to Sender

    The Mail-Queue in the Ispconfig 3 is also telling that the connection has failed.

    55A6E21A1E8 1196 Wed Jun 3 17:07:43 [email protected]
    (connect to alt4.gmail-smtp-in.l.google.com[209.85.135.27]:25: Connection timed out)
    [email protected]

    C276D21A1E2 1177 Wed Jun 3 16:23:26 [email protected]
    (connect to alt4.gmail-smtp-in.l.google.com[209.85.135.27]:25: Connection timed out)
    [email protected]

    E885A21A1EC 1220 Wed Jun 3 17:11:05 [email protected]
    (connect to mx.tm.net.my[202.188.0.213]:25: Connection timed out)
    [email protected]
     
    Last edited: Jun 3, 2009
  2. tanakskool

    tanakskool New Member

    I have followed the guide on how to relay email here but still no success. The email won't send to other email server such as gmail and yahoo. I'm stuck and confuze right now. I'm new to linux server.
     
  3. falko

    falko Super Moderator Howtoforge Staff

  4. tanakskool

    tanakskool New Member

    Thanks for your concern. My mail server is blacklisted. Here is the result. Any idea on how to solve this?

    I got this in my mail queue
    Code:
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    A28B51AC4DE 1339 Thu Jun 4 23:27:11 [email protected]
    (SASL authentication failed; server smtp.streamyx.com[202.188.0.212] said: 535 5.7.0 authentication failed)
    [email protected]
    In this in my mail log.
    Code:
    Jun 4 23:26:05 debian postfix/smtpd[28212]: 4ABF31AC4DC: client=localhost[127.0.0.1]
    Jun 4 23:26:05 debian postfix/cleanup[28032]: 4ABF31AC4DC: message-id=<[email protected]>
    Jun 4 23:26:05 debian postfix/qmgr[27472]: 4ABF31AC4DC: from=, size=1166, nrcpt=1 (queue active)
    Jun 4 23:26:05 debian postfix/smtpd[28212]: disconnect from localhost[127.0.0.1]
    Jun 4 23:26:05 debian amavis[26180]: (26180-05) Passed CLEAN, LOCAL [127.0.0.1] [60.52.28.220] -> , Message-ID: <[email protected]>, mail_id: hU3JnUeakj68, Hits: 0.71, size: 726, queued_as: 4ABF31AC4DC, 644 ms
    Jun 4 23:26:05 debian postfix/smtp[28055]: 96C891AC4DB: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.79, delays=0.11/0.03/0.01/0.65, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=26180-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4ABF31AC4DC)
    Jun 4 23:26:05 debian postfix/qmgr[27472]: 96C891AC4DB: removed
    Jun 4 23:26:05 debian postfix/smtp[28221]: 4ABF31AC4DC: to=, relay=smtp.streamyx.com[202.188.0.212]:25, delay=0.38, delays=0.02/0.05/0.31/0, dsn=4.7.0, status=deferred (SASL authentication failed; server smtp.streamyx.com[202.188.0.212] said: 535 5.7.0 authentication failed)
    Jun 4 23:26:06 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:06 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44707], protocol=IMAP
    Jun 4 23:26:06 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun 4 23:26:07 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:07 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44709], protocol=IMAP
    Jun 4 23:26:07 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun 4 23:26:07 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:07 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44711], protocol=IMAP
    Jun 4 23:26:07 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun 4 23:26:41 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:41 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44713], protocol=IMAP
    Jun 4 23:26:41 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=18, rcvd=74, sent=444, time=0
    Jun 4 23:26:44 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:44 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44715], protocol=IMAP
    Jun 4 23:26:44 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=1995, rcvd=145, sent=2823, time=0
    Jun 4 23:26:52 debian postfix/smtpd[11278]: connect from localhost[127.0.0.1]
    Jun 4 23:26:52 debian postfix/smtpd[11278]: AE0881AC4DB: client=localhost[127.0.0.1]
    Jun 4 23:26:52 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:52 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44722], protocol=IMAP
    Jun 4 23:26:52 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=1977, rcvd=119, sent=2744, time=0
    Jun 4 23:26:52 debian postfix/cleanup[28032]: AE0881AC4DB: message-id=<[email protected]>
    Jun 4 23:26:52 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:52 debian postfix/smtpd[11278]: disconnect from localhost[127.0.0.1]
    Jun 4 23:26:52 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44724], protocol=IMAP
    Jun 4 23:26:52 debian postfix/qmgr[27472]: AE0881AC4DB: from=, size=907, nrcpt=1 (queue active)
    Jun 4 23:26:52 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=1977, rcvd=983, sent=3209, time=0
    Jun 4 23:26:53 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:53 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44727], protocol=IMAP
    Jun 4 23:26:53 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=406, body=0, rcvd=296, sent=1817, time=0
    Jun 4 23:26:53 debian postfix/smtpd[28212]: connect from localhost[127.0.0.1]
    Jun 4 23:26:53 debian postfix/smtpd[28212]: D47211AC4DD: client=localhost[127.0.0.1]
    Jun 4 23:26:53 debian postfix/cleanup[28032]: D47211AC4DD: message-id=<[email protected]>
    Jun 4 23:26:53 debian postfix/smtpd[28212]: disconnect from localhost[127.0.0.1]
    Jun 4 23:26:53 debian postfix/qmgr[27472]: D47211AC4DD: from=, size=1355, nrcpt=1 (queue active)
    Jun 4 23:26:53 debian amavis[26177]: (26177-06) Passed CLEAN, LOCAL [127.0.0.1] [60.52.28.220] -> , Message-ID: <[email protected]>, mail_id: eHqKP9IbWNo2, Hits: -0.646, size: 907, queued_as: D47211AC4DD, 1057 ms
    Jun 4 23:26:53 debian postfix/smtp[28055]: AE0881AC4DB: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=1.3, delays=0.2/0/0.01/1.1, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=26177-06, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D47211AC4DD)
    Jun 4 23:26:53 debian postfix/qmgr[27472]: AE0881AC4DB: removed
    Jun 4 23:26:54 debian postfix/smtp[28221]: D47211AC4DD: to=, relay=smtp.streamyx.com[202.188.0.212]:25, delay=0.54, delays=0.02/0/0.52/0, dsn=4.7.0, status=deferred (SASL authentication failed; server smtp.streamyx.com[202.188.0.212] said: 535 5.7.0 authentication failed)
    Jun 4 23:26:59 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:26:59 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44732], protocol=IMAP
    Jun 4 23:26:59 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=18, rcvd=74, sent=444, time=0
    Jun 4 23:27:00 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:00 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44734], protocol=IMAP
    Jun 4 23:27:00 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=1995, rcvd=145, sent=2823, time=0
    Jun 4 23:27:10 debian postfix/smtpd[11278]: connect from localhost[127.0.0.1]
    Jun 4 23:27:10 debian postfix/smtpd[11278]: E75991AC4DB: client=localhost[127.0.0.1]
    Jun 4 23:27:10 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:10 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44738], protocol=IMAP
    Jun 4 23:27:11 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=1977, rcvd=119, sent=2744, time=1
    Jun 4 23:27:11 debian postfix/cleanup[28032]: E75991AC4DB: message-id=<[email protected]>
    Jun 4 23:27:11 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:11 debian postfix/smtpd[11278]: disconnect from localhost[127.0.0.1]
    Jun 4 23:27:11 debian postfix/qmgr[27472]: E75991AC4DB: from=, size=899, nrcpt=1 (queue active)
    Jun 4 23:27:11 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44741], protocol=IMAP
    Jun 4 23:27:11 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=1977, rcvd=979, sent=3209, time=0
    Jun 4 23:27:11 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:11 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44744], protocol=IMAP
    Jun 4 23:27:11 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=406, body=0, rcvd=296, sent=1817, time=0
    Jun 4 23:27:11 debian postfix/smtpd[28212]: connect from localhost[127.0.0.1]
    Jun 4 23:27:11 debian postfix/smtpd[28212]: A28B51AC4DE: client=localhost[127.0.0.1]
    Jun 4 23:27:11 debian postfix/cleanup[28032]: A28B51AC4DE: message-id=<[email protected]>
    Jun 4 23:27:11 debian postfix/smtpd[28212]: disconnect from localhost[127.0.0.1]
    Jun 4 23:27:11 debian postfix/qmgr[27472]: A28B51AC4DE: from=, size=1339, nrcpt=1 (queue active)
    Jun 4 23:27:11 debian amavis[26180]: (26180-06) Passed CLEAN, LOCAL [127.0.0.1] [60.52.28.220] -> , Message-ID: <[email protected]>, mail_id: tLcBXGT3qom7, Hits: -0.734, size: 899, queued_as: A28B51AC4DE, 634 ms
    Jun 4 23:27:11 debian postfix/smtp[28055]: E75991AC4DB: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.77, delays=0.13/0/0.01/0.64, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=26180-06, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A28B51AC4DE)
    Jun 4 23:27:11 debian postfix/qmgr[27472]: E75991AC4DB: removed
    Jun 4 23:27:11 debian postfix/smtp[28221]: A28B51AC4DE: to=, relay=smtp.streamyx.com[202.188.0.212]:25, delay=0.3, delays=0.01/0.01/0.28/0, dsn=4.7.0, status=deferred (SASL authentication failed; server smtp.streamyx.com[202.188.0.212] said: 535 5.7.0 authentication failed)
    Jun 4 23:27:13 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:13 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44750], protocol=IMAP
    Jun 4 23:27:13 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun 4 23:27:13 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:13 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44752], protocol=IMAP
    Jun 4 23:27:13 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun 4 23:27:14 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:14 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44754], protocol=IMAP
    Jun 4 23:27:14 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun 4 23:27:14 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:27:14 debian imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[44756], protocol=IMAP
    Jun 4 23:27:14 debian imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
    Jun 4 23:30:01 debian pop3d: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:30:01 debian pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Jun 4 23:30:01 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:30:01 debian imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
    Jun 4 23:30:01 debian postfix/smtpd[27404]: connect from localhost[127.0.0.1]
    Jun 4 23:30:01 debian postfix/smtpd[27404]: lost connection after CONNECT from localhost[127.0.0.1]
    Jun 4 23:30:01 debian postfix/smtpd[27404]: disconnect from localhost[127.0.0.1]
    Jun 4 23:30:03 debian postfix/qmgr[27472]: 799661AC4D7: from=, size=813, nrcpt=1 (queue active)
    Jun 4 23:30:04 debian postfix/smtp[28606]: 799661AC4D7: to=, relay=smtp.streamyx.com[202.188.0.212]:25, delay=960, delays=959/0.06/0.34/0, dsn=4.7.0, status=deferred (SASL authentication failed; server smtp.streamyx.com[202.188.0.212] said: 535 5.7.0 authentication failed)
    Jun 4 23:35:02 debian pop3d: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:35:02 debian pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Jun 4 23:35:02 debian imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 4 23:35:02 debian imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
     
  5. tanakskool

    tanakskool New Member

    Thanks falko! It's working now, I just edit the relayhost in mail.cf eith my ISp's smtp server. It's still blacklisted though.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    You need to solve the cause for being blacklisted, and afterwards you must contact the maintainers of each blacklist and ask to be removed.
    Sometimes these blacklists list whole subnets because some hosts within these subnets are spamming which means you might be listed without having spammed...
     
  7. MxToolBox

    MxToolBox New Member

    Blacklist Problems

    Sorry to hear that you are having blacklist troubles. You can follow the links to the Blacklist websites (via the "details" link or the Blacklist name) and request delisting directly from them.

    I also want to provide you with a link to a very handy article we posted on our blog - What Blacklists Are and How MxToolbox Helps! The article will explain a lot about how our services eliminate the problems blacklists cause and how they are oftentimes recurring and hard to permanently fix.

    If you can't get resolution to the problems, don't hesitate to call or e-mail me and we can discuss the problems further. Thank you!!
     

Share This Page