Hi Matthias,

I do a similar task: Icollect realtimeall the addresses that any server tries 
to deliver to my server -> some of the most popular never-existedfalse 
addresses(like: [EMAIL PROTECTED]) will become good spamtraps.

I'm doing it by having another simple policy service before policyd,and 
extracting the sender and therecipient fields provided by postfix. (For more 
information you can read the http://www.postfix.org/SMTPD_POLICY_README.html )

My simple policy service just collect dataand do not decide what to do with the 
mail, so it passes the mail for the further policy services (rbl, policyd, etc) 
with an action=dunno.

I think this way youcould be independent of different applications' logs, since 
postfix will push the exact details of the mail through your own policy pipe. 
The only thing that you have to be aware: make a stable policy service, 
otherwise posfix may hang up.

Regards,
Krisz



Hey everybody,

I'm developing a real-time log parser for postfix/policyd/amavis to

count incoming/outgoing mails in realtime. It's working really well

already, but I discovered an issue today: For my log, I need sender and

recipient addresses which I get from the policyd syslog lines. If the

email addresses exceed a length of 58 characters they get cut off. It

also seems that policyd uses only the cut off addresses for greylisting

- which makes sense in my opinion since string compare operations are

quite performance consuming. I need the complete addresses though, is

there any way I can get policyd to log the full addresses?

Thanks in advance

Matthias



Digitális fényképezőgépek akár 10.000 Ft ajándék képelőhívással - FotoMarket 
Online Fotóáruház
http://ad.adverticum.net/b/cl,1,6022,99786,162268/click.prm

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to