[CentOS] Kind of OT: internal imap server

Les Mikesell lesmikesell at gmail.com
Thu Aug 31 12:34:34 UTC 2006


On Wed, 2006-08-30 at 22:09, Feizhou wrote:

> >>>> I probably might have missed them if they exist but are there any for 
> >>>> the helo string and client ip/rdns?
> >>> They are available to milters.  Here's an example of the perl
> >>> you might use in mimedefang:
> >>> http://www.mimedefang.org/node.php?id=18
> >>>
> >> Oh well, at least that confirms I cannot get the helo string to use 
> >> later with just sendmail rulesets.
> > 
> > No, it just means I'm too lazy to do it that way when it is
> > easy in perl.  Sendmail obviously has it in a macro or it couldn't
> > be instructed to pass it to milters.  Look around page SMM:08-46 of
> > this document for the list of macros:
> > http://sendmail.org/doc/sendmail-current/doc/op/op.pdf
> > 
> 
> i did...there is none for helo but i missed the client_$$$ bunch somehow.

The way I read it, $s holds the helo response when receiving.  You
could always peek at the source code to be sure.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the CentOS mailing list