HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
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.php)
>
> 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.*