Postfix Problem [Was "Re: anybody have experience with thisoutfit?"]

Bill Campbell linux-sxs
Tue Jan 11 13:07:40 PST 2005


On Tue, Jan 11, 2005, Shannon Scott wrote:
>I use pop-before-smtp.
>
>http://popbsmtp.sourceforge.net/
>
>I am curious, how do the more knowledgeable folks on the list handle
>remote relay with PostFix?  

We've been using the WHOSON daemon for this for several years now, largely
because (a) it's simple, and (b) it works with multiple mail servers.
Basically the POP/IMAP servers notify a whoson server via udp or tcp when a
user successfully logs in, and the whoson server notes the IP address as
good for some specified period of time (ten minutes by default).

The main disadvantage I see with the pop before smtp solutions I've looked
at is that they only work when the POP/IMAP server is on the same system as
the MTA (postfix here).  This doesn't cut it when running distributed mail
systems where the MTA and POP/IMAP servers are on different machines.

One thing I figured out when I patched Courier-Imap to add whoson is that
it isn't sufficient to notify the server when someone logs in, because
frequently they stay logged on beyond the whoson timeout.  I now notify the
whoson server every time an IMAP command is received on an active
connection.

...

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``But how is this legal plunder to be identified? Quite simply. See if the
law takes from some persons what belongs to them, and gives it to other
persons to whom it does not belong. See if the law benefits one citizen at
the expense of another by doing what the citizen himself cannot do without
committing a crime.'' -- Frederic Bastiat, The Law


More information about the Linux-users mailing list