Squirrelmail not send outgoing mail to external mail

Discussion in 'Installation/Configuration' started by wubbx, Feb 2, 2014.

  1. wubbx

    wubbx New Member

    Hi there, i having a problem with squirrelmail and im working now in cirkels :confused:.
    Im new to squirrelmail. but its works perfectly, can receive mails from external like gmail/hotmail etc and the selftest is okay, only i can't send mail to external emailadresses. (The mail im sending with squirrelmail are not received by the external mail)

    What can i do to fix this issue
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the exact error messages from mail.log file.
     
  3. wubbx

    wubbx New Member

    Mail log

    This a piece off the total mail.log

    Feb 3 12:00:03 ganga postfix/smtpd[859]: connect from unknown[::1]
    Feb 3 12:00:03 ganga postfix/smtpd[859]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:00:03 ganga postfix/smtpd[859]: disconnect from unknown[::1]
    Feb 3 12:05:01 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:05:01 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:05:02 ganga postfix/smtpd[1160]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:05:02 ganga postfix/smtpd[1160]: connect from unknown[::1]
    Feb 3 12:05:02 ganga postfix/smtpd[1160]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:05:02 ganga postfix/smtpd[1160]: disconnect from unknown[::1]
    Feb 3 12:10:01 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:10:01 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:10:02 ganga postfix/smtpd[1469]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:10:02 ganga postfix/smtpd[1469]: connect from unknown[::1]
    Feb 3 12:10:02 ganga postfix/smtpd[1469]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:10:02 ganga postfix/smtpd[1469]: disconnect from unknown[::1]
    Feb 3 12:15:02 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:15:02 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:15:02 ganga postfix/smtpd[1752]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:15:02 ganga postfix/smtpd[1752]: connect from unknown[::1]
    Feb 3 12:15:02 ganga postfix/smtpd[1752]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:15:02 ganga postfix/smtpd[1752]: disconnect from unknown[::1]
    Feb 3 12:20:03 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:20:03 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:20:03 ganga postfix/smtpd[2031]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:20:03 ganga postfix/smtpd[2031]: connect from unknown[::1]
    Feb 3 12:20:03 ganga postfix/smtpd[2031]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:20:03 ganga postfix/smtpd[2031]: disconnect from unknown[::1]
    Feb 3 12:25:02 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:25:02 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:25:02 ganga postfix/smtpd[2313]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:25:02 ganga postfix/smtpd[2313]: connect from unknown[::1]
    Feb 3 12:25:02 ganga postfix/smtpd[2313]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:25:02 ganga postfix/smtpd[2313]: disconnect from unknown[::1]
    Feb 3 12:30:03 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:30:03 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:30:03 ganga postfix/smtpd[2592]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:30:03 ganga postfix/smtpd[2592]: connect from unknown[::1]
    Feb 3 12:30:03 ganga postfix/smtpd[2592]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:30:03 ganga postfix/smtpd[2592]: disconnect from unknown[::1]
    Feb 3 12:35:02 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:35:02 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:35:03 ganga postfix/smtpd[2882]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:35:03 ganga postfix/smtpd[2882]: connect from unknown[::1]
    Feb 3 12:35:03 ganga postfix/smtpd[2882]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:35:03 ganga postfix/smtpd[2882]: disconnect from unknown[::1]
    Feb 3 12:40:02 ganga dovecot: pop3-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:40:02 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 12:40:03 ganga postfix/smtpd[3169]: warning: ::1: address not listed for hostname localhost
    Feb 3 12:40:03 ganga postfix/smtpd[3169]: connect from unknown[::1]
    Feb 3 12:40:03 ganga postfix/smtpd[3169]: lost connection after CONNECT from unknown[::1]
    Feb 3 12:40:03 ganga postfix/smtpd[3169]: disconnect from unknown[::1]
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no sending attempt from squirrelmail in this log excerpt. Please post the log from the time were you tried to send with squirrelmail.
     
  5. wubbx

    wubbx New Member

    updated mail.log

    Updated mail.log, trying to send a mail.

    Feb 3 13:05:01 ganga dovecot: imap-login: Disconnected (no auth attempts): rip=::1, lip=::1, secured
    Feb 3 13:05:01 ganga postfix/smtpd[4592]: warning: ::1: address not listed for hostname localhost
    Feb 3 13:05:01 ganga postfix/smtpd[4592]: connect from unknown[::1]
    Feb 3 13:05:01 ganga postfix/smtpd[4592]: lost connection after CONNECT from unknown[::1]
    Feb 3 13:05:01 ganga postfix/smtpd[4592]: disconnect from unknown[::1]
    Feb 3 13:05:33 ganga dovecot: auth-worker(default): mysql: Connected to localhost (dbispconfig)
    Feb 3 13:05:33 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:05:33 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=44/709
    Feb 3 13:05:34 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:05:34 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=399/1723
    Feb 3 13:05:34 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:05:34 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=292/1901
    Feb 3 13:05:38 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:05:38 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=289/1876
    Feb 3 13:05:42 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:05:42 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=142/1496
    Feb 3 13:05:51 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:05:51 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=142/1496
    Feb 3 13:06:04 ganga postfix/smtpd[4592]: warning: ::1: address not listed for hostname localhost
    Feb 3 13:06:04 ganga postfix/smtpd[4592]: connect from unknown[::1]
    Feb 3 13:06:04 ganga postfix/smtpd[4592]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
    Feb 3 13:06:04 ganga postfix/smtpd[4592]: 7288437D178: client=unknown[::1]
    Feb 3 13:06:04 ganga postfix/cleanup[4678]: 7288437D178: message-id=<[email protected]>
    Feb 3 13:06:04 ganga postfix/qmgr[1409]: 7288437D178: from=<[email protected]>, size=716, nrcpt=1 (queue active)
    Feb 3 13:06:04 ganga postfix/smtpd[4592]: disconnect from unknown[::1]
    Feb 3 13:06:04 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:06:04 ganga amavis[1075]: (01075-02) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 103) line 166, <GEN43> line 5.
    Feb 3 13:06:04 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=610/459
    Feb 3 13:06:04 ganga dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured
    Feb 3 13:06:04 ganga dovecot: IMAP([email protected]): Disconnected: Logged out bytes=291/2275
    Feb 3 13:06:05 ganga postfix/smtpd[4685]: connect from localhost.localdomain[127.0.0.1]
    Feb 3 13:06:05 ganga postfix/smtpd[4685]: 0DF3A37D182: client=localhost.localdomain[127.0.0.1]
    Feb 3 13:06:05 ganga postfix/cleanup[4678]: 0DF3A37D182: message-id=<[email protected]>
    Feb 3 13:06:05 ganga postfix/qmgr[1409]: 0DF3A37D182: from=<[email protected]>, size=1173, nrcpt=1 (queue active)
    Feb 3 13:06:05 ganga postfix/smtpd[4685]: disconnect from localhost.localdomain[127.0.0.1]
    Feb 3 13:06:05 ganga amavis[1075]: (01075-02) Passed CLEAN, LOCAL [IPv6:::1] [82.156.128.165] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: JFt4tdv3XLwX, Hits: -1, size: 716, queued_as: 0DF3A37D182, 557 ms
    Feb 3 13:06:05 ganga postfix/smtp[4679]: 7288437D178: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.68, delays=0.1/0.01/0.01/0.56, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01075-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 0DF3A37D182)
    Feb 3 13:06:05 ganga postfix/qmgr[1409]: 7288437D178: removed
    Feb 3 13:06:35 ganga postfix/smtp[4686]: connect to em-mx.euronet.nl[194.134.4.239]:25: Connection timed out
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if outgoing port 25 is blocked by your isp. Do you run the server in a datacnetr or at home?
     
  7. wubbx

    wubbx New Member

    datacenter

    I think a datacenter, because im using a vps with Debian 6 32bit with ISPConfig 3 installed.
     
  8. wubbx

    wubbx New Member

    mx record / name server

    has it something todo with the dns mx record or the name server?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    neither nor, it has to do with a firewall outside of the server or the target mailserver was not online:

    PHP:
    Feb 3 13:06:35 ganga postfix/smtp[4686]: connect to em-mx.euronet.nl[194.134.4.239]:25Connection timed out
    connection timed out means that your server tried to connect to the server (with the correct IP, as the IP is shows in [], but it was not able to reach that server over the network. you should aks the ISP that hosts your server if they block outgoing traffic on port 25.
     
  10. wubbx

    wubbx New Member

    Having contacted my provider and indeed they blocked the port 25. They give a option to configure a relay with gmail etc. because in the meantime they are building with a system wish allow the smtp to send a few mails a day. The only option for my is to configure a relay to send a mail.

    Thank you for making it clear to my whats happened and the feedback.
     

Share This Page