Thanks a lot Edgar! Without quotes the bounce is gone. Never thought it's that easy ;-)
---------- Forwarded message ---------- From: Edgar Pettijohn <[email protected]> Date: 2014-07-05 20:31 GMT+02:00 Subject: Re: bounce unknown user "mail???" on outoing mails To: Quirin Maier <[email protected]> Don't quote the subject. Echo "test" | mail -s test [email protected] Sent from my iPhone On Jul 5, 2014, at 12:39 PM, "Quirin Maier" <[email protected]> wrote: 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” [email protected]), 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=< [email protected]> Jul 5 18:17:14 mybox postfix/qmgr[9646]: 379A77BB15: from=< [email protected]>, size=367, nrcpt=2 (queue active) Jul 5 18:17:14 mybox postfix/local[9670]: 379A77BB15: to=<[email protected]>, 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=< [email protected]>, 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=< [email protected]> 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=< [email protected]>, 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 [email protected] myuser [email protected] -- Mit freundlichen Grüßen / Yours faithfully Quirin Maier GPG Public Key: 0x2ECCE30A <http://keys.gnupg.net/pks/lookup?op=get&search=0x88661E242ECCE30A> Google+ <http://google.com/+QuirinMaier>
