Marvin Pascual said:

> Now my question is, how can I tell our e-mail database to tell our
> Postfix to send a confirmation e-mail to the taxpayer's e-mail with the
> above information?  My idea on this is that the trigger column will be
> the TIN.

for sure you have a script (Perl, PHP, whatever!) that will access your
database, obtain information, and loop through the different rows/records
pertaining to the taxpayers you want to send mail to. then just use the
sendmail backward-compatibility program (/usr/bin/sendmail or
/usr/lib/sendmail) of postfix to send email to each recipient. if you use a
PHP script or a Perl script, there are functions that can be used to
automatically send messages without messing with calling /usr/bin/sendmail.

> My second and last question is, how can I filter the received e-mails
> from the taxpayers and from bounced e-mails (considering the e-mail
> address is wrong or doesn't exists) to the taxpayer's respective BIR
> regional and district office?  There is only one e-mail address/account
> (probably it would be [EMAIL PROTECTED]) for the outgoing e-mails but if
> the
> [EMAIL PROTECTED] receives e-mail from the taxpayers or receives bounced
> e-mails, it will be forwarded to the taxpayers' respective BIR
> regional/district offices' e-mail address/account to answer if there's
> an inquiry or to call the attention of the taxpayer if it was a bounced
> e-mail to provide the correct e-mail address.

just use a different ("from") email address. i think that will be easier :)

-andre



_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to