Outgoing Filter question..help needed

Ron Stordahl <[email protected]> Mon, 20 Oct 2014 08:42:04 -0700
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
--===============6147498304599409989==
Content-Type: multipart/alternative;
	boundary="31392086-1792917895-1413819724=:40212"

--31392086-1792917895-1413819724=:40212
Content-Type: text/plain; charset=us-ascii

Using qMail I can create any number of aliases off the base address, for example with a base address of base@mydomain I can create alias@mydomain.  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

Using this filter I can send an email to joe from any e-mail client configured for base@mydomain and the e-mail header will be translated such that all references to base@mydomain will be replaced by alias@mydomain, thus completely hiding my 'base' address.

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.

A little help is needed....

Thanks

Ron Stordahl
--31392086-1792917895-1413819724=:40212
Content-Type: text/html; charset=us-ascii

<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div style="" class="">Using qMail I can create any number of aliases off the base address, for example with a base address of base@mydomain I can create alias@mydomain.&nbsp; 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:</div><div style="" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">to joe@joesdomain tag<br style="" c
 lass="">&nbsp; from explicit=alias@mydomain<br style="" class="">&nbsp; Return-Path explicit=alias@mydomain<br style="" class="">&nbsp; X-Primary-Address
 alias@mydomain</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">Using this filter I can send an email to joe from any e-mail client configured for base@mydomain and the e-mail header will be translated such that all references to base@mydomain will be replaced by alias@mydomain, thus completely hiding my 'base' address.</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvet
 ica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size:
 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">I also want to perform an action much like:</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""># Add outgoing message recipients to whitelist<br style="" class="">to joe@joesdomain tag envelope bare from bare=append<br style="" class=""><br style="" class=""></div><div style=
 "" class="">That format however is for the 'bare' format.&nbsp; 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.</div><div style="" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">A little help is needed....</div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">Thanks</div><div style="color: rgb(0, 
 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"
 class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">Ron Stordahl</div></div></body></html>
--31392086-1792917895-1413819724=:40212--


--===============6147498304599409989==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--===============6147498304599409989==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users

--===============6147498304599409989==--