SMTP-AUTH use "username" instead of "[email protected]"

Discussion in 'HOWTO-Related Questions' started by knakka, Feb 5, 2008.

  1. knakka

    knakka New Member

    Hi,
    I followed "Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10)" (http://www.howtoforge.com/virtual-users-and-domains-with-postfix-ubuntu-7.10) to setup the mail environment and it works great!

    However, due to some limitations I'd like to see SMTP-AUTH use just the "username" instead of "[email protected]" when authentication remote users. From what I have understood, SMTP-AUTH uses Saslauthd which in turn uses /etc/pam.d/smtp to authenticate against the mysql database.

    What is the change I need to do in order to accomplish this???

    Thanks
    Kris
     
  2. falko

    falko Super Moderator ISPConfig Developer

    But the username in the database is [email protected], not username...
     
  3. knakka

    knakka New Member

    Yes, the username in the database is "[email protected] I was wondering if there is a way to authenticate by just sending the "username"...

    Thanks
     
  4. falko

    falko Super Moderator ISPConfig Developer

    No. Imagine you have two usernames, [email protected] and [email protected]. Which record should Postfix authenticate against, because username matches both?
     

Share This Page