If i place this entry in bottom section of master.cf(see below)
repserver unix - n n - - pipe flags=FR user=repserver argv=/home/repserver/repserv -d $recipient
is it neccesary to place a corresponding line in the top section of the master.cf? (see below)
smtp inet n - y - - smtpd -o...
before the filter ideaa how about
k. Make rep.robin.net a virtual alias domain, with a wildcard. Point
that virtual alias to some local user (repserver@robin.net or whatever).
Have *that* user deliver to a pipe, via /etc/aliases.
or another way to put it
in some local domain on that...
Thankyou for your post.
i gave some thought to your suggestion:
use procmail
| repserver.pl $LOGNAME
but i am not sure as in my home dir in .forward
i have:
"|/usr/bin/procmail -f-"
but i may then lose my procmail recipes, i.e., they won't be executed anymore, if i use | repserver.pl...
i have tried two options to pipe t a perl script
and i am looking for a third as the two I thought wil not work
1st option
what i have done is set up postfix to accept mail to 'foo@rep.robin.com'
and deliver them via pipe to the command "repserver -d foo"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.