Hi,

First of all, great package. I'm using it as part of the qmailtoaster distribution (http://www.qmailtoaster.org/).

However, I was wondering: is there a particular reason you restricted the "local-part" of the e-mail to 32 characters instead of the RFC 2821 specified limit of 64? It looks like domains are also limited to 64 instead of 255:
http://www.faqs.org/rfcs/rfc2821.html
(See "4.5.3.1 Size limits and minimums")

Further, when I created an alias with greater than 32 characters, valias simply truncated the extra characters without warning me that there was a problem, so I thought everything was ok!

Vadduser does warn, which is good.

---------
# vadduser -v
version: 5.4.17
...
$ vadduser -r '[EMAIL PROTECTED]'
Error: user name too long
---------
$ valias -i [EMAIL PROTECTED] [EMAIL PROTECTED]
# No error.  Must be ok.
$ valias -s mydomain.com
[EMAIL PROTECTED] -> [EMAIL PROTECTED]
# ^^^ Surprise!!
---------
$ valias -v
version: 5.4.17
---------
mysql> desc valias;
+-------------+-------------+------+-----+---------+-------+
| Field       | Type        | Null | Key | Default | Extra |
+-------------+-------------+------+-----+---------+-------+
| alias       | varchar(32) |      | MUL |         |       |
| domain      | varchar(64) |      |     |         |       |
| valias_line | text        |      |     |         |       |
+-------------+-------------+------+-----+---------+-------+
3 rows in set (0.00 sec)
---------

Josh
--
Joshua Hansen
Up Bear Enterprises
(541) 760-7685

!DSPAM:47fa9d3f120502146314658!

Reply via email to