4 messages in net.sourceforge.lists.courier-users[courier-users] Re: @fax: mail loops ...
FromSent OnAttachments
Roland SchneiderMar 7, 2002 2:39 pm 
Sam VarshavchikMar 7, 2002 3:01 pm 
Roland SchneiderMar 8, 2002 2:43 am 
Sam VarshavchikMar 8, 2002 6:32 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: @fax: mail loops back to myselfActions...
From:Roland Schneider (list@serv.ch)
Date:Mar 8, 2002 2:43:43 am
List:net.sourceforge.lists.courier-users

--Sam Varshavchik wrote on 07.03.2002 18:01 -0500:

No, you don't add fax, or anything else, to locals, or add any MX records for anything.

Removing of all ns-records resulted in 'no such domain'.

What is the magic behind invoking '@fax' ?

A syntactically valid phone number for North America, in the default install. I count a nine-digit phone number up there, and in this part of the world telephone numbers are ten digits long. Furthermore, the default configuration rejects clearly invalid phone numbers for North America (like ones that begin with a zero). Using all 1s won't work either. You can also use a seven digit number, and the default area code will get prepended by default (the default area code is 999). --

Maybe you could add an example for testing to faxrc like "accept^ n" which should match pretty everything. But courierfax would have logged such errors anyway.

./configure --with-transport='local esmtp fax dsn' actually disabled the fax-functionality completely, the module was never invoked according to strace.

Next problem was in share/faxmail/init line 18, sh wants FAXRES="${FAXRES:hi}" replaced with FAXRES="${FAXRES:-hi}"

Now the box runs Hylafax and I cant install mgetty+sendfax. Had to replace faxg3 with tiffg3 in share/faxmail/*.filter, and a small sendfax-wrapper to fixup the commandline:

#!/bin/sh HYLAFAXARGS="-v -D -R -t 1 -f faxm@alpha.lan -l -n -d" shift 2 exec /usr/local/bin/sendfax $HYLAFAXARGS $@

But thats overkill, Hylafax has its own converter, scheduler and queue and can be safely invoked via .courier-default.

Roland