Results 1 to 5 of 5

Thread: smtp auth question

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    29
    Rep Power
    9

    Default smtp auth question

    Hi,

    I just installed the 3.01 GA on FC4 with default configuration and the install went smooth. Have tested out most things but I'm running into a problem with SMTP authentication.

    I have turned on verbose logging for smtpd and managed to capture the login/pass being passed in (both look good) but the error is simply

    warning: unknown[xx.xx.xx.xx]: SASL LOGIN authentication failed

    I looked at the stmpd.conf to confim authentication methods and both PLAIN and LOGIN are listed. However I don't see them listed when I try this simple test:

    # telnet 127.0.0.1 25
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    220 notmyrealhostname.com ESMTP Postfix
    EHLO 127.0.0.1
    250-notmyrealhostname.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250 8BITMIME
    QUIT

    I see that TLS is starting but I don't see the authentication mechanisms that I would normally see such as:

    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN

    I have setup my own home-grown postfix, sasl, mysql, amavisd-new, spamassassin, clamav, courier in the past so I'm familiar with my way around the config files - but before I start making major changes to postfix - is there something obvious I'm missing. Why isn't smtpd returning the auth-mechanisms and is this a pointer to the problem as it seems to be?

    thanks for any help

    Mark

  2. #2
    Join Date
    Apr 2006
    Posts
    29
    Rep Power
    9

    Default

    forgot to mention: testsaslauthd returns an authentication failed also.

    and some additional info:

    $ zmprov gs nomyrealdomain.com | grep Mode
    zimbraMailMode: https
    $ zmprov gs notmyrealdomain.com | grep Auth
    zimbraMtaAuthEnabled: TRUE
    zimbraMtaAuthHost: notmyrealdomain.com
    zimbraMtaAuthURL: http://notmyrealdomain.com:80/service/soap/
    zimbraMtaTlsAuthOnly: TRUE

  3. #3
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    11

    Default

    try running this to regenerate the authurl (right now it's http but the mailmode is https):

    zmprov ms notmyrealdomain.com zimbraMtaAuthHost notmyrealdomain.com

  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    As has been mentioned in these forums, your https mail mode is at odds with the port 80 in your auth host url - reset the auth host to it's current value, and it'll change the port in the url (known bug, I think we've already fixed it for the next release.)
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Join Date
    Apr 2006
    Posts
    29
    Rep Power
    9

    Default

    Bobby, MarcMac,

    Thanks for the really quick response.. this did get my up and running. I started with http and quickly switched to https after install. I've spent hours with this and several visits to the forums (but missed the really good thread on smtp auth that the bug report refers to). I'll also check the bug reports before posting next time...

    Thanks for the help.. you got me up and running in 2 mins after several hours sitting down with my postfix book and old configs!

    Mark

Similar Threads

  1. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  2. SMTP auth not working outside of ZCS's subnet
    By dvb in forum Administrators
    Replies: 3
    Last Post: 02-08-2007, 02:34 PM
  3. SMTP Auth error 535
    By FloydWilliams in forum Administrators
    Replies: 0
    Last Post: 01-04-2007, 02:33 PM
  4. ZimbraAdmin unavailable after I try configure the SMTP Auth.
    By FredArgolo in forum Administrators
    Replies: 10
    Last Post: 01-26-2006, 01:49 PM
  5. SMTP Auth Failing?
    By mikea in forum Administrators
    Replies: 15
    Last Post: 01-03-2006, 10:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •