Qmail
[Top] [All Lists]

Re: OT: Google Groups: Problems with Email Delivery

To: qmail@list.cr.yp.to
Subject: Re: OT: Google Groups: Problems with Email Delivery
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Wed, 24 Jan 2007 12:45:25 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <1169663841.29541.TMDA@oaksage.dyndns.org>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <20070123131420987753.fef57c0a@strangecode.com> <20070124041654.GB331@aleut.local> <p06240601c1dd4d019bf9@chowder.foxhunters.org> <1169663841.29541.TMDA@oaksage.dyndns.org>
User-agent: Mutt/1.5.11
Richard Feldmann <rhun@oaksage.dyndns.org> wrote:
> > 
> > Somebody on this list gave me a script to use in my smtpd-run file, 
> > which would call qmail-smtpd, selectively invoking recordio depending 
> > on an environment variable.
> 
> Can that script be shared, Matt?  :)

It's a well-known technique.  You create a shellscript something like:

  #!/bin/sh
  exec ${RECORDIO} /var/qmail/bin/qmail-smtpd

Call it "qmail-smtpd-wrapper.sh".  Then in your /service/smtpd/run script, you
invoke that wrapper instead of qmail-smtpd directly.

When RECORDIO isn't explicitly set (by the tcpserver rules database, etc),
that variable expands to nothing and qmail-smtpd is invoked.  But you can do:

  1.2.3.4:allow,RECORDIO="/path/to/recordio"

... in your rules database to capture SMTP traffic from 1.2.3.4.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>