I have to two spearate postfix installations where I have a postfix server that does some initial processing - such as address re-writing, signing, and mailing list expansion. One of them works as expected, and the other fails when doing the mailing list expansion. Specifically:
If I send an e-mail to 'm...@gmail.com' it works correctly. If I send an e-mail to 'mail-list' when mail-list is defined in the aliases file as mail-list: m...@gmail.com it does not work and the relay host respones Transaction failed: Missing final '@domain' Here is a copy of the log for both cases: Fails: to mail-list -> m...@gmail.com Feb 3 14:00:45 Falcon postfix/smtpd[10509]: warning: hostname MailServer.Net1.myserver.com does not resolve to address 10.168.1.23: Name or service not known Feb 3 14:00:45 Falcon postfix/smtpd[10509]: connect from unknown[10.168.1.23] Feb 3 14:00:45 Falcon postfix/smtpd[10509]: A450A139221: client=unknown[10.168.1.23] Feb 3 14:00:45 Falcon postfix/cleanup[10511]: A450A139221: message-id=<54d11add.13406.1e4...@editor.wpny.us> Feb 3 14:00:45 Falcon postfix/qmgr[9871]: A450A139221: from=<edi...@wpny.us>, size=717, nrcpt=1 (queue active) Feb 3 14:00:45 Falcon postfix/smtpd[10509]: disconnect from unknown[10.168.1.23] Feb 3 14:00:45 Falcon postfix/cleanup[10511]: B7B19139238: message-id=<54d11add.13406.1e4...@editor.wpny.us> Feb 3 14:00:45 Falcon postfix/local[10512]: A450A139221: to=<w...@maila.myserver.com>, orig_to=<WPNY>, relay=local, delay=0.12, delays=0.08/0.01/0/0.03, dsn=2.0.0, status=sent (forwarded as B7B19139238) Feb 3 14:00:45 Falcon postfix/qmgr[9871]: B7B19139238: from=<owner-w...@myserver.com>, size=880, nrcpt=1 (queue active) Feb 3 14:00:45 Falcon postfix/qmgr[9871]: A450A139221: removed Feb 3 14:00:46 Falcon postfix/smtp[10513]: B7B19139238: to=<m...@gmail.com>, relay=email-smtp.us-east-1.amazonaws.com[184.73.222.29]:25, delay=0.88, delays=0.03/0.03/0.7/0.12, dsn=5.0.0, status=bounced (host email-smtp.us-east-1.amazonaws.com[184.73.222.29] said: 554 Transaction failed: Missing final '@domain' (in reply to end of DATA command)) Feb 3 14:00:46 Falcon postfix/cleanup[10511]: E324413923C: message-id=<20150203190046.e3244139...@maila.myserver.com> Feb 3 14:00:46 Falcon postfix/bounce[10514]: B7B19139238: sender non-delivery notification: E324413923C Feb 3 14:00:46 Falcon postfix/qmgr[9871]: E324413923C: from=<>, size=2967, nrcpt=1 (queue active) Feb 3 14:00:46 Falcon postfix/qmgr[9871]: B7B19139238: removed Feb 3 14:00:47 Falcon postfix/smtp[10513]: E324413923C: to=<owner-w...@myserver.com>, relay=email-smtp.us-east-1.amazonaws.com[54.243.69.182]:25, delay=0.61, delays=0.04/0/0.56/0.01, dsn=5.0.0, status=bounced (host email-smtp.us-east-1.amazonaws.com[54.243.69.182] said: 501 Invalid MAIL FROM address provided (in reply to MAIL FROM command)) Feb 3 14:00:47 Falcon postfix/qmgr[9871]: E324413923C: removed Besides the non-delivery notification, the non-delivery notification is not delivered because the from=<> although the original from appears to be set correctly. Works: to: m...@gmail.com Feb 3 14:01:24 Falcon postfix/smtpd[10509]: warning: hostname MailServer.Net1.myserver.com does not resolve to address 10.168.1.23: Name or service not known Feb 3 14:01:24 Falcon postfix/smtpd[10509]: connect from unknown[10.168.1.23] Feb 3 14:01:24 Falcon postfix/smtpd[10509]: 62C4F139221: client=unknown[10.168.1.23] Feb 3 14:01:24 Falcon postfix/cleanup[10511]: 62C4F139221: message-id=<54d11b04.3267.1ed...@editor.wpny.us> Feb 3 14:01:24 Falcon postfix/qmgr[9871]: 62C4F139221: from=<edi...@wpny.us>, size=745, nrcpt=1 (queue active) Feb 3 14:01:24 Falcon postfix/smtpd[10509]: disconnect from unknown[10.168.1.23] Feb 3 14:01:25 Falcon postfix/smtp[10513]: 62C4F139221: to=<m...@gmail.com>, relay=email-smtp.us-east-1.amazonaws.com[107.21.238.216]:25, delay=0.81, delays=0.08/0/0.49/0.24, dsn=2.0.0, status=sent (250 Ok 0000014b50d18bb8-fc6a1ab8-11c5-4133-b423-16b14685b673-000000) Feb 3 14:01:25 Falcon postfix/qmgr[9871]: 62C4F139221: removed Here is my postconf: INTERNAL_USERS = check_sender_access hash:$config_directory/internal_users, reject alias_database = hash:$config_directory/aliases alias_maps = hash:$config_directory/aliases alternate_config_directories = /etc/postfix-amazon, /etc/postfix-in append_at_myorigin = yes append_dot_mydomain = yes biff = no canonical_maps = hash:$config_directory/canonical command_directory = /usr/sbin config_directory = . daemon_directory = /usr/lib/postfix data_directory = /var/spool/postfix-amazon/var/run default_privs = nobody empty_address_recipient = MAILER-DAEMON header_checks = regexp:$config_directory/header_checks.dat html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = localhost, falcon inet_protocols = ipv4 local_maps = hash:$config_directory/local local_recipient_maps = $alias_maps $local_maps mail_name = Falcon mail server mail_owner = postfix mail_spool_directory = /var/mail mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man message_size_limit = 20480000 mydestination = $config_directory/local_destinations.dat mydomain = myserver.com myhostname = maila.myserver.com mynetworks = $config_directory/mynetworks.dat myorigin = maila.myserver.com newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix-amazon readme_directory = /usr/share/doc/packages/postfix/README_FILES recipient_delimiter = - relayhost = email-smtp.us-east-1.amazonaws.com:25 sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = regexp:$config_directory/sender_canonical.dat sendmail_path = /usr/sbin/sendmail.posfix setgid_group = maildrop smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix-amazon/sasl_password smtp_sasl_security_options = noanonymous smtp_tls_note_starttls_offer = yes smtp_use_tls = yes smtpd_banner = $myhostname ESMTP smtpd_restriction_classes = INTERNAL_USERS syslog_facility = local3 My test e-mail address and server name were replaced with m...@gmail.com and myserver.com Any help would be appreciated. ...don support (at) MicroTechniques.com