Hi VK,

>Date: Mon, 07 Jun 2004 14:10:41 -0400
>From: Vivek Kumar [EMAIL PROTECTED]
>Thanks a lot.. I have to look into how to use filter_relay() ??
It's not too hard, you basically need to create the sub-routine in your
mimedefang-filter (put it anywhere, except in the middle of another
sub-routine!).
Remember though, anything not allowed in filter_relay, will be REJECTED.

There is an example (which I have used successfully) at
http://lists.roaringpenguin.com/pipermail/mimedefang/2004-January/019351.html
but if you use this, please change the "Continue" to CONTINUE as it IS case
sensitive.
If all else fails, man mimedefang-filter (look for the section "Controlling
Relaying").

>guide me also for whitelist_from_recv
I don't use whitelist_from_recv, just whitelist_from;  but, from `man
Spam::Assassin::Conf`
<quote>
whitelist_from_rcvd [EMAIL PROTECTED] sourceforge.net
           Use this to supplement the whitelist_from addresses with a check
           against the Received headers. The first parameter is the address
to
           whitelist, and the second is a string to match the relay's rDNS.
</quote>
so, for example, for Mimedefang list mail (digest version, at least), you
would need the following:
whitelist_from_recv [EMAIL PROTECTED]
www.roaringpenguin.com
The wildcard ( * ) character is allowed in the email portion, so you could
use [EMAIL PROTECTED] to allow anyone at yourdomain.com to be whitelisted.

Hope this helps...
Regards,
Matt

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to