Dear IMAP people

I have a POPBEFORESMTP question here, and wish to get your precious help and
advice.

We have a PC mail server, FreeBSD4.3, with IMAP200C installed as mail
demaeon.

Recently we are trying to put POPBEFORESMTP features on our little mail
server, here is the article about POPBEFORESMTP for your reference
http://www.iecc.com/pop-before-smtp.html
This article recommend to add some patches to file: pop_pass.c to
demaeon--qpopper. This patch enable POPBEFORESMTP feature on mail server.
However, there is one problem here for me. For we have installed IMAP2000C
already as our mail protocol, not qpopper. It seems not highly possible that
we just delete IMAP2000C, and reinstall qpopper. But we also would like to
use POPBEFORESMTP this function. In this case, what should we do? What file
of IMAP2000C is compatible to pop_pass.c of qpopper?
If there is a compatible file to pop_pass.c in IMAP2000C, then can we add
the following patch to it ?

The relevant description of patch  for pop_pass.c is as follows:

Modify the POP3 daemon
Here are modifications to qpopper version 2.4, the most popular Post Office
Protocol daemon. It's available in source from at no charge from
http://www.eudora.com/freeware/servers.html. (The current version is now
2.5, but this piece of code hasn't changed.)
These changes log a message like this each time a user logs in:

POP login for "username" at (remote.host.name) 000.000.000.000

The patches go at the end of the source file pop_pass.c.


*** pop_pass.c.orig Wed Dec 17 23:05:42 1997
--- pop_pass.c Thu Nov 20 01:14:59 1997
***************
*** 630,635 ****
--- 630,640 ----
      p->last_msg = 0;

      /*  Authorization completed successfully */
+ /* begin pop-before-smtp patch */
+     pop_log(p,POP_PRIORITY,
+     "(v%s) POP login for \"%s\" at (%s) %s",
+            VERSION,p->user,p->client,p->ipaddr);
+ /* end pop-before-smtp patch */
      return (pop_msg (p,POP_SUCCESS,
          "%s has %d message%s (%d octets).",
              p->user,p->msg_count, p->msg_count == 1 ? "" : "s",
p->drop_size));


Your reply will be highly appreciated.
Jennifer Zhao

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------

Reply via email to