OSEC

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: Giedrius Augys (voipasgmail.com)
Date: Mon Oct 02 2006 - 01:52:24 CDT


I have configured postfix by this example:

# Over here we are using the scheme <fax number>fax.our.domain
# with Postfix and HylaFax. Here's the setup used:
#
# /etc/postfix/master.cf:
# fax unix - n n - 1 pipe
# flags= user=fax argv=/usr/bin/faxmail -d -n ${user}
#
# /etc/postfix/transport:
# fax.your.domain fax:localhost
#
# /etc/postfix/main.cf:
# transport_maps = hash:/etc/postfix/transport
# fax_destination_recipient_limit = 1
#

But in my folder I cant't find a mail. Maybe the best way is tu use procmail
.

2006/10/2, Kai Fürstenberg <postfixfuerstenberg.ws>:
>
> Giedrius Augys schrieb:
> > 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..
> Ok,
>
> You have a install also a MTA with filtering language (e.g. procmail).
> Then you can use something like
> mailbox_transport = procmail
> in main.cf. You can also work with transport_maps to do this (please
> also read the documentation).
>
> Postfix does not execute any scripts on a special mail, but procmail can
> do this.
>
> So you need both (MDA and MTA): Postfix to accept the mail and deliver
> it to the MTA which executes the script on that mail and creates a call
> file or executing the agi-script or whatever.
>
> Kai
>

--
Pagarbiai,
Giedrius Augys
Siauliu Universitetas, IST
IP telefonijos inzinierius
Tel. 8 41 590408
Mob. Tel. 8 678 05790
el. pastas voipasgmail.com