Jeremy Kister | 14 Apr 2007 00:23
Favicon

admin forwards via email

In case anyone finds this useful:

I advocate giving separate email addresses to everyone possible. 
Meaning if you're signing up for an account with a new site called 
BigFancySite.tld, i'd give them the email address 
bigfancysite.tld <at> example.com.  Then I'd create a forward called 
bigfancysite.tld and send it to my main mailbox.  This is useful because 
it's an instant way to see who's given out your email address as well as 
being able to turn off the address with ease.

Due to slight demand from customers I've told this to, I have created an 
email way to create and delete vpopmail forwards.

wget http://jeremy.kister.net/code/perl/eadmin.pl
chmod ugo+x eadmin.pl
echo "|/usr/local/script/eadmin.pl" > 
~vpopmail/domains/example.com/.qmail-someaddress

it requires Mail::vpopmail, so you might have to set that up too:
wget 
http://search.cpan.org/CPAN/authors/id/J/JK/JKISTER/Mail-vpopmail-0.54.tgz
tar -zxf Mail-vpopmail-0.54.tgz
cd Mail-vpopmail-0.54
perl Makefile.PL ; make ; make install

you can then email someaddress <at> example.com with a subject like
CREATE VerySeCreT mailbox <at> example.com anewaddress <at> example.com

which will forward "anewaddress <at> example.com" to the 
"mailbox <at> example.com" mailbox.
(Continue reading)

Tom Collins | 15 Apr 2007 18:33
Gravatar

Re: admin forwards via email

On Apr 13, 2007, at 3:23 PM, Jeremy Kister wrote:
> I advocate giving separate email addresses to everyone possible.  
> Meaning if you're signing up for an account with a new site called  
> BigFancySite.tld, i'd give them the email address  
> bigfancysite.tld <at> example.com.  Then I'd create a forward called  
> bigfancysite.tld and send it to my main mailbox.  This is useful  
> because it's an instant way to see who's given out your email  
> address as well as being able to turn off the address with ease.

I've just advised users to use extended addresses.

As in email joe-bigfancysite.tld <at> example.com and have it  
automatically go into joe <at> example.com.

Of course, a person could probably figure out your "real" email  
address, but in most cases you're looking at automated systems.  I  
guess that spambots might get smart and try dropping the -whatever  
and +whatever extensions on some email addresses at some point...

Either way, your script looks like a cool way to add a forward.   
Should I add it to vpopmai's contrib directory?  Do you want to wait  
a few weeks for feedback, make updates, and then have it added?

--
Tom Collins  -  tom <at> tomlogic.com
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/


Gmane