Re: whitelisting =sent addresses
* Alexy Khrabrov <braver@xxxxxxxxx> [2003-09-29 15:13 -0400]:
> Does anybody have a setup where mutt updates a whitelist
> when sending stuff? Or, you can do it via a cron job
> scanning the =sent folder and updating a database for
> another script called from procmail...
You can use a wrapper for sendmail.
set sendmail="somewrapper"
where somewrapper adds all its paramaters behind "--" to the
whitelist, and calls sendmail with all of the parameters later.
untested:
#somewrapper.pl
#!/usr/bin/perl
for(@ARGV)
{
if($i)
{
add_to_whiteliste($_);
}
$i=1 if $_ eq '--';
}
exec("/usr/bin/sendmail",@ARGV);
Nicolas