Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I posted the following in the "Linux - Software" forum, but realized it probably is more on topic in this forum:
Maybe I'm going about this the wrong way. I have Postfix installed, with Courier Imapd (and POP3d). I am planning on hosting several websites, and have setup Postfix and Courier to use virtual mailboxes. In otherwords, users don't need to have a system account to receive and get mail. So far, everything is working fine. I can log in using IMAP and get my email. All info is stored in MySQL table (passwords, using ENCRYPT() function).
Now, I want to set up Postfix to allow sending email. I would like to use SMTP AUTH. Users will have to authenticate using the same login information that courier uses. I've read quite a bit of google articles on how to set this up, but seem to be coming up blank.
Going to answer my own question, just in case anyone else needs this info.
Things that are different in my original post (NOTE: My stuff is in /usr/lib64. Usually, it will be in /usr/lib):
In the file /usr/lib64/sasl2/smtpd.conf:
pwcheck_method: saslauthd
mech_list: plain login
(last line was added, and pwcheck_method changed to "saslauthd"
Biggest problem was that I had pam_mysql.so in /lib/security, as opposed to /lib64/security. Moving it ot /lib64/security fixed a lot of problems I was having.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.