From: Sandy Drobic (no email)
Date: Mon Oct 02 2006 - 04:05:15 EDT
Giedrius Augys wrote:
> My question is about , how to configure postfix , when a new message arrive
> to particular user, postfix executes script, which grabs subject fields and
> puts atachment to temp dir and later using agi I will transmit fax..
Please do not top post!
You can use a command in alias for that user. That user must be in a
domain in mydestination for an alias command to work. Otherwise you have
to use a pipe transport as described in the link below and use a
check_recipient_access with the action FILTER to guide the mail to the
pipe transport.
/etc/aliases:
faxuser: "|/etc/postfix/faxfilter.sh"
A sample filter script is given here:
http://www.postfix.org/FILTER_README.html#simple_filter
Within that script you can do anything you want with the mail. Please take
care that the script is working reliably otherwise you might lose mail.
Sandy
-- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
|
|
|