unsubscribe

2009-07-23 Thread Rick Duval
unsubscribe


How to get Exim Envelope To?

2008-05-24 Thread Rick Duval
I'm running SA through MailScanner using Exim as MTA.

I'm writing a custom plugin and I'm trying to get the envelope-to var. I've
tried  my $envto = $pms-get('Envelope-To');  but it always comes back
empty.

Any ideas?


Re: Vars for Custom Plugins

2008-05-23 Thread Rick Duval
Sorry , didn't send tha last email to the list as well/

Doesn't Spamassassin have a standard routine somewhere to deteremine who an
email is for? It would seem like pretty basic stuff?

Rick

On Thu, May 22, 2008 at 11:38 AM, Theo Van Dinter [EMAIL PROTECTED]
wrote:

 [sending back to users@ list since it's generally useful info]

 On Thu, May 22, 2008 at 11:25:44AM -0400, Rick Duval wrote:
  One thing though, IF using to:addr I often get the name of the mailing
 list
  as opposed to the actual recipient. Is there a clean way to get that?

 It sounds like you want the envelope recipient, not the To header field.

 Unfortunately, there's no standard way to get that since each MTA does it
 differently, if that information is added at all.

 There should probably be a standard get() option that at least attempts
 to figure this out similar to EnvelopeFrom (feel free to open a bugzilla
 request about it), but in the mean time, looking at another function in
 PerMsgStatus that wants similar data (in no particular order):

 $self-get('To')   # std
 $self-get('Cc')   # std
 $self-get('Apparently-To')# sendmail, from envelope
 $self-get('Delivered-To') # Postfix, poss qmail
 $self-get('Envelope-Recipients')  # qmail: new-inject(1)
 $self-get('Envelope-To')  # exim
 $self-get('X-Envelope-To')# procmailrc manpage
 $self-get('X-Delivered-To')   # procmail quick start
 $self-get('X-Original-To')# procmail quick start
 $self-get('X-Rcpt-To')# procmail quick start
 $self-get('X-Real-To')# procmail quick start
 $self-get('Apparently-Resent-To') # procmailrc manpage

 Hope this helps. :)

 --
 Randomly Selected Tagline:
 I lost my foo.   - Theo



Vars for Custom Plugins

2008-05-22 Thread Rick Duval
Can someone point me to a list and description of vars available to plugins.

I know a couple like $pms-get(to) , etc but there's also to:addr. I'm
looking for some sort of reference that tell me what the differences are?

Also how to just get a clean to address. I've notice that may mailing
lists will put their name in the to which screw me up. Any help would be
much appreciated.

Rick


Splitting cc:'s

2008-05-22 Thread Rick Duval
If I have customer per user filtering I need ot have separate emails to work
upon but if a email comes cc'd to 3 people at the same domain is there a way
to handle that?

Exim is my MTA, perhaps a way to have it generated multiple copies?

Rick


Clean TO field

2008-05-15 Thread Rick Duval
I'm writing a custom plugin  and using  $pms-get('To') to get my to address
but it can be full of all kinds of junk. Multiple cc's, names of account as
well as their addresses and sometimes, for mailing lists, just the name of
the list!

1) is there a complete list of variables available somewhere and

2) IS there another variable that holds a clean to email address? or

3) If there isn't how do people deal with this?

Thanks

Rick