Ruud recommended,
:0
* > 150000
{
DROPPRIVS = 'yes'
:0:
$DEFAULT
:0: # if delivery failed, try $ORGMAIL
$ORGMAIL
:0 # if delivery failed again,
{SWITCHRC} # go to user's procmailrc
}
First of all, aren't spaces (or newlines or tabs) needed around the
braces? Wouldn't that second-to-last line have to be
{ SWITCHRC }
for example?
Second, if it's unconditional, why open inner braces for it?
:0
* > 150000
{
DROPPRIVS = 'yes'
:0:
$DEFAULT
:0: # if delivery failed, try $ORGMAIL
$ORGMAIL
# if delivery failed again, go to user's procmailrc
SWITCHRC
}
Likewise in Alternative-2:
Alternative-2:
NL = '
' # literal ASCII-10
TAB = ' ' # literal ASCII-9
:0
* > 150000
{
LOGFILE = '/var/log/etc_procmailrc.log'
VERBOSE = 'on'
LOGABSTRACT = 'all'
LOG =
"L:${LOGNAME}${TAB}D:${DEFAULT}${TAB}O:${ORGMAIL}${NL}"
DROPPRIVS = 'yes' # drop root-privileges
:0:
$DEFAULT
:0: # if delivery failed, try $ORGMAIL
$ORGMAIL
:0 # if delivery failed again,
{SWITCHRC} # go to user's .procmailrc
Again, I'm pretty sure it won't work (sorry, don't really have a way to
test) with the braces squeezed against the word like that, but certainly
they're not needed at all:
# if delivery failed again, go to user's .procmailrc
SWITCHRC
}
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail