More fun and games with sendmail/m4

CB charles-brewster at ntlworld.com
Tue Mar 7 14:53:43 GMT 2006


This is a multi-part message in MIME format.

------=_NextPart_000_0033_01C641F6.EE259B00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Alan

=20

The smtp.ntlworld.com mailserver has always accepted email sent out =
using
perl scripts from my MS Windows machine on the same LAN, not necessarily
with a =91From =91 address corresponding to a currently valid ntl email =
account.


=20

My broadband ISP =91adsl4less=92 (through which all =91net traffic =
normally goes,
unless I dial into the ntl account for testing purposes to see what an
outside user sees connecting to a website hosted from here) seems more
pernickety about mail going through their smtp. Also I=92d rather use a =
mail
routing scheme which didn=92t risk getting their advertising puff tacked =
on
the bottom of everything. Apart from anything else, I pay them more than
that for my broadband! =96 premium for the fixed IP and a MegaBit per =
second
on downloads I guess.

=20

How would I hack (for the time being) the sendmail.cf file to set a
different =91From =91 email address?

=20

Best

Charles B

=20

=20

  _____ =20

From: Edmonds, Alan [mailto:Alan.Edmonds at t-mobile.net]=20
Sent: 07 March 2006 14:03
To: CB
Subject: RE: More fun and games with sendmail/m4

=20

it could be your ISP (ntlworld.com) is accepting the mail, but dropping =
it
(silently) due to several anti-spam checks.

I've had email dropped if the From: or envelope from was an invalid =
(syntax)
or unknown domain.  Try setting your

>From address to charles-brewster at ntlworld.com and see if that works.

-----Original Message-----
From: CB [mailto:charles-brewster at ntlworld.com]
Sent: 07 March 2006 14:00
To: Edmonds, Alan
Cc: freebsd-users at uk.freebsd.org
Subject: RE: More fun and games with sendmail/m4

Thanks for your quick response Alan

=20

=91mailq =96v=92 gives: /var/spool/mqueue is empty

=91runq=92 not found

=91sendmail =96vq=92 gives: sendmail: option requires an argument =96q

(I gave it /var/spool/mqueue as an argument but it just came back with
=93Invalid time unit `/=92=94 over and over for each character in the =
pathname
string /var/spool/mqueue )

=20

/var/log/maillog contains:

Mar  7 00:00:00 euclid newsyslog[1035]: logfile turned over

Mar  7 03:02:04 euclid sendmail[1645]: k2732489001645: from=3Droot, =
size=3D345,
class=3D0, nrcpts=3D1, =
msgid=3D<200603070302.k2732489001645 at euclid.edcv>,
relay=3Droot at localhost

Mar  7 03:02:05 euclid sendmail[1693]: k27325Ok001693: from=3Droot, =
size=3D1809,
class=3D0, nrcpts=3D1, =
msgid=3D<200603070302.k27325Ok001693 at euclid.edcv>,
relay=3Droot at localhost

Mar  7 03:02:05 euclid sendmail[1651]: k27324Tg001651:
from=3D<root at euclid.edcv>, size=3D635, class=3D0, nrcpts=3D1,
msgid=3D<200603070302.k2732489001645 at euclid.edcv>, proto=3DESMTP, =
daemon=3DIPv4,
relay=3Dlocalhost.edcv [127.0.0.1]

Mar  7 03:02:05 euclid sendmail[1645]: k2732489001645: to=3Droot, =
ctladdr=3Droot
(0/0), delay=3D00:00:01, xdelay=3D00:00:01, mailer=3Drelay, pri=3D30345,
relay=3D[127.0.0.1] [127.0.0.1], dsn=3D2.0.0, stat=3DSent =
(k27324Tg001651 Message
accepted for delivery)

Mar  7 03:02:05 euclid sendmail[1696]: k27324Tg001651:
to=3D<root at euclid.edcv>, ctladdr=3D<root at euclid.edcv> (0/0), =
delay=3D00:00:00,
xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30874, relay=3Dlocal, =
dsn=3D2.0.0, stat=3DSent

Mar  7 03:02:05 euclid sendmail[1695]: k273256W001695:
from=3D<root at euclid.edcv>, size=3D2099, class=3D0, nrcpts=3D1,
msgid=3D<200603070302.k27325Ok001693 at euclid.edcv>, proto=3DESMTP, =
daemon=3DIPv4,
relay=3Dlocalhost.edcv [127.0.0.1]

Mar  7 03:02:05 euclid sendmail[1693]: k27325Ok001693: to=3Droot, =
ctladdr=3Droot
(0/0), delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Drelay, pri=3D31809,
relay=3D[127.0.0.1] [127.0.0.1], dsn=3D2.0.0, stat=3DSent =
(k273256W001695 Message
accepted for delivery)

Mar  7 03:02:05 euclid sendmail[1698]: k273256W001695:
to=3D<root at euclid.edcv>, ctladdr=3D<root at euclid.edcv> (0/0), =
delay=3D00:00:00,
xdelay=3D00:00:00, mailer=3Dlocal, pri=3D32338, relay=3Dlocal, =
dsn=3D2.0.0, stat=3DSent

Mar  7 10:15:44 euclid sendmail[2585]: k27AFVDt002585: lost input =
channel
from [222.161.183.70] to IPv4 after mail

Mar  7 10:15:44 euclid sendmail[2585]: k27AFVDt002585:
from=3D<cottage at corymore.com>, size=3D0, class=3D0, nrcpts=3D0, =
proto=3DSMTP,
daemon=3DIPv4, relay=3D[222.161.183.70]

Mar  7 11:55:56 euclid sendmail[2794]: k27Btu7g002794: from=3Droot, =
size=3D46,
class=3D0, nrcpts=3D1, =
msgid=3D<200603071155.k27Btu7g002794 at euclid.edcv>,
relay=3Droot at localhost

Mar  7 11:55:56 euclid sendmail[2795]: k27BtucY002795:
from=3D<root at euclid.edcv>, size=3D349, class=3D0, nrcpts=3D1,
msgid=3D<200603071155.k27Btu7g002794 at euclid.edcv>, proto=3DESMTP, =
daemon=3DIPv4,
relay=3Dlocalhost.edcv [127.0.0.1]

Mar  7 11:55:56 euclid sendmail[2794]: k27Btu7g002794:
to=3Dcharles-brewster at ntlworld.com, ctladdr=3Droot (0/0), =
delay=3D00:00:00,
xdelay=3D00:00:00, mailer=3Drelay, pri=3D30046, relay=3D[127.0.0.1] =
[127.0.0.1],
dsn=3D2.0.0, stat=3DSent (k27BtucY002795 Message accepted for delivery)

Mar  7 11:55:57 euclid sendmail[2797]: k27BtucY002795:
to=3D<charles-brewster at ntlworld.com>, ctladdr=3D<root at euclid.edcv> =
(0/0),
delay=3D00:00:01, xdelay=3D00:00:01, mailer=3Drelay, pri=3D30349,
relay=3Dsmtp.adsl4less.com. [62.89.140.251], dsn=3D2.0.0, stat=3DSent =
(Ok: queued
as 494532B2A65)

=20

The sendmail daemon is started  from rc.conf with the lines:

=20

sendmail_enable=3D"YES"

sendmail_flags=3D"-bd -q30m"

=20

Looking through the above, I=92ll try changing the outgoing mail =
=93smart host=94
setting to =91smtp.ntlworld.com=92 (my other ISP mail account) as I have =
that
working fine for emails sent out from perl scripts on my MS Windows =
machine
on the same LAN.

=20

Any further suggestions you might have would be much appreciated.

=20

Best regards

Charles B

=20

=20


  _____ =20


From: Edmonds, Alan [mailto:Alan.Edmonds at t-mobile.net]=20
Sent: 07 March 2006 12:34
To: CB
Subject: RE: More fun and games with sendmail/m4

=20

is there something in the outbound queue (try mailq -v)?

Try processing the outbound queue (runq or sendmail -vq).

what's in the mail log (/var/log/maillog)?

is the daemon started with -bd -q10m (process outbound queue every 10
minutes)?

-----Original Message-----
From: freebsd-users-admin at uk.freebsd.org
[mailto:freebsd-users-admin at uk.freebsd.org]On Behalf Of CB
Sent: 07 March 2006 12:09
To: freebsd-users at uk.freebsd.org
Subject: More fun and games with sendmail/m4

Hello again

=20

Using FreeBSD 5.3 I=92ve got sendmail-8.13.5 up and running as a daemon =
and am
able to use the shell prompt to send email to myself on the local =
machine as
root using commands like:

/usr/sbin/sendmail =96v root <sendstuff

where sendstuff is a text file with a test message.

=20

It works also if I send to root at euclid.edcv where =91euclid=92 is the =
name of
the box on the network and =91edcv=92 is the local domain name for my =
LAN.

=20

If I try to send the same message to the outside world, say to
charles-brewster at ntlworld.com , it looks as if sendmail is sending out, =
but
nothing is arriving. The =91-v=92 output is as follows:

=20

charles-brewster at ntlworld.com... Connecting to [127.0.0.1] via relay...

220 euclid.edcv ESMTP Sendmail 8.13.5/8.13.1; Tue, 7 Mar 2006 11:55:56 =
GMT

>>> EHLO euclid.edcv

250-euclid.edcv Hello localhost.edcv [127.0.0.1], pleased to meet you

250-ENHANCEDSTATUSCODES

250-PIPELINING

250-8BITMIME

250-SIZE

250-DSN

250-ETRN

250-DELIVERBY

250 HELP

>>> MAIL From:<root at euclid.edcv> SIZE=3D46

250 2.1.0 <root at euclid.edcv>... Sender ok

>>> RCPT To:<charles-brewster at ntlworld.com>

>>> DATA

250 2.1.5 <charles-brewster at ntlworld.com>... Recipient ok

354 Enter mail, end with "." on a line by itself

>>> .

250 2.0.0 k27BtucY002795 Message accepted for delivery

charles-brewster at ntlworld.com... Sent (k27BtucY002795 Message accepted =
for
delivery)

Closing connection to [127.0.0.1]

>>> QUIT

221 2.0.0 euclid.edcv closing connection

=20

=20

It looks to me as if sendmail is passing on the message to the local =
machine
but that it is not getting any further.

=20

I=92ve got this far by editing /etc/mail/sendmail.cf directly by hand, =
since I
can=92t get =91Build =96c=92 to work.

=20

I=92ve tried with and without a value after the DS in these sendmail.cf =
lines

# "Smart" relay host (may be null)

DSsmtp.adsl4less.com

=20

I=92ve got the sendmail source files unpacked in
/root/install_software/sendmail/sendmail-8.13.5 and I=92m running Build =
from
that directory logged in as root.

=20

When I try to create sendmail.cf using a .mc file copied to
/devtools/Site/site.config.m4 (just the standard FreeBSD offering from =
the
distro with a couple of edits to properly generate the changes hacked =
into
sendmail.cf) it throws up errors on the console beginning as follows:

=93Makefile=94, line 2: Error in archive specification: =93VERSIONID=94

=20

Line 2 in
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386
/libsm/Makefile is:

VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 =
21:15:09
gshapiro Exp $')

=20

Sending the console o/p of Build to a text file it looks as follows:

=20

Making all in:

/root/install_software/sendmail/sendmail-8.13.5/libsm

Configuration: pfx=3D, os=3DFreeBSD, rel=3D5.3-RELEASE, rbase=3D5,
rroot=3D5.3-RELEASE, arch=3Di386, sfx=3D, variant=3Doptimized

Clearing out existing
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386
/libsm tree

Using M4=3D/usr/bin/m4

Creating
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386
/libsm using
/root/install_software/sendmail/sendmail-8.13.5/devtools/OS/FreeBSD

Including
/root/install_software/sendmail/sendmail-8.13.5/devtools/Site/site.config=
.m4


Making dependencies in
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386
/libsm

No closing parenthesis in archive specification

Making in
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386
/libsm

No closing parenthesis in archive specification

*** Error code 1

=20

Stop in /root/install_software/sendmail/sendmail-8.13.5.

=20

To see what happened, I tried replacing the FreeBSD VERSIONID line in
devtools/Site/site.config.m4 with the one for BSD4.4 from the distro if
cf/cf

=20

VERSIONID($Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp =
$)

=20

but it throws the same error(s).

=20

Can anyone who is used to looking at these files spot anything
unusual-looking? Is there some variable or option I should be
setting/changing to get it to work?

=20

Does anybody have a sendmail m4 file for FreeBSD 5.3 which =
works/compiles
which they would be prepared to share for me to try to modify? Any =
pointers
to something suitable online?

=20

Needs are simple (I think) =96 to send/receive email across the LAN and
to/from the outside world. For external email I have two ISP mail =
accounts
which will accept smtp. I also have a couple of internet domain MX =
records
pointing to my IP address and would like to use these to set up and =
service
email addresses on those domains, but not necessarily immediately.

=20

Apologies for =96v mode.

Many thanks for any help.

=20

Charles Brewster

=20

=20


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please note: the text below is appended
automatically by my ISP to any mail routed
through their SMTP server. It should not
be interpreted as a personal endorsement.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

=20

=20




512k Broadband =A314.99 per month
Unlimited Downloads - No extra Costs
=A314.99 per month (inc. VAT)
Order Now  <http://www.adsl4less.com/> www.adsl4less.com=20

=20




512k Broadband =A314.99 per month
Unlimited Downloads - No extra Costs
=A314.99 per month (inc. VAT)
Order Now  <http://www.adsl4less.com/> www.adsl4less.com=20









512k Broadband £14.99 per month
Unlimited Downloads - No extra Costs
£14.99 per month (inc. VAT)
Order Now www.adsl4less.com

------=_NextPart_000_0033_01C641F6.EE259B00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hi =
Alan<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The smtp.ntlworld.com mailserver =
has
always accepted email sent out using perl scripts from my MS Windows =
machine on
the same LAN, not necessarily with a &#8216;From &#8216; address =
corresponding
to a currently valid ntl email account. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>My broadband ISP =
&#8216;adsl4less&#8217; (through
which all &#8216;net traffic normally goes, unless I dial into the ntl =
account
for testing purposes to see what an outside user sees connecting to a =
website
hosted from here) seems more pernickety about mail going through their =
smtp.
Also I&#8217;d rather use a mail routing scheme which didn&#8217;t risk =
getting
their advertising puff tacked on the bottom of everything. Apart from =
anything
else, I pay them more than that for my broadband! &#8211; premium for =
the fixed
IP and a MegaBit per second on downloads I =
guess.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>How would I hack (for the time =
being) the sendmail.cf
file to set a different &#8216;From &#8216; email =
address?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Best<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Charles =
B<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span lang=3DEN-US style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:Tahoma'>
Edmonds, Alan [mailto:Alan.Edmonds at t-mobile.net] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 07 March 2006 =
14:03<br>
<b><span style=3D'font-weight:bold'>To:</span></b> CB<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: More fun and =
games
with sendmail/m4</span></font><span lang=3DEN-US><o:p></o:p></span></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>it could be your ISP (ntlworld.com) =
is
accepting the mail, but dropping it (silently) due to several anti-spam =
checks.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>I've had email dropped if the From: =
or
envelope from was an invalid (syntax) or unknown domain.&nbsp; Try =
setting your</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>From address to <a
href=3D"mailto:charles-brewster at ntlworld.com">charles-brewster at ntlworld.c=
om</a>
and see if that works.</span></font><o:p></o:p></p>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> CB =
[mailto:<st1:PersonName
w:st=3D"on">charles-brewster at ntlworld.com</st1:PersonName>]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 07 March 2006 =
14:00<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Edmonds, Alan<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> <st1:PersonName =
w:st=3D"on">freebsd-users at uk.freebsd.org</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: More fun and =
games
with sendmail/m4</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your quick response =
Alan<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&#8216;mailq &#8211;v&#8217; gives:
/var/spool/mqueue is empty<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&#8216;runq&#8217; not =
found<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&#8216;sendmail &#8211;vq&#8217; =
gives:
sendmail: option requires an argument =
&#8211;q<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>(I gave it /var/spool/mqueue as an
argument but it just came back with &#8220;Invalid time unit =
`/&#8217;&#8221;
over and over for each character in the pathname string =
/var/spool/mqueue )<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
3.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>/var/log/maillog =
contains:<o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 00:00:00 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> newsyslog[1035]: logfile =
turned over<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:04 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1645]: =
k2732489001645:
from=3Droot, size=3D345, class=3D0, nrcpts=3D1,
msgid=3D&lt;200603070302.k2732489001645 at euclid.edcv&gt;, =
relay=3Droot at localhost<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:05 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1693]: =
k27325Ok001693:
from=3Droot, size=3D1809, class=3D0, nrcpts=3D1, =
msgid=3D&lt;200603070302.k27325Ok001693 at euclid.edcv&gt;,
relay=3Droot at localhost<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:05 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1651]: =
k27324Tg001651:
from=3D&lt;root at euclid.edcv&gt;, size=3D635, class=3D0, nrcpts=3D1,
msgid=3D&lt;200603070302.k2732489001645 at euclid.edcv&gt;, proto=3DESMTP,
daemon=3DIPv4, relay=3Dlocalhost.edcv =
[127.0.0.1]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:05 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1645]: =
k2732489001645:
to=3Droot, ctladdr=3Droot (0/0), delay=3D00:00:01, xdelay=3D00:00:01, =
mailer=3Drelay,
pri=3D30345, relay=3D[127.0.0.1] [127.0.0.1], dsn=3D2.0.0, stat=3DSent =
(k27324Tg001651
Message accepted for delivery)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:05 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1696]: =
k27324Tg001651:
to=3D&lt;root at euclid.edcv&gt;, ctladdr=3D&lt;root at euclid.edcv&gt; (0/0),
delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30874, =
relay=3Dlocal,
dsn=3D2.0.0, stat=3DSent<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:05 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1695]: =
k273256W001695:
from=3D&lt;root at euclid.edcv&gt;, size=3D2099, class=3D0, nrcpts=3D1,
msgid=3D&lt;200603070302.k27325Ok001693 at euclid.edcv&gt;, proto=3DESMTP,
daemon=3DIPv4, relay=3Dlocalhost.edcv =
[127.0.0.1]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:05 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1693]: =
k27325Ok001693:
to=3Droot, ctladdr=3Droot (0/0), delay=3D00:00:00, xdelay=3D00:00:00, =
mailer=3Drelay,
pri=3D31809, relay=3D[127.0.0.1] [127.0.0.1], dsn=3D2.0.0, stat=3DSent =
(k273256W001695
Message accepted for delivery)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 03:02:05 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[1698]: =
k273256W001695:
to=3D&lt;root at euclid.edcv&gt;, ctladdr=3D&lt;root at euclid.edcv&gt; (0/0),
delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D32338, =
relay=3Dlocal,
dsn=3D2.0.0, stat=3DSent<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 10:15:44 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[2585]: =
k27AFVDt002585: lost
input channel from [222.161.183.70] to IPv4 after =
mail<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 10:15:44 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[2585]: =
k27AFVDt002585:
from=3D&lt;cottage at corymore.com&gt;, size=3D0, class=3D0, nrcpts=3D0, =
proto=3DSMTP,
daemon=3DIPv4, relay=3D[222.161.183.70]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 11:55:56 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[2794]: =
k27Btu7g002794:
from=3Droot, size=3D46, class=3D0, nrcpts=3D1, =
msgid=3D&lt;200603071155.k27Btu7g002794 at euclid.edcv&gt;,
relay=3Droot at localhost<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 11:55:56 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[2795]: =
k27BtucY002795:
from=3D&lt;root at euclid.edcv&gt;, size=3D349, class=3D0, nrcpts=3D1,
msgid=3D&lt;200603071155.k27Btu7g002794 at euclid.edcv&gt;, proto=3DESMTP,
daemon=3DIPv4, relay=3Dlocalhost.edcv =
[127.0.0.1]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 11:55:56 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[2794]: =
k27Btu7g002794: to=3D<st1:PersonName
w:st=3D"on">charles-brewster at ntlworld.com</st1:PersonName>, =
ctladdr=3Droot (0/0),
delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Drelay, pri=3D30046, =
relay=3D[127.0.0.1]
[127.0.0.1], dsn=3D2.0.0, stat=3DSent (k27BtucY002795 Message accepted =
for delivery)<o:p></o:p></span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
3.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mar&nbsp; 7 11:55:57 <st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">euclid</st1:City></st1:place> sendmail[2797]: =
k27BtucY002795:
to=3D&lt;<st1:PersonName =
w:st=3D"on">charles-brewster at ntlworld.com</st1:PersonName>&gt;,
ctladdr=3D&lt;root at euclid.edcv&gt; (0/0), delay=3D00:00:01, =
xdelay=3D00:00:01,
mailer=3Drelay, pri=3D30349, relay=3Dsmtp.adsl4less.com. =
[62.89.140.251], dsn=3D2.0.0,
stat=3DSent (Ok: queued as 494532B2A65)<o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The sendmail daemon is started =
&nbsp;from
rc.conf with the lines:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>sendmail_enable=3D&quot;YES&quot;<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>sendmail_flags=3D&quot;-bd =
-q30m&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Looking through the above, =
I&#8217;ll try
changing the outgoing mail &#8220;smart host&#8221; setting to
&#8216;smtp.ntlworld.com&#8217; (my other ISP mail account) as I have =
that
working fine for emails sent out from perl scripts on my MS Windows =
machine on
the same LAN.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Any further suggestions you might =
have
would be much appreciated.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Best =
regards<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Charles =
B<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span lang=3DEN-US style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:Tahoma'>
Edmonds, Alan [mailto:Alan.Edmonds at t-mobile.net] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 07 March 2006 =
12:34<br>
<b><span style=3D'font-weight:bold'>To:</span></b> CB<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: More fun and =
games
with sendmail/m4</span></font><span lang=3DEN-US><o:p></o:p></span></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>is there something in the outbound =
queue
(try mailq -v)?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Try processing the outbound queue =
(runq or
sendmail -vq).</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>what's in the mail log =
(/var/log/maillog)?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>is the daemon started with -bd =
-q10m
(process outbound queue every 10 minutes)?</span></font><o:p></o:p></p>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
freebsd-users-admin at uk.freebsd.org =
[mailto:freebsd-users-admin at uk.freebsd.org]<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>CB<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 07 March 2006 =
12:09<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">freebsd-users at uk.freebsd.org</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> More fun and =
games with
sendmail/m4</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello again<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Using FreeBSD 5.3 I&#8217;ve got sendmail-8.13.5 up =
and
running as a daemon and am able to use the shell prompt to send email to =
myself
on the local machine as root using commands =
like:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>/usr/sbin/sendmail &#8211;v root =
&lt;sendstuff<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>where sendstuff is a text file with a test =
message.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>It works also if I send to <a =
href=3D"mailto:root at euclid.edcv">root at euclid.edcv</a>
where &#8216;<st1:place w:st=3D"on"><st1:City =
w:st=3D"on">euclid</st1:City></st1:place>&#8217;
is the name of the box on the network and &#8216;edcv&#8217; is the =
local
domain name for my LAN.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
3.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>If I try to send the same message to the outside =
world, say
to <a =
href=3D"mailto:charles-brewster at ntlworld.com">charles-brewster at ntlworld.c=
om</a>
, it looks as if sendmail is sending out, but nothing is arriving. The
&#8216;-v&#8217; output is as follows:<o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><st1:PersonName w:st=3D"on"><font size=3D2 =
face=3DArial><span
 =
style=3D'font-size:10.0pt;font-family:Arial'>charles-brewster at ntlworld.co=
m</span></font></st1:PersonName><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>...
Connecting to [127.0.0.1] via relay...<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>220 euclid.edcv ESMTP Sendmail 8.13.5/8.13.1; Tue, 7 =
Mar
2006 11:55:56 GMT<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt;&gt;&gt; EHLO =
euclid.edcv<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-euclid.edcv Hello localhost.edcv [127.0.0.1], =
pleased to
meet you<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-ENHANCEDSTATUSCODES<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-PIPELINING<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-8BITMIME<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-SIZE<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-DSN<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-ETRN<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250-DELIVERBY<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250 HELP<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt;&gt;&gt; MAIL From:&lt;root at euclid.edcv&gt; =
SIZE=3D46<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250 2.1.0 &lt;root at euclid.edcv&gt;... Sender =
ok<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt;&gt;&gt; RCPT To:&lt;<st1:PersonName =
w:st=3D"on">charles-brewster at ntlworld.com</st1:PersonName>&gt;<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt;&gt;&gt; DATA<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250 2.1.5 &lt;<st1:PersonName =
w:st=3D"on">charles-brewster at ntlworld.com</st1:PersonName>&gt;...
Recipient ok<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>354 Enter mail, end with &quot;.&quot; on a line by =
itself<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt;&gt;&gt; .<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>250 2.0.0 k27BtucY002795 Message accepted for =
delivery<o:p></o:p></span></font></p>

<p class=3DMsoNormal><st1:PersonName w:st=3D"on"><font size=3D2 =
face=3DArial><span
 =
style=3D'font-size:10.0pt;font-family:Arial'>charles-brewster at ntlworld.co=
m</span></font></st1:PersonName><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>... Sent
(k27BtucY002795 Message accepted for =
delivery)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Closing connection to =
[127.0.0.1]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt;&gt;&gt; QUIT<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>221 2.0.0 euclid.edcv closing =
connection<o:p></o:p></span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
3.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>It looks to me as if sendmail is passing on the =
message to
the local machine but that it is not getting any =
further.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;ve got this far by editing =
/etc/mail/sendmail.cf
directly by hand, since I can&#8217;t get &#8216;Build &#8211;c&#8217; =
to work.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;ve tried with and without a value after the =
DS in
these sendmail.cf lines<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'># &quot;Smart&quot; relay host (may be =
null)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>DSsmtp.adsl4less.com<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;ve got the sendmail source files unpacked in
/root/install_software/sendmail/sendmail-8.13.5 and I&#8217;m running =
Build
from that directory logged in as root.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>When I try to create sendmail.cf using a .mc file =
copied to
/devtools/Site/site.config.m4 (just the standard FreeBSD offering from =
the
distro with a couple of edits to properly generate the changes hacked =
into
sendmail.cf) it throws up errors on the console beginning as =
follows:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&#8220;Makefile&#8221;, line 2: Error in archive
specification: &#8220;VERSIONID&#8221;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Line 2 in =
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386/libsm/Makefile
is:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v =
1.29
2003/12/24 21:15:09 gshapiro Exp $')<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
3.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Sending the console o/p of Build to a text file it =
looks as
follows:<o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Making all in:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>/root/install_software/sendmail/sendmail-8.13.5/libsm<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Configuration: pfx=3D, os=3DFreeBSD, =
rel=3D5.3-RELEASE, rbase=3D5,
rroot=3D5.3-RELEASE, arch=3Di386, sfx=3D, =
variant=3Doptimized<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Clearing out existing
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386/libsm
tree<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Using M4=3D/usr/bin/m4<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Creating
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386/libsm
using =
/root/install_software/sendmail/sendmail-8.13.5/devtools/OS/FreeBSD<o:p><=
/o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Including =
/root/install_software/sendmail/sendmail-8.13.5/devtools/Site/site.config=
.m4
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Making dependencies in
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386/libsm<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>No closing parenthesis in archive =
specification<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Making in
/root/install_software/sendmail/sendmail-8.13.5/obj.FreeBSD.5.3-RELEASE.i=
386/libsm<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>No closing parenthesis in archive =
specification<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>*** Error code 1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-bottom:solid windowtext =
3.0pt;padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Stop in =
/root/install_software/sendmail/sendmail-8.13.5.<o:p></o:p></span></font>=
</p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>To see what happened, I tried replacing the FreeBSD
VERSIONID line in devtools/Site/site.config.m4 with the one for BSD4.4 =
from the
distro if cf/cf<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>VERSIONID($Id: generic-bsd4.4.mc,v 8.10 1999/02/07 =
07:26:02
gshapiro Exp $)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>but it throws the same =
error(s).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Can anyone who is used to looking at these files spot
anything unusual-looking? Is there some variable or option I should be
setting/changing to get it to work?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Does anybody have a sendmail m4 file for FreeBSD 5.3 =
which
works/compiles which they would be prepared to share for me to try to =
modify?
Any pointers to something suitable online?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Needs are simple (I think) &#8211; to send/receive =
email
across the LAN and to/from the outside world. For external email I have =
two ISP
mail accounts which will accept smtp. I also have a couple of internet =
domain
MX records pointing to my IP address and would like to use these to set =
up and
service email addresses on those domains, but not necessarily =
immediately.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Apologies for &#8211;v =
mode.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Many thanks for any =
help.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Charles Brewster<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Please note: the text below is appended<br>
automatically by my ISP to any mail routed<br>
through their SMTP server. It should not<br>
be interpreted as a personal endorsement.<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><br>
<br>
<br>
<strong><b><font color=3D"#669300" face=3D"Times New Roman"><span =
style=3D'color:
#669300'>512k Broadband =A314.99 per =
month</span></font></b></strong><br>
Unlimited Downloads - No extra Costs<br>
=A314.99 per month (inc. VAT)<br>
<strong><b><font face=3D"Times New Roman">Order Now <a
href=3D"http://www.adsl4less.com/"><font color=3D"#ff6000"><span =
style=3D'color:#FF6000'>www.adsl4less.com</span></font>
</a></font></b></strong><o:p></o:p></span></font></p>

</blockquote>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><br>
<br>
<br>
<strong><b><font color=3D"#669300" face=3D"Times New Roman"><span =
style=3D'color:
#669300'>512k Broadband =A314.99 per =
month</span></font></b></strong><br>
Unlimited Downloads - No extra Costs<br>
=A314.99 per month (inc. VAT)<br>
<strong><b><font face=3D"Times New Roman">Order Now <a
href=3D"http://www.adsl4less.com/"><font color=3D"#ff6000"><span =
style=3D'color:#FF6000'>www.adsl4less.com</span></font>
</a></font></b></strong><o:p></o:p></span></font></p>

</blockquote>

</div>

<BR>
<p><br><br><br>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font
color="#669933">512k 
Broadband &pound;14.99 per month</font></strong><br>
Unlimited Downloads - No extra Costs<br>
&pound;14.99 per month (inc. VAT)<br>
<strong>Order Now <a href=""http://www.adsl4less.com/><font
color="#FF6600">www.adsl4less.com</font> 
</a></strong></font> 
<BR></body>

</html>

------=_NextPart_000_0033_01C641F6.EE259B00--





More information about the Ukfreebsd mailing list