Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] RE : RE : Help required for faxmail with qmail



I'm strill trying to understand :

I tried this :

I added : '.fax:alias-fax' in /var/qmail/control/virtualdomains:
Then I created a file named '.qmail-fax-default' whatever it contains in
/var/qmail/alias/
Logically, any mail with a domainname ending by .fax should be treated
by /var/qmail/alias/.qmail-fax-default , huh ?
In fact it seems that it is not the case...
I still get qmail bouncing with an error : 
 	<ppl@046603XXXX.fax>: 
 	Sorry, no mailbox here by that name. (#5.1.1) "
Etc..

Assuming that my .qmail-fax-default contains a line '|
/local/etc/mailfax' I presume that the content of my mail should be
treated by this script...
In fact it seems to be treated by .qmail-localdelivery.default, and of
course, the user being non-existing, it bounces with an error...

Anyone has an idea ? It would help me a lot..

Tnx in advance.

--
Phil.



-----Message d'origine-----
De : hylafax-users-bounce@hylafax.org
[mailto:hylafax-users-bounce@hylafax.org] De la part de Xware
Envoyé : lundi 7 avril 2003 17:13
À : maurice.galland@kariboo.com; 'hylafax-users'
Objet : [hylafax-users] RE : Help required for faxmail with qmail


Hi Maurice,

The only user dedicated to hylafax I have is faxmaster, so that I can
receive administrative messages from faxrcvd. I triend to put '.fax' in
/var/qmail/control/rcpthosts but it does not work when I mail from local
nor from a windows client. My hylafax (4.1.1) configuration is pretty
standard, either is my qmail (I use a sme mitel 5.5 distro). 
I followed point per point the configuration file located in
http://www.hylafax.org/faxgateway.html) to set up faxmail but I'm in
great trouble now. I can mail via IMP or via outlook (smtp or imap), it
does not work in any case.

I hoped that someone using both qmail and faxmail could help me, but no
one answered, so I suppose that there are none who suceeded in making
this thing work well or simply work...

Tnx anyway for your help.

--
Phil.

P.s: feel free to write in french if you prefer ;-) çà ne me gène pas,
au contraire.. ;-)



-----Message d'origine-----
De : hylafax-users-bounce@hylafax.org
[mailto:hylafax-users-bounce@hylafax.org] De la part de Maurice Galland
Envoyé : jeudi 3 avril 2003 11:37 À : hylafax-users Objet : Re:
[hylafax-users] Help required for faxmail with qmail


Hi Phil,

My 2 swiss cents...

Xware wrote:
> Help!!! Has someone already installed faxmail with qmail ????
> 
> I'm trying to setup faxmail on my SME server 5.5 with qmail and am not

> very successfull
> 
> I used the method described in http://www.hylafax.org/faxgateway.html)
> 
> My faxmail and sendfax are in /usr/bin
> 
> My hylafax release is 4.1.1.
> 
> Here is what I do :
> 
> I add '.fax:fax' to '/var/qmail/control/virtualdomains'

I don't use virtualdomains with qmail, but I think that this means that 
any mail sent to user@anysubdomain.fax is actually sent to 
fax-user@anysubdomain.fax (see PIC.local2virt in qmail doc).

> 
> I create a '.qmail-fax-default' in '/var/qmail/alias/' and put '|
> /local/etc/mailfax' into it.

This .qmail-fax-default file tells qmail that any mail sent to 
fax-anything@anylocaldomain uses the delivery method specified in this
file.

WARNING! Do you already have a REAL "fax" user defined ? Because this 
would change the way to properly configure this.

> 
> I create '/local/etc/mailfax' and fill it with (release 1.2 of
> mailfax.sh-qmail modified only for my paths) :
> 
> 	TMPVAR=${SENDER//\`/}
> 	TMPVAR=${TMPVAR//\$\(/}
> 	SENDER=${TMPVAR//\)/}
> 
> 	/usr/bin/faxmail | /usr/bin/sendfax-f "$SENDER" -d
> "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`"
> 
> 
> I then restart qmail.
> 
> But when I send a mail to 'ppl@046603XXXX.fax', the mailer-daemon
> answers to me :

So now, when you send a mail to 'ppl@046603XXXX.fax' the previous 
configuration tells qmail to actually send the mail to 
'fax-ppl@046603XXXX.fax'. This mail would be delivered to fax-ppl 
locally, using the .qmail-fax-default delivery method ONLY IF 
'04660XXX.fax' is known as a local domain for which your system is the 
recipient host. The problem might be to let your SMTP server 
(qmail-smtpd) know that '04660XXX.fax' is to be delivered locally. You 
can do this by adding '.fax' in /var/qmail/control/rcpthosts. This works

only if you send the mail from a different host, it is not necessary if 
you send the mail from the SMTP server itself.

Could you describe your network a bit more? Apparently, the HylaFAX host

is the same as the qmail host, right ? But do you want to send faxes 
from other hosts ?

> 
> "	Hi. This is the qmail-send program at xware.fr. 
> 	I'm afraid I wasn't able to deliver your message to the
following 
> addresses.
> 	This is a permanent error; I've given up. Sorry it didn't work
out.
> 
> 	<ppl@046603XXXX.fax>: 
> 	Sorry, no mailbox here by that name. (#5.1.1) "
> 
> I thought I followed the installation step by step but it does not
> work. ;-(
> 
> Can anyone tell me where I messed up ???
> 
> I really need to have this working !!
> 
> Thanks a lot in advance for any help.
> 
> --
> Phil.

Well, not sure but HTH :-)

Maurice
> 
> 
> 
> 
> 
> ____________________ HylaFAX(tm) Users Mailing List
_______________________
>   To subscribe/unsubscribe, click
> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>  On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
/dev/null
>   *To learn about commercial HylaFAX(tm) support, mail
sales@hylafax.org.*
> 

-- 
----------------------------------------------------------------------
Maurice Galland                            maurice.galland@kariboo.com
Kariboo Technologies SA                          Tel: +41 21 641 05 50
Chemin de la Forêt 4                             Fax: +41 21 641 05 52
1018 Lausanne - Switzerland


____________________ HylaFAX(tm) Users Mailing List
_______________________
  To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
/dev/null
  *To learn about commercial HylaFAX(tm) support, mail
sales@hylafax.org.*





____________________ HylaFAX(tm) Users Mailing List
_______________________
  To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
/dev/null
  *To learn about commercial HylaFAX(tm) support, mail
sales@hylafax.org.*




____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services