V?ctor Rubiella Monfort: > Hi!, > > I'm working on redefine inbound mail delivery but I have some basic > "mixconceptions". > Now I have several separate inbound servers. I want to improve deploying > MX gateway postfix gateways, improve content filtering, etc. > > First of all if someone can provide some links with more info about > configuration and architecture on this kind of layered aproach > (GW->postfix->dovecot) I will be very grateful :D. (something more than > official doc and "postfix the definitive guide book" :D) > > Now I have an old perl script doing a lot of task in one filter script, > I want to refactor and optimize it.
See my suggestions below. They are likely more secure and more performant. It's hard to give recommendations for writing custom code like you do. > I'm need help on concepts for "advanced content filter". First of all, > documentation referers to Perl sample with broken link > (http://bent.latency.net/smtpprox/. ) You're looking at old documentation. The on-line doc has a link to https://web.archive.org/web/20151022025756/http://bent.latency.net/smtpprox/ > I have found quite few samples for Before-Queue filters (Milters), but > nothing advanced samples with After-Queue filtering. I'd suggest using Milters (i.e. before-queue) where possible, many SPAM filters have a Milter integration (examples: mimedefang, amavis, spamass-milter). Wietse