Hello,
after our problem with courier we replaced the courier pop/imap with the dovecot pop3/imap4-Server.
It runs without problems.
But from the first moment, we have the following problem:
The emails are delivered to "user.domain@localhost.localdomain" or (when we delete $myorigin" in main.cf) to "user.domain@xx.xx.xxx.xx.blue.kundenserver.de"
And in /var/log/mail.info:
Dec 17 15:25:19 85-31-186-31 postfix/local[[2797]]: 30F4B4EF6B: to=<user.domain@xx-xx-xxx-xx.blue.kundenserver.de>, orig_to=<user@domain.de>, relay=local, delay=0, status=sent (delivered to command: procmail -a $EXTENSION)
Our main.cf
smtpd_banner = ESMTP - Yet Another Mailsystem
biff = no
append_dot_mydomain = no
mailbox_command = procmail -a $EXTENSION
mailbox_size_limit = 0
recipient_delimiter = +
myhostname = xx-xx-xxx-xx.blue.kundenserver.de
mydomain = blue.kundenserver.de
mydestination = $myhostname, $mydomain,l ocalhost.localdomain, $transport_maps
relay_domains = $mydestination
mynetworks = 127.0.0.0/8
alias_maps = hash:/etc/aliases
virtual_alias_maps = hash:/etc/postfix/virtual
sender_canonical_maps = hash:/etc/postfix/sender_canonical
canonical_maps = hash:/etc/postfix/canonical
recipient_canonical_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
local_recipient_maps = $relocated_maps $alias_maps $virtual_mailbox_maps unix:passwd.byname
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
unknown_address_reject_code = 554
unknown_hostname_reject_code = 554
unknown_client_reject_code = 554
unknown_local_recipient_reject_code = 554
unverified_sender_reject_code = 550
smtpd_recipient_restrictions = reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unlisted_recipient,
reject_unauth_pipelining,
reject_invalid_hostname,
reject_non_fqdn_hostname,
permit
content_filter = smtp-amavis:[[127.0.0.1]]:10024
receive_override_options = no_address_mappings
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
#relayhost = mail.domain.de
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
Thank you.
wfg mattias