Trouble sending mail

Discussion in 'Installation/Configuration' started by EvdM, Feb 18, 2006.

  1. EvdM

    EvdM New Member

    I have just completed my first ISPConfig installation (after a 'perfect Debian setup'). Most things seem to work fine, except I had trouble logging into the webmail first, but after switching to Courier imap (as suggested on this forum) that worked too.

    No the only issue is that I cannot seem to send mail for external delivery. If I try so send to some gmail receipient, I get logs showing:
    Code:
    Feb 18 12:32:15 montblanc postfix/smtp[10637]: connect to gmail.com[216.239.57.107]: Connection timed out (port 25)
    Feb 18 12:32:45 montblanc postfix/smtp[10637]: connect to gmail.com[64.233.161.107]: Connection timed out (port 25)
    Feb 18 12:33:15 montblanc postfix/smtp[10637]: connect to gmail.com[64.233.171.107]: Connection timed out (port 25)
    Feb 18 12:33:15 montblanc postfix/smtp[10637]: 07388AAAFE: to=<[email protected]>, relay=none, delay=1512, status=deferred (connect to gmail.com[64.233.171.107]: Connection timed out)
    
    I have tried some of the suggestions testing for fire wall issues, but 'telnet mx2.hotmail.com 25' fron the system gives:
    Code:
    Trying 65.54.244.168...
    Connected to bay0-oim-f.bay0.hotmail.com.
    Escape character is '^]'.
    220 bay0-mc6-f10.bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at http://privacy.msn.com/Anti-spam/. Violations will result in use of equipment located in California and other states. Sat, 18 Feb 2006 05:33:44 -0800
    
    That seems okay to me to. Further 'netstat -tap' gives:
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 localhost.localdo:mysql *:*                     LISTEN     2079/mysqld
    tcp        0      0 *:81                    *:*                     LISTEN     2267/ispconfig_http
    tcp        0      0 *:ftp                   *:*                     LISTEN     2436/proftpd: (acce
    tcp        0      0 montblanc.avonde:domain *:*                     LISTEN     2423/named
    tcp        0      0 localhost.locald:domain *:*                     LISTEN     2423/named
    tcp        0      0 *:smtp                  *:*                     LISTEN     10632/master
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN     2423/named
    tcp6       0      0 *:imaps                 *:*                     LISTEN     1996/couriertcpd
    tcp6       0      0 *:pop3s                 *:*                     LISTEN     2017/couriertcpd
    tcp6       0      0 *:pop3                  *:*                     LISTEN     2004/couriertcpd
    tcp6       0      0 *:imap2                 *:*                     LISTEN     1983/couriertcpd
    tcp6       0      0 *:www                   *:*                     LISTEN     2297/apache2
    tcp6       0      0 *:ssh                   *:*                     LISTEN     2232/sshd
    tcp6       0      0 *:smtp                  *:*                     LISTEN     10632/master
    tcp6       0      0 ip6-localhost:953       *:*                     LISTEN     2423/named
    tcp6       0      0 *:https                 *:*                     LISTEN     2297/apache2
    tcp6       0    888 ::ffff:192.168.1.2:ssh  kcnl011nb.lan:4071      ESTABLISHED2543/0
    tcp6       0      0 ::ffff:192.168.1.:imaps kcnl011nb.lan:4233      ESTABLISHED4226/couriertls
    tcp6       0      0 ::ffff:192.168.1.2:ssh  kcnl011nb.lan:4311      ESTABLISHED6482/1
    
    And that leaves me pretty much clue-less...

    Any suggestions much appreciated, thanks a lot!

    Erik
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is your server hosted on your DSL line? Many providers block email connections from IP addresses that are from Dialup accounts, this includes modem and dsl accounts.
     
  3. EvdM

    EvdM New Member

    Thanks for the suggestion. My server is hosted on a DSL line. Is there some way to test if this is the problem here? And if so, are there ways around this issue? Would I need to find an external smtp for outgoing mail?

    Thanks again!
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you send to other (non-hotmail) accounts?
    You could contact Hotmail and ask if the block dynamic IP addresses.

    You could use an SMTP server for relaying. You do it like this:
    http://www.howtoforge.com/forums/showpost.php?p=1594&postcount=18
     
  5. EvdM

    EvdM New Member

    Thanks, this made me think; I do have a fixed IP. I have a router which does some NAT functions, so my server resides effecitvely on 192.168.1.X.

    Further, I have not been able to send to different accounts either.
    I include the bounce message which was generated on such occasion:
    (replaced sender domain with XXX ande receiver with YYY)

    Code:
    The Postfix program
    
    <[email protected]>: host YYY.com[213.193.221.165] said: 550 Requested action not taken: mailbox unavailable or not local (in reply to RCPT TO command)
    
    Reporting-MTA: dns; montblanc.avondel.nl
    X-Postfix-Queue-ID: 68BF9AAAFF
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Sun, 19 Feb 2006 07:14:51 +0100 (CET)
    
    Final-Recipient: rfc822; [email protected]
    Action: failed
    Status: 5.0.0
    Diagnostic-Code: X-Postfix; host YYY.com[213.193.221.165] said: 550 Requested action not taken: mailbox unavailable or not local (in reply to RCPT TO command)
    
    Subject: Test Traces
    From: "Web3_erik" <[email protected]>
    Date: Sun, 19 Feb 2006 7:14:51 +0100
    To: [email protected]
    Received: from UebiMiau (localhost.localdomain [127.0.0.1]) by montblanc.avondel.nl (Postfix) with SMTP id 68BF9AAAFF for <[email protected]>; Sun, 19 Feb 2006 07:14:51 +0100 (CET)
    Received: from client 192.168.1.153 for UebiMiau2.7 (webmail client); Sun, 19 Feb 2006 7:14:51 +0100
    Reply-To: "Web3_erik" <[email protected]>
    X-Priority: 3
    X-Mailer: UebiMiau 2.7.2
    X-Original-IP: 192.168.1.153
    Content-Transfer-Encoding: 8bit
    X-MSMail-Priority: Medium
    Importance: Medium
    Content-Type: text/html; charset="iso-8859-1";
    MIME-Version: 1.0
    Message-ID: <[email protected]>
    
    Hope this helps a little.

    Thanks all!
     
  6. falko

    falko Super Moderator ISPConfig Developer

    The error message is saying that the mailbox does not exist on the receiving server.
    Is [email protected] an email address on a remote server, or is it on the same server that you use for sending?
     

Share This Page