Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-23 Thread funkypunky drunky

Thank you Timo. You are great:)

2007/5/23, Timo Sirainen [EMAIL PROTECTED]:


On Mon, 2007-05-21 at 22:31 +0300, Timo Sirainen wrote:
 On Mon, 2007-05-21 at 09:21 -0400, [EMAIL PROTECTED]
 wrote:
  I started getting this message this morning: May 21 09:13:14 mail
  dovecot: imap-login: No authentication sockets found
..
 What Dovecot version? The error message means that Dovecot's login_dir
 (/var/run/dovecot/login) was cleaned. A few other people have been
 having this problem, but I haven't yet found out any bugs in Dovecot
 that would cause it. Except before v1.0.rc29 if you tried to start
 Dovecot while it was already running it would do this.

Actually I was wrong. I fixed it for dovecot -n and dovecot -a, but
actually trying to start Dovecot while it's already running will wipe
out the login directory. I'll go fix this for v1.0.1.





Re: [Dovecot] deliver rejection message

2007-05-23 Thread funkypunky drunky

Hi Timo would you like to add some localization for quota exceeded. I
cannot find a way to localize the message Quota Exceeded Most of my
clients dont know english. Maybe you may put these feature. Surely dovecot
becomes more universal.
Ps: I cannot modify the source codes. I am using compiled dovecot for some
reason.

2007/5/23, Daniel [EMAIL PROTECTED]:


2007. May 23., Timo Sirainen:
 Currently the typical rejection message is:

 -
 Your message was automatically rejected by Dovecot Mail Delivery
 Agent.

 The following reason was given:
 Quota exceeded.
 -

 Then there is MDN + message headers in other MIME parts. But of
 course there sucky clients that can't display MDNs and users get
 confused.

 Any suggestions how to improve this message? I'm not sure if the
 Dovecot Mail Delivery Agent even needs to be in there. How about
Probably you're better off excluding Dovecot program information from
this kind of bounces. See Postfix's Changelog[1]:

[...]
Major changes - delivery status notifications
-
[...]
[Incompat 20060806] Postfix no longer announces its name in delivery
status notifications.  Users believe that Wietse provides a free
help desk service that solves all their email problems.
[...]

 something like:

 -
 Your message to [EMAIL PROTECTED] was automatically rejected:
 Quota exceeded.

 See the attachment for the original message's headers.
 -

 And should I change this for v1.0.1 already?


[1] - ftp://postfix.cloud9.net/official/postfix-2.4.1.RELEASE_NOTES

--
Daniel



Re: [Dovecot] Will pay $500 towards a Dovecot feature

2007-05-23 Thread funkypunky drunky

Yeah it is a great idea. For example with a good plugin which is used in a
Webmail environment. Individual clients may submit spam mails to the email
server with these imap extension and it will create self control against
with the users of email server.

2007/5/23, Frank Cusack [EMAIL PROTECTED]:


On May 23, 2007 11:54:20 AM -0700 Marc Perkel [EMAIL PROTECTED] wrote:
 IMAP establishes a connection between the client and the server.
Wouldn't
 it be great if it could be a conduit to let custom Thunderbird plugins
 talk to custom server application over the IMAP interface? For example,
 personalized server settings. Suppose for example I want Thunderbird to
 edit my server side white lists or black lists or any other setting?
 Wouldn't it be nice if IMAP supported these changes? The connection is
 made. It's a secure connection that's been authenticated. Lets use it!

Sounds like a job for ACAP.

-frank



Re: [Dovecot] No authentication sockets found

2007-05-22 Thread funkypunky drunky

Hi Timo,
You said it was solved since 1.0.rc29 but i am using 1.0.0 . After i try to
start dovecot while dovecot is working i take below error

May 22 12:36:03 mailtest mail:err|error dovecot: imap-login: No
authentication sockets found
Maybe you can check this issue.
Thanx and best regards Timo.


2007/5/21, Timo Sirainen [EMAIL PROTECTED]:


On Mon, 2007-05-21 at 12:10 +0300, funkypunky drunky wrote:
 Hi stewart i can see these errors in my log if i try to start dovecot
while
 dovecot is working.
..
 May 21 11:59:39 mailtest mail:err|error dovecot: imap-login: No
 authentication sockets found

This should have been fixed already:

v1.0.rc29 2007-03-28  Timo Sirainen [EMAIL PROTECTED]

   - If Dovecot is tried to be started when it's already running,
don't
 delete existing auth sockets and break the running Dovecot





Re: [Dovecot] No authentication sockets found

2007-05-11 Thread funkypunky drunky

I have lived the same problem in my system. But not evrytime sometimes it
only happens when i restart dovecot while mta is working. I think postfix
(my mta) cannot connect the new authentication socket. If i need the
restarting dovecot, i restart postfix  too. It happens only for the above
situation.
Best regards


2007/5/11, Timo Sirainen [EMAIL PROTECTED]:


On Wed, 2007-05-09 at 10:59 -0400, Stewart Dean wrote:
 DC imap host was rebooted today 3 hours ago.  Any info on what this is
about?
..
 imap-login: No authentication sockets found
..
 Background: DC 1.0, invoked from /etc/rc.local during boot.  After
 stopping and restarting DC, things seem to work again. As per an old
 problem, I checked /var/run/dovecot, but it was empty with plenty of
 space.  FWIW, the owner/group for login dir (/var/run/dovecot) is
 dovecot:dovecot, perm 755, while /var/run/dovecot/login is root:dovecot,

The error message means that /var/run/dovecot/login directory or its
contents was deleted while Dovecot was running. I'd guess that you start
Dovecot too early and after startup another script goes and deletes the
entire /var/run/ directory. Or maybe that's done in background. Or
something..





Re: [Dovecot] dovecot-ldap and ldap_result() failed.

2007-05-01 Thread funkypunky drunky

Thanks for your comments. i will upgrade dovecot to 1.0.0 .It may solve the
problem. If it is solved, i will inform you.
Thanx everybody.


2007/5/1, Láďa [EMAIL PROTECTED]:


Yes, there were some LDAP-related fixes in RC32
(http://www.dovecot.org/list/dovecot-news/2007-April/42.html) I think
it
would worth a shoot.

   Láďa

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
 Behalf Of Charles Marcus
 Sent: Tuesday, May 01, 2007 12:07 PM
 To: dovecot@dovecot.org
 Subject: Re: [Dovecot] dovecot-ldap and ldap_result() failed.

 On 5/1/2007 funkypunky drunky ([EMAIL PROTECTED]) wrote:
  I am using postfix with dovecot 1.31

 I assume you mean 1.0rc31?

 Of course, it is recommended to now be using the release version, 1.0.0

 Not sure if that will fix this particular problem though, but it makes
 it easier for those who use LDAP to help...

 --

 Best regards,

 Charles




Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-04-05 Thread funkypunky drunky

Hi ralf;
In spite your incrediable help i cannot compile the plugin support of
dovecot. It means i have to use dovecot without imap quota extension. I feel
a little dummy but i cannot compile dovecot plugins. But if there is someone
who compile the dovecot plugins on aix with gcc, i am look forward to
receiving some help. Thanx for everything until now.
C u later.


2007/3/29, Ralf Becker [EMAIL PROTECTED]:


Hello funkypunky drunky,

this is an example how the script rewrite the command line when the
dovecot-imap binary is being linked:

1) Makefile calls libtool with:

  ../../libtool --tag=CC --mode=link
   /usr/local/src/mail/src/bin/dovecot-cc
   -qlanglvl=ansi -g -export-dynamic -bexpall -brtl
   -L/usr/local/lib -L/usr/local/lib -o imap
   cmd-append.o cmd-capability.o  cmd-check.o
   cmd-close.o cmd-copy.o  cmd-create.o cmd-delete.o
   cmd-examine.o cmd-expunge.o  cmd-fetch.o cmd-idle.o
   cmd-list.o  cmd-logout.o cmd-lsub.o  cmd-namespace.o
   cmd-noop.o  cmd-rename.o cmd-search.o cmd-select.o  cmd-sort.o
   cmd-status.o cmd-store.o  cmd-subscribe.o cmd-thread.o cmd-uid.o
   cmd-unselect.o cmd-unsubscribe.o client.o commands.o
   commands-util.o imap-expunge.o  imap-fetch.o imap-fetch-body.o
   imap-messageset.o imap-search.o  imap-sort.o imap-sync.o
   imap-thread.o  mail-storage-callbacks.o main.o  namespace.o
   ../lib-storage/register/libstorage-register.a
   ../../src/lib-storage/index/maildir/libstorage_maildir.a
   ../../src/lib-storage/index/mbox/libstorage_mbox.a
   ../../src/lib-storage/index/dbox/libstorage_dbox.a
   ../../src/lib-storage/index/libstorage_index.a
   ../../src/lib-index/libindex.a  ../lib-storage/libstorage.a
   ../lib-storage/subscription-file/libstorage_subscription_file.a
   ../lib-imap/libimap.a  ../lib-mail/libmail.a
   ../lib-dict/libdict.a  ../lib-charset/libcharset.a
   ../lib/liblib.a  ../lib/mountpoint.o  -liconv

2) libtool calls dovecot-cc with:

  /usr/local/src/mail/src/bin/dovecot-cc
   -qlanglvl=ansi -g -bexpall -brtl -o imap
   cmd-append.o cmd-capability.o cmd-check.o
   cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o
   cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-idle.o
   cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o
   cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o
   cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o
   cmd-unselect.o cmd-unsubscribe.o client.o commands.o
   commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
   imap-messageset.o imap-search.o imap-sort.o imap-sync.o
   imap-thread.o mail-storage-callbacks.o main.o namespace.o
   ../lib/mountpoint.o  -L/usr/local/lib
   ../lib-storage/register/libstorage-register.a
   ../../src/lib-storage/index/maildir/libstorage_maildir.a
   ../../src/lib-storage/index/mbox/libstorage_mbox.a
   ../../src/lib-storage/index/dbox/libstorage_dbox.a
   ../../src/lib-storage/index/libstorage_index.a
   ../../src/lib-index/libindex.a ../lib-storage/libstorage.a
   ../lib-storage/subscription-file/libstorage_subscription_file.a
   ../lib-imap/libimap.a ../lib-mail/libmail.a
   ../lib-dict/libdict.a ../lib-charset/libcharset.a
   ../lib/liblib.a -liconv

3) dovecot-cc calls /usr/bin/xlc with:

  /usr/bin/xlc
   -qlanglvl=ansi -g -bexpall -brtl -o imap
   cmd-append.o cmd-capability.o cmd-check.o
   cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o
   cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-idle.o
   cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o
   cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o
   cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o
   cmd-unselect.o cmd-unsubscribe.o client.o commands.o
   commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
   imap-messageset.o imap-search.o imap-sort.o imap-sync.o
   imap-thread.o mail-storage-callbacks.o main.o namespace.o
   ../lib/mountpoint.o -L/usr/local/lib
   ../lib-storage/register/libstorage-register.a
   ../../src/lib-storage/index/maildir/libstorage_maildir.a
   ../../src/lib-storage/index/mbox/libstorage_mbox.a
   ../../src/lib-storage/index/dbox/libstorage_dbox.a
   ../../src/lib-storage/index/libstorage_index.a
   ../../src/lib-index/libindex.a ../lib-storage/libstorage.a
   ../lib-storage/subscription-file/libstorage_subscription_file.a
   ../lib-imap/libimap.a ../lib-mail/libmail.a
   ../lib-dict/libdict.a ../lib-charset/libcharset.a
   ../lib/liblib.a -liconv
   ../lib-sql/libsql.a
   -bE:.libs/libstorage-register.exp
   -bE:.libs/libstorage_maildir.exp
   -bE:.libs/libstorage_mbox.exp
   -bE:.libs/libstorage_dbox.exp
   -bE:.libs/libstorage_index.exp
   -bE:.libs/libindex.exp
   -bE:.libs/libstorage.exp
   -bE:.libs/libstorage_subscription_file.exp

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-28 Thread funkypunky drunky

Hello Ralf,
Ohh thanks for your reply and i start to understand what is going on. You
tell everything very well. It is amazing. After i read your mail, I export a
variable
export LDFLAGS=-Wl,-brtl and now i find shared object files (.so) in
their proper places after compilation. At first glance everything seems ok
but when i tried to start dovecot
Edlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: rtld:
0712-001 Symbol i_malloc was referenced
 from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
   of the symbol was not found.
rtld: 0712-001 Symbol i_strdup was referenced
 from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
   of the symbol was not found.
rtld: 0712-001 Symbol default_pool was referenced
 from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
   of the symbol was not found.
rtld: 0712-001 Symbol mail_storage_get_mailbox_path was referenced
 from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
   of the symbol was not found.
rtld: 0712-001 Symbol i_info was referenced
 from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
   of the symbol was not found.
rtld: 0712-001 Symbol mountpoint_get was referenced
 from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
   of the symbol was not found.
rtld: 0712-001 Symbol i_error was referenced
 from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
   of the symbol was not found.
Additional errors occurred but are not reported.
Error: imap dump-capability process returned 89

This symbols are not found. Now i get happy that i see the same error
message as you but the thing that i cannot understand these .exp files. I
have these exp files in their places, and they are created by aix linker. (I
am using aix linker. IBM doesnt advice using gnu linker
http://www-128.ibm.com/developerworks/aix/library/au-gnu.html)
./dovecot-1.0.rc28/src/plugins/acl/.libs/lib01_acl_plugin.exp
./dovecot-1.0.rc28/src/plugins/convert/.libs/lib20_convert_plugin.exp
./dovecot-1.0.rc28/src/plugins/quota/.libs/lib10_quota_plugin.exp
./dovecot-1.0.rc28/src/plugins/imap-quota/.libs/lib11_imap_quota_plugin.exp
./dovecot-1.0.rc28
/src/plugins/lazy-expunge/.libs/lib02_lazy_expunge_plugin.exp
./dovecot-1.0.rc28/src/plugins/mail-log/.libs/lib20_mail_log_plugin.exp
./dovecot-1.0.rc28/src/plugins/trash/.libs/lib11_trash_plugin.exp
Do u mean that i have to point these exp files with linker flag -bexpall .

From your script i can not understand. Maybe you can give an example with

export LDFLAGS=bexpall bla bla
Thanx and best regards.

2007/3/28, Ralf Becker [EMAIL PROTECTED]:


Hello funkypunky drunky,

on AIX dovecot plugins (which are shared objects = .so) are a little bit
problematic. It is not enough to activate run time linking by using
-brtl and make the main program (dovecot) to be able to use shared
objects. When a share object does function calls back into the main
program, all these functions (=symbols) in dovecot have to be explicitly
exported. Otherwise you see signal 11 or so.

Because this is very fiddly, there is a linker flag -bexpall to export
all symbols of the main program (dovecot)... but this does seemingly not
work with symbols defined in static libraries (.a).

While dovecot build creates static libraries to keep the linker command
line small, but does *not* generate export files (.exp) containing the
libraries globals symbols, the compile time linker does not known
anything about them.
I think, if dovecot build would use libtool to create the libraries,
libtool would export the libraries symbols to fix this.

And this is, what my script does. It looks on the compiler command line
for library file (.a) and exports all global symbols to an .exp file.
The paths of these .exp files are appended to the original compiler
command line and so -bexpall knows about the globale symbols defined in
the libraries and is able to export them.

I don't know if this information is useful for you, because you're using
gcc. But if you are using AIX ld (instead of gnu ld) you have to deal
with this problem, I think.

Regards, Ralf

funkypunky drunky schrieb:
 Hi Ralf
 I check your script. But i cannot udnerstand what you  do. R u trying to
 export the library of the dovecot? I cannot go deeper.  Anyway would you
 like to tell what did you do with XLC compiler. Maybe i can setup the
 analogy of it when using gcc instead of XLC.
 Best regards.


 2007/3/27, Ralf Becker [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
:

 Hello!

 Have you tried to export all symbols defined in lib archives
generated
 while dovecot is build? I've had this problem on aix with xlC and
 solved
 it by writing an compiler script for doing