|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Martin List-Petersen (martin
list-petersen.dk)Date: Tue Apr 02 2002 - 01:27:05 CST
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 (sender
somewhere.else) and delivered to the virusscanner, which reinjects the mail via SMTP on port 10025.
my
destination has the following entry in the virtual table:
my
destination my
destination,my
notify.destination
This works and the mail gets delivered to both destinations, but still postfix says, that the my
notify.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=<sender
somewhere.else>, 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
notify.destination>: User unknown; from=<sender
somewhere.else> to=<my
notify.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
destination>, relay=vscan, delay=6, status=sent
Apr 2 09:03:25 somesrv postfix/pipe[12950]: 630B05ADFC: to=<my
notify.destination>, relay=vscan, delay=6, status=sent
Apr 2 09:03:25 somesrv postfix/qmgr[5175]: 39D785AEDA: from=<sender
somewhere.else>, size=1593, nrcpt=2 (queue active)
Apr 2 09:03:25 somesrv postfix/virtual[12966]: 39D785AEDA: to=<my
destination>, relay=virtual, delay=5, status=sent (maildir)
Apr 2 09:03:27 somesrv postfix/pipe[12967]: 39D785AEDA: to=<my
notify.destination>, relay=notify, delay=7, status=sent
Regards,
Martin List-Petersen
martin
list-petersen.dk
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]