Re: Changing filter order or add a new one
Sam Clippinger <samc@...
2012-07-15 01:47:34 GMT
For the most part, the order of the filters can be changed by editing the middleman() function in spamdyke.c
around lines 1628, 1696 and 1756. Calls to filter_header_blacklist() are made within smtp_filter().
The filter functions are in filter.c. It would probably be best to start by using
filter_sender_blacklist() as an example.
-- Sam Clippinger
On Jul 14, 2012, at 3:46 PM, Pablo Murillo wrote:
> There is a way to change the filters orders or add a new one ?
> I was reading the source and I didn´t find what I was looking for
> I need to validate the domain used on SMTP AUTH against the rcpthost file
> Why ?
> In the case of the SMTP AUTH, after a succeful loging, no more checks are
> made, and I need to check the domain used to login against the rcpthost file
> (local_domains_file variable)
> May be you are wondering why ?
> Well, we have a lot of servers whit a lot of domains, BUT we have a
> centralized DB for all the email accounts, so, if you connect to domai1.com
> to logging with pp@... and that domain is one of our domain's,
> vpopmail (vchkpw) will validate the user, no matter if the domain is in the
> server where domain1.com is hosted or not
> I hope you understand, my english is not so good