Re: is this list alive

Pablo Saratxaga (srtxg@linux.chanae.stben.be)
Sat, 1 Mar 1997 03:48:06 +0100 (MET)

Kaixo !

> I want to make the gateway for region 41, via domain fidonet.gr
> Creating aliases in name server was easy, www.fidonet.gr works fine.
> But, i need help on setting ifmail.

If you have a machine accessible to a fixed address, even if not 24h/24,
I strongly suggest to also register as an MX for the true fidonet addressing
(*.n41.z2.fidonet.org, etc.), it improves gating.
Of course you need to have sendmail running correctly before :)

The difficult thing will be to discriminate between real FTN adresses
(like f1.n41.z2.fidonet.org, f1.fidonet.gr) and not FTN ones
(like www.z2.fidonet.org, www.fidonet.gr) as you can't use ifmail to send
to www.z2.fidonet.org

What I did is define a class in sendmail.cf whith values that are likely
to appear under *.fidonet.org for non FTN adresses, then check for that
before sending via ifmail:

# smtp.z2.fidonet.org, www.z2.fidonet.org, etc
CFfidonet ns ns2 mail smtp www ftp

[...]
[ In section S0, routing]

[some explicit routing to explicit nodes/points]
[then the general ones]
R$* < @ $~F $+ . z1 . fidonet . org . > $* $#fnet $@ f2602.n293 $: $1 < @ $2 $3 .z1.fidonet.org > $4
R$* < @ $~F $+ . z2 . fidonet . org . > $* $#fnet $@ f2602.n293 $: $1 < @ $2 $3 .z2.fidonet.org > $4
R$* < @ $~F $+ . z3 . fidonet . org . > $* $#fnet $@ f2602.n293 $: $1 < @ $2 $3 .z3.fidonet.org > $4
R$* < @ $~F $+ . z4 . fidonet . org . > $* $#fnet $@ f2602.n293 $: $1 < @ $2 $3 .z4.fidonet.org > $4
R$* < @ $~F $+ . z5 . fidonet . org . > $* $#fnet $@ f2602.n293 $: $1 < @ $2 $3 .z5.fidonet.org > $4
R$* < @ $~F $+ . z6 . fidonet . org . > $* $#fnet $@ f2602.n293 $: $1 < @ $2 $3 .z6.fidonet.org > $4

[...]

Mfnet, P=/usr/lib/ifmail/ifmail, F=8mDFMuSC, S=11, R=21,
A=ifmail -r $h -g h $u

The $~F tells "any string _not_ matching any memeber of class F" ($~F can be
a null string). So f123.n41.z2.fidonet.org will be routed trugh transport
"fnet", but www.n41.z2.fidonet.org no, as "www" matches a memeber of class F.
Then the line is skipped and the adress is catched on a posterior line,
ind sent trough the default channel (smtp in my case).

In your case change the routing through node (f2602.n293 for me) to one
appropriate (one using ifcico or other TCP/IP reachable mailer will be
the better choice, as I guess international phone calls will be expensive)
Also you will have to add a line that will match the alias domain fidonet.gr,
for exemple something like

R$* < @ $~F n41 . z2 . fidonet . org . > $* $#fnet $@ f123.n41 $: $1 < @ $2 .z2.fidonet.org > $3
R$* < @ $~F . fidonet . gr . > $* $#fnet $@ f123.n41 $: $1 < @ $2 . fidonet . gr > $3

And in the ifmail config file a domtrans line telling the equivalence
between FTN name and aliased (fidonet.gr) one, ex:

domtrans .n41.z2.fidonet .fidonet.gr

-- 

A bientôt, Pablo Saratxaga

~ ~ :wq ;-) PGP Key available, key ID: 0x8F0E4975