OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: recipients in master.cf
From: dannyman (dannymandannyland.org)
Date: Thu Jun 22 2000 - 17:32:08 CDT


I'm using Amavis for virus scanning on a SMTP gateway as decribed on
this list by Lars Hecking.

Some of my master.cf:

cyrus unix - n n - - pipe
    flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
uucp unix - n n - - pipe
    flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
    flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
    flags=F. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - - pipe
    user=sweep argv=/usr/local/sbin/amavis -f ${sender} ${recipient}

One thing I have noticed is that a new vscan delivery is spawned for
every recipient ... it looks like Amavis is designed to handle multiple
recpients. My wonder is what is the difference between ($recipient) and
${recipient} ... the () leads me to wonder if that is the convention to
specify multiple recipients to a program, and the latter is to specify a
single recipient ... or am I looking in the wrong place? Can anyone
confirm or destroy my hypothesis that it works when passed several
recipients?

Thanks,
-danny

-- 
come.to/dannyman