HDTenEightyP/NetNews huggingface dataset:
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.mail.sendmail
Subject: Re: Anyone built IDA Sendmail on a Sys V Machine
Date: 13 Nov 1992 08:40:23 +0100
Organization: INSA Informatique (Grasp), Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

Paul-Pomes@uiuc.edu writes:
>  Watch out for locking across fork().

Using fcntl locking generally works, another important point in to wach
for the direct/dirent stuff, and maybe if you have some sort of BSD
library on your system take great care on the #define's. One can easily
make a mistake and compile-in the wrong directory handling library, which
does not make Sendmail apparently failing, but "mailq" and queue runs
definitely don't work in that case.

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@grasp.insa-lyon.fr
  "Pour le bien-etre de tous, il est interdit de pisser dans le metro."
Newsgroups: comp.mail.sendmail
From: dlopata@stat.ufl.edu (David Lopata)
Subject: Forwarding Mail from DECs to Sun Server
Organization: Dept of Statistics, University of Florida
Date: Tue, 10 Nov 92 16:06:35 GMT

...

	We have a network of roughly 40 Suns and 4 Dozen DECs.  Using our
670 MP as a mail server, we are able to get all the Suns to forward their
mail by using the sendmail.cf provided for client machines.  Our DECs
receive mail from the server, but do not forward.

	Obviously, we would like the DECs to forward their unresolved mail
to the Sun 670.  I have tried using the same sendmail.cf from the sun clients,
and have attempted various hacks, to no avail.

	Does anyone have a DEC sendmail.cf that does this?

-----------------------------------------------------------------------------
David C. Lopata                                          dlopata@stat.ufl.edu
System Manager, Dept. of Statistics                           234A Floyd Hall
"Impeach Clinton!"                                     (904)392-1941 Ext. 233
Newsgroups: comp.mail.sendmail
From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO)
Subject: Re: Questions about IDA sendmail
Reply-To: Paul-Pomes@uiuc.edu
Organization: University of Illinois at Urbana
Date: Fri, 13 Nov 1992 16:02:04 GMT

sycheng@csie.nctu.edu.tw (Shiao-Yang Cheng) writes:

>    I've just installed IDA sendmail 5.65c in our Sun with SunOS 4.1.1. There
>  is a problem and I hope someone here can help me. Thanks.
>  
>    For example, our domain is csie.nctu.edu.tw. If I want to mail to 
>  a.b.nctu.edu.tw, I should be able to mail to someone@a.b . But in the 
>  new IDA sendmail environment, all rulesets cannot rewrite the mail address
>  from a.b to a.b.nctu.edu.tw.

This is a feature.  Consider what happens if you have a host called vse in
the cs department.  How would you distinguish between vse.cs.nctu.edu.tw
and vse.cs (a host in the Prague Center of Economics, Czechoslovakia)?
For this reason any host with a dot in the name is assumed to be fully
qualified.  Names without dots are qualified into the local domain.

A partial solution is to use domaintable to map simple names to fully
qualified names.  Resolving conflicts and keeping the table up to date
becomes painful at large sites.  For those I recommend biting the bullet
and using FQDNs.

/pbp
-- 
"A well-schooled electorate, being necessary to the security of a free State,
the right of the People to keep and read Books shall not be infringed."
	-- J. Neil Schulman
Newsgroups: comp.mail.sendmail
From: garyb@gcm.com (Gary Blumenstein)
Subject: IDA setup for UUCP-only
Organization: Greenwich Capital Markets, Inc.
X-Newsreader: Tin 1.1 PL5
Date: Thu, 12 Nov 1992 04:26:12 GMT

IDA+sendmail Users:

OK, I just compiled sendmail 5.67 and the IDA package on SVR4 and need 
some help in getting started with the m4, mc, cf and dbm files.
Could someone help me with the steps necessary to build the sendmail.cf?

I read the docs as well as the latest UNIX/World article and I'm still a 
bit fuzzy on the order of events here.  There's so many sample files under
several directory paths in the distribution, I'm confused.  What files
should I modify and in what order?

Many thanks for any help you can provide.

- Gary

P.S.

For my configuration, the mailhost on my network runs UUCP-only and connects
to another UUCP site that I'd like to be my mail gateway.  They are a 
registered domain while my site is not.  I am in the UUCP maps though.  
Eventually, I plan to register a domain and have someone maintain an MX 
record for me, but for now, I'd like to find the best configuration that 
would allow people to use domain style addressing to reach me.

-- 
Gary Blumenstein                          |   garyb@gcm.com        Internet
Unix Systems Administrator                |   uunet!gcm!garyb      UUCP
Greenwich Capital Markets                 |  +1(203) 625-7937      Voice 
600 Steamboat Road, Greenwich, CT  06830  |  +1(203) 629-9136      FAX
Newsgroups: comp.mail.sendmail
From: jeffo@uiuc.edu (J.B. Nicholson-Owens)
Subject: How do you make old queued mail send?
Reply-To: jeffo@uiuc.edu (J.B. Nicholson-Owens)
Organization: University of Illinois at Urbana
Date: Sat, 7 Nov 1992 07:56:29 GMT

If a system crashes and leaves a few pieces of mail in the queue (and after  
bringing the system back up the queue says that the hosts are "unreachable" or  
"host name lookup failure") how do you get sendmail to go over the items in the  
queue and see if they are sendable (and send them if they are sendable)?

Thanks.
-- 
-- Jeff (jeffo@uiuc.edu)
-- NeXTmail welcome
Newsgroups: comp.mail.sendmail
From: williamm@zeus.swindon.rtsg.mot.com (Martin Williams)
Subject: Anyone built IDA Sendmail on a Sys V Machine
Keywords: Sendmail, IDA, SysV
Organization: Motorola Ltd., European Cellular Infrastructure Division
Date: Thu, 12 Nov 1992 17:23:52 GMT

Has anyone managed to build IDA Sendmail 6.56/1.4.4.1 on a
sytem V box, particularly the Motorola Delta/MPC series?

I am attempting this at the moment and have hit what seems to
be a rather nasty problem with the file daemon.c in that it
relies heavily on Berkley Interprocess Communication
primatives. The advice in the comments in this source
file suggest chucking this source away and starting from scratch!

Has anyone got any suggestions?

Thanks in advance
Martin

-- 
= Martin J.G. Williams  Systems/Network Administrator
= Motorola Ltd, European Cellular Infrastructure Division, Swindon, UK
= Tel +44 (0) 793 545255 E-Mail: williamm@swindon.rtsg.mot.com
= Fax +44 (0) 793 618714 Motorola Distributed E-Mail TUK755@email.mot.com
= --------------------------------------------------------------------
= "The Senior Wrangler is an amazingly fine example." said Ridcully,
= "Got the same urgent grasp of reality as a cardboard cut-out", 
= "Proud to have him on the team."
= - Reaper Man - Terry Pratchett - Discworld Series
= --------------------------------------------------------------------
Newsgroups: comp.mail.sendmail
From: schemers@leland.Stanford.EDU (Roland Schemers)
Subject: hiding the origin of a mailing list...
Organization: Distributed Computing Group, Stanford University
Date: Thu, 12 Nov 92 20:28:42 GMT

We have a big mailing list being setup for a conference in 93, and there
will eventually be thousands of people on it. What I need is a way to make
sure some bozo doesn't reply to the message and send out copies to everyone
on the list. So I need to find a way to modify the "To:" field so that
it doesn't say "To: some-list@inet93.stanford.edu" so when someone on the
list gets the message they wont know what the "internal" name of the list
is. We have about 5 people that should be able to send mail to this mailing
list.

The system config is:

  DECstation 5000/240
  Ultrix 4.2a
  Sendmail 5.65 
  /etc/aliases entry which points to a file containing everyone


Is there a way to modify sendmail.cf so that it modifies the "To:" field on
outgoing mail sent to this list? For example:

User A sends mail to:  

  big-list@inet3.stanford.edu

All the user's on the list receive the mail as being sent to:
 
"small-list@inet3.stanford.edu"

So if someone replys they will be replying to "small-list" and not the big one.

Thanks for any help!

Roland

-- 
Roland J. Schemers III              |            Networking Systems
Systems Programmer                  |            168 Pine Hall   (415)-723-6740
Distributed Computing Group         |            Stanford, CA 94305-4122
Stanford University                 |            schemers@Slapshot.Stanford.EDU
Newsgroups: comp.mail.sendmail
From: mmuegel@next3.corp.mot.com (Michael S. Muegel)
Subject: Problems with IDA on SunOS 4.1.3
Organization: Corporate Computer Services & Support, Motorola, Inc.
Date: Thu, 5 Nov 1992 05:13:44 GMT

I have been using 5.65c+IDA-1.4.4.1 on our two Internet gateways for
a few weeks now with very few complaints. In fact, it has helped us
to significantly improve the quality of our SMTP mail service.

So tonight it came time to upgrade one of our two internal WAN SMTP
gateways. Everything looked good for a few minutes until I started
seeing processes wth identifiers like this:

   -gethostbyname(pobox) failed, sleeping (sendmail)

Problem is, they never went away! It seemed random when a forked sendmail
server process would start to act like this but eventually enough did
that I had to kill the IDA sendmail daemon and start using the SunOS
daemon again.

In each case the lookup had failed on "pobox." Funny thing is, pobox is the 
name of the host! As I said, not all forked sendmail server processes 
exhibited this behavior. In fact, most did not. So mail was going through 
except for these "hung" processes.

I then tried to duplicate the problem on the other internal gateway. I could
not. I also have never seen the problem on the two external gateways. All
are running the same IDA binaries, compiled for SunOS 4.1.1.

So next I recompiled for 4.1.3 on that host. Still exhibited the same
behavior. The two external gateways are running 4.1.2 and the other
internal gateway I tried to get to exhibit the same behavior on is
running 4.1.1. All use SunOS named.

I know that the gethostbyname(pobox) call will work. Heck, I even
chunked out a little C code to prove it to myself. Some of these
forked processes just seem to somehow get in a state where it will
*never* work. I let one of the processes that was in this loop run
for over an hour.

Here is the code segment from daemon.c that causes the loop. I do not
see anything special about it:

     while ((hp = gethostbyname(hostbuf)) == NULL)
     {
             syslog(LOG_ALERT, "gethostbyname for %s failed", hostbuf);
             setproctitle("gethostbyname(%s) failed, sleeping", hostbuf);
             Xsleep(10);
     }

Any help would be MUCH appreciated. Thanks,
-Mike

-- 
+----------------------------------------------------------------------------+
| Michael S. Muegel                  | Internet:    mmuegel@mot.com          |
| UNIX Applications Startup Group    | Moto X.400:  X10090                   |
| Corporate Information Office       | Voice:       (708) 576-0507           |
| Motorola, Inc.                     | ... these are my opinions, honest ... |
+----------------------------------------------------------------------------+
Newsgroups: comp.mail.sendmail
From: sycheng@csie.nctu.edu.tw (Shiao-Yang Cheng)
Subject: Questions about IDA sendmail
Reply-To: sycheng@csie.nctu.edu.tw
Organization: Computer Science & Engineering, Chiao Tung U., Taiwan, ROC
X-Newsreader: TIN [version 1.1 PL6]
Date: Fri, 13 Nov 1992 11:21:36 GMT


  Hi :
  
    I've just installed IDA sendmail 5.65c in our Sun with SunOS 4.1.1. There
  is a problem and I hope someone here can help me. Thanks.
  
    For example, our domain is csie.nctu.edu.tw. If I want to mail to 
  a.b.nctu.edu.tw, I should be able to mail to someone@a.b . But in the 
  new IDA sendmail environment, all rulesets cannot rewrite the mail address
  from a.b to a.b.nctu.edu.tw.
  
    If you can help me, I'm very appreciated.
    
    Thanks in advance.
 
--
System Manager of Computer Center          |     Sincerely Yours
Computer Science & Information Engineering | Cheng, Hsiao-Yang (    )  
National Chiao Tung University             | sycheng@csie.nctu.edu.tw
Taiwan, Republic of China                  | sycheng@csunix.csie.nctu.edu.tw
Newsgroups: comp.mail.sendmail
From: ensink@prl.philips.nl (ensink mgb)
Subject: filtering, copying sendmail
Originator: ensink@prl.philips.nl
Organization: Philips Research Laboratories, Eindhoven, The Netherlands
Date: Wed, 11 Nov 1992 12:30:10 GMT



On our site we have a central mail machine. This machine an Ultrix
vax with sendmail handles all the mail traffic between our
machines and the world outside.

For logging purposes we would like to duplicate mail generated by
our users.
For security reasons we would restrict certain users to send mail
via the central machine.

Does anybody know how we can make a copy of mailmessages going through
sendmail on the mail machine?
Does anybody know how to prevent some users sending mail through
sendmail on the mail machine?


Thanks for any help,
-- 
Martin Ensink                                   Tel. +31 40744273
Philips Research Laboratories, Eindhoven the Netherlands
Email ensink@prl.philips.nl
X400  /PN=M.G.B.Ensink/O=research/PRMD=philips400/ADMD=400net/C=NL/
Newsgroups: comp.mail.sendmail
From: meyer@geomatic.no (Harald Martens Meyer)
Subject: Supress hostname in the "From:" line (SG)
Organization: Geomatic a.s, Norway.
Date: Fri, 13 Nov 1992 11:39:58 GMT

We've got 5 Silicon Graphics in our network. Mail seems to work OK,
part from this:

	- The From line looks like:
		From: user@hostname.geomatic.no

I'd like all the mail from our company to look the same:
		From: user@geomatic.no

Anybody know what to do in sendmail.cf to achieve this??

Thanks....

  2
HM
--
< Harald Martens Meyer    | Geomatic a.s      >
< Email:meyer@geomatic.no | PO.Box 165 Skoyen >
< Tel: +47 2 50 43 30     | N-0212 OSLO 2     >
< Tfx: +47 2 50 05 55     | NORWAY            >
Newsgroups: comp.mail.sendmail
From: barrett@daisy.ee.und.ac.za (Alan P Barrett)
Newsgroups: comp.mail.sendmail,comp.mail.uucp
Subject: Re: Use of precedence to determine UUCP grade
Date: 5 Nov 92 14:35:40 GMT
Article-I.D.: daisy.1datdsINNfe9
Organization: Dept. Elec. Eng., Univ. Natal, Durban, S. Africa
NNTP-Posting-Host: daisy.ee.und.ac.za

In article <1d6ov2INNg1v@uwm.edu>,
jgreco@csd4.csd.uwm.edu (Joseph E Greco) writes:
> Has anybody used the precedence in sendmail to determine uucp grades?

Smail3 can do this quite easily.  Much like sendmail, it starts by
translating the Precedence word to an internal one-character value,
controlled by a line like this in the config file:

    grades="special-delivery:9:air-mail:A:first-class:C:bulk:a:junk:n"

When it is time to choose a transport method, the grade can be used to
help make that decision, via lines like the following in a methods file.

    # send grades 'A' or better immediately (uux without the "-r" flag)
    uunet/*-A	immediate-uux-rmail-bang
    uunet	uux-rmail-bang

The transport definition file can refer to the mail grade letter,
passing it to uux's "-g" option, like this:

    uux-rmail-bang:
	[stuff deleted]
	cmd = "/usr/bin/uux -g$grade -a$uucp_sender -r - $host!rmail $(($user)$)",
	[stuff deleted]

    immediate-uux-rmail-bang:
	[stuff deleted]
	cmd = "/usr/bin/uux -g$grade -a$uucp_sender - $host!rmail $(($user)$)",
	[stuff deleted]

The standard (default) smail3 configuration does not include the part
about choosing whether or not to use the uux -r flag, but does include
the part about using the uux -g flag to set the grade.

--apb
Alan Barrett, Dept. of Electronic Eng., Univ. of Natal, Durban, South Africa
RFC822: barrett@ee.und.ac.za                    Bang: m2xenix!undeed!barrett
Newsgroups: comp.mail.sendmail
From: mcclure@mamba.cs.unm.edu (Brent mcclure)
Subject: Best choice: pathalias/sendmail or smail?
Organization: Computer Science Department, University of New Mexico
Distribution: na
Date: Mon, 9 Nov 1992 17:53:35 GMT


    We will soon be changing a new machine to be our major relay host
and are faced with some decisions about what software to use.  Our current
relay host is an internet SMTP relay for about 40 hosts on a local network
and is also a UUCP relay for about a dozen sites connected to it.

    Because of the UUCP connections we require some means of looking up
addresses in a pathalias database.  Our current machine does this by running
BSD4.3 sendmail that resolves to 'uumail' when appropriate. The new mail 
relay is to be a Decstation 5000/240 running Ultrix 4.2a.

    Basically the setup we have now works and we have no overwhelming 
desire to dump sendmail, however from what I have gleaned from some postings
and FAQ's we should probably find something more up-to-date that uumail.

In order to obtain the pathalias lookups it appears that we have the 
following choices:

    1. Patch the sendmail source using something like the 'uucpdomain'
       to get the pathalias capability directly in sendmail.

    2. Find some agent that sendmail can resolve to like 'uumail' that
       can do the pathalias lookups.  It appears that older versions of
       smail can be set up to do this.  One appeal of this choice is 
       that this will probably require the least hacking on our current 
       .cf file.  What are the recommended agents for doing this now? 

    3. Go with IDA sendmail.

    4. Dump sendmail all together and go with smail 3.

I don't really have enough insight to know right off which of these choices
might be the best.  I would appreciate any input or suggestions.

thanks, 
Brent McClure

Newsgroups: comp.mail.sendmail
From: irving@Happy-Man.com (Irving_Wolfe)
Subject: Handling Invalid Local User
Reply-To: Irving_Wolfe@Happy-Man.com
Organization: Happy Man Corp., Vashon Island, WA 98070-7399
Date: Sat, 7 Nov 1992 17:11:33 GMT

We are in a rural area and would like our electronic post office to
work more like a friendly, rural post office should.

The default handling of invalid local addresses (in the sendmail
NX5.67c distributed by Next) is to bounce the incoming mail with an
appropriate message and (with Op set) to send a headers-only copy
to postmaster.

Is there anything I can do _without_ starting from scratch with 
sendmail source code (which I don't want to do because I'd either 
have to hack in Next's netinfo aliases stuff or stop using netinfo 
for aliases, and because it's another package to support locally in 
limited time) that would let me change that behavior?  

At very least, I'd like the _whole_ message to go to postmaster, 
since these addressing errors are usually rather obvious to fix 
(people using firstname-lastname instead of firstname_lastname, 
assuming the existence of aliases like "info", or making simple 
spelling errors) and that will get the mail to the proper person 
more reliably than counting on the remote sender to know what to do 
himself.  Preferably, I'd like to do that, and send back a 
customized bounce message, with only the headers, informing the 
sender that his mail has been sent to postmaster to see if it can 
be delivered despite the invalid local address.  

(I have thought about the security implications and they are 
unimportant at our site.  Neither is the volume great.)  

Thanks!
 - Irving
-- 
 Irving_Wolfe@Happy-Man.com      Happy Man Corp.  206/463-9399 x101
 4410 SW Pt. Robinson Rd., Vashon Island, WA  98070-7399   fax x108
 We publish SOLID VALUE for the intelligent investor.   NextMail OK
Info free; sample $20.  Send POSTAL addrs: Solid-Value@Happy-Man.com
From: mizener@siemens.siemens.com (Jeff Mizener)
Newsgroups: comp.mail.sendmail
Subject: Configuring Sendmail for UUCP
Date: 6 Nov 92 21:49:26 GMT
Reply-To: mizener@siemens.siemens.com (Jeff Mizener)
Organization: Siemens Corp. Res. Inc., Princeton, NJ

I am yet another who has to try to configure sendmail for a non-pure
environment.

I have an IPC that is a node on our non-internet-connected company
network.  The network is used by people who don't need or want UNIX
mail or internet access.  Except me and some in my group.

I have a uucp connection to siemens here and from the outside world
I look like "jm@sead.siemens.com".  I'd like to make my sendmail
fix all outgoing (uucp-bound mail) with a Reply-To of name@sead....
I've messed about with this a whole lot but my job is to manage
projects, not to become a sendmail guru.

I'd like to enter into a one-on-one discussion with someone who can help me.

Any takers?  Paid consultants are welcome to apply.  

Please reply by mail to the address below as this system flushes news
faster than I can get around to reading it...

Cheers,

Jeff

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Jeff Mizener / Siemens Energy and Automation / Intelligent SwitchGear Systems
             / Raleigh, NC  919-365-2551     / jm@sead.siemens.com
From: grant@iva.k8.rt.bosch.de (Joseph C. Grant K8/IVA3 Tel. ++49-7121-35-2981)
Newsgroups: comp.mail.sendmail
Subject: Re: SunOS sendmail and OR flag
Date: 13 Nov 92 09:21:18 GMT
Reply-To: grant@iva.k8.rt.bosch.de
Organization: Robert Bosch GmbH., Reutlingen, Germany.

In article 26521@newsgate.sps.mot.com, embry@chdasic.sps.mot.com (Mike Embry) writes:
>Does anybody know what process sendmail is going through on a Sun when using the OR
>flag?  I'd like to have all mail from root in the form root@hostname.  This is 
>the default if you are running sendmail in the background daemon mode and are
>using sendmail.subsidiary.cf as your sendmail.cf.  However, when the OR flag (relay
>all mail to another host) is used sendmail seems to ignore the sendmail.cf file so
>all mail from daemons, etc is simply addressed to root.
>
>Any ideas, anyone?  Short of stop using the OR option?
>

As I understand it, the R option instucts SunOS sendmail to forward all mail
to the machine where the /usr/spool/mail directory is mounted from once it has
finished all other processing. So even if sendmail resolves the mail to the 
local mailer agent, SunOS takes the end product and forwards it to the machine 
name it finds in the mount command.

I would imagine that in your case, sendmail is resolving the mail to the local
mailer agent, and therfore only writing From: root in the header. It then hits
the R option and dutifully sends the message to the mail server and ignores the
program (P=) and argument vector template (A=) for the local agent - at least 
that is what I think happens here :-).. One possible solution might be to add 
a line to the S rule for the local agent telling it that if the mail is from 
root, then add @machinename i.e.

Mlocal, P=/bin/mail, F=rlsDFMmnP, S=10, R=20, A=mail -d $u

S10
Rroot	root<@$w>

Ruleset 4 should then defocus this to root@$w and just before /bin/mail -d $u
is called, the R option kicks in, grabs the mail, and sends the message to the 
mail server.

It works for me, however one thing I have learnt is that no two sendmail 
environments are identical :-)...

Joe.
  
---
Joe Grant.                                 Bosch Postmaster
Robert Bosch GmbH.                         Tel: +49-7121-352981
K8/IVA3, Postfach 1342,                    Fax: +49-7121-352687
7410 Reutlingen. Germany.                  E-mail: grant@rt.bosch.de

Newsgroups: comp.mail.sendmail
From: avolio@dco.DEC.COM (Frederick M. Avolio)
Subject: Re: return address and sendmail.cf
Keywords: help return-address sendmail
Reply-To: avolio@dco.DEC.COM (Frederick M. Avolio)
Organization: Digital Equipment Corp., Washington ULTRIX Resource Center
Distribution: comp.mail.sendmail
Date: Thu, 12 Nov 1992 19:55:38 GMT


It is a *feature*.  No, really...

Anyway, assuming you don't like that, look at the S= rules for the
mailer used for mail to the outside.  There is probably a rewrite rule
which changes local names to just your domain or tacks on your domain in
place of your hostname.

f