|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Fax server with postfix
From: Sandy Drobic (postfix-users
japantest.homelinux.com)
Date: Mon Oct 02 2006 - 03:05:15 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]