Hi,
I installed OX with the Opensuse 10.3 Installer. Used the stable 4.6.2 Version.
Adding user and so an works well. But ther is a problem with sending emails.
If I send a email to mz own adress I get a: User unknown in virtual alias table.
I found out that the email is found but the mapping to local user doesnt work.
If I send a mail directlz to the local user I get the same.
Adding to the mydestination $mydomain makes the receiving work, but I get the warning : do not list domainxy.com in both mydestination and virtual_domains.
Any hints?
main.cf
mydomain = xyz.net
setgid_group = maildrop
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
virtual_alias_domains = mysql:/etc/postfix/ox_domains.cf
virtual_alias_maps = mysql:/etc/postfix/ox_user_aliases.cf, mysql:/etc/postfix/ox_aliases.cf, mysql:/etc/postfix/ox_resource_aliases.cf, mysql:/etc/postfix/ox_group_aliases.cf
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/ox_externaldomaincheck.cf
smtpd_restriction_classes = local_only
local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject
smtpd_recipient_restrictions = check_sender_access mysql:/etc/postfix/ox_senderrestrictions.cf, reject_rbl_client sbl_xbl.spamhaus.org, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_tls_cert_file = /etc/oxssl/ox.crt
smtpd_tls_key_file = /etc/oxssl/ox.key
#smtpd_tls_cert_file = /etc/ssl/certs/eecert.pem
#smtpd_tls_key_file = /etc/ssl/private/eekey.pem
procmail_destination_concurrency_limit = 1
procmail_destination_recipient_limit = 1
myhostname = mail.$mydomain
mynetworks = 127.0.0.0/8 , 192.168.22.0/24, 192.168.24.0/24
#alias_maps = hash:/etc/aliases
smtpd_tls_auth_only = no
tls_random_source = dev:/dev/urandom
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/oxssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
content_filter = amavisfeed:[127.0.0.1]:10024
smtpd_helo_required = yes
myorigin = $mydomain
smtpd_helo_restrictions = permit_mynetworks, reject_unknown_client, reject_non_fqdn_hostname, reject_invalid_hostname
message_size_limit = 102400000
mailbox_size_limit = 1024000000
mydestination = $myhostname, localhost.$mydomain, $mydomain
I installed OX with the Opensuse 10.3 Installer. Used the stable 4.6.2 Version.
Adding user and so an works well. But ther is a problem with sending emails.
If I send a email to mz own adress I get a: User unknown in virtual alias table.
I found out that the email is found but the mapping to local user doesnt work.
If I send a mail directlz to the local user I get the same.
Adding to the mydestination $mydomain makes the receiving work, but I get the warning : do not list domainxy.com in both mydestination and virtual_domains.
Any hints?
main.cf
mydomain = xyz.net
setgid_group = maildrop
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
virtual_alias_domains = mysql:/etc/postfix/ox_domains.cf
virtual_alias_maps = mysql:/etc/postfix/ox_user_aliases.cf, mysql:/etc/postfix/ox_aliases.cf, mysql:/etc/postfix/ox_resource_aliases.cf, mysql:/etc/postfix/ox_group_aliases.cf
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/ox_externaldomaincheck.cf
smtpd_restriction_classes = local_only
local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject
smtpd_recipient_restrictions = check_sender_access mysql:/etc/postfix/ox_senderrestrictions.cf, reject_rbl_client sbl_xbl.spamhaus.org, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_tls_cert_file = /etc/oxssl/ox.crt
smtpd_tls_key_file = /etc/oxssl/ox.key
#smtpd_tls_cert_file = /etc/ssl/certs/eecert.pem
#smtpd_tls_key_file = /etc/ssl/private/eekey.pem
procmail_destination_concurrency_limit = 1
procmail_destination_recipient_limit = 1
myhostname = mail.$mydomain
mynetworks = 127.0.0.0/8 , 192.168.22.0/24, 192.168.24.0/24
#alias_maps = hash:/etc/aliases
smtpd_tls_auth_only = no
tls_random_source = dev:/dev/urandom
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/oxssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
content_filter = amavisfeed:[127.0.0.1]:10024
smtpd_helo_required = yes
myorigin = $mydomain
smtpd_helo_restrictions = permit_mynetworks, reject_unknown_client, reject_non_fqdn_hostname, reject_invalid_hostname
message_size_limit = 102400000
mailbox_size_limit = 1024000000
mydestination = $myhostname, localhost.$mydomain, $mydomain
Comment