The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 using mailagent instead of procmail
Author: Jan L. Peterson 
Date:   28-04-03 14:01

I have used mailagent as long as I can remember, and wanted to support this type of addressing method. I came up with this rule which handles these types of addresses in a general case:

To Cc:
/jlp\+([^@]+)\@/i { TR 1 /A-Z/a-z/; SAVE +plus/%1 }

(Note that I save directly to MH folders... mailagent supports saving to MH folders directly and updates the "unseen" sequence without having to resort to calling rcvstore.)

I, too, use this primarily for sites that want an e-mail address. Since I want to find out who sells my e-mail address, I try to use a descriptive key after the "+". Then, when spam shows up in a particular folder, I know what company is to blame.

Unfortunately, I have also found several web-based forms that prohibit the "+" character in the local part (in violation of the RFC). On occasion, when I really want the information the site has, I've had to resort to disabling javascript while filling out and submitting the form. I also usually send a "feedback" via some mechanism provided on the site. I've never had any luck getting them to change it, though, or even respond to me.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 using mailagent instead of procmail   new
Jan L. Peterson 28-04-03 14:01 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum