You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by nik600 <ni...@gmail.com> on 2013/10/18 17:24:24 UTC

whitelist_from conditioned to hostname

Dear sir

is possible to specify a whitelist_from in local.cf limiting it for some
hosts?

Example:

i want to whitelist my postmaster@foo.tld to avoid backscatter or
bouce_message classifications, but want to limit this whitelist only if the
sender is from my server, if the smtp client is something different than i
trust i don't want to whitelist it.

Can i do that?

Thanks

-- 
/*************/
nik600
http://www.kumbe.it

Re: whitelist_from conditioned to hostname

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 18.10.13 17:24, nik600 wrote:
>is possible to specify a whitelist_from in local.cf limiting it for some
>hosts?

yes, use whitelist_from_rcvd for that.
Note that applies to external mail, e.g. mail received from hosts not in
your internal_network.

>i want to whitelist my postmaster@foo.tld to avoid backscatter or
>bouce_message classifications, but want to limit this whitelist only if the
>sender is from my server, if the smtp client is something different than i
>trust i don't want to whitelist it.

well, this it exactly what VBounce plugin is for, and you need to specify
whitelist_bounce_relays for it to work.
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)

Re: whitelist_from conditioned to hostname

Posted by Benny Pedersen <me...@junc.eu>.
nik600 skrev den 2013-10-18 17:24:

> Can i do that?

sure:

whitelist_auth postmaster@example.org

whitelist_from allow forges, dont use it, its still candidate to be 
removed from spamassassin







Re: whitelist_from conditioned to hostname

Posted by Kris Deugau <kd...@vianet.ca>.
nik600 wrote:
> is possible to specify a whitelist_from in local.cf <http://local.cf>
> limiting it for some hosts?
> 
> Example:
> 
> i want to whitelist my postmaster@foo.tld to avoid backscatter or
> bouce_message classifications, but want to limit this whitelist only if
> the sender is from my server, if the smtp client is something different
> than i trust i don't want to whitelist it.

whitelist_from_rcvd postmaster@foo.tld smtp.foo.tld

Note this requires you have properly configured reverse DNS on your
server's IP.

-kgd