Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    114

    Default SMTP not working for some accounts

    I have a few users (myself included) that aren\'t able to send mail through the server. I checked exim_mainlog, and see:
    unexpected disconnection while reading SMTP command from xxx.xxx.xxx.xxx.

    I manually added my ip to /etc/localrelayhosts, and it went right through. So it looks like, after mail is checked, that ip isn\'t getting added to the list. Any ideas?

  2. #2
    bdraco
    Guest

    Default

    Make sure they have SMTP auth turned on.

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    114

    Default

    Hey thanks. I think that did the trick.
    I had no idea it was required. I\'ve never had it turned on, and it\'s always worked ok. hmmm

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    It\'s not required.....
    That is like the final saviour step when people can\'t relay, because it sends authentication when they make the actual SMTP connection (via port 25, outgoing, whatever)..... so it doesn\'t even matter if they\'ve logged in correctly via pop3 to the server.

    In a perfect world, you don\'t need the SMTP auth, coz the people using the SMTP server are users that have already logged in via pop3 to get mail, and are added to that allow file as you stated.... sometimes things **************** up, surprise surprise.

    Did you run /scripts/mailperm also?


    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    114

    Default

    [quote:3e327163be] /scripts/mailperm[/quote:3e327163be]
    Nopers. What does that do?
    Nevermind. I\'ll just run it and trust the magic.

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    It changes/verifies all mail-sensitive directories everywhere on the machine in question have the write permission bit settings and correct user/group ownership.

    FUN for all.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  7. #7
    Member
    Join Date
    Aug 2001
    Posts
    114

    Default

    I ran mailperm, and it seems to have fixed everything, with ONE exception. I still have a user on a Mac that still can\'t send mail through the server. I\'ve even manually added him to /etc/relaydomains, but still no luck. He has the same problem with OLE 5 and Eudora 5.1.

  8. #8
    Member
    Join Date
    Aug 2001
    Posts
    80

    Default

    It could very well be his ISP. A lot of ISPs will now block out access to port 25 (SMTP server) and require them to use their own mail server for sending.

    TO test it, have them try to telnet to that port, i.e.

    telnet theirdomainname.com 25

    If they get the exim message, then they can use port 25 and it is not a server issue. If the connection is refused, then you know where the problem lies.
    Michael Weinstein
    Exec. Vice President
    WeinBar Communications Corp.
    http://www.weinbar.com

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    114

    Default

    Telnet\'s disabledon the server, and that\'s blocked via ssh.

    I don\'t think that\'s the problem, because he was using mail.hisdomain.com with his previous hosting company.

  10. #10
    Member
    Join Date
    Aug 2001
    Posts
    80

    Default

    Even though telnet is diabled on the server, you should be able to telnet into a different port, just to see if it is active. Even though it worked for his previous company, it may not work now as the ISP may have turned it off.
    Michael Weinstein
    Exec. Vice President
    WeinBar Communications Corp.
    http://www.weinbar.com

  11. #11
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    [quote:d18283d65a]Telnet\'s disabledon the server, and that\'s blocked via ssh.

    I don\'t think that\'s the problem, because he was using mail.hisdomain.com with his previous hosting company. [/quote:d18283d65a]

    I have been through all this myself. All my hair is gone way before now so here is my 1c worth.

    If SMTP works on that box at all this is more than likey what the problem is.

    1.) Your user is on a screw ball ISP like Earthlink / Mindsprung. Telnet doesn\'t matter because you are simply asking them to talk to that port. Try it. If it sits there it\'s a firewall on that ISP. if they get a hello message frok Exim you are good to go. Also if it is a recent transfer make sure \"mail.theirdomain.com\" resolves (FROM THEIR COMPUTER) to your server. A simple \"ping mail.hisdomain.com\" will tell them at the command prompt.

    2.) No IP in that \"ok\" file. Tell them to (check mail first) on that account. I have people all the time that have their OLE set to check every 10 hours and they sit there composing 10 emails to send to people and when they try to send they get errors. Then they just sit there and stare at the error. They never bother to check their mail manually .. they think that mail just magically comes in when it wants to.

    So make sure they can get a \"hello\" from Exim using that Telnet command and if they can the SMTP auth that Nick suggested will work or just make sure they check mail often and always before they try to send.

    Good luck
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  12. #12
    Member
    Join Date
    Aug 2001
    Posts
    173

    Default

    sbrad, been having the same problems on a server myself, amonst a whole load of others. *crys*

    However, that stmp auth seemed to fix matters, just have never had to use that before.. weird =]

    thanks

    C.
    Craig Robinson - UKDedicated LTD
    UK Dedicated Servers, Managed Dedicated Servers and Colocation at Centro, Hemel Hempstead.

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 09-23-2008, 05:30 PM
  2. Replies: 0
    Last Post: 10-27-2006, 05:12 AM
  3. SMTP not working>??
    By aboyz in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 03-14-2005, 06:01 AM
  4. SMTP Not Working
    By Doctor in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-15-2004, 03:34 AM
  5. SMTP not working
    By Peoplespaces in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-05-2003, 06:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube