Hello, I want to setup a new postfix instance. Receiving/sending emails to/from my local account basically works. But on sending mails outside from command line (echo “test mail” | mail -s “test mail” mygoogleacco...@googlemail.com), I see a bounce to unknown "user mail???", which I don't understand. I strongly simplied my postfix configuration to the minimum, to eliminate other malconfiguration issues. Further I rely on postfix's default configuration and only customize if necessary. Therefore my postfix main.conf is quite clear. My host's name is set to mybox.mydomain.tld. DNS A/AAAA records are set to mydomain.tld and to mybox.mydomain.tld. DNS PTR records for A/AAAA are set to mybox.mydomain.tld
I'm new to postfix and be very pleased, if anybody could tell me, what's wrong in my setup and why I get this bounce with dsn 5.1.1 - unknown user: "mail???" If I shall provide further info, please let me know. Thanks in advance. Greetings, Quirin mail.log: Jul 5 18:17:14 mybox postfix/cleanup[9668]: 379A77BB15: message-id=<20140705161714.379a77b...@mybox.mydomain.tld> Jul 5 18:17:14 mybox postfix/qmgr[9646]: 379A77BB15: from=<myu...@mydomain.tld>, size=367, nrcpt=2 (queue active) Jul 5 18:17:14 mybox postfix/local[9670]: 379A77BB15: to=<mail???@mydomain.tld>, orig_to=<mail???>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "mail???") Jul 5 18:17:14 mybox postfix/smtp[9671]: 379A77BB15: to=< mygoogleacco...@googlemail.com>, relay=gmail-smtp-in.l.google.com[173.194.66.27]:25, delay=0.56, delays=0.02/0/0.09/0.45, dsn=2.0.0, status=sent (250 2.0.0 OK 1404577034 v16si33366004wie.33 - gsmtp) Jul 5 18:17:14 mybox postfix/cleanup[9668]: BCFC57BB16: message-id=<20140705161714.bcfc57b...@mybox.mydomain.tld> Jul 5 18:17:14 mybox postfix/qmgr[9646]: BCFC57BB16: from=<>, size=2238, nrcpt=1 (queue active) Jul 5 18:17:14 mybox postfix/bounce[9672]: 379A77BB15: sender non-delivery notification: BCFC57BB16 Jul 5 18:17:14 mybox postfix/qmgr[9646]: 379A77BB15: removed Jul 5 18:17:14 mybox postfix/local[9670]: BCFC57BB16: to=<myu...@mydomain.tld>, relay=local, delay=0.02, delays=0.02/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jul 5 18:17:14 mybox postfix/qmgr[9646]: BCFC57BB16: removed postconf -n alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix mydestination = localhost, localhost.$mydomain, $mydomain $myhostname myorigin = $mydomain recipient_delimiter = + sender_canonical_maps = hash:/etc/postfix/sender_canonical smtp_address_preference = ipv4 smtp_tls_session_cache_database = btree:\${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt smtpd_tls_cert_file = /etc/ssl/certs/mydomain.pem smtpd_tls_key_file = /etc/ssl/private/mydomain.key smtpd_tls_session_cache_database = btree:\${data_directory}/smtpd_scache smtpd_use_tls = yes /etc/postfix/sender_canonical root myu...@mydomain.tld myuser myu...@mydomain.tld