[Wylug-help] Sendmail config

Mike Gramshaw MikeG at viclabs.co.uk
Mon, 2 Jun 2003 18:08:54 +0100


On 2 Jun 2003, at 17:05, Jim Jackson wrote:

From:           	Jim Jackson <jj@comp.leeds.ac.uk>
To:             	Mike Gramshaw <MikeG@viclabs.co.uk>
Copies to:      	wylug-help@wylug.org.uk
Subject:        	Re: [Wylug-help] Sendmail config
Date sent:      	Mon, 2 Jun 2003 17:05:53 +0100 (BST)

>
>
> On Mon, 2 Jun 2003, Mike Gramshaw wrote:
>
> >
> > MAIL From:<jj@comp.leeds.ac.uk> SIZE=2276
> > RCPT To:<MikeG@[192.168.1.203]>
> > DATA - 63 lines, 2536 bytes.
> > QUIT - 0 sec. elapsed, connection closed Mon Jun  2 15:23:19 2003
>
> Thats the envelope, does it change the fields in mail header as well?
> i.e. is that what it looks like in To: field of your mail reader?
> How does your internal mail server do resolution,
> via DNS or via /etc/hosts (what does you nsswitch.conf file say?).
> 'Cos it looks like somewhere you machine can't find it's own canonical
> name.
>
> questions questions questions I know, but I don't know enough of your
> setup to do otherwise.
>
> Jim
We use local /etc/hosts for all internal look ups. I don't believe the
problem is with the internal mail server (runing under netware just to
complicate things!) becuase A) nothing has changed on that box, B)
if I telnet to port 25 (using ip_app or hostname) and send a message
this what appears in the log file:

Connection from 192.168.1.245, Mon Jun  2 17:41:24 2003
helo gramshaw.net
mail from:mike@gramshaw.net
rcpt to:mikeg@viclabs.co.uk
DATA - 1 lines, 7 bytes.

Log entry from internal box by telneting gateway box:

Connection from 192.168.1.245, Mon Jun  2 17:49:43 2003
EHLO coll.viclabs.co.uk
MAIL From:<mike@gramshaw.net> SIZE=10
RCPT To:<mikeg@[192.168.1.203]>
DATA - 8 lines, 317 bytes.

Entry from gateway boxes log for same transaction (gateway's clock
ist out!):

Jun  2 18:56:37 coll sendmail[2376]: h52HtdGV002376:
from=mike@gramshaw.net, size=10, class=0, nrcpts=1,
msgid=<200306021756.h52HtdGV002376@coll.viclabs.co.uk>,
proto=SMTP,
daemon=MTA, relay=arran [192.168.1.207]
Jun  2 18:56:37 coll sendmail[2386]: h52HtdGV002376:
to=mikeg@viclabs.co.uk, delay=00:00:10, xdelay=00:00:00,
mailer=esmtp,
pri=30010, relay=[192.168.1.203] [192.168.1.203], dsn=2.0.0,
stat=Sent
(Data received OK.)

Having run this test I am even more confused (is that possible?)
because most entries in gatways log show up as to as
user@ip_add. eg:

to <jim@[192.168.1.203]>


Thanks for your help so far

Mike