On Mon, 15 Mar 2010 21:43:03 +0800 Ron <nha...@gmail.com> wrote: > Hi All, > > Newbie here, i have a qmail server, and i installed > qmail-scanner+clav+spamassassin. I'm trying to allow all my users > using whitelist_from but filter spoofed e-mail address using > whitelist_from_rcvd.
Whitelist rules whitelist, they don't filter. > Not sure If i'm following the manual correctly, but here's what on > local.cf > > internal_networks 202.79.221.135 > trusted_networks 202.79.221.135 > whitelist_from *...@imagetransforms.com > whitelist_from_rcvd *...@imagetransforms.com mail.pinoyonthego.net This last line means whitelist *...@imagetransforms.com if it's received into your internal network from mail.pinoyonthego.net. mail.pinoyonthego.net isn't going to receive from mail.pinoyonthego.net so that wont work. And in any case your server is called ip135.silverbackasp.com since whitelist_from_rcvd uses reverse dns. > but with that config, i'm still receiving spam e-mail with spoofed > e-mail address, so i tried removing whitelist_from > *...@imagetransforms.com and retained whitelist_from_rcvd, but when i > send an e-mail i'm getting denied because my email was tagged as spam. Why is your outgoing mail identified as spam? Do you even want to be scanning this? > another thing i'm confused is that there 2 Received From on the > header, one from my IP address at home, and one which is the IP > address of my qmail server. There's nothing unusual about that. You sent an email to gmail, your server added a header and gmail added a header