SMTP Failure

Discussion in 'Installation/Configuration' started by eal1619, Nov 9, 2007.

  1. eal1619

    eal1619 New Member

    Hello Folks,
    I’m having problems connecting to my SMTP server, where I’m able to receive email messages from other mail exchange, but I’m not able to send email messages to my SMTP server. The error message from my Outlook 2003 email browser reads:

    Task "Chief Administrator - Sending' reported error (0x80042109): 'Outlook is unable to connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator try Internet service provider (ISP)

    This true for all email - accounts, theirs only one actively used MX.

    I’ve checked the following systems / subsystems:
    1.) client system firewall setting
    2.) ISPConfig server firewall setting
    3.) ISPConfig network port forward ( no block port obstructions )
    4.) Outlook Express 2003 email-account settings ( worked initially for a few days )
    5.) DNS settings, theirs none that I know of, all systems go ( preformed the # dig cmd, all is good )
    6.) Email account setting on target mail exchange ( email account exist, and ready for use; able to receive email messages via courier-pop without issues )
    7.) ISPConfig c panel indicates all systems are online and ready for use
    8.) This is the ‘ # netstat -tap ‘ excerpt concerning SMTP, reads:

    ‘ tcp 0 0 *:smtp *:* LISTEN 23924/master’


    9.) ‘iptable -L’ excerpt concerning SMTP, reads:

    ‘PAROLE tcp -- anywhere anywhere tcp dpt:smpt


    Any information concerning my SMTP connectivity problem would be greatly appreciated, Thank you.
     
    Last edited: Nov 9, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to use the IP address as smtp and pop3 server in outlook. If your server is behind a router, make sure that you use the internal IP, when you are inside your local network. If you are outside the local network, make sure that you use the external IP or domain and forward the smtp port in your router.
     
  3. eal1619

    eal1619 New Member

    Hello,
    I tried using an IP address, but the results were the same; I'm able to connect to the pop server and as a result receive email, but smtp doesn't respond, so connection fails. ISPConfig indicates that smtp is online, and port 25 is open.
    Thaxs
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Try to switch off the firewall. If that doesn't help - any errors in your mail log?
     
  5. eal1619

    eal1619 New Member

    Hello,
    I tried turning off firewall, no change to current situation. I'm running openSuSe v.10.2; do anyone know where the mail logs are, I looked in /var/log/ and did not find such records.

    Thaxs
     
  6. falko

    falko Super Moderator Howtoforge Staff

    I think it's /var/log/mail or something like that.
    Did you disable AppArmor?
     
  7. eal1619

    eal1619 New Member

    Hello,
    I checked, the AppArmor and its firewall have been disabled (shortly after installing ISPConfig and the openSuSe v.10.2 Perfect Setup compliment), I also disabled various settings in the Profile Mode Configuration of the AppArmor Control Panel, from enforced to complain; the option to totally disable this feature isn't provided in YaST. Here are some excerpts from the mail logs, since their are multiple accounts it repeats these errors over and over again.


    09/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)

    Nov 10 23:13:20 LynnBoxS0 postfix/smtp[14413] : OBA3B13AE18: to=< [email protected] > relay=none, delay=420710, delay=421958/0. 11/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)

    Nov 10 23:13:20 LynnBoxS0 postfix/qmgr[14390] : E616813AE1F: to=< test1@yahoo,com >, relay=none, delay=4214111, delay=421370/40/0/0, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=youhoo.com typm=MX: Host not found, try again)

    Thaxs
     
  8. falko

    falko Super Moderator Howtoforge Staff

  9. eal1619

    eal1619 New Member

    Hello,

    I checked, and I have not been blacked listed, here is my # /etc/resolv.conf file:

    nameserver 67.42.41.25
    nameserver 67.42.41.29
    nameserver 205.171.3.65
    search datacell.us LynnBoxS0.datacell.us www.datacell.us mail.datacell.us ns1.mydatacell.net ns2.mydatacell.net

    The first 2 nameservers are mine ( ns1.mydatacell.net and ns2.mydatacell.net, respectively), it appears that they are necessary just to get the smtp server running inside the LAN, the last nameserver is of my internet service provider.

    Thaxs
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Can you put
    Code:
    nameserver 205.171.3.65
    in the first line in /etc/resolv.conf?
     
  11. eal1619

    eal1619 New Member

    Hi,
    I tried putting 205.171.3.65 in the first line in # /etc/resolv.conf, to no avail; the smtp server is still unreachable from outside the LAN. Could their be some postfix setting issue ?

    Thaxs
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Please contact your internat access provider and ask them if the block port 25.
     
  13. eal1619

    eal1619 New Member

    Hi,
    I checked with my ISP and they claim port 25 isn't being blocked, using the website canyouseeme.org; which provides a port checking utility, it supports my ISP's claim that port 25 is open for business.

    I'm not sure ,but I believe that if I was using a webmail interface, this problem would have gone unnoticed; the smtp server works if I'm on the same WLAN, but not across the web or outside my WLAN. I can receive email from abroad and I can send email using my Outlook express if I'm in my WLAN. Maybe Postfix is the problem but I don't know where to start, any ideas???

    Thanxs in advance
     
  14. falko

    falko Super Moderator Howtoforge Staff

    Are you absolutely sure that you forwarded port 25 from your router to your mailserver?
     
  15. eal1619

    eal1619 New Member

    Hi,
    Yes, I have all necessary ports open including port 25; in fact I've DMZ the target server since it has a forwarded public IP address, with only its c panel firewall between it and the WWW. In response to your reply I've doubled check the routers settings and all is well. I used the site canyouseeme.org to verify my port forwarding and DMZ scheme and everything is OK.
    All other services are currently functioning properly and are accessible inside and outside the WLAN, except for the SMTP; which can only be access from inside the WLAN.

    Thanxs
     
  16. falko

    falko Super Moderator Howtoforge Staff

    Then I'm not sure where the error is...
     
  17. eal1619

    eal1619 New Member

    I've done some investigation and found a possible link between my inability to access my SMTP server accross the web, but only from within my WLAN/LAN and the fact that my #/etc/init.d/xinetd is offline and can not be restarted / started.
    When I run #/etc/init.d/xinetd restart /or start the command-line fails; I've read that sasl authorizations for SMTP daemon are assoiated with 'inetd'. Can anyone provide more info on this and perhaps a roadmap as to how this info may or may not resolve my SMTP Failure problem.

    My #/etc/postfix/master.cf reads:

    smtp___inet___n___-___n___-___-___smtp

    but I've read it suppose to read:

    smtp___inet___n___-___n___-___-___smtp -v

    ,if sasl authentication from outside the WLAN or prespecified IP or/and subnet is to be used; concerning "$mynetwork =" in #/etc/postfix/main.cf restrictions; which are currently set to "$mynetwork = 127.0.0.0/8".

    Please any info, thanx in advance
     

Share This Page