I have installed my brand new Kolab-3 mail server after extensive testing on a virtual box. Unfortunately, I did not test the alias feature. If I send e-mails to to root@btspuhler, I get a message back
The mail system <r...@btspuhler.com>: host aargau.btspuhler.com[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command) my main.cf looks like this: # This file contains only the parameters changed from a default install # see /etc/postfix/main.cf.dist for a commented, fuller version of this file. # These are changed by postfix install script readme_directory = /usr/share/doc/postfix/README_FILES html_directory = /usr/share/doc/postfix/html sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop command_directory = /usr/sbin manpage_directory = /usr/share/man daemon_directory = /usr/lib64/postfix data_directory = /var/lib/postfix newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq queue_directory = /var/spool/postfix mail_owner = postfix # User configurable parameters inet_interfaces = all inet_protocols = all mynetworks_style = host #delay_warning_time = 4h smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mageia Linux) unknown_local_recipient_reject_code = 450 # Next two lines are obsolete # smtp-filter_destination_concurrency_limit = 2 # lmtp-filter_destination_concurrency_limit = 2 smtpd_use_tls = yes smtpd_tls_cert_file = /etc/pki/tls/private/localhost.pem smtpd_tls_key_file = /etc/pki/tls/private/localhost.pem smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt content_filter = smtp-amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings transport_maps = ldap:/etc/postfix/ldap/transport_maps.cf virtual_alias_maps = $alias_maps, ldap:/etc/postfix/ldap/virtual_alias_maps.cf, ldap:/etc/postfix/ldap/mailenabled_distgroups.cf, ldap:/etc/postfix/ldap/mailenabled_dynamic_distgroups.cf submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service unix:private/recipient_policy_incoming, permit smtpd_sender_restrictions = permit_mynetworks, check_policy_service unix:private/sender_policy_incoming smtpd_tls_auth_only = yes mydestination = ldap:/etc/postfix/ldap/mydestination.cf submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject local_recipient_maps = ldap:/etc/postfix/ldap/local_recipient_maps.cf submission_data_restrictions = check_policy_service unix:private/submission_policy the postmap command for r...@btspuhler.com returns: # postmap -q r...@btspuhler.com ldap:/etc/postfix/ldap/virtual_alias_maps.cf thomas.spuh...@btspuhler.com I cannot find much in the logs: Aug 13 09:16:24 aargau postfix/smtpd[17670]: connect from aargau.btspuhler.com[127.0.0.1] Aug 13 09:16:25 aargau postfix/smtpd[17670]: 640855EBDC: client=aargau.btspuhler.com[127.0.0.1] Aug 13 09:16:25 aargau postfix/cleanup[17660]: 640855EBDC: message- id=<520a5bc2.8070...@btspuhler.com> Aug 13 09:16:25 aargau postfix/qmgr[16344]: 640855EBDC: from=<brigitte.spuh...@btspuhler.com>, size=1102, nrcpt=1 (queue active) Aug 13 09:16:25 aargau postfix/smtpd[17670]: disconnect from aargau.btspuhler.com[127.0.0.1] Aug 13 09:16:25 aargau lmtpunix[16983]: accepted connection Aug 13 09:16:25 aargau cyrus-master[17818]: about to exec /usr/lib/cyrus-imapd/lmtpd Aug 13 09:16:25 aargau lmtpunix[17818]: SQL backend defaulting to engine 'mysql' Aug 13 09:16:25 aargau lmtpunix[17818]: executed Aug 13 09:16:25 aargau lmtpunix[16983]: lmtp connection preauth'd as postman Aug 13 09:16:25 aargau lmtpunix[16983]: verify_user(btspuhler.com!user.root) failed: Mailbox does not exist Aug 13 09:16:26 aargau postfix/lmtp[17816]: 640855EBDC: to=<r...@btspuhler.com>, relay=aargau.btspuhler.com[/var/lib/imap/socket/lmtp], delay=0.72, delays=0.06/0.15/0.13/0.39, dsn=5.1.1, status=bounced (host aargau.btspuhler.com[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command)) my normal e-mail address, thomas.spuh...@btspuhler.com works OK I am running out of ideas and would appreciate help. -- Best regards Thomas Spuhler
signature.asc
Description: This is a digitally signed message part.