I just set up postfix+amavis+clamav+dovecot on ubuntu, moving my
server from Windows/hMailServer. On the old system, I had an email
alias of !...@phrogz.net that I want to get working again. (As best I can
tell, this is valid according to both RFC2822 and RFC5322.)
Trying to send to that on the smtp server gives me:
501 5.1.3 Bad recipient address syntax
I tried disabling amavis (by commenting out the line "content_filter =
smtp-amavis:[127.0.0.1]:10024" from main.cf and performing "sudo
service postfix restart", but it didn't make a difference.
Following are some possibly salient details. If more are needed, just
tell me what they are (and possibly how to get them). Thanks in
advance for any help.
phr...@nematode:~$ apt-cache show postfix | grep Version
Version: 2.5.5-1.1
phr...@nematode:~$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = phrogz.net, nematode, localhost.localdomain, localhost
myhostname = phrogz.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = _
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_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_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_mandatory_ciphers = medium, high
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
phr...@nematode:~$ telnet phrogz.net 25
Trying 127.0.0.1...
Connected to phrogz.net.
Escape character is '^]'.
220 phrogz.net ESMTP Postfix (Ubuntu)
helo phrogz.net
250 phrogz.net
mail from:phr...@me.com
250 2.1.0 Ok
rcpt to:!...@phrogz.net
501 5.1.3 Bad recipient address syntax
rcpt to:<!...@phrogz.net>
501 5.1.3 Bad recipient address syntax
rcpt to:<!...@phrogz.net>
501 5.1.3 Bad recipient address syntax
rcpt to:<f...@phrogz.net>
250 2.1.5 Ok
quit
221 2.0.0 Bye
Connection closed by foreign host.