From: Martin List-Petersen (no email)
Date: Tue Apr 02 2002 - 02:27:05 EST
Hi,
The following is happening for me:
I've got 3 transports, which i use (virtual, vscan and notify), vscan is Amavis and notify is a custom script.
In my transport table "notify.destination" (in log snippet) has transport notify: and "destination" has transport virtual:
What now happens is, that the mail is delivered from outside () and delivered to the virusscanner, which reinjects the mail via SMTP on port 10025.
my at destination has the following entry in the virtual table:
my at destination my at destination,my at notify dot destination
This works and the mail gets delivered to both destinations, but still postfix says, that the my at notify dot destination user is unknown. Funny enough this worked with no problems at all, when i used two instances of postfix and relaying between these two and amavis.
Postfix was the same version in both configurations and is Snapshot-20011217
Snip of master.cf:
localhost:10025 inet n - n - - smtpd
-o content_filter=
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
sms unix - n n - - pipe
user=notify argv=/usr/local/notify/mailnotify ${recipient}
Log snippet:
Apr 2 09:03:19 somesrv postfix/qmgr[5175]: 630B05ADFC: from=<>, size=1365, nrcpt=2 (queue active)
Apr 2 09:03:20 somesrv postfix/smtpd[12957]: reject: RCPT from localhost[127.0.0.1]: 550 <my at notify dot destination>: User unknown; from=<> to=<my at notify dot destination>
Apr 2 09:03:25 somesrv postfix/smtpd[12957]: disconnect from localhost[127.0.0.1]
Apr 2 09:03:25 somesrv postfix/pipe[12950]: 630B05ADFC: to=<my at destination>, relay=vscan, delay=6, status=sent
Apr 2 09:03:25 somesrv postfix/pipe[12950]: 630B05ADFC: to=<my at notify dot destination>, relay=vscan, delay=6, status=sent
Apr 2 09:03:25 somesrv postfix/qmgr[5175]: 39D785AEDA: from=<>, size=1593, nrcpt=2 (queue active)
Apr 2 09:03:25 somesrv postfix/virtual[12966]: 39D785AEDA: to=<my at destination>, relay=virtual, delay=5, status=sent (maildir)
Apr 2 09:03:27 somesrv postfix/pipe[12967]: 39D785AEDA: to=<my at notify dot destination>, relay=notify, delay=7, status=sent
Regards,
Martin List-Petersen
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|