AW: [tpop3d-discuss]MySQL and dots before the @ sign

TPOP3@Globalplanets.net tpop3 at globalplanets.net
Mon, 26 Jul 2004 22:24:37 +0200


Dear Jakob,

thank you for this fast answer.=20

We are running the current TPOP3 version (1.5.3).

We can create accounts, users can perfect mail. In that way it's working
fine.

I've compiled the source code with this parameters:

./configure =96enable-auth-mysql =96enable-mbox-maildir =96enable-tls
=96with-openssl-path=3D/usr/local/ssl

make
make install


I'm running two TPOP3-Deamons one for TLS and one for usual Telnet =
protocol.

I do have two config files:

::::::::::::::
tpop3d.pop.conf.txt
::::::::::::::
listen-address: 0.0.0.0
timeout-seconds: 600
log-facility: log_authpriv
mailbox: bsd:/home2/maildirs/$(user)
auth-pam-enable: yes
auth-pam-mail-group: postfix
#
# MySQL authentication options
#
auth-mysql-enable: true
auth-mysql-mail-group: postfix
auth-mysql-database: database
auth-mysql-username: username
auth-mysql-password: password



::::::::::::::
tpop3d.tls.conf.txt
::::::::::::::
listen-address:
0.0.0.0;tls=3Dimmediate,/etc/tpop3d/server.crt,/etc/tpop3d/server.key
timeout-seconds: 600
log-facility: log_authpriv
mailbox: bsd:/home2/maildirs/$(user)
auth-pam-enable: yes
auth-pam-mail-group: postfix
#
# MySQL authentication options
#
auth-mysql-enable: true
auth-mysql-mail-group: postfix
auth-mysql-database: database
auth-mysql-username: username
auth-mysql-password: password


This is the select statement:=20

mysql> select * from popbox where domain_name=3D"efbs.net" and
local_part=3D"b.t";
+-------------+------------+---------------------------------+-----------=
-+
| domain_name | local_part |password_hash                    | mbox_name =
 |
+-------------+------------+---------------------------------+-----------=
-+
| efbs.net    | b.t        |598d4c200461b81522a3328565c25f7c | =
b.t@efbs.net=20
+-------------+------------+---------------------------------+-----------=
-+
1 row in set (0.00 sec)



The connect to the pop-server

Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK <508374e4b9f78ef99892b9f5692cec70@global002>
user b.t@efbs.net
+OK Tell me your password.
pass hallo
-ERR Lies! Try again!

After Changing local_part from b.t to bt it works.



Thank you for your help.


Kind regards,

Robert


-----Urspr=FCngliche Nachricht-----
Von: tpop3d-discuss-admin@lists.beasts.org
[mailto:tpop3d-discuss-admin@lists.beasts.org] Im Auftrag von Jakob =
Hirsch
Gesendet: Montag, 26. Juli 2004 18:58
An: TPOP3@Globalplanets.net
Cc: tpop3d-discuss@lists.beasts.org
Betreff: Re: [tpop3d-discuss]MySQL and dots before the @ sign

Dear Robert,

> we are running tpop3-server on fedora core 1. All works more or less =
fine.
> Unfortunately it isn't possible to create usernames with dots in it.
>
> t.p@xyz.com doesn't work. Never the less I can send mails to this user =
and
> the mail will be stored into the mailbox. Mailboxes without a dot in =
the
> local_part works fine.

What do you mean by "doesn't" work? Before you say you cannot even =
create
them.
Without further information it's hard to help you.

Version of tpop3d?
tpop3d.conf?
entry in the database? (select * from popbox where =
domain_name=3D"dom.ain"
and local_part=3D"user.with.dots")
Where do you encounter the error? What is the exact message/behaviour?

Guessing isn't much fun in such things...

_______________________________________________
tpop3d-discuss mailing list
tpop3d-discuss@lists.beasts.org
http://lists.beasts.org/mailman/listinfo/tpop3d-discuss