Re: Outgoing Filter question..help needed

Kevin Goodsell <[email protected]> Mon, 20 Oct 2014 20:02:40 -0700
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
On 10/20/2014 08:42 AM, Ron Stordahl wrote:

<snip>

> In order to send emails with a header that replaces
> base@mydomain everywhere with alias@mydomain when sending an e-mail
> to joe@joesdomain I am using this TMDA outgoing filter:
>
> to joe@joesdomain tag from explicit=alias@mydomain Return-Path explicit=alias@mydomain X-Primary-Address alias@mydomain
>

<snip>

>
> I also want to perform an action much like:
>
> # Add outgoing message recipients to whitelist to joe@joesdomain tag
> envelope bare from bare=append
>
>
> That format however is for the 'bare' format.  I have not been able
> to figure out how to include that ability within my 'explicit='
> filter so as to simultaneously adding 'joe' to my whitelist while
> replacing base@mydomain with alias@mydomain.
>

If I understand you correctly, you want "joe" to only see the "alias" 
address. In that case, whitelisting is probably not a good idea. Once 
joe is in your whitelist, future messages to joe will likely use your 
default "base" address. This depends on your filter configuration, but 
typically that's what the whitelist means: "This person checks out, and 
is permitted to see and use my real address."

I think the more practical solution is to adjust your incoming filters 
to handle joe the way you want. If the whitelisting idea was to prevent 
challenges, just add an incoming filter rule to accept mail from joe's 
address. You could also create a list of people like joe, who only get 
to see the "alias" address, and use a "from-file" incoming filter and a 
"to-file" outgoing filter pointing to your list, so you can avoid having 
to write the addresses in both filter files.

-Kevin

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users