Hi Postfix-Experts! ive got some strange thing going on here..
if ill send a mail (using smtp mailclient or just "mail" on the shell) my postfix expands the TO Adress from "[EMAIL PROTECTED]" to "[EMAIL PROTECTED]" for some reason i dont know and i didnt find within 8h of searching and reading manuals :) the interesting thing about it is.. that postfix WILL NOT EXPAND the same adress if i use "[EMAIL PROTECTED]" (with no domain! just hostname) Does anyone knows where this is coming from and how to stop it from expanding the "localhost" domain-part ?? SEE HERE: My Linux Server is Ubuntu 8.04.1 running postfix, cyrus pop/imap, postgrey, ddclient, bind9, dhcpd etc.. anything up 2 date As User "root" on the console i type: [EMAIL PROTECTED]:/etc/bind# ls -la | mail -s "subject" [EMAIL PROTECTED] [EMAIL PROTECTED]:/etc/bind# just to send some local mail to a local user/mailbox. Now see the Log when everything is going fine: /var/log/mail.log if sending to [EMAIL PROTECTED] Sep 18 12:47:49 freiburg2 postfix/pickup[12475]: D7F011485BB: uid=0 from=<root> Sep 18 12:47:49 freiburg2 postfix/cleanup[12564]: D7F011485BB: message-id=<[EMAIL PROTECTED]> Sep 18 12:47:49 freiburg2 postfix/qmgr[12192]: D7F011485BB: from=<[EMAIL PROTECTED]>, size=1702, nrcpt=1 (queue active) Sep 18 12:47:49 freiburg2 postfix/local[12566]: D7F011485BB: to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay= Sep 18 12:47:49 freiburg2 postfix/qmgr[12192]: D7F011485BB: removed now watch the show if i send the same to "[EMAIL PROTECTED]" <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< /var/log/mail.log if sending to [EMAIL PROTECTED] Sep 18 12:57:06 freiburg2 postfix/pickup[12475]: 6C5871485BB: uid=0 from=<root> Sep 18 12:57:06 freiburg2 postfix/cleanup[12588]: 6C5871485BB: message-id=<[EMAIL PROTECTED]> Sep 18 12:57:06 freiburg2 postfix/qmgr[12192]: 6C5871485BB: from=<[EMAIL PROTECTED]>, size=1703, nrcpt=1 (queue active) Sep 18 12:57:06 freiburg2 postfix/smtp[12590]: 6C5871485BB: *to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>*, relay=ma Sep 18 12:57:06 freiburg2 postfix/qmgr[12192]: 6C5871485BB: removed (END) WTF is goin on here ?? Where does it gets the '@localhost.homeip.net' ? i dont run this domain/hostname . This is my /etc/aliases # /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: myusername mail:myusername mail2:myusername mail3:myusername info:myusername clamav: root This is my main.cf and postconf output ################### main.cf ########################### inet_interfaces = all smtpd_helo_required = yes local_recipient_maps = proxy:unix:passwd.byname $alias_maps alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myhostname = freiburg.homeip.net myorigin = $myhostname mydestination = freiburg.homeip.net, localhost.lan, localhost, freiburg, mailgate, freiburg.lan, freiburg2, freiburg2.lan unknown_local_recipient_reject_code = 550 smtpd_banner = $myhostname ESMTP $mail_name on a DEBIAN LINUX notify_classes = resource, software, bounce, 2bounce, delay, policy biff = no append_dot_mydomain = yes delay_warning_time = 1h relayhost = [mail.arcor.de] smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = broken_sasl_auth_clients = yes mynetworks = 127.0.0.1 192.168.0.0/24 smtpd_recipient_restrictions=permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service ine t:127.0.0.1:60000, reject_rbl_client zen.spamhaus.org home_mailbox = Maildir/ mailbox_command = mailbox_size_limit = 0 recipient_delimiter = + in_flow_delay = 10s default_destination_concurrency_limit = 3 message_size_limit = 202400000 âsmtpd_tls_auth_only = noâ âsmtp_use_tls = yesâ âsmtpd_use_tls = yesâ âsmtp_tls_note_starttls_offer = yesâ âsmtpd_tls_key_file = /etc/postfix/ssl/smtpd.keyâ âsmtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crtâ âsmtpd_tls_CAfile = /etc/postfix/ssl/cacert.pemâ âsmtpd_tls_loglevel = 1â² âsmtpd_tls_received_header = yesâ âsmtpd_tls_session_cache_timeout = 3600sâ âtls_random_source = dev:/dev/urandomâ ################### postconf -n output ########################### alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = yes biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix default_destination_concurrency_limit = 3 delay_warning_time = 1h home_mailbox = Maildir/ in_flow_delay = 10s inet_interfaces = all local_recipient_maps = proxy:unix:passwd.byname $alias_maps mailbox_command = mailbox_size_limit = 0 message_size_limit = 202400000 mydestination = freiburg.homeip.net, localhost.lan, localhost, freiburg, meinpc, meinpc.lan, mailgate, freiburg.lan, freiburg2, freiburg2.lan myhostname = freiburg.homeip.net mynetworks = 127.0.0.1 192.168.0.0/24 myorigin = $myhostname notify_classes = resource, software, bounce, 2bounce, delay, policy recipient_delimiter = + relayhost = [mail.arcor.de] smtpd_banner = $myhostname ESMTP $mail_name on a DEBIAN LINUX smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, reject_rbl_client zen.spamhaus.org smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = unknown_local_recipient_reject_code = 550 ################################################################### would someone please help me opening my eyes ?? thanks! Axel
