Spacelee: > hi everything, I met a problem recently because we need to add a new > function to our product. > the problem is for each valid incoming email, we need to call a script to > insert it to different databases, someone said I could add this to the > /etc/aliases, like : b...@example.org: "|/tmp/somescripts.sh", but it's only > used for special users, unable for all the users(or emails) > > what should I do? do you have any suggestions?
I concur with the suggestions to use a database engine that supports the LMTP protocol, such as DBmail. With a proper protocol such as LMTP, there is no need for the overhead of running a command-level tool for each individual email delivery. LMTP is also much better at handling delivery errors. Wietse