Postfix and real time integration

Paul Dekkers Paul.Dekkers at surfnet.nl
Fri Dec 31 04:33:18 EST 2004


Hi,

We're using postfix to feed cyrus (over LMTP) but we're missing the 
real-time integration like people described for sendmail and exim. To 
circumvene this I wrote a small perl script that creates a list of users 
and puts these in a file used by the local_recipients_map. It isn't 
always in sync (since I run the script only daily for now), but at least 
it prevents mail for unknown users to be scanned for virusses, spam, fed 
to cyrus and then bounced... (We would scan about 10 times more mail 
without this map! :-S)

Is there a better way to do this? I also tried 
"smtpd_recipient_restrictions = reject_unverified_recipient", and that 
works but I'm not convinced that this is the way I should do this 
either. It also causes a (noticeable) delay for valid users if looked up 
for the first time (and somehow I think the 450-message is uglier 
because there is an lmtp path (unnecessary information for spammers) in it).

I suppose there is no db-file of cyrus that I can (ab)use with the 
local_recipients_map so that this integration is more real-time? What do 
others use? (Except nothing ;-))

Paul

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list