Virtual Users and Domains with Postfix... Problems

Discussion in 'Server Operation' started by hackerkatt, Jan 29, 2008.

  1. hackerkatt

    hackerkatt New Member

    Greetings All,

    [EDIT]
    Never mind, Still have a problem...

    [EDIT]
    DISREGARD THE FOLLOWING POST! Unless your curious….
    I got to thinking that if we are to replace the “mail_admin_password” in the mysql GRANT… command, then we would have to replace the “mail_admin_password” in the various config files used to process the virtual mail and login authentication to the mail database. I originally thought that the “mail_admin_password” was a passed variable (perhaps this could be made a bit clearer in the How-To, IMHO). I am concerned that the password to access the mail database is in clear text in several files on the server. In any case, all is working now. Thanks for the FAB How-To falko!

    I just went through the "Virtual Users and Domains with Postfix, Courier, and MySQL (Ubuntu 7.10) How-To". It was clear, clean, and processed without any errors. However, I get the following errors from my email client.

    Same error for Header download...

    Here is some info to assist anyone who looks at this post.
    Telnet success from a different local server as well.

    Ok, enough for now.

    ? for the group. where the How-to says:
    GRANT SELECT, INSERT, UPDATE, DELETE ON mail.* TO 'mail_admin'@'localhost' IDENTIFIED BY 'mail_admin_password';
    GRANT SELECT, INSERT, UPDATE, DELETE ON mail.* TO 'mail_admin'@'localhost.localdomain' IDENTIFIED BY 'mail_admin_password';

    The instructions say to replace 'mail_admin_password' with your password. I assumed (bad) that it meant to use my password as an admin user. It this correct? It would seem from the mail.log that this login is failing. I've gone back and re-issued the GRANT.... commands w/o any change to the problem.

    Any help would be a shot in the arm. Thanks guys.

    hackerkatt
     
    Last edited: Jan 29, 2008
  2. hackerkatt

    hackerkatt New Member

    Ok, maybe premature...

    I seem to still have a problem. I can authenticate against the IMAP server but not the SMTP server.

    No outgoing mail, just need to authenticate against IMAP and check for mail.
    Have an outgoing email and need to authenticate against SMTP.
     
  3. hackerkatt

    hackerkatt New Member

    Never mind again. Geez...

    I went back and discovered I overlooked changing "mail_admin_password" in the following files.

    /etc/postfix/sasl/smtpd.conf
    /etc/pam.d/smtp

    Sorry for the goose chance. But some good lessons for both me and those that would use this how-to. Thanks!

    hackerkatt
     

Share This Page