marek | 2 Jan 2010 23:06
Picon

Signup for DBMail Bug Tracker

I would need to signup for DBMail Bug Tracker to report bug, but it only
shows the message:

Invalid e-mail address.

Regards
Marv
Paul J Stevens | 3 Jan 2010 12:18
Picon
Favicon
Gravatar

Re: Signup for DBMail Bug Tracker


Apparently, /etc/resolv.conf is broken on the machine involved. I'll
notify the system administrators.

For the time being, I've disabled checking MX records for newly
registered users' addresses.

marek <at> manet.cz wrote:
> I would need to signup for DBMail Bug Tracker to report bug, but it only
> shows the message:
> 
> Invalid e-mail address.
> 
> Regards
> Marv
> 
> _______________________________________________
> DBmail mailing list
> DBmail <at> dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> 

--

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
Peter Rabbitson | 3 Jan 2010 15:37
Picon

Problems working with a non-local (tcp-reachable) mysql database

I filed a bug about a week ago [1], and I did some more tests and am still
mystified as to what could be causing this. I would like to know if someone
else has seen such problems before, it might be something as simple as
a misconfigured mysql on my part. All details and log excerpts are in the
bugreport.

[1] http://www.dbmail.org/mantis/view.php?id=824
Jorge Bastos | 3 Jan 2010 15:53
Picon

Re: Problems working with a non-local (tcp-reachable) mysql database

Hi peter,

> [1] http://www.dbmail.org/mantis/view.php?id=824

I'm with a bit of time today, and I saw:

Dec 25 20:38:57 Arzamas postfix/pipe[8407]: 4DACB17077F: to=<sales <at> <redacted>.net>, relay=dbmail-pipe, delay=18432, delays=18432/0.12/0/0.16, dsn=4.3.0, status=deferred (temporary failure. Command output: Dec 25 20:38:57 Arzamas dbmail-smtp[8411]: Error:[sql] dbmysql.c,db_query(+290): [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] [SELECT physmessage_id FROM dbmail_messages WHERE message_idnr = 3812926] Dec 25 20:38:57 Arzamas dbmail-smtp[8411]: Error:[db] db.c,db_get_physmessage_id(+341): error getting physmessage_id Dec 25 20:38:57 Arzamas dbmail-smtp[8411]: Error:[delivery] pipe.c,insert_messages(+545): failed to store temporary message. Dec 25 20:38:57 Arzamas dbmail-smtp[8411]: Error:[smtp] main.c,main(+343): insert_messages failed Dec 25 20:38:57 Arzamas dbmail-smtp[8411]: Warning:[smtp] main.c,main(+391): exit code [75] because something went wrong; turn up trace level for more detail )

And I see a query failing.

I see the version 2.2.11 on the tracker, can you update to the latest 2.2x version? I think I hit that query failing when I used 2.2x also, but if it is what I’m thinking, it was solved long time ago.

If possible update DBMail and tell us the feedback.

Jorge,

_______________________________________________
DBmail mailing list
DBmail <at> dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Paul J Stevens | 3 Jan 2010 16:09
Picon
Favicon
Gravatar

Re: Problems working with a non-local (tcp-reachable) mysql database

Jorge, Peter,

I don't believe there's a problem with the query.

Peter, try connection to the remove database using the mysql client
(mysql -h somehost...) and run the query mentioned below. That way you
will evade any dbmail issues.

My guess is this is a libmysqlclient versioning issue.

Jorge Bastos wrote:
> 
> 
> H i peter ,
> 
>> [1] http://www.dbmail.o rg/mantis/view.php?id=824
> <http://www.dbmail.org/mantis/view.php?id=824>
> 
> I ' m with a bit of time today, and I saw:
> 
> Dec 25 20:38:57 Arzamas postfix/pipe[8407]: 4DACB17077F: to=<sales <at> <
> redacted>.net>, relay=dbmail-pipe, delay=18432,
> delays=18432/0.12/0/0.16, dsn=4.3.0, status=deferred (temporary failure.
> Command output: Dec 25 * ** 20:38:57 Arzamas dbmail-smtp[8411]:
> Error:[sql] dbmysql.c,db_query(+290): [You have an error in your SQL
> syntax; check the manual that corresponds to your MySQL server version
> for the right syntax to use near '' at line 1] * [SELECT physmessage_id
> FROM dbmail_messages WHERE message_idnr = 3812926] Dec 25 20:38:57
> Arzamas dbmail-smtp[8411]: Error:[db] db.c,db_get_physm essage_id(+341):
> error getting physmessage_id Dec 25 20:38:57 Arzamas dbmail-smtp[8411]:
> Error:[delivery] pipe.c,insert_messages(+545): failed to store temporary
> message. Dec 25 20:38:57 Arzamas dbmail-smtp[8411]: Error:[smtp]
> main.c,main(+343): insert_me s sages failed Dec 25 20:38:57 Arzamas
> dbmail-smtp[8411]: Warning:[smtp] main.c,main(+391): exit code [75]
> because something went wrong; turn up trace level for more detail )
> 
> A nd I see a query failing.
> 
> I see the version 2.2.11 on the tracker, can you update to the latest
> 2.2x version? I think I hit that query failin g when I used 2.2x also,
> but if it is what I ’ m thinking, it was solved long time ago.
> 
> I f possible update DBMail and tell us the feedb ack.
> 
> J orge,
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DBmail mailing list
> DBmail <at> dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

--

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
Peter Rabbitson | 3 Jan 2010 16:39
Picon

Re: Problems working with a non-local (tcp-reachable) mysql database

Paul J Stevens wrote:
> Jorge, Peter,
> 
> I don't believe there's a problem with the query.
> 
> Peter, try connection to the remove database using the mysql client
> (mysql -h somehost...) and run the query mentioned below. That way you
> will evade any dbmail issues.
> 
> My guess is this is a libmysqlclient versioning issue.
> 

Nope, all queries are running fine standalone. In fact as you can see in the
full dbmail-util log in the bugreport, the same query runs *several times*
before actually failing.

Any other ideas on how to pin this down?
Paul J Stevens | 3 Jan 2010 17:23
Picon
Favicon
Gravatar

Re: Problems working with a non-local (tcp-reachable) mysql database

I don't have a clue. I use non-local tcp connections from dbmail-2.2 to
mysql servers (32bit) all the time without any problems like this.

Only thing I havent tested is connecting from a 32bit mysql client to a
64 bit mysql server....

Peter Rabbitson wrote:
> Paul J Stevens wrote:
>> Jorge, Peter,
>>
>> I don't believe there's a problem with the query.
>>
>> Peter, try connection to the remove database using the mysql client
>> (mysql -h somehost...) and run the query mentioned below. That way you
>> will evade any dbmail issues.
>>
>> My guess is this is a libmysqlclient versioning issue.
>>
> 
> Nope, all queries are running fine standalone. In fact as you can see in the
> full dbmail-util log in the bugreport, the same query runs *several times*
> before actually failing.
> 
> Any other ideas on how to pin this down?
> _______________________________________________
> DBmail mailing list
> DBmail <at> dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> 

--

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
Peter Rabbitson | 4 Jan 2010 14:42
Picon

Re: Problems working with a non-local (tcp-reachable) mysql database

Paul J Stevens wrote:
> I don't have a clue. I use non-local tcp connections from dbmail-2.2 to
> mysql servers (32bit) all the time without any problems like this.
> 
> Only thing I havent tested is connecting from a 32bit mysql client to a
> 64 bit mysql server....
> 
> 

Upgrading to 5.1 seems to make the issue disappear entirely. Now all I need
to know if mysql 5.1 is still a disaster a year after it was released. If it
performs acceptably - I'll just close the bug and move on.
Eric Hiller | 8 Jan 2010 01:58
Picon
Favicon

Forbid user from deleting folder.

I want to forbid the user from deleting or renaming a certain folder. According the IMAP specs I need to take away the right for:
x - delete mailbox (DELETE mailbox, old mailbox name in RENAME)

But I do not see this in ACL. Does dbmail support this and I am just looking in the wrong location?

Thanks!
-Eric

Hotmail: Free, trusted and rich email service. Get it now.
_______________________________________________
DBmail mailing list
DBmail <at> dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Paul J Stevens | 8 Jan 2010 10:12
Picon
Favicon
Gravatar

Re: Forbid user from deleting folder.

Eric Hiller wrote:
> I want to forbid the user from deleting or renaming a certain folder.
> According the IMAP specs I need to take away the right for:
> 
>    x - delete mailbox (DELETE mailbox, old mailbox name in RENAME)
> 
> But I do not see this in ACL. Does dbmail support this and I am just looking in the wrong location?

This particular permission is supported in dbmail-2.3+. But the owner of
a mailbox always has the 'a' permission (administer).

For dbmail-2.2 the 'd' - delete permission is used to control access
during the IMAP DELETE command. But again the owner of a mailbox always
has that right.

If you need to prevent deletion of a mailbox owned by a user, you need
to set the mailbox read-only in the dbmail_mailboxes table by setting
the permission field to 1 instead of 2.

--

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Gmane