Internal sendmail problems
O'Connor, Kevin
KevinO'Connor at merseyfire.gov.uk
Wed Jan 2 13:34:35 GMT 2008
This is a multi-part message in MIME format.
------_=_NextPart_001_01C84D44.36FEAF6B
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Lists back working I see or was it just me trying to use Outlook and=0D=0Am=
aking a mess of it.=0D=0A=0D=0A=0D=0ASendmail is not playing nicely deliver=
ing to the internal exchange=0D=0Aserver.=0D=0A=0D=0AOutput of uname -a=0D=
=0AFreeBSD MFRSWEB1.MERSEYFIRE.GOV.UK 6.2-RELEASE FreeBSD 6.2-RELEASE #0:=0D=
=0AFri Jan 12 11:05:30 UTC 2007=0D=0Aroot at dessler.cse.buffalo.edu:/usr/obj/=
usr/src/sys/SMP i386=0D=0A=0D=0A=0D=0AFirst check for internal MX records=0D=
=0A=0D=0AMFRSWEB1# dig @10.10.86.10 merseyfire.gov.uk -t MX=0D=0A=0D=0A; <<=
>> DiG 9.3.3 <<>> @10.10.86.10 merseyfire.gov.uk -t MX=0D=0A; (1 server fou=
nd)=0D=0A;; global options: printcmd=0D=0A;; Got answer:=0D=0A;; ->>HEADER=
<<- opcode: QUERY, status: NOERROR, id: 7145=0D=0A;; flags: qr aa rd ra; QU=
ERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1=0D=0A=0D=0A;; QUESTION SECTI=
ON:=0D=0A;merseyfire.gov.uk. IN MX=0D=0A=0D=0A;; ANSWER SE=
CTION:=0D=0Amerseyfire.gov.uk. 3600 IN MX 10=0D=0Aexchclu=
ster.merseyfire.gov.uk.=0D=0A=0D=0A;; ADDITIONAL SECTION:=0D=0Aexchcluster.=
merseyfire.gov.uk. 1200 IN A 10.10.0.229=0D=0A=0D=0A;; Query time: 1=
msec=0D=0A;; SERVER: 10.10.86.10#53(10.10.86.10)=0D=0A;; WHEN: Thu Dec 27 =
11:35:31 2007=0D=0A;; MSG SIZE rcvd: 79=0D=0A=0D=0AThat works=0D=0A=0D=0A=0D=
=0ACheck we know how to get to the host=0D=0A=0D=0AMFRSWEB1# traceroute exc=
hcluster=0D=0Atraceroute to exchcluster.MERSEYFIRE.GOV.UK (10.10.0.229), 64=
hops max,=0D=0A40 byte packets=0D=0A 1 10.10.82.14 (10.10.82.14) 0.406 m=
s 0.384 ms 0.378 ms=0D=0A 2 10.10.82.1 (10.10.82.1) 0.528 ms 0.534 ms =
0.526 ms=0D=0A 3 10.10.254.254 (10.10.254.254) 0.826 ms 0.846 ms 0.682=
ms=0D=0A 4 EXCHCLUSTER (10.10.0.229) 0.839 ms 0.704 ms 0.692 ms=0D=0A=0D=
=0AThat works=0D=0A=0D=0ADeliver mail=0D=0A=0D=0AForcing the attempted deli=
very of all messages with the command=0D=0A/usr/sbin/sendmail -v -q -C/etc/=
mail/sendmail.cf ..=20=0D=0ARunning /var/spool/mqueue/lBRC8gmg001204 (seque=
nce 1 of 1)=0D=0A<kevino at MERSEYFIRE.GOV.UK>... Connecting to=0D=0Aexchclust=
er.merseyfire.gov.uk. via esmtp...=0D=0A<kevino at MERSEYFIRE.GOV.UK>... Defer=
red: Name server:=0D=0Aexchcluster.merseyfire.gov.uk.: host name lookup fai=
lure=0D=0A=0D=0AAnd sadly that is the problem....=0D=0A=0D=0A=0D=0AGallery2=
is installed on this server and has no problems sending mail,=0D=0Ait see=
ms to be something to do with sendmail delivering internally=0D=0A(external=
is fine)and this problem is on every FreeBSD server but works=0D=0Afine on=
Ubuntu=0D=0A=0D=0AAny thoughts or ideas=0D=0ACurrent work round is to crea=
te a DNS alias for the exchange server and=0D=0Atell sendmail to send all m=
ail through that host (Has to be an alias as=0D=0Asendmail refuses to reso=
lve the real server name)=0D=0A=0D=0ARegards=0D=0AKevin=0D=0A=0D=0A_ _ _ _ =
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _=0D=0A=0D=
=0AThis e-mail and any files transmitted with it are confidential and inten=
ded=0D=0Asolely for the use of the individual or entity to whom they are ad=
dressed.=0D=0AIf you have received this e-mail in error please notify the o=
riginator of the message.=20=0D=0A=0D=0AAny views expressed in this message=
are those of the individual sender,=0D=0Aexcept where the sender specifies=
and with authority, states them to be=0D=0Athe views of Merseyside Fire & =
Rescue Service, (MFRS).=0D=0A=0D=0AIncoming and outgoing emails may be moni=
tored in line with current legislation.=0D=0A=0D=0ASteps have been taken to=
ensure that this email and attachments are=20=0D=0Afree from any virus. I=
n keeping with good computing practice the=20=0D=0Arecipient should ensure =
they are actually virus free.=0D=0A=0D=0Ahttp://www.merseyfire.gov.uk/=0D=0A=0D=
=0A
------_=_NextPart_001_01C84D44.36FEAF6B
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">=0D=0A<HTML>=0D=0A<HEAD>=0D=
=0A<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-asc=
ii">=0D=0A<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.=
5.7638.1">=0D=0A<TITLE>Internal sendmail problems</TITLE>=0D=0A</HEAD>=0D=0A=
<BODY>=0D=0A<!-- Converted from text/rtf format -->=0D=0A=0D=0A<P DIR=3DLTR=
><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">Lists back working I see or wa=
s it just me</FONT></SPAN><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri"> tryi=
ng to use Outlook and making a</FONT></SPAN><SPAN LANG=3D"en-gb"> <FONT FAC=
E=3D"Calibri">mess of it.</FONT></SPAN><SPAN LANG=3D"en-gb"></SPAN></P>=0D=0A=
<BR>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">Se=
ndmail is not playing nicely delivering to the internal exchange server.</F=
ONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"=
Calibri">Output of uname -a</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR=
><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">FreeBSD MFRSWEB1.MERSEYFIRE.GO=
V.UK 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 =
</FONT></SPAN><SPAN LANG=3D"en-gb"> </SPAN><A HREF=3D"mai=
lto:root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP"><SPAN LANG=3D"en=
-gb"><U><FONT COLOR=3D"#0000FF" FACE=3D"Calibri">root at dessler.cse.buffalo.e=
du:/usr/obj/usr/src/sys/SMP</FONT></U></SPAN><SPAN LANG=3D"en-gb"></SPAN></=
A><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri"> i386</FONT></SPAN></P>=0D=
=0A<BR>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri"=
>First check for internal MX records</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3D=
LTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">MFRSWEB1# dig @10.10.86.10 =
merseyfire.gov.uk -t MX</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LAN=
G=3D"en-gb"><FONT FACE=3D"Calibri">; <<>> DiG 9.3.3 <<>=
;> @10.10.86.10 merseyfire.gov.uk -t MX</FONT></SPAN></P>=0D=0A=0D=0A<P =
DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">; (1 server found)</F=
ONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"=
Calibri">;; global options: printcmd</FONT></SPAN></P>=0D=0A=0D=0A<P =
DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">;; Got answer:</FONT>=
</SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Cali=
bri">;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7145</=
FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D=
"Calibri">;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIO=
NAL: 1</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT=
FACE=3D"Calibri">;; QUESTION SECTION:</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3D=
LTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">;merseyfire.gov.uk. &n=
bsp; IN &n=
bsp; MX</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN L=
ANG=3D"en-gb"><FONT FACE=3D"Calibri">;; ANSWER SECTION:</FONT></SPAN></P>=0D=
=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">merseyfir=
e.gov.uk. 3600 IN &nbs=
p; MX 10 exchcluster.mersey=
fire.gov.uk.</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"=
><FONT FACE=3D"Calibri">;; ADDITIONAL SECTION:</FONT></SPAN></P>=0D=0A=0D=0A=
<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">exchcluster.mersey=
fire.gov.uk. 1200 IN A 10.10.0.22=
9</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=
=3D"Calibri">;; Query time: 1 msec</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLT=
R><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">;; SERVER: 10.10.86.10#53(10.=
10.86.10)</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><F=
ONT FACE=3D"Calibri">;; WHEN: Thu Dec 27 11:35:31 2007</FONT></SPAN></P>=0D=
=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">;; MSG SI=
ZE rcvd: 79</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"e=
n-gb"><FONT FACE=3D"Calibri">That works</FONT></SPAN></P>=0D=0A<BR>=0D=0A=0D=
=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">Check we know h=
ow to get to the host</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D=
"en-gb"><FONT FACE=3D"Calibri">MFRSWEB1# traceroute exchcluster</FONT></SPA=
N></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">=
traceroute to exchcluster.MERSEYFIRE.GOV.UK (10.10.0.229), 64 hops max, 40 =
byte packets</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"=
><FONT FACE=3D"Calibri"> 1 10.10.82.14 (10.10.82.14) 0.406=
ms 0.384 ms 0.378 ms</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR=
><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri"> 2 10.10.82.1 (10.1=
0.82.1) 0.528 ms 0.534 ms 0.526 ms</FONT></SPAN></P>=0D=0A=0D=
=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri"> 3 1=
0.10.254.254 (10.10.254.254) 0.826 ms 0.846 ms 0.682 ms</=
FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D=
"Calibri"> 4 EXCHCLUSTER (10.10.0.229) 0.839 ms 0.70=
4 ms 0.692 ms</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D=
"en-gb"><FONT FACE=3D"Calibri">That works</FONT></SPAN></P>=0D=0A=0D=0A<P D=
IR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">Deliver mail</FONT></S=
PAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri=
">Forcing the attempted delivery of all messages with the command /usr/sbin=
/sendmail -v -q -C/etc/mail/sendmail.cf .. </FONT></SPAN></P>=0D=0A=0D=0A<P=
DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">Running /var/spool/m=
queue/lBRC8gmg001204 (sequence 1 of 1)</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3D=
LTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri"><</FONT></SPAN><SPAN LAN=
G=3D"en-gb"></SPAN><A HREF=3D"mailto:kevino at MERSEYFIRE.GOV.UK"><SPAN LANG=3D=
"en-gb"><U><FONT COLOR=3D"#0000FF" FACE=3D"Calibri">kevino at MERSEYFIRE.GOV.U=
K</FONT></U></SPAN><SPAN LANG=3D"en-gb"></SPAN></A><SPAN LANG=3D"en-gb"><FO=
NT FACE=3D"Calibri">>... Connecting to exchcluster.merseyfire.gov.uk. vi=
a esmtp...</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><=
FONT FACE=3D"Calibri"><</FONT></SPAN><SPAN LANG=3D"en-gb"></SPAN><A HREF=
=3D"mailto:kevino at MERSEYFIRE.GOV.UK"><SPAN LANG=3D"en-gb"><U><FONT COLOR=3D=
"#0000FF" FACE=3D"Calibri">kevino at MERSEYFIRE.GOV.UK</FONT></U></SPAN><SPAN =
LANG=3D"en-gb"></SPAN></A><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">>.=
=2E. Deferred: Name server: exchcluster.merseyfire.gov.uk.: host name looku=
p failure</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><F=
ONT FACE=3D"Calibri">And sadly that is the problem....</FONT></SPAN></P>=0D=
=0A<BR>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri"=
>Gallery2 is installed on this server and has no problems sending mai=
l, it seems to be something to do with sendmail delivering internally (exte=
rnal is fine)and this problem is on every FreeBSD server but works fine on =
Ubuntu</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT=
FACE=3D"Calibri">Any thoughts or ideas</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=
=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">Current work round is to=
create a DNS alias for the exchange server and tell sendmail to send all m=
ail through that host (Has to be an alias as sendmail refuses to reso=
lve the real server name)</FONT></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN L=
ANG=3D"en-gb"><FONT FACE=3D"Calibri">Regards</FONT></SPAN></P>=0D=0A=0D=0A<=
P DIR=3DLTR><SPAN LANG=3D"en-gb"><FONT FACE=3D"Calibri">Kevin</FONT></SPAN>=
<SPAN LANG=3D"en-gb"></SPAN></P>=0D=0A=0D=0A<P DIR=3DLTR><SPAN LANG=3D"en-g=
b"></SPAN></P>=0D=0A=0D=0A<br><br><table bgcolor=3Dwhite style=3D"color:bla=
ck"><tr><td><br>_ _ _ _ _ _ _ _ _&n=
bsp;_ _ _ _ _ _ _ _ _ _ _=
_ _ _ _ _ _ _ _ _ _ =
;_ _ _ _ _ _ _ _<br>=0D=0A<br>=0D=0AThis=
e-mail and any files transmitted with i=
t are confidential and intended<br>=0D=0Asolely fo=
r the use of the individual or entity&nb=
sp;to whom they are addressed.<br>=0D=0AIf you&nbs=
p;have received this e-mail in error please&n=
bsp;notify the originator of the message. <br=
>=0D=0A<br>=0D=0AAny views expressed in this messa=
ge are those of the individual sender,<br>=0D=
=0Aexcept where the sender specifies and with=
authority, states them to be<br>=0D=0Athe vi=
ews of Merseyside Fire & Rescue Service,&=
nbsp;(MFRS).<br>=0D=0A<br>=0D=0AIncoming and outgoing emails=
may be monitored in line with current&n=
bsp;legislation.<br>=0D=0A<br>=0D=0ASteps have been taken&nb=
sp;to ensure that this email and attachments&=
nbsp;are <br>=0D=0Afree from any virus. In&n=
bsp;keeping with good computing practice the =
<br>=0D=0Arecipient should ensure they are actuall=
y virus free.<br>=0D=0A<br>=0D=0Ahttp://www.merseyfire.gov.uk/<br=
>=0D=0A<br>=0D=0A</td></tr></table></BODY>=0D=0A</HTML>
------_=_NextPart_001_01C84D44.36FEAF6B--
More information about the Ukfreebsd
mailing list