How do I configure postfix to forward all mail in
the *.fidonet.org domain to ifmail?
Before I installed postfix, I thought it looked simple.
/etc/postfix/master.cf already contains the entry:
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
which looks fine to me, but it isn't used anywhere. So I activated
the transport file:
snoopy# postconf transport_maps
transport_maps = hash:/etc/postfix/transport
and put the following in transport:
.fidonet.org.au ifmail:f371.n633.z3.fidonet.org
and also tried:
.fidonet.org.au ifmail:[f371.n633.z3.fidonet.org]
and:
.fidonet.org.au [ifmail:f371.n633.z3.fidonet.org]
(I doubt that these 2nd two cases are valid, but I tried them
anyway)
And reloaded postfix:
snoopy# postmap /etc/postfix/transport
snoopy# /etc/init.d/postfix reload
Reloading Postfix configuration...done.
No matter what I do I always get the same error:
Sep 11 16:19:42 snoopy postfix/smtp[30609]: AD8631780: to=<Brian.May@f362.n633.z3.fidonet.org>, relay=none, delay=1, status=bounced (Name service error for domain f362.n633.z3.fidonet.org: Host not found)
It should be obvious that I do not want to have to add a DNS entry for
every possible fidonet address.
I also tried playing around with the ignore_mx_lookup_error setting,
but even if it did work (no difference) I would be concerned on its
effect for normal mail.
Any ideas?
I assume someone must have got fidonet to work, or otherwise there
wouldn't be the ifmail entry.
Thanks in advance,
--
Brian May <bam@snoopy.apana.org.au>
Attachment:
pgpj5QNx0sn44.pgp
Description: PGP signature