On 29/05/2012 14:59, Phil Petree wrote:
Hey All,

I'm developing a site on a VPS that comes stock with dovecot 1.2.17 and I'm
trying to setup some functionality that is very specific to our business
model.

My question is this:  How do I create (programatically) aliases for a
forwarder?

I have an address, em...@domain.com that gets sent to a php script and I
want users to be able to send to that script via any number of different
names (could ultimately be 1000's).

I'm thinking that I append/delete from the etc/aliases file and then run
#newaliases

So that em...@domain.com will answer on du...@domain.com or
dot...@domain.com, once the email comes in, I can check the header, get who
it was really sent to, do all my checks, perform the necessary action blah
blah blah... and be able to do it all on one piece of code (my fantasy LOL).

Am I on the right track here or is this simply not going to work?


Seems fairly straight forward, not sure how this applies to dovecot though.
Have you tried asking this question on sendmail / postfix lists?
They're the ones who interact with the aliases file.

--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to