Hi all,

I've setup postfix with dspam and openldap and because I get email for a 
couple of domains it uses email addresses as a login. Now I could not 
figure out how to make this work with canned notices like firstrun.txt.
It seems impossible using only %u to set a proper From: address, address 
where to send spam too (spam@...) and URL of the web interface.

If a solution is available I'd love to hear about it. If not, looking in 
dspam.c at function send_notice on line 1534 my limited C knowledge 
suggests it could be expanded to:

1) check for a @ char in the username
2) if yes, put anything after @ in a new variable domain
3) add logic to also replace %d with domain
4) add to firstrun.txt and other notices a %d where required

AFAICT this should work in a multi-domain setup with email address as 
logins, a support@%d support email address, a spam@%d spam email address 
and a dspam.%d or www.%d/dspam URL for the webinterface.

As I mentioned my C knowledge is limited. If anyone feels this is a nice 
enhancement and would like to scratch an itch then I would be most 
appreciative.

Regards,
Patrick

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to