Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Catch Domain mail and forward to UUCP queue

0 views
Skip to first unread message

Sylvain Martin

unread,
Sep 20, 1995, 3:00:00 AM9/20/95
to
I'm trying to send all the email I get for a certain domain to
UUCP for pickup every hour by a dial-up computer, but I can't get
it to work. I'm using the sendmail and uucp provided by Solaris 2.4.
Here's what I tried.

I made a rule which would take us...@cslmtl.com and translate it to
user%csl....@accent.net. In test mode, sendmail does this perfectly,
but when in Daemon mode, it returns and says that the user is not
found.
Seems it's aliasing cslmtl.com to accent.net. What could I do fix this
and get
it working? Would taylor UUCP do this?

Thanks for any help

Syl

matthew c. mead

unread,
Sep 20, 1995, 3:00:00 AM9/20/95
to

I've done this with sendmail 8.6.12 and taylor uucp 1.05. It's
actually fairly easy. You obviously need support for uucp in your
sendmail, but additionally, you'll want to configure in the mailertable
option, and build a mailertable to translate the domain name over to uucp
mail properly. Here's how I did it:


FEATURE(mailertable, dbm /etc/mailertable)dnl
FEATURE(always_add_domain)dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(uucp)dnl


then edit /etc/mailertable and put lines like this:
internet.domain.com uucp-dom:uucp-system-name

makemap dbm /etc/mailertable </etc/mailertable

This of course assumes that sendmail is running on the computer that has
the dialin for uucp, and that an MX record exists pointing to this host.
You might try putting lines like:
internet.domain.com uucp-dom:uucp-system-name!internet-connected-host


I'm not sure on the second idea, I do know that the first will work.

-matt

--
Matthew C. Mead

mm...@Glock.COM | Network Administration and Software Development
http://www.Glock.COM/~mmead/ | Consulting: BizNet Technologies -> mm...@bnt.com

Tim Frost

unread,
Sep 21, 1995, 3:00:00 AM9/21/95
to
In article <43o0lr$4...@news0.accent.net>,

syl...@accent.net (Sylvain Martin) writes:
>I'm trying to send all the email I get for a certain domain to
>UUCP for pickup every hour by a dial-up computer, but I can't get
>it to work. I'm using the sendmail and uucp provided by Solaris 2.4.
>Here's what I tried.

>I made a rule which would take us...@cslmtl.com and translate it to
>user%csl....@accent.net. In test mode, sendmail does this perfectly,
>but when in Daemon mode, it returns and says that the user is not
>found.

You need an explicit rule for the domain cslmt.com, in ruleset *zero*:
R$*<@$*cslmt.com> $#uucp $@csl $: $1<@$2 cslmt.com>


Ruleset 0 decides what mailer to pass the message to as the next hop.
The rule line above, inserted at the start of ruleset zero, says:
for any address in the domain cslmt.com, use mailer uucp, to the host
csl (which I assume from your use of csl.UUCP is the uucp name of the
next hop), and pass the recipient name as written.

Note that it will rewrite the sender and recipient addresses in the
uux command line, as bang-path addresses.

>Seems it's aliasing cslmtl.com to accent.net. What could I do fix this
>and get
>it working? Would taylor UUCP do this?

As this is a sendmail config issue, you don't have to switch to taylor
uucp to fix this. You may, however, want to switch for performance or
other reasons.


>Thanks for any help

>Syl


Tim

--
Tim Frost, Systems Engineer (Unix Networking), Postmaster and Hostmaster
EDS (NZ) Ltd, Email: Tim....@nz.eds.com
P.O. Box 3055, Voice: +64 4 495-0400
Wellington, New Zealand. Fax: +64 4 495-0565


0 new messages