Hey,

I came up with a working solution:

# define mysql maps
alias_maps = mysql:/etc/postfix/mysql/alias.cf
mynetworks = 127.0.0.1/8, mysql:/etc/postfix/mysql/pop_imap_before_smtp.cf
relocated_maps = mysql:/etc/postfix/mysql/relocated.cf
transport_maps = mysql:/etc/postfix/mysql/transport.cf
virtual_maps = mysql:/etc/postfix/mysql/virtual.cf


# smtpd
smtpd_recipient_restrictions =  reject_invalid_hostname,
                                reject_non_fqdn_recipient,
                                reject_non_fqdn_sender,
                                reject_unauth_pipelining,
                                reject_unknown_recipient_domain,
                                reject_unknown_sender_domain,
                                permit_mx_backup,
                                permit_mynetworks,
                                permit_sasl_authenticated,
                                check_relay_domains,
                                permit
broken_sasl_auth_clients =      yes
smtpd_sasl_auth_enable =        yes
smtpd_sasl_local_domain =       box
smtpd_sasl_security_options =   noanonymous


If there are any comments regarding this setup please post :-)



Kind Regards,

Markus

Reply via email to