Hi Victor,

All mail going to virtual mailboxes seems to go to their destination excepts 
for tmy-main-domain.com (when i do postqueue -f )

I get this error :
Jan 31 18:18:51 stock postfix/local[2203]: F011A80B6D: 
to=<www-d...@mail.my-main-domain.com>, relay=local, delay=278059, 
delays=278057/2/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command 
output: maildrop: Home directory owned by wrong user. )

(I just understand a very very few part of postfix and maildrop ...)

May you check if there's a big mistake anywhere in the following conf ?

# postconf -n 
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
mailbox_command = maildrop
mailbox_size_limit = 0
mydestination = mail.my-main-domain.com, ks999999.kimsufi.com, 
localhost.kimsufi.com, localhost
mydomain = my-main-domain.com
myhostname = mail.my-main-domain.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = 
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
virtual_gid_maps = static:5000
virtual_mailbox_base = /home
virtual_mailbox_domains = my-main-domain.fr example.net
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_uid_maps = static:5000

# cat /etc/aliases
root:   ovh
amavis: root

# cat /etc/postfix/vmailbox
cont...@my-main-domain.fr  my-main-domain.fr/contact
cont...@example.net example.net/contact

# cat /etc/mailname
mail.my-main-domain.com

Max

Reply via email to