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 Database Database Engines/Servers Communications Email Post-Office POP3
Licenses GPL
Operating Systems Unix POSIX

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  24 Mar 2004 08:38
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  18 Jul 2003 10:45
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  04 Apr 2003 12:57
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  04 Apr 2003 12:58
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  13 Mar 2003 08:44
  • Rrelease-after

Changes: Updates to work with qpopper 4.0.5.

Rss Recent comments

Rcomment-before 11 Nov 2003 17:24 Rcomment-trans ncohafmuta Rcomment-after

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]

Rcomment-before 11 Nov 2003 17:22 Rcomment-trans ncohafmuta Rcomment-after

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.

Rcomment-before 15 Sep 2003 03:11 Rcomment-trans Rajaie Rcomment-after

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.

Rcomment-before 13 Sep 2003 04:44 Rcomment-trans Rajaie Rcomment-after

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]

No-screenshot

Project Spotlight

Snake Steak

A freshmeat API command line client and Python library.

No-screenshot

Project Spotlight

Web-bench

Simple web server benchark.