root@snoopy...
14.04.04, 09:24
Hallo zusammen,
ich sitze schon seit einer Woche daran dieses Problem zu lösen und habe alles durch, was ich weiss. Folgendes: Ich versende Mail zum testen von waldschrat25@gmx.net nach meinemail@meinprovider.lu. Dort wird die von fetchmail abgeholt und an Postfix für den User "tobias" übergeben.
doch dann taucht in der in der /var/log/mail das auf "tobias@localhost.snoopy", also "user1@localhost.meinhostname". Es könnte dort stehen: "tobias@snoopy" oder "tobias@localhost", damit es ankommt aber doch nicht beides!
Wie bekomme ich Postfix dazu, tobias@localhost zu schreiben oder tobias@snoopy, aber nicht tobias@localhost.snoopy?
------
/var/log/mail:
Apr 14 09:51:55 snoopy postfix/smtpd[4747]: connect from localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/smtpd[4747]: 722AC2F0E7: client=localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/cleanup[4749]: 722AC2F0E7: message-id=<7175.1081929172@www66.gmx.net>
Apr 14 09:51:55 snoopy postfix/qmgr[4738]: 722AC2F0E7: from=<waldschrat25@gmx.net>, size=1157, nrcpt=1 (queue active)
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) ESMTP::10024 /var/spool/amavis/amavis-20040414T095155-04731: <waldschrat25@gmx.net> -> <tobias@localhost.snoopy> Received: SIZE=1157 BODY=8BITMIME from snoopy ([127.0.0.1]) by localhost (snoopy [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04731-01 for <tobias@localhost.snoopy>; Wed, 14 Apr 2004 09:51:55 +0200 (CEST)
Apr 14 09:51:55 snoopy postfix/smtpd[4747]: disconnect from localhost[127.0.0.1]
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) Checking: <waldschrat25@gmx.net> -> <tobias@localhost.snoopy>
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) spam_scan: hits=0.6 tests=FROM_ENDS_IN_NUMS
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) FWD via SMTP: [127.0.0.1:10025] <waldschrat25@gmx.net> -> <tobias@localhost.snoopy>
Apr 14 09:51:55 snoopy postfix/smtpd[4754]: connect from localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/smtpd[4754]: C72213D459: client=localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/cleanup[4749]: C72213D459: message-id=<7175.1081929172@www66.gmx.net>
Apr 14 09:51:55 snoopy postfix/qmgr[4738]: C72213D459: from=<waldschrat25@gmx.net>, size=1553, nrcpt=1 (queue active)
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) Passed, <waldschrat25@gmx.net> -> <tobias@localhost.snoopy>, Message-ID: <7175.1081929172@www66.gmx.net>, Hits: 0.6
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) TIMING [total 298 ms] - SMTP EHLO: 2 (1%), SMTP pre-MAIL: 0 (0%), mkdir tempdir: 0 (0%), create email.txt: 0 (0%), SMTP pre-DATA-flush: 3 (1%), SMTP DATA: 39 (13%), body hash: 0 (0%), mkdir parts: 1 (0%), mime_decode: 9 (3%), get-file-type: 6 (2%), decompose_part: 1 (0%), parts: 0 (0%), AV-scan-1: 140 (47%), SA msg read: 1 (0%), SA parse: 1 (0%), SA check: 29 (10%), fwd-connect: 11 (4%), fwd-mail-from: 1 (0%), fwd-rcpt-to: 2 (1%), write-header: 3 (1%), fwd-data: 0 (0%), fwd-data-end: 46 (15%), fwd-rundown: 1 (0%), unlink-1-files: 2 (1%), rundown: 0 (0%)
Apr 14 09:51:55 snoopy postfix/smtp[4751]: 722AC2F0E7: to=<tobias@localhost.snoopy>, orig_to=<tobias@localhost>, relay=localhost[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, id=04731-01, from MTA: 250 Ok: queued as C72213D459)
Apr 14 09:51:55 snoopy postfix/smtpd[4754]: disconnect from localhost[127.0.0.1]
Apr 14 09:51:56 snoopy postfix/smtp[4755]: C72213D459: to=<tobias@localhost.snoopy>, relay=smtpsvr.pt.lu[194.154.192.108], delay=1, status=sent (250 2.0.0 i3E7r6Bd020626 Message accepted for delivery)
---------------------------------------
hier meine /etc/hosts/:
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
10.0.19.77 linus.lan linus
10.0.19.80 lucy.lan lucy
10.0.19.78 snoopy.lan snoopy
---------------------------------------------------
und meine /etc/postfix/main.cf:
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = snoopy.lan
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = snoopy.lan, snoopy, localhost
defer_transports =
disable_dns_lookups = no
relayhost = mailsvr.pt.lu
content_filter = vscan:
mailbox_command =
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
------------------------------
meine fetchmailrc:
# Edit carefully, see /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
poll "popsvr.pt.lu" protocol POP3 : user "smiley" there with password "######" is "tobias" here ;
---------------------------
kann mir bitte, bitte jemand helfen!!!! :(
unter mydestination hatte ich schon alles mögliche versucht:
localhost.localdomain, etc. hat auch keinen erfolg gebracht.
Wie bekomme ich Postfix dazu, tobias@localhost zu schreiben oder tobias@snoopy, aber nicht tobias@localhost.snoopy?
Sven
ich sitze schon seit einer Woche daran dieses Problem zu lösen und habe alles durch, was ich weiss. Folgendes: Ich versende Mail zum testen von waldschrat25@gmx.net nach meinemail@meinprovider.lu. Dort wird die von fetchmail abgeholt und an Postfix für den User "tobias" übergeben.
doch dann taucht in der in der /var/log/mail das auf "tobias@localhost.snoopy", also "user1@localhost.meinhostname". Es könnte dort stehen: "tobias@snoopy" oder "tobias@localhost", damit es ankommt aber doch nicht beides!
Wie bekomme ich Postfix dazu, tobias@localhost zu schreiben oder tobias@snoopy, aber nicht tobias@localhost.snoopy?
------
/var/log/mail:
Apr 14 09:51:55 snoopy postfix/smtpd[4747]: connect from localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/smtpd[4747]: 722AC2F0E7: client=localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/cleanup[4749]: 722AC2F0E7: message-id=<7175.1081929172@www66.gmx.net>
Apr 14 09:51:55 snoopy postfix/qmgr[4738]: 722AC2F0E7: from=<waldschrat25@gmx.net>, size=1157, nrcpt=1 (queue active)
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) ESMTP::10024 /var/spool/amavis/amavis-20040414T095155-04731: <waldschrat25@gmx.net> -> <tobias@localhost.snoopy> Received: SIZE=1157 BODY=8BITMIME from snoopy ([127.0.0.1]) by localhost (snoopy [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04731-01 for <tobias@localhost.snoopy>; Wed, 14 Apr 2004 09:51:55 +0200 (CEST)
Apr 14 09:51:55 snoopy postfix/smtpd[4747]: disconnect from localhost[127.0.0.1]
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) Checking: <waldschrat25@gmx.net> -> <tobias@localhost.snoopy>
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) spam_scan: hits=0.6 tests=FROM_ENDS_IN_NUMS
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) FWD via SMTP: [127.0.0.1:10025] <waldschrat25@gmx.net> -> <tobias@localhost.snoopy>
Apr 14 09:51:55 snoopy postfix/smtpd[4754]: connect from localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/smtpd[4754]: C72213D459: client=localhost[127.0.0.1]
Apr 14 09:51:55 snoopy postfix/cleanup[4749]: C72213D459: message-id=<7175.1081929172@www66.gmx.net>
Apr 14 09:51:55 snoopy postfix/qmgr[4738]: C72213D459: from=<waldschrat25@gmx.net>, size=1553, nrcpt=1 (queue active)
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) Passed, <waldschrat25@gmx.net> -> <tobias@localhost.snoopy>, Message-ID: <7175.1081929172@www66.gmx.net>, Hits: 0.6
Apr 14 09:51:55 snoopy amavis[4731]: (04731-01) TIMING [total 298 ms] - SMTP EHLO: 2 (1%), SMTP pre-MAIL: 0 (0%), mkdir tempdir: 0 (0%), create email.txt: 0 (0%), SMTP pre-DATA-flush: 3 (1%), SMTP DATA: 39 (13%), body hash: 0 (0%), mkdir parts: 1 (0%), mime_decode: 9 (3%), get-file-type: 6 (2%), decompose_part: 1 (0%), parts: 0 (0%), AV-scan-1: 140 (47%), SA msg read: 1 (0%), SA parse: 1 (0%), SA check: 29 (10%), fwd-connect: 11 (4%), fwd-mail-from: 1 (0%), fwd-rcpt-to: 2 (1%), write-header: 3 (1%), fwd-data: 0 (0%), fwd-data-end: 46 (15%), fwd-rundown: 1 (0%), unlink-1-files: 2 (1%), rundown: 0 (0%)
Apr 14 09:51:55 snoopy postfix/smtp[4751]: 722AC2F0E7: to=<tobias@localhost.snoopy>, orig_to=<tobias@localhost>, relay=localhost[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, id=04731-01, from MTA: 250 Ok: queued as C72213D459)
Apr 14 09:51:55 snoopy postfix/smtpd[4754]: disconnect from localhost[127.0.0.1]
Apr 14 09:51:56 snoopy postfix/smtp[4755]: C72213D459: to=<tobias@localhost.snoopy>, relay=smtpsvr.pt.lu[194.154.192.108], delay=1, status=sent (250 2.0.0 i3E7r6Bd020626 Message accepted for delivery)
---------------------------------------
hier meine /etc/hosts/:
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
10.0.19.77 linus.lan linus
10.0.19.80 lucy.lan lucy
10.0.19.78 snoopy.lan snoopy
---------------------------------------------------
und meine /etc/postfix/main.cf:
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = snoopy.lan
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = snoopy.lan, snoopy, localhost
defer_transports =
disable_dns_lookups = no
relayhost = mailsvr.pt.lu
content_filter = vscan:
mailbox_command =
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
------------------------------
meine fetchmailrc:
# Edit carefully, see /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
poll "popsvr.pt.lu" protocol POP3 : user "smiley" there with password "######" is "tobias" here ;
---------------------------
kann mir bitte, bitte jemand helfen!!!! :(
unter mydestination hatte ich schon alles mögliche versucht:
localhost.localdomain, etc. hat auch keinen erfolg gebracht.
Wie bekomme ich Postfix dazu, tobias@localhost zu schreiben oder tobias@snoopy, aber nicht tobias@localhost.snoopy?
Sven