VIVES Ariel skribis:
In the file fetmailrc, I can tell to fetchmail to give the mails to
procmail with the command :
mda "/usr/bin/procmail -Y -d %T"
what means the options -Y, and -d and %T please ?
From man fetchmail:
-m, --mda
(Keyword: mda) You can force mail to be passed to
an MDA directly (rather than forwarded to port 25)
with the -mda or -m option. If fetchmail is run-
ning as root, it sets its userid to that of the
target user while delivering mail through an MDA.
Some possible MDAs are "/usr/sbin/sendmail -oem",
"/usr/lib/sendmail -oem", "/usr/bin/formail", and
"/usr/bin/deliver". Local delivery addresses will
be inserted into the MDA command wherever you place
a %T; the mail message's From address will be
inserted where you place an %F. Do not use an MDA
invocation like "sendmail -oem -t" that dispatches
on the contents of To/Cc/Bcc, it will create mail
loops and bring the just wrath of many postmasters
down upon your head.
From man procmail:
-Y Assume traditional Berkeley mailbox format, ignore
any Content-Length: fields.
[...]
-d recipient ...
This turns on explicit delivery mode, delivery will
be to the local user recipient. This, of course,
only is possible if procmail has root privileges (or
if procmail is already running with the recipient's
euid and egid). Procmail will setuid to the intended
recipients and delivers the mail as if it were
invoked by the recipient with no arguments (i.e. if
no rcfile is found, delivery is like ordinary mail).
This option is incompatible with -p.
--
Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail