Unable to authenticate to SMTP server

Discussion in 'Installation/Configuration' started by ashkev, Feb 2, 2007.

  1. ashkev

    ashkev New Member

    Hello,

    I have installed the ISPconfig Virtual Appliance and have it running. I am using it primarily for e-mail. After much fooling around with my DNS records I have managed to receive e-mails using Thunderbird. I can connect to the POP3 server. I can send and receive e-mail using the web interface. I can send e-mails to others at my domain. However, I can't send e-mails to anyone else. When I try I get this error.

    The specified server was found, but there was no response from the server.

    It seems like this is maybe an authentication problem?

    Thanks.
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Have you enabled SMTP-Authentication in your email client?
     
  3. ashkev

    ashkev New Member

    Yes, and I have tried every imaginable combination for the user name ie e-mail address ... user name..... web2_username.
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Which errors do you get in your mail log file?
     
  5. ashkev

    ashkev New Member

    Where would I find the mail log?
     
  6. DaRKNeSS666NL

    DaRKNeSS666NL Member HowtoForge Supporter

    in/var/log/mail.log


    Hee my fist time I am able to help some one. Normaly I am asking the questions:p
     
  7. ashkev

    ashkev New Member

    I am not too sure what this means....I don't see anything that says error, but here is a portion of the log:

    Feb 2 06:28:41 server1 postfix/pickup[31145]: 6390D218078: uid=0 from=<root>
    Feb 2 06:28:41 server1 postfix/cleanup[7940]: 6390D218078: message-id=<20070202
    052841.6390D218078@server1.example.com>
    Feb 2 06:28:41 server1 postfix/qmgr[18054]: 6390D218078: from=<root@server1.exa
    mple.com>, size=776, nrcpt=1 (queue active)
    Feb 2 06:28:41 server1 postfix/local[7982]: 6390D218078: to=<root@server1.examp
    le.com>, orig_to=<root>, relay=local, delay=0, status=sent (delivered to maildir
    )
    Feb 2 06:28:41 server1 postfix/qmgr[18054]: 6390D218078: removed
    Feb 2 06:28:51 server1 postfix/smtpd[31586]: connect from unknown[210.233.193.5
    4]
    Feb 2 06:28:52 server1 postfix/smtpd[31586]: 0DD9C218056: client=unknown[210.23
    3.193.54]
    Feb 2 06:28:53 server1 postfix/cleanup[7937]: 0DD9C218056: message-id=<3ecd01c7
    464c$65363a60$a10f0235@gejohndoupr>
    Feb 2 06:28:57 server1 postfix/smtpd[32440]: connect from unknown[87.246.10.119
    ]
    Feb 2 06:28:58 server1 postfix/smtpd[32440]: 12BB5218078: client=unknown[87.246
    .10.119]
    Feb 2 06:28:58 server1 postfix/cleanup[7940]: 12BB5218078: message-id=<01c74699
    $4ccafae0$770af657@hell>
    Feb 2 06:28:58 server1 postfix/qmgr[18054]: 12BB5218078: from=<mihoewadswort@ma
    rtinray.com>, size=947, nrcpt=1 (queue active)

    Feb 2 06:53:58 server1 postfix/cleanup[16517]: 3B909218078: message-id=<2007020
    2055358.3B909218078@server1.example.com>
    Feb 2 06:53:58 server1 postfix/qmgr[18054]: 3B909218078: from=<web2_cass@server
    1.example.com>, size=378, nrcpt=1 (queue active)
    Feb 2 06:53:58 server1 postfix/local[16388]: A3660218056: to=<web2_cass@server1
    .example.com>, orig_to=<cass@cass.lib.mi.us>, relay=local, delay=4, status=sent
    (delivered to command: /usr/bin/procmail -f-)
    Feb 2 06:53:58 server1 postfix/local[16531]: A3660218056: to=<web2_cass@server1
    .example.com>, orig_to=<cassd@cass.lib.mi.us>, relay=local, delay=4, status=sent
    (delivered to command: /usr/bin/procmail -f-)
    Feb 2 06:53:58 server1 postfix/local[17080]: 3B909218078: to=<admispconfig@loca
    lhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procma
    il -f-)
    Feb 2 06:53:58 server1 postfix/qmgr[18054]: 3B909218078: removed
    Feb 2 06:53:58 server1 postfix/local[17079]: 3305B218085: to=<admispconfig@loca
    lhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procma
    il -f-)
    Feb 2 06:53:58 server1 postfix/qmgr[18054]: 3305B218085: removed
    Feb 2 06:53:58 server1 postfix/pickup[31145]: A9A6C218085: uid=10006 from=<web2
    _cass>
    Feb 2 06:53:58 server1 postfix/cleanup[16380]: A9A6C218085: message-id=<2007020
     
  8. ashkev

    ashkev New Member

    Here is what I get right after trying to connect with outlook:

    Feb 2 06:28:41 server1 postfix/pickup[31145]: 6390D218078: uid=0 from=<root>
    Feb 2 06:28:41 server1 postfix/cleanup[7940]: 6390D218078: message-id=<20070202
    052841.6390D218078@server1.example.com>
    Feb 2 06:28:41 server1 postfix/qmgr[18054]: 6390D218078: from=<root@server1.exa
    mple.com>, size=776, nrcpt=1 (queue active)
    Feb 2 06:28:41 server1 postfix/local[7982]: 6390D218078: to=<root@server1.examp
    le.com>, orig_to=<root>, relay=local, delay=0, status=sent (delivered to maildir
    )
    Feb 2 06:28:41 server1 postfix/qmgr[18054]: 6390D218078: removed
    Feb 2 06:28:51 server1 postfix/smtpd[31586]: connect from unknown[210.233.193.5
    4]
    Feb 2 06:28:52 server1 postfix/smtpd[31586]: 0DD9C218056: client=unknown[210.23
    3.193.54]
    Feb 2 06:28:53 server1 postfix/cleanup[7937]: 0DD9C218056: message-id=<3ecd01c7
    464c$65363a60$a10f0235@gejohndoupr>
    Feb 2 06:28:57 server1 postfix/smtpd[32440]: connect from unknown[87.246.10.119
    ]
    Feb 2 06:28:58 server1 postfix/smtpd[32440]: 12BB5218078: client=unknown[87.246
    .10.119]
    Feb 2 06:28:58 server1 postfix/cleanup[7940]: 12BB5218078: message-id=<01c74699
    +=+=+=+=+=+=+=+
     
  9. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The log output looks fine so far. Please ask your provider if they block port 25.
     
  10. ashkev

    ashkev New Member

    I am hosting this on our library's server. This is for the public library where I work. We have a Wathcgaurd 500 firewall and I have enabled the SMTP rule which is port 25. This rule is however a port proxy (do you think that could be the problem?)

    Here is the output of mail.err:

    an 28 21:22:01 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Jan 28 21:23:16 server1 last message repeated 2 times
    Jan 28 21:23:44 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Jan 28 21:30:28 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 08:34:22 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 08:34:39 server1 last message repeated 2 times
    Jan 29 08:54:15 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 08:54:27 server1 last message repeated 2 times
    Jan 29 09:08:23 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 09:16:13 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 09:16:25 server1 last message repeated 2 times
    Jan 29 09:25:28 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 10:03:44 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 10:04:45 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 10:05:29 server1 last message repeated 2 times
    Jan 29 10:46:50 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 10:47:33 server1 last message repeated 2 times
    Jan 29 10:54:47 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 11:47:28 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 29 11:47:40 server1 last message repeated 2 times
    Jan 29 23:41:06 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 31 20:10:14 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:70.224.34.56]
    Jan 31 20:10:21 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:70.224.34.56]
    Jan 31 20:31:03 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Jan 31 20:33:49 server1 courierpop3login: DISCONNECTED,
    user=web2_twiggins, ip=[::ffff:127.0.0.1], top=742, retr=0, time=0
    Feb 1 08:19:46 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 1 08:20:30 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 1 10:58:04 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 1 10:58:25 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 1 11:28:36 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:70.89.209.110]
    Feb 1 11:28:59 server1 last message repeated 2 times
    Feb 1 11:29:45 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:70.89.209.110]
    Feb 1 11:38:55 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 1 11:40:18 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 1 11:40:36 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 1 12:22:54 server1 courierpop3login: DISCONNECTED,
    user=web2_twiggins, ip=[::ffff:127.0.0.1], top=2227, retr=0, time=1
    Feb 1 12:29:38 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Feb 1 14:29:01 server1 courierpop3login: DISCONNECTED,
    user=web2_jray, ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
    Feb 1 14:58:40 server1 courierpop3login: DISCONNECTED, user=web2_kms,
    ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
    Feb 1 14:59:55 server1 courierpop3login: DISCONNECTED, user=web2_kms,
    ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
    Feb 2 13:08:13 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
    Feb 2 13:36:17 server1 courierpop3login: LOGIN FAILED,
    ip=[::ffff:192.168.36.50]
    Feb 3 13:27:53 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:64.207.17.52]
    Feb 3 13:28:22 server1 last message repeated 14 times

    Thanks so much.
     
  11. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please ask your library's ISP if they block port 25.
     
  12. ashkev

    ashkev New Member

    We have a t-1 configured for raw internet access.
     
  13. ashkev

    ashkev New Member

    Here is some more information. I had a bad MX record in my DNS. Now things look better. I can now send and recieve from inside the Main Library building using an e-mail client such as Outlook (on the same network as the ISPConfig server)
    From Outside the building I can recieve e-mails, and I can send to e-mails with the cass.lib.mi.us domain. I still cannot send to anyone other than cass.lib.mi.us e-mail accounts from outside the Main Library.

    I suspect that this is some sort of relay setting problem. Can anyone advise me where I can check the relay settings, and what they should be set for in order for me to be able to send to non cass e-mails?

    Thanks
     
  14. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Is that the domain that is handled by your server? Then you should enable "Server requires authentication." in your email client. If you don't, and your server uses SMTP-AUTH, you can send only to domains that are on the server, not to external domains.
     
  15. ashkev

    ashkev New Member

    I have done that. And I have tried every combination of username I could think of... name....web2_name....name@cass.lib.mi.us.....web2_name@cass.lib.mi.us. With no luck
     
  16. ashkev

    ashkev New Member

    OK, I feel very stupid now. The problem WAS the firewall. I had SMTP set as a proxy service. When I removed that service and put in a straight packet filter, everything worked fine.

    Thank you all for your patience with me.
     

Share This Page