postfix smtp authentication; permission to relay

Discussion in 'Installation/Configuration' started by leblanc, Dec 3, 2007.

  1. leblanc

    leblanc New Member

    By enabling sasl by default it uses local accounts.
    I want to test using hash:/etc/postfix/postgresql/
    once that is working i want to move to pgsql:/....samepath

    I've created the file already.

    I disabled sasl in and successfully relayed anonymously.
    When i enable sasl in it correctly denies users attempting to relay anonymously.

    I specified the following in
    smtp_sasl_password_maps = hash:/etc/postfix/postgresql/

    but it doesn't seem to be using that to authenticate users... instead it uses local accounts. so where else do i need to specify to use my hash password table?

    plain login

    what are these other sasl* binaries?
    linux-server:/home/vmailuser/mailboxes/ # ls /usr/sbin/ | grep sasl

    #currently running sasl binary
    linux-server:/home/vmailuser/mailboxes/ # ps -ax | grep sasl
    Warningbad ps syntaxperhaps a bogus '-'See
    2979 ?        Ss     0:00 /usr/sbin/saslauthd -a pam -n 5
    ?        S      0:00 /usr/sbin/saslauthd -a pam -n 5
    ?        S      0:00 /usr/sbin/saslauthd -a pam -n 5
    ?        S      0:00 /usr/sbin/saslauthd -a pam -n 5
    ?        S      0:00 /usr/sbin/saslauthd -a pam -n 5
     3846 pts
    /7    R+     0:00 grep sasl

  2. till

    till Super Moderator Staff Member ISPConfig Developer


    please have a look at one of the "Virtual Users And Domains With Postfix" howtos here at howtoforge. They are available for several linux distributions. The howtos contain the configuration of sasl for mysql based users.
  3. leblanc

    leblanc New Member

    I would really like to understand what i'm doing rather than type lots of commands without any explanation.

    Example many of the articles lack ways to incrementally test the server. What ends up happening is the user completes the article and nothing works.. whoops! An email article should use local accounts to show the theory and remove dependencies which add an extra layer of difficulty.. database .. once the user gets local accounts working transitioning to a database would be much easier.

    Also lack of explanation. whats the difference of all these binaries?

    just a note these are different in different OS. Some articles have better explanation but commands are different.

    I know it has to do with pwcheck_method: saslauthd inside smtp.conf

    I can send mail, receive, using posgresql backend. I'm missing relay and courier configurations.

    I would really like a better answer than just RTFM.
    Last edited: Dec 3, 2007
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    What you want to know is described in the documentation of the packages and the manpages. You should visit the homepages of the different software projects for this. It is not the function of a howto to copy the content of the software documentation. The function of a howto is to provide a easy to follow solution for a problem.

    If you dont want a solution for your problem, then you should not read the howto of course :)
  5. leblanc

    leblanc New Member

    wow no insight. what a moderator, what a troll
    what is the purpose of these forums?

    good riddance to this community

    only trolls delete messages.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    By the way, its not my tutorial ;) I dont comment on the last comment.

    To ask questions about linux. I answered your question in post #2. Sorry that I did not quote the complete tutorial and that I did not copy the SASL documentation into this post too.

    Who deleted a message in which thread?

Share This Page