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, email at 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 email at domain.com will answer on dummy at domain.com or
> dothis at 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
giles at coochey.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4928 bytes
Desc: S/MIME Cryptographic Signature
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20120529/75ca6b95/attachment-0004.bin>