More fun and games with sendmail/m4

Edmonds, Alan Alan.Edmonds at t-mobile.net
Tue Mar 7 15:32:00 GMT 2006


This is a multi-part message in MIME format.

------_=_NextPart_001_01C641FC.470BBD55
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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!! - that works - you're a star Alan.

=20

I'll try a few other "From " 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





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



------_=_NextPart_001_01C641FC.470BBD55
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word" xmlns:st1 =3D=20
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1476" name=3DGENERATOR><!--[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 name=3D"City"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><o:SmartTagType=20
name=3D"place"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><o:SmartTagType=20
name=3D"PersonName"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><!--[if !mso]>
<STYLE>st1\:* {
	BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
	font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt =
90.0pt; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
P {
	FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: =
"Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle19 {
	COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle20 {
	COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle22 {
	COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-GB vLink=3Dpurple link=3Dblue>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
will get a warning in your mail log about untrusted user&nbsp;if the =
user=20
sending the email isn't in the "trusted users" list in=20
sendmail.cf.</FONT></SPAN></DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =
size=3D2>Glad=20
to help.</FONT></SPAN></DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =
size=3D2>I also=20
used smail3 when moving from a UUCP based system (smail 2.5)&nbsp;to a =
network=20
based system...&nbsp; I liked smail3 at the time.&nbsp; =
</FONT></SPAN></DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =
size=3D2>I dug=20
into sendmail when the company I worked for was using it =
to&nbsp;transfer mail=20
between several sites.&nbsp; It used a version of</FONT></SPAN></DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =

size=3D2>sendmail that encrypted the traffic between each site.&nbsp; I =
had to=20
make changes and fixes and we only had a binary.....</FONT></SPAN></DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =
size=3D2>It was=20
a challenge to say the least....</FONT></SPAN></DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =

size=3D2>Alan</FONT></SPAN></DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180262815-07032006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> CB=20
  [mailto:charles-brewster at ntlworld.com]<BR><B>Sent:</B> 07 March 2006=20
  15:28<BR><B>To:</B> Edmonds, Alan<BR><B>Cc:</B>=20
  freebsd-users at uk.freebsd.org<BR><B>Subject:</B> RE: More fun and games =
with=20
  sendmail/m4<BR><BR></FONT></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">YES!! =
&#8211; that works &#8211;=20
  you&#8217;re a star Alan.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I&#8217;ll =
try a few other=20
  &#8220;From &#8220; addresses and see what it will =
digest.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Regards<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Charles<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <DIV>
  <DIV class=3DMsoNormal style=3D"TEXT-ALIGN: center" =
align=3Dcenter><FONT=20
  face=3D"Times New Roman" size=3D3><SPAN lang=3DEN-US =
style=3D"FONT-SIZE: 12pt">
  <HR tabIndex=3D-1 align=3Dcenter width=3D"100%" SIZE=3D2>
  </SPAN></FONT></DIV>
  <P class=3DMsoNormal><B><FONT face=3DTahoma size=3D2><SPAN =
lang=3DEN-US=20
  style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">From:</SPAN></FONT></B><FONT=20
  face=3DTahoma size=3D2><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">=20
  freebsd-users-admin at uk.freebsd.org =
[mailto:freebsd-users-admin at uk.freebsd.org]=20
  <B><SPAN style=3D"FONT-WEIGHT: bold">On Behalf Of </SPAN></B><st1:City =

  w:st=3D"on"><st1:place w:st=3D"on">Edmonds</st1:place></st1:City>,=20
  Alan<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> 07 March =
2006=20
  15:21<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> =
CB<BR><B><SPAN=20
  style=3D"FONT-WEIGHT: bold">Cc:</SPAN></B> <st1:PersonName=20
  w:st=3D"on">freebsd-users at uk.freebsd.org</st1:PersonName><BR><B><SPAN=20
  style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> RE: More fun and games =
with=20
  sendmail/m4</SPAN></FONT><SPAN =
lang=3DEN-US><o:p></o:p></SPAN></P></DIV>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <DIV>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">You can use =
the '-f=20
  from_address' command line parameter when sending the=20
  mail......</SPAN></FONT><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
  <DIV>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">sendmail -f =
<A=20
  href=3D"mailto:john.doe at real_domain.com">john.doe at real_domain.com</A> =
<A=20
  =
href=3D"mailto:charles-brewster at ntlworld.com">charles-brewster at ntlworld.c=
om</A>=20
  </SPAN></FONT><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
  <DIV>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: =
Arial">etc.</SPAN></FONT><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
  <DIV>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Alan=20
  </SPAN></FONT><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: =
12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV></DIV><BR>
  <P><BR><BR><BR><FONT=20
  size=3D" face=3Derdana, Arial, Helvetica, sans-serif"><STRONG><FONT=20
  color=3D#669300>512k Broadband =A314.99 per =
month</FONT></STRONG><BR>Unlimited=20
  Downloads - No extra Costs<BR>=A314.99 per month (inc. =
VAT)<BR><STRONG>Order Now=20
  <A href=3D"http://www.adsl4less.com/"><FONT=20
  color=3D#ff6000>www.adsl4less.com</FONT>=20
</A></STRONG></FONT><BR></P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C641FC.470BBD55--




More information about the Ukfreebsd mailing list