On 22.10.2014 04:03, li...@sbt.net.au wrote: > as for 'cleanup' : if this user's home PC is 'infected/hacked', if I just > issue a new password, spam will start again ?
Do you limit the amount of mails a user can send per time slot? (like 100 mails in a 6 hour period). If not, please do, you can use postfwd to achieve this (simple policy daemon). Example postfwd config below: > &&SASL_WHITELIST { > sasl_username=devnull; > }; > > # skip lower rate limiting for certain users > id=SaslWhitelist; > protocol_state==END-OF-MESSAGE; > &&SASL_WHITELIST; > action=rcpt(sasl_username/300/21600/REJECT You can only send to 300 > recipients per 6h per user) > > id=SaslWhitelist2; > protocol_state==END-OF-MESSAGE; > &&SASL_WHITELIST; > action=dunno; > > # sasl_username != doesn't work for whatever reason > id=RcptRate; > protocol_state==END-OF-MESSAGE; > sasl_username!~/^$/; > action=rcpt(sasl_username/100/21600/REJECT You can only send to 100 > recipients per 6h per user) > > # this causes postfwd to log something for every mail > id=logging; > protocol_state==END-OF-MESSAGE; > action=dunno;
signature.asc
Description: OpenPGP digital signature