[Novalug] Postfix Question
mshade at mshade.org
Wed Apr 2 15:56:24 EDT 2008
You'll probably want to go with option 2, but use a MySQL backend to hold
your info. Check out this for the bare essentials, and do some googling
around how to manipulate what you need to change frequently.
Also maybe check out Postfix.Admin, a web front end, to see how they do it.
I realize you'll want to do this programmatically, but their admin panel
might give you some good ideas of how to structure your implementation.
On Wed, Apr 2, 2008 at 3:43 PM, matthew wollenweber <mwollenweber at gmail.com>
> I'm writing a custom email service that needs to forward emails. The
> forwarding rules change quite often. At present I have two strategies that
> I'm considering:
> 1. Connect to the mail server, grab the messages, and forward them.
> 2. Update the postfix virtual table and let postfix do the work
> With 1. I'm afraid I'll improperly parse a message and get all screwed up.
> With 2, I have to do a lot of updates to the virtual table -- say once every
> 5 to 15 minutes. In that case, do I need to worry about postfix not being
> able to read the file and missing/dropping emails?
> Thanks for any help. Any thoughts would be appreciated.
> Matthew Wollenweber
> mwollenweber at gmail.com | mjw at cyberwart.com
> Novalug mailing list
> Novalug at calypso.tux.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Novalug