More fun and games with sendmail/m4

CB charles-brewster at ntlworld.com
Tue Mar 7 15:39:40 GMT 2006


This is a multi-part message in MIME format.

------=_NextPart_000_004B_01C641FD.598EF430
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I don=92t think I have anything in =91trusted users=92 yet =96 haven=92t =
got that far!

=20

I tried just now emailing out to Animesh Singh who responded on this =
thread
earlier, with the same =91-f charles-brewster at ntlworld.com=92 in the =
command
line,  but I got the mail returned:

The original message was received at Tue, 7 Mar 2006 16:43:09 GMT from
localhost.edcv [127.0.0.1]

=20

   ----- The following addresses had permanent fatal errors -----
<asingh at opensource.com>

    (reason: 550 relaying mail to opensource.com is not allowed)

=20

   ----- Transcript of session follows ----- ... while talking to
smtp.ntlworld.com.:

>>> DATA

<<< 550 relaying mail to opensource.com is not allowed 550 5.1.1
<asingh at opensource.com>... User unknown <<< 503 No recipients specified

=20

Any ideas why that should now be happening?

=20

Many thanks for your wise words

=20

Charles B

=20

=20

  _____ =20

From: Edmonds, Alan [mailto:Alan.Edmonds at t-mobile.net]=20
Sent: 07 March 2006 15:32
To: CB
Cc: freebsd-users at uk.freebsd.org
Subject: RE: More fun and games with sendmail/m4

=20

You will get a warning in your mail log about untrusted user if the user
sending the email isn't in the "trusted users" list in sendmail.cf.

=20

Glad to help.

=20

I also used smail3 when moving from a UUCP based system (smail 2.5) to a
network based system...  I liked smail3 at the time. =20

I dug into sendmail when the company I worked for was using it to =
transfer
mail between several sites.  It used a version of

sendmail that encrypted the traffic between each site.  I had to make
changes and fixes and we only had a binary.....

It was a challenge to say the least....

=20

Alan

=20

=20

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

YES!! =96 that works =96 you=92re a star Alan.

=20

I=92ll try a few other =93From =93 addresses and see what it will =
digest.

=20

Regards

Charles

=20


  _____ =20


From: freebsd-users-admin at uk.freebsd.org
[mailto:freebsd-users-admin at uk.freebsd.org] On Behalf Of Edmonds, Alan
Sent: 07 March 2006 15:21
To: CB
Cc: freebsd-users at uk.freebsd.org
Subject: RE: More fun and games with sendmail/m4

=20

You can use the '-f from_address' command line parameter when sending =
the
mail......

=20

sendmail -f john.doe at real_domain.com charles-brewster at ntlworld.com=20

=20

etc.

=20

Alan=20

=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_004B_01C641FD.598EF430
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.EmailStyle20
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle23
	{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'>I don&#8217;t think I have anything =
in &#8216;trusted
users&#8217; yet &#8211; haven&#8217;t got that =
far!<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'mso-element:para-border-div;border:none;border-bottom:solid =
windowtext 3.0pt;
padding:0cm 0cm 1.0pt 0cm'>

<p class=3DMsoNormal style=3D'border:none;padding:0cm'><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>I tried
just now emailing out to Animesh Singh who responded on this thread =
earlier,
with the same &#8216;-f <a =
href=3D"mailto:charles-brewster at ntlworld.com">charles-brewster at ntlworld.c=
om</a>&#8217;
in the command line, =A0but I got the mail =
returned:<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'>The original message was received =
at Tue,
7 Mar 2006 16:43:09 GMT from localhost.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'><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'>=A0=A0 ----- The following =
addresses had
permanent fatal errors ----- =
&lt;asingh at opensource.com&gt;<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'>=A0=A0=A0 (reason: 550 relaying =
mail to
opensource.com is not allowed)<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'>=A0=A0 ----- Transcript of session =
follows
----- ... while talking to =
smtp.ntlworld.com.:<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'>&gt;&gt;&gt; =
DATA<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal style=3D'border:none;padding:0cm'><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&lt;&lt;&lt;
550 relaying mail to opensource.com is not allowed 550 5.1.1 =
&lt;asingh at opensource.com&gt;...
User unknown &lt;&lt;&lt; 503 No recipients =
specified<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'>Any ideas why that should now be
happening?<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'>Many thanks for your wise =
words<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'>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 =
15:32<br>
<b><span style=3D'font-weight:bold'>To:</span></b> CB<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><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'>You will get a warning in your mail =
log
about untrusted user&nbsp;if the user sending the email isn't in the
&quot;trusted users&quot; list in =
sendmail.cf.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></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'>Glad to =
help.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></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 also used smail3 when moving from =
a UUCP
based system (smail 2.5)&nbsp;to a network based system...&nbsp; I liked =
smail3
at the time.&nbsp; </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 dug into sendmail when the =
company I
worked for was using it to&nbsp;transfer mail between several =
sites.&nbsp; It
used a version of</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'>sendmail that encrypted the traffic
between each site.&nbsp; I had to make changes and fixes and we only had =
a
binary.....</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'>It was a challenge to say the =
least....</span></font><o:p></o:p></p>

</div>

<div>

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

</div>

<div>

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

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></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 =
15:28<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'>YES!! &#8211; that works &#8211;
you&#8217;re a star 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'>I&#8217;ll try a few other =
&#8220;From
&#8220; addresses and see what it will =
digest.<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'>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<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>

<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'>
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><st1:place =
w:st=3D"on"><st1:City
 w:st=3D"on">Edmonds</st1:City></st1:place>, Alan<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 07 March 2006 =
15:21<br>
<b><span style=3D'font-weight:bold'>To:</span></b> CB<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><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'>You can use the '-f from_address' =
command
line parameter when sending the mail......</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></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'>sendmail -f <a
href=3D"mailto:john.doe at real_domain.com">john.doe at real_domain.com</a> <a
href=3D"mailto:charles-brewster at ntlworld.com">charles-brewster at ntlworld.c=
om</a> </span></font><o:p></o:p></p>

</div>

<div>

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

</div>

<div>

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

</div>

<div>

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

<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_004B_01C641FD.598EF430--





More information about the Ukfreebsd mailing list