On Thu, 29 Jan 2009, Ralf wrote:
> fred wrote:
> > It might help you but this is the script that I have made / use:
> > http://xmailforum.homelinux.net/index.php?showtopic=4260
>
> Tnanks fred,
>
> but per our security policy I can use only C/C++ source and
> bash or perl scripts. But especially php and python aren't allowed
> on the Linux boxes where our mail servers run.
I really don't remember. I only briefly used it, given its complete
failure to stop anything.
You prolly want to use filters.post-rcpt.tab with something like:
"!aex"[TAB]"PATH/xm-spf.pl"[TAB]"--ip"[TAB]"$(REMOTEADDR)"[TAB] \
"--sender"[TAB]"$(FROM)"[TAB]"--rcpt-to"[TAB]"$(CRCPT)"
Where [TAB] is the *real* TAB character, and that's a single line (' \ ')
trimmed.
I cannot ensure you any success though :)
- Davide
_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail