Martin Neitzel <[email protected]> wrote:
|Hi Joe,
|> set sendmail=/usr/bin/procmail -m /home/joe/.procmailoutrc
|
|First the relevant quote from the nail(1) manpage:
|
| sendmail
| To use an alternate mail delivery system, set \
| this option to the
| full pathname of the program to use. This \
| should be used with
| care.
I'm adding the cents of S-nail here:
sendmail To use an alternate mail transport agent (MTA), set this
option to the full pathname of the program to use. It may be
necessary to set sendmail-progname[415] in addition.
The MTA will be passed command line arguments from several
possible sources: from the variable sendmail-arguments[414] if
set, from the command line if given and the variable
expandargv[368] allows their use. It'll always be passed the
‘-i’ option, the option ‘-m’ only if the metoo[310] variable,
and ‘-v’ only if the verbose[344] variable are set. In con‐
junction with the -r[57] command line option S-nail may pass
‘-f‘ as well as ‘-F‘. Option processing of the MTA will be
terminated via a ‘--’ separator.
sendmail-arguments
Arguments to pass through to the Mail-Transfer-Agent can be
given via this option. The content of this variable will be
split up in a vector of arguments which will be joined onto
other possible MTA options:
set sendmail-arguments='-t -X "/tmp/my log"'
sendmail-progname
Many systems use a so-called mailwrapper(8)[538] environment
to ensure compatibility with sendmail(1)[539]. This works by
inspecting the name that was used to invoke the mail delivery
system. If this variable is set then the mailwrapper (the
program that is actually executed when calling “sendmail”)
will treat its contents as that name. The default is
‘sendmail’.
So you will never get around -i even with S-nail. I think i'll
add a *sendmail-no-default-arguments* option for v14.8.5,
hopefully coming late September.
Ciao,
--steffen
------------------------------------------------------------------------------
_______________________________________________
nail-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nail-devel