Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

Clean "TO" field

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


rick at duvals

May 15, 2008, 7:59 AM

Post #1 of 2 (93 views)
Permalink
Clean "TO" field

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


felicity at apache

May 15, 2008, 9:08 AM

Post #2 of 2 (81 views)
Permalink
Re: Clean "TO" field [In reply to]

On Thu, May 15, 2008 at 10:59:18AM -0400, Rick Duval wrote:
> 1) is there a complete list of variables available somewhere and

perldoc Mail::SpamAssassin::PerMsgStatus

is a good start, read the doc for get(). plugins may make other data
available, you'd have to look at them to find out.

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

Perhaps you want to:addr ?

--
Randomly Selected Tagline:
Do something unusual today. Pay a bill.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.