LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Missing the obvious in postfix (https://www.linuxquestions.org/questions/linux-networking-3/missing-the-obvious-in-postfix-222869/)

snipersock 08-26-2004 07:47 PM

Missing the obvious in postfix
 
I think I'm missing the obvious in regard to my postfix configuration. Right now I have postfix for my two domains. I have virtual domains configured and working with vm-pop3d so I can retrieve my mail as well. How do I go about setting up postfix to allow me to connect from my home using thunderbird, or some other client, to send out email through that machine? If you need configuration let me know.

~ Nick (nick@socklabs.com)

r0b0 08-27-2004 06:07 AM

Postfix alone cannot help you, because you need to authenticate the user connectiong to postfix from outside of your network.
Install and configure SASL support to postfix.

snipersock 08-27-2004 09:57 AM

Quote:

Originally posted by r0b0
Install and configure SASL support to postfix. [/B]
Yeah, about 20 minutes after posting this I found some very hand links on sasl on postfix. Here are the few that I'll be using as a direct refference:

http://www.mandrakesecure.net/en/docs/postfix-sasl.php
http://postfix.state-of-mind.de/patr...tter/smtpauth/
http://yocum.org/faqs/postfix-tls-sasl.html
http://dudle.linuxroot.org/docs/postfix_cyrus/
http://www.postfix.org/SASL_README.html

If anyone has any tips or tricks on postfix configuration w/sasl, please throw it my way. I'll probly be posting a tutorial on how I get it down, once its done, on my site or something.

~ Nick

PDR60 08-27-2004 10:18 AM

I'm putting together a really cool postfix how-to that I use to replace exchange servers with. It uses sasl, ssl, Mysql squirrelmail ...etc for virtual domains and a bunch of other features.

snipersock 08-27-2004 10:31 AM

Work
 
Ok, first try with sasl authentication went fine. I'm using Fedora Core 1 and this is what I did:

Added the following to /etc/postfix/main.cf
Code:

smtpd_sasl_local_domain = socklabs.com burningwind.com
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
permit_sasl_authenticated = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

edited the following file: /usr/lib/sasl2/smtpd.conf
Code:

pwcheck_method: sasldb
Ran the following commands
Code:

/usr/sbin/saslpasswd2 -c -u socklabs.com nick
/usr/sbin/sasldblistusers2

Then had to modify /etc/sasldb2 to be viewable by the postfix/vmail user account

Done.

Hope this helps everyone.

~ Nick


All times are GMT -5. The time now is 04:13 AM.