Re: Forwarding emails through django

2009-01-17 Thread Brian Victor
CLIFFORD ILKAY wrote: > Brian Victor wrote: >> I'd like to forward incoming emails to a distribution list defined by >> querying the User table. > In our hosting operation, we store virtual domain, virtual user, and > forwarder data for Postfix in PostgreSQL. The following should give you > some i

Re: Forwarding emails through django

2009-01-16 Thread CLIFFORD ILKAY
Brian Victor wrote: > I'd like to forward incoming emails to a distribution list defined by > querying the User table. In our hosting operation, we store virtual domain, virtual user, and forwarder data for Postfix in PostgreSQL. The following should give you some ideas. Using the psql shell: vm

Forwarding emails through django

2009-01-16 Thread Brian Victor
I'd like to forward incoming emails to a distribution list defined by querying the User table. It seems to me like the easiest thing would be to take the incoming email message and send it back out verbatim to the generated recipients. However, I don't see a way to construct an EmailMessage that