Sam,

maybe you could add a "user" filter, that would get called as the last 
filter. It would simply call to a shell script if admin created one.

Admin would then point config for this filter either to a script (would 
get called for every domain) or to a directory that would be structured 
as graylisting is:

user_filter/
     domain1.com/
         custom_filter.sh (called for any user of domain1.com)
     domain2.com
         other_kind_of_filter.sh (for any user of domain2.com)
     domain3.com
         user1/
              user1_script.sh (called only for [email protected])

Then admins could easily check some of their own stuff, like Pablo 
needs. No spamdyke hacking, and shell scripts are really fast to create...

Just a thought,
ratko


Dne 15. 07. 2012 03:47, piše Sam Clippinger:
> 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:
>
>> Hi
>>
>> 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 [email protected]
>> and that domain is one of our domain's, the 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
>>
>> Txs in advance Pablo Murillo
>>
>> _______________________________________________ spamdyke-users
>> mailing list [email protected]
>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>
> _______________________________________________ spamdyke-users
> mailing list [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>


_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to