[milters] Archive

Lists Index Date Thread Search

Article: 1115
From: Tyler G. Spires
Date: 2006-08-25 09:37:23 -0400
Subject: Milter Creation Question

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

This is a multi-part message in MIME format.

--Boundary_(ID_Q/pTLrgooQIeGWaAnNy6dQ)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

We have recently purchased milter-ahead for our SMTP gateway and it is
working great!

 

We are now looking to restrict the messages accepted by Sendmail through
a milter based on the results of another query to another server.

 

IE the SMTP gateways will "call ahead" (passing the MAIL FROM: & RCPT
TO: values) to our mailing list server to see if the recipient is a mail
group (list) and check to see if the sender is allowed to post to the
group.

 

I was wondering if you could offer some advice on how I could easily
build this milter.  I've looked at the source code for milter-ahead and
I'm sure I could come up with something, however, any advice you could
offer would probably aid me in my task.

 

We already have the daemon running that will return the status codes as
to if the user is allowed to post or not, I just need to integrate the
call in to a milter for sendmail.

 

Cheers,

Tyler

 


--Boundary_(ID_Q/pTLrgooQIeGWaAnNy6dQ)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

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

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	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;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We have recently purchased milter-ahead for our SMTP gateway
and it is working great!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We are now looking to restrict the messages accepted by
Sendmail through a milter based on the results of another query to another
server.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>IE the SMTP gateways will &#8220;call ahead&#8221; (passing
the MAIL FROM: &amp; RCPT TO: values) to our mailing list server to see if the
recipient
is a mail group (list) and check to see if the sender is allowed to post to the
group.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I was wondering if you could offer some advice on how I
could easily build this milter.&nbsp; I&#8217;ve looked at the source code for
milter-ahead and I&#8217;m sure I could come up with something, however, any advice
you could offer would probably aid me in my
task.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We already have the daemon running that will return the
status codes as to if the user is allowed to post or not, I just need to
integrate the call in to a milter for
sendmail.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Cheers,<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:City w:st="on"><st1:place
w:st="on"><font size=2
  face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Tyler</span></font></st1:place></st1:City><font
size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

--Boundary_(ID_Q/pTLrgooQIeGWaAnNy6dQ)--

Lists Index Date Thread Search