LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix SMTP AUTH (https://www.linuxquestions.org/questions/linux-software-2/postfix-smtp-auth-33512/)

NetScripter 10-23-2002 01:53 AM

Postfix SMTP AUTH
 
I built postfix with sasl + mysql+ virtual domains+courier imap
The question is how to setup postfix to accept mail only from authenticated users and send it to all other domains.
Currently it accepts mail only for local users and domains without SMTP AUTH and with one.
I have the following main.cf(only part):

broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
transport_maps = mysql:/etc/postfix/transport.cf
virtual_mailbox_base = /var/spool/vmail
virtual_uid_maps = mysql:/etc/postfix/ids.cf
virtual_gid_maps = mysql:/etc/postfix/gids.cf
virtual_mailbox_maps = mysql:/etc/postfix/aliases.cf
virtual_maps = mysql:/etc/postfix/remote_aliases.cf
relay_domains = $transport_maps
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,check_relay_domains
disable_vrfy_command = yes


Please help.


All times are GMT -5. The time now is 02:05 PM.