UUCP rules on Linux

UUCP rules on Linux

Post by Clarence Gardn » Fri, 21 Jul 1995 04:00:00



We recently changed our mail server from SunOS to Linux 1.2.8, with
sendmail 8.6.12/SMI-4.1.  I installed the smtp-only sendmail, and used
our sendmail.cf from the Sun system.  This resulted in errors of
        No ! in UUCP From address
Well, I know nothing about UUCP, but I took a look at Linux's sendmail.cf
for UUCP and grafted it into ours.  This fixed the problem for simple


parts of the sendmail.cf relevant to this domain are


These rules are from the Sun configuration.  In case it's helpful, the
uucp rules are included below.  They are straight from the supplied
sendmail.cf for uucp, except that I've renumbered them to avoid conflicts.
Also, we're using the hdb style of uucp.

Thanks in advance for any info on the problem/solution.
Clarence

################################################################
# These rules were stolen from the linux-supplied uucp-only
# configuration, and the rules renumbered to avoid conflicts.
################################################################
#
#  envelope sender rewriting for uucp-dom mailer
#
S70

# handle error address as a special case

# pass everything to standard SMTP mailer rewriting

#
#  envelope sender and masquerading recipient rewriting
#
S71
R$+                     $: $>72 $1                   sender/recipient common


#
#  convert pseudo-domain addresses to real domain addresses
#
S72

# pass <route-addr>s through


# do UUCP heuristics; note that these are shared with UUCP mailers


# leave these in .UUCP form to avoid further tampering






#
#  common sender and masquerading recipient rewriting
#
S73





#
#  header sender and masquerading recipient rewriting
#
S74
R$+                     $: $>72 $1                   sender/recipient common

# do special header rewriting







################################################################
# End of uucp rules
################################################################
=-=-=-=-=-=-=-=-
Clarence Gardner
Silicon Beach Communications
Software Products and Services Division

 
 
 

UUCP rules on Linux

Post by Andreas Kle » Mon, 24 Jul 1995 04:00:00


:
: We recently changed our mail server from SunOS to Linux 1.2.8, with
: sendmail 8.6.12/SMI-4.1.  I installed the smtp-only sendmail, and used
: our sendmail.cf from the Sun system.  This resulted in errors of

Sun's sendmail.cf isn't suitable for sendmail 8.6

Use sendmail 8.6's own config files to reach your goal.

Here is a short description, how I did ...

------------------------------------------------------------------------

(1) Go into sendmails source directory tree

        cd /usr/src/usr.sbin/sendmail/cf/cf

(2) Make the missing obj directory first, you need it later...

        mkdir obj

(3) Create a sendmail master configuration file (.mc file).
    Name it yourname.mc

        vi yourname.mc

(4) Contents of the yourname.mc file:

#-----------------------------------------------------------------------
divert(-1)
#
#  This is the prototype for a site with only a uucp connection
#  to the world, where smarthost and uucp relay are the same ...
#  Replace "yourname" with your machines nodename without domain
#  Replace "smarthost" with your uucp neighbours nodename without domain
#  i.e. here is myname "knobel" and my smarthost is "gomel", to which I'm
#  connected with uucp via dialup modem.

divert(-1)
VERSIONID(`yourname.mc 1.0')

include(`../m4/cf.m4')

OSTYPE(bsd4.4)

FEATURE(nodns)dnl

MAILER(local)dnl
MAILER(smtp)dnl
MAILER(uucp)dnl

define(`UUCP_MAX_SIZE', 2000000)dnl
define(`SMART_HOST', `uucp-dom:smarthost')dnl
define(`UUCP_RELAY', `uucp-dom:smarthost')dnl
#----------------------------------------------------------------------

(5) create the new sendmai.cf file, which will be stored under
    obj/yourname.cf, by typing

        make yourname.cf

(6) After that copy obj/yourname.cf to /etc/sendmail.cf

(7) It's up to you to browse through the systems global aliases
    file ((etc/aliases), where important mail aliases are stored.
    Remember, if you make any changes you have to rebuild the
    alaises database by typing:

        newaliases

(8) BTW: You do not need to create a frozen config file,
    since sendmail on FreeBSD 1.X isn't compiled with that
    option turned on.

(9) ``Hot files'' with more information (see sendmail src tree):
    FAQ KNOWNBUGS RELEASE_NOTES cf/README

--                              


     (at home)                          phone: +49 2173 3964 -161  fax: -222
apsfilter - irgendwie clever <--> sunsite.unc.edu /pub/Linux/Incoming/aps-49.tgz

 
 
 

UUCP rules on Linux

Post by Kari E. Hurt » Fri, 28 Jul 1995 04:00:00


?(9) ``Hot files'' with more information (see sendmail src tree):
?    FAQ KNOWNBUGS RELEASE_NOTES cf/README

And:    doc/op/op.me

 
 
 

1. rewriting of uucp rules for a mac mail system and uucp mail

 I am using a quickmail to unixmail gateway between a mac and a sun box
but I am  having probs when I reply to the users on the mac side. I am
assuming that it has to do with rewriting of the sendmail file to conform
to the needs of the mac side. I am interested in finding out if anyone
is using the same as I am in order to get assistance in the rewriting of
our sendmail file.

We are using ce's quickmail package as the mac mail system and the
gateway we are using is the qm/uucp gateway from IE.com.

Any help would be appreciated.

You can mail me at

2. Announce: JavaOne(sm) Sun's 1997 Worldwide Java Developer Conference(sm)

3. Assumptions & Rules for Transiting UUCP/SMTP Messages.

4. PkZip Win Library

5. A real fix for Berkeley rules bug (route-addrs vs. .UUCP domain)

6. Cray X-MP vs. C90

7. Proper rules for combined uucp/Internet networks

8. Help - A3010 can't find Hard Drive

9. Rule to Pass Undeliverable Mail *via UUCP* to Other Host

10. strategies for UUCP to internet host in sendmail rules

11. FROM rule rewrite for linux sendmail 8.8.7

12. Sendmail 8.8.3/Linux/no DNS/UUCP/SMTP

13. sendmail Linux/uucp