[Postfixbuch-users] Mails mit fetchmail abholen

Jan Theofel theofel at etes.de
Mi Jul 2 10:40:42 CEST 2003


Hallo,

On Wed, Jul 02, 2003 at 09:58:21AM +0200, Ralf Hildebrandt wrote:
> 
> > > D.h. entweder local_recipient_maps korrigieren und/oder 
> > 
> > Was ist der Unterscheid zweischen 450 und 550, ausser das Postfix einen andere
> > Fehlernummer zurückliefert? Ändert sich auch das Verhalten von Postfix da-
> > durch?
> 
> 450: temporaerer Fehler, versuchs spaeter nochmal, vielleicht wirds besser
> 550: Fehler. Komm nie wieder, es wird nicht besser.

Ok, klar. Nun funktioniert das - allerdings noch mit einem kleinem Schönheits-
fehler. Wenn nun ein solcher 550 Fall eintritt wird eine Meldung an den Absender
erzeugt (Statt "domain" ist natürlich immer eine reale Domain vorhanden.):

Jul  2 10:33:01 gateway postfix/smtpd[5044]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jul  2 10:33:01 gateway postfix/smtpd[5044]: connect from localhost[127.0.0.1]
Jul  2 10:33:01 gateway postfix/smtpd[5044]: 2DDEB104A8: client=localhost[127.0.0.1]
Jul  2 10:33:01 gateway postfix/smtpd[5044]: 2DDEB104A8: reject: RCPT from localhost[127.0.0.1]: 550 <baduser3 at domain.de>: User unknown in local recipient
table; from=<theofel at etes.de> proto=ESMTP helo=<localhost>
Jul  2 10:33:02 gateway postfix/smtpd[5046]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jul  2 10:33:02 gateway postfix/smtpd[5046]: connect from localhost[127.0.0.1]
Jul  2 10:33:02 gateway postfix/smtpd[5046]: 40D6F11BB4: client=localhost[127.0.0.1]
Jul  2 10:33:02 gateway postfix/cleanup[5047]: 40D6F11BB4: message-id=<20030702083302.40D6F11BB4 at gateway.domain.com>
Jul  2 10:33:02 gateway postfix/qmgr[4620]: 40D6F11BB4: from=<FETCHMAIL-DAEMON at gateway.domain.com>, size=2919, nrcpt=1 (queue active)
Jul  2 10:33:02 gateway postfix/smtpd[5046]: disconnect from localhost[127.0.0.1]
Jul  2 10:33:02 gateway postfix/cleanup[5045]: 2DDEB104A8: message-id=<20030702083245.GA17676 at intranet.etes.de>
Jul  2 10:33:02 gateway postfix/qmgr[4620]: 2DDEB104A8: from=<theofel at etes.de>, size=2633, nrcpt=1 (queue active)
Jul  2 10:33:02 gateway postfix/smtpd[5044]: disconnect from localhost[127.0.0.1]
Jul  2 10:33:06 gateway amavis[5049]: starting.  amavis 0.3.12pre8 Mon Mar 17 18:52:54 UTC 2003
Jul  2 10:33:06 gateway amavis[5051]: starting.  amavis 0.3.12pre8 Mon Mar 17 18:52:54 UTC 2003
Jul  2 10:33:08 gateway postfix/smtpd[5058]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jul  2 10:33:08 gateway postfix/smtpd[5058]: connect from localhost[127.0.0.1]
Jul  2 10:33:08 gateway postfix/smtpd[5058]: 1EC5F11BD2: client=localhost[127.0.0.1]
Jul  2 10:33:08 gateway postfix/cleanup[5047]: 1EC5F11BD2: message-id=<20030702083302.40D6F11BB4 at gateway.domain.com>
Jul  2 10:33:08 gateway postfix/smtpd[5059]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jul  2 10:33:08 gateway postfix/smtpd[5059]: connect from localhost[127.0.0.1]
Jul  2 10:33:08 gateway postfix/smtpd[5059]: 4851011BD8: client=localhost[127.0.0.1]
Jul  2 10:33:08 gateway postfix/qmgr[4620]: 1EC5F11BD2: from=<FETCHMAIL-DAEMON at gateway.domain.com>, size=3140, nrcpt=1 (queue active)
Jul  2 10:33:08 gateway postfix/pipe[5048]: 40D6F11BB4: to=<theofel at etes.de>, relay=vscan, delay=6, status=sent (gateway.domain.com)
Jul  2 10:33:08 gateway postfix/smtpd[5058]: disconnect from localhost[127.0.0.1]
Jul  2 10:33:08 gateway postfix/cleanup[5045]: 4851011BD8: message-id=<20030702083245.GA17676 at intranet.etes.de>
Jul  2 10:33:08 gateway postfix/qmgr[4620]: 4851011BD8: from=<theofel at etes.de>, size=2879, nrcpt=1 (queue active)
Jul  2 10:33:08 gateway postfix/pipe[5050]: 2DDEB104A8: to=<postmaster at localhost.domain.com>, orig_to=<postmaster at localhost>, relay=vscan, delay=7, sta
tus=sent (gateway.domain.com)
Jul  2 10:33:08 gateway postfix/smtpd[5059]: disconnect from localhost[127.0.0.1]
Jul  2 10:33:08 gateway postfix/local[5061]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jul  2 10:33:08 gateway postfix/local[5061]: 4851011BD8: to=<vk-jd at domain.com>, orig_to=<postmaster at localhost.**kundendomain**.com>, relay=local, delay=
0, status=sent (mailbox)
Jul  2 10:33:09 gateway postfix/smtp[5060]: 1EC5F11BD2: to=<theofel at etes.de>, relay=mail.de.uu.net[192.76.144.121], delay=0, status=bounced (host mail.de.uu.net
[192.76.144.121] said: 501 <FETCHMAIL-DAEMON at gateway.domain.com>... Sender domain must exist (in reply to MAIL FROM command))
Jul  2 10:33:09 gateway postfix/cleanup[5047]: 1495511BB4: message-id=<20030702083309.1495511BB4 at gateway.domain.com>
Jul  2 10:33:09 gateway postfix/qmgr[4620]: 1495511BB4: from=<>, size=5094, nrcpt=1 (queue active)
Jul  2 10:33:09 gateway postfix/local[5061]: 1495511BB4: to=<vk-jd at domain.com>, orig_to=<FETCHMAIL-DAEMON at gateway.**kundendomain**.com>, relay=local, de
lay=0, status=sent (mailbox)

Wieso kommt die denn nun von "gateway.domain.com" und nicht von "domain.com"?

Denn myorigin ist eigentlich gesetzt:

gateway:~ # postconf -n | grep origin
myorigin = domain.com

Wenn ich lokal auf dem Server eine E-Mail per mutt erzeuge, dann kommt die 
korrekt von user at domain.com.


Vielen Dank nochmal und schon im Voraus für eure Hilfe.

Jan

-- 
Jan Theofel                              Fon:  +49 (7 11) 48 90 83 - 0
ETES - EDV-Systemhaus GbR                Fax:  +49 (7 11) 48 90 83 - 50
Libanonstrasse 58 A * D-70184 Stuttgart  Web: http://www.etes.de

______________________________________
Inflex - eMail Scanning and Protection
Queries to: postmaster at etes.de



Mehr Informationen über die Mailingliste Postfixbuch-users