Hi,

I whipped this up because I needed this functionality.  I have no idea
if it's suitable for general use.  Here is what it does:

A new configuration value of 'relaydb' is added to /etc/imapd.conf as
follows:

relaydb: /etc/mail/access.db

Then, whenever someone successfully logs into POP or IMAP, their IP
address is added as a RELAY into the sendmail access db, using the db3
database routines.

It's not the most elegant solution but it worked fine for me, so you may
wish to include it in the main product (or not, in which case I'll keep
the patch).

The patch can be found at:

http://secondwivescafe.com/cyrus-imap-POPB4SMTP-patch.txt

Ron

Reply via email to