Hi,I use whitelisting from "Sent Items" folder from IMAP (one my mail site) or from logfile of antivir/antispam SW on linux. I get a text file with email addreses that I save into a mysql. Spamassassisn with plugin made by Martin Gregorie check if address exists in database (Postgress, mysql, ...). But this is a whitelisting used by spamassassisn. Yours choice :)
J.K.
Cituji Stan Hoeppner <s...@hardwarefreak.com>:
On 9/21/2011 1:48 PM, Steve Jenkins wrote:AWESOME little script. Nice, Stan! One minor detail stops me from using it, however. I have an old domain hosted on my server that no longer gets any legit mail, but that serves as a great honeypot. So I direct any emails sent to that domain via Postfix to a file, and then I point my spam filtering software at it nightly to learn from it. However, those addresses all show up in the maillog as "SENT" - which adds them to the raw file in your script. I'm not a scripter, so any ideas on how to work around that, either via Postfix or via the script?I'm not sure how this could be an issue. The only addresses added to this whitelist are smtp recipient addresses successfully delivered to via the smtp(8) service. Rerouting your trap mail to a local file is going to occur via local(8), pipe(8), or another mechanism, depending on how exactly you're doing it, but not via smtp(8). Thus you should be able to use the script as is without issue, unless you're running something other than GNU/Linux, in which case you may be having sed/sort/uniq switch issues I discussed earlier.If you are truly having undesirable addresses added to the whitelist file, maybe you could share some log snippets and sections of the file /tmp/wrkng-whtlst.tmp showing the address(es) in question, obfuscated of course, or send me the real data off list.-- Stan
--Ma domena pouziva zabezpeceni a kontrolu SPF (www.openspf.org) a DomainKeys/DKIM (with ADSP) . Pokud mate problemy s dorucenim emailu, zacnete pouzivat metody overeni puvody emailu zminene vyse. Dekuji. My domain use SPF (www.openspf.org) and DomainKeys/DKIM (with ADSP) policy and check. If you've problem with sending emails to me, start using email origin methods mentioned above. Thank you.
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
bin6rnHJZai4l.bin
Description: Veřejný PGP klíč