Projects / qpopper-mysql

qpopper-mysql

qpopper-mysql is a patch to Qualcomm's qpopper POP3 daemon to enable it to do user authentication via a MySQL database, support virtual domains, support Maildir-style mailboxes, and log logins into a MySQL database for possible MTA SMTP authentication relaying use.

Tags
Licenses
Operating Systems

Recent releases

  •  24 Mar 2004 16:38

    Release Notes: A mail message of size 0 is skipped now. The maildir_get_flags(), maildir_put_flags(), and maildir_has_flags() functions were introduced to manipulate maildir status flags in message filenames. Only the 'S' flag is used and set, but other retrieved flags will be kept intact. The LAST command now works. In a Maildir/ message with no body, the inheader flag is reset, so the next message doesn't show as corrupted. The password field size in the example MySQL table structure was increased from 32 to 64. The docs were updated to say that mysql-popper.conf is not to be used with -f.

    •  18 Jul 2003 17:45

      Release Notes: This release adds a new MySQL field, MysqlLoginHostsField. to be able to login-restrict certain users to certain hosts on multiple POP box systems. It also implements an oldest-to-newest sort of the Maildir message list, and changes the flow of errored logins to the normal qpopper way to solve account probing. It fixes a rename() problem using Maildir over some NFS implementations, preferring now to use link()/unlink(), and fixes a problem with configure where failure to get the size for an unsigned long int resulted in success, but a failed compile.

      •  04 Apr 2003 20:58

        Release Notes: This release replaces all instances of the PATH_MAX variable with hard-coded 256, as PATH_MAX isn't included by all platforms (especially Solaris), causing failed compiles. README.MYSQL and README.MAILDIR have been updated with information on how to report a problem or bug. Note that this version patch only works with qpopper 4.0.5; if you need 4.0.3/4.0.4 support, get 0.9.1.

        •  04 Apr 2003 20:57

          Release Notes: This release replaces all instances of the PATH_MAX variable with hard-coded 256, as PATH_MAX isn't included by all platforms (especially Solaris), causing failed compiles. README.MYSQL and README.MAILDIR have been updated with information on how to report a problem or bug. Note that this version patch only works with qpopper 4.0.3/4.0.4; if you need 4.0.5 support, get 0.11.

          •  13 Mar 2003 16:44

            Release Notes: Updates to work with qpopper 4.0.5.

            Recent comments

            11 Nov 2003 17:24 ncohafmuta

            Re: Help needed
            Read the README.MYSQL file for instructions on how to report your problem, and email me directly, as instructed. More information is required.

            -Tony


            > Hi ,
            > I have been trying to patch my
            > qpopper4.0.5 with the lastest patch but
            > it ain'g working .
            > the patch worked fine and configuration
            > and instalation went without any problem
            > , but I am not able to establish a
            > connection on port 110.
            > when I telnet the server on port 110 ,I
            > have the following lines :
            > Trying 127.0.0.1...
            > Connected to localhost.
            > Escape character is '^]'.
            > Connection closed by foreign host.
            > and here is the logs , you can check
            > them :
            > Sep 13 14:40:24 mail2 popper[31329]:
            > popper: Server: child of first fork();
            > pid=31329 [main.c:384]
            > Sep 13 14:40:24 mail2 popper[31328]:
            > popper: Server: first fork();
            > child=31329; exiting [main.c:379]
            > Sep 13 14:40:24 mail2 popper[31330]:
            > popper: Server: child of second fork();
            > pid=31330 [main.c:414]
            > Sep 13 14:40:24 mail2 popper[31330]:
            > calling chdir() [main.c:427]
            > Sep 13 14:40:24 mail2 popper[31330]:
            > closing file descs 1024 to 0
            > [main.c:449]
            > Sep 13 14:40:24 mail2 popper[31330]:
            > opened stdin=0; stdout=1 stderr=2; i=0;
            > rslt=2; msg_out=0x8074db0 [main.c:474]
            > Sep 13 14:40:24 mail2 popper[31330]:
            > opened stream socket; sockfd = 5
            > [main.c:486]
            > Sep 13 14:40:24 mail2 popper[31330]: set
            > stream socket options; sockfd = 5
            > [main.c:503]
            > Sep 13 14:40:24 mail2 popper[31329]:
            > popper: Server: second fork();
            > child=31330; exiting [main.c:409]


            11 Nov 2003 17:22 ncohafmuta

            Re: qpopper + mysql + encrypt() function
            MYSQL's encrypt() function generates passwords the same as unix crypted ones, so you should choose the crypt password type in your mysql-popper.conf file.

            -Tony


            > Hi ,
            > I managed to patch my system with patch
            > , but I used to have a qmail patched
            > with popper and the database for the
            > users already exists , and the
            > encryption for the password is used
            > encrypt() function , it there a way to
            > benfit from this patch ?
            > please take into consideration that this
            > patch supports : MD5 , mysql encryption
            > , crypt for unix and clear text only.
            >
            >
            >
            > I appreciate any help .
            > regards.


            15 Sep 2003 03:11 Rajaie

            qpopper + mysql + encrypt() function
            Hi ,
            I managed to patch my system with patch , but I used to have a qmail patched with popper and the database for the users already exists , and the encryption for the password is used encrypt() function , it there a way to benfit from this patch ?
            please take into consideration that this patch supports : MD5 , mysql encryption , crypt for unix and clear text only.

            I appreciate any help .
            regards.

            13 Sep 2003 04:44 Rajaie

            Help needed
            Hi ,
            I have been trying to patch my qpopper4.0.5 with the lastest patch but it ain'g working .
            the patch worked fine and configuration and instalation went without any problem , but I am not able to establish a connection on port 110.
            when I telnet the server on port 110 ,I have the following lines :
            Trying 127.0.0.1...
            Connected to localhost.
            Escape character is '^]'.
            Connection closed by foreign host.
            and here is the logs , you can check them :
            Sep 13 14:40:24 mail2 popper[31329]: popper: Server: child of first fork(); pid=31329 [main.c:384]
            Sep 13 14:40:24 mail2 popper[31328]: popper: Server: first fork(); child=31329; exiting [main.c:379]
            Sep 13 14:40:24 mail2 popper[31330]: popper: Server: child of second fork(); pid=31330 [main.c:414]
            Sep 13 14:40:24 mail2 popper[31330]: calling chdir() [main.c:427]
            Sep 13 14:40:24 mail2 popper[31330]: closing file descs 1024 to 0 [main.c:449]
            Sep 13 14:40:24 mail2 popper[31330]: opened stdin=0; stdout=1 stderr=2; i=0; rslt=2; msg_out=0x8074db0 [main.c:474]
            Sep 13 14:40:24 mail2 popper[31330]: opened stream socket; sockfd = 5 [main.c:486]
            Sep 13 14:40:24 mail2 popper[31330]: set stream socket options; sockfd = 5 [main.c:503]
            Sep 13 14:40:24 mail2 popper[31329]: popper: Server: second fork(); child=31330; exiting [main.c:409]

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.