I don't use procmail... I don't know for your problem...
I use qmail
my program :
3w . linux-nuts . dyndns.org / faxviamail / faxviamail.tgz
you add an user.
This user receive mails for fax.
For example, your user is 'usermailfax'.
You copy :
bin /, faxviamail.rc, .qmail in /home/esmith/files/users/usermailfax
You modify :
1)
faxviamail.rc for hylafax :
=FaxSpool= /usr/bin/faxspool
=Serveur= you_server
2)
bin/faxviamail.pl :
change for hylafax
sub Envoi_Fax { } # faxspool for mgetty, sendfax for hylafax
and
sub FaxToPdf { }
and
# Extention possible des pièces jointes
my @suffixlist = (".g3",".ps",".dvi",".pbm",".pgm",".ppm",".txt",".asc",".lj",".pcl",".xwd",".gif",".tif","pdf");
To test :
---------
send a mail : usermailfax@your_server
in body mail : (mandatory)
Fax-No: 555-12123456
Fax-To: tutu
Fax-From: Mme titi
Fax-User: test2
Fax-Pass: test
you can to add
the text in body mail
or
1 or many attached file
or
the both
format attached for mgetty : (to change this list for hylafax) files : ".g3",".ps",".dvi",".pbm",".pgm",".ppm",".txt",".asc",".lj",".pcl",".xwd",".gif",".tif" and "pdf"
user test3 in english, test1 and test2 in french.
I include gettext for multi language.
anne