Results 1 to 4 of 4
  1. #1

    Exim: Unable to send mail w/ new users

    I installed exim and have been able to successfully use it as an smtp server. My test setup was as follows:

    email client uses smtp.MYSERVER.com, my login, and password

    The email is successfully forwarded to the appropriate recipient. However, when I create a new user, and test it's email capabilities, it does not work. I get a 535 error:

    535 Incorrect authentication data


    I have double checked the login and password, and I've tried this on multiple accounts. Is there an issue with how I'm creating the users? (useradd)

    Thanks

  2. #2
    Join Date
    Jun 2007
    Location
    UK
    Posts
    219
    Exim has a number of options for authenticating users - did you pick the PAM option:

    http://wiki.exim.org/AuthenticatedSmtpUsingPam
    I think the server saw what was required of it and just committed suicide instead.

  3. #3
    Not that I know of, here is the section containing my auth:

    Code:
    begin authenticators
    
    fixed_plain:
    driver = plaintext
    public_name = PLAIN
    server_prompts = :
    server_condition = "${perl{checkuserpass}{$1}{$2}{$3}}"
    server_set_id = $2
    
    fixed_login:
    driver = plaintext
    public_name = LOGIN
    server_prompts = "Username:: : Password::"
    server_condition = "${perl{checkuserpass}{$1}{$2}}"
    server_set_id = $1

  4. #4
    Figured it out. These email accounts were 'sub' accounts, which did not have logins to the actual machine. i.e: email accounts for an existing account.

    Thus, the usernames had to be their FQDM. ([email protected])

    I'm still not sure why the users I added to localhost didn't work -- I'll look into that some day...

Posting Permissions

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