Hello, i've got a strange problem with postfix: When I try to send a mail to a local user postfix says that this user is not existing. As soon as I put the line "jacques: dominic.osterr...@gmx.de" in /etc/aliases, the mail gets send without any problems via gmx. Obviously its only a problem with local mail. I'm sending testmail with the command "mail jacques" from the CLI. The System is Debian Testing.
/var/log/mail.log: ------------------------ Apr 23 18:21:43 debian postfix/pickup[2652]: 098C9A4317: uid=1000 from=<jacques> Apr 23 18:21:43 debian postfix/cleanup[3718]: 098C9A4317: message-id=<20090423162143.098c9a4...@debian> Apr 23 18:21:43 debian postfix/qmgr[2653]: 098C9A4317: from=<dominic.osterr...@gmx.de>, size=289, nrcpt=1 (queue active) Apr 23 18:21:43 debian postfix/local[3720]: 098C9A4317: to=<jacq...@debian>, orig_to=<jacques>, relay=local, delay=0.19, delays=0.13/0.03/0/0.03, dsn=5.1.1, status=bounced (unknown user: "jacques") Apr 23 18:21:43 debian postfix/cleanup[3718]: 260F5A4318: message-id=<20090423162143.260f5a4...@debian> Apr 23 18:21:43 debian postfix/qmgr[2653]: 260F5A4318: from=<>, size=1945, nrcpt=1 (queue active) Apr 23 18:21:43 debian postfix/bounce[3721]: 098C9A4317: sender non-delivery notification: 260F5A4318 Apr 23 18:21:43 debian postfix/qmgr[2653]: 098C9A4317: removed Apr 23 18:21:43 debian postfix/smtp[3722]: 260F5A4318: to=<dominic.osterr...@gmx.de>, relay=mail.gmx.net[213.165.64.21]:25, delay=0.27, delays=0.04/0.01/0.21/0.02, dsn=5.1.7, status=bounced (host mail.gmx.net[213.165.64.21] said: 550 5.1.7 This server does not accept an empty envelope from ( http://portal.gmx.net/serverrules ) {mp037} (in reply to MAIL FROM command)) Apr 23 18:21:43 debian postfix/qmgr[2653]: 260F5A4318: removed This is my configuration: ------------------------ main.cf: ------------------------ # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache myhostname = debian alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = debian, localhost.localdomain, localhost relayhost = mail.gmx.net mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = inet_interfaces = all inet_protocols = all smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_password sender_canonical_maps = hash:/etc/postfix/sender_canonical master.cf: ------------------------ # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master"). # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - - - - smtpd #submission inet n - n - - smtpd # -o smtpd_enforce_tls=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject #smtps inet n - n - - smtpd # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject #628 inet n - n - - qmqpd pickup fifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr fifo n - - 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr tlsmgr unix - - - 1000? 1 tlsmgr rewrite unix - - - - - trivial-rewrite bounce unix - - - - 0 bounce defer unix - - - - 0 bounce trace unix - - - - 0 bounce verify unix - - - - 1 verify flush unix n - - 1000? 0 flush proxymap unix - - - - - proxymap smtp unix - - - - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - - - - smtp -o smtp_fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - - - - showq error unix - - - - - error retry unix - - - - - error discard unix - - - - - discard local unix - n - - - local virtual unix - n - - - virtual lmtp unix - - - - - lmtp anvil unix - - - - 1 anvil scache unix - - - - 1 scache # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} # # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # Other external delivery methods. # ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} /etc/postfix/sender_canonical: ------------------------ jacques dominic.osterr...@gmx.de root dominic.osterr...@gmx.de /etc/aliases: ------------------------ mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root webmaster: root www: root ftp: root abuse: root noc: root security: root root: jacques /etc/mailname: ------------------------ debian /etc/hosts: ------------------------ 127.0.0.1 localhost 127.0.1.1 debian Kind regards Dominic