[Dovecot] Help needed on dovecot 2.0.13

2011-05-30 Thread गौरव जोशी
Hi,

We have just installed dovecot version 2.0.13 on our server. while load
testing we get below error in logs.

May 30 19:57:19 [My Server]dovecot: imap-login: Error: read(imap) failed:
Connection reset by peer
May 30 19:57:19 [My Server] dovecot: imap-login: Internal login failure
(pid=25816 id=1) (auth failed, 1 attempts):


Please help as we want to use this on live environment and if these tests
fails we can not move this server into live structure.

Have a nice time,
Gourav Joshi
Have a look at www.linuxquestions.in


[Dovecot] Admin access to shared mailboxes

2011-05-30 Thread Daniel Miller
Having enabled shared mailboxes - is there a way to provide access to 
all users' mailboxes by a given user?  Instead of having to manually 
provide ACL rights to every mailbox of every user?

--
Daniel



Re: [Dovecot] PAM config problem...

2011-05-30 Thread Juan Bernhard

El 27/05/2011 09:51, David Warden escribió:
> Someone else may have responded to this already but it looks like you have a 
> problem in the passdb section of your config. See my inline...
>
> On May 26, 2011, at 2:39 PM, Juan Bernhard wrote:
>
>> Hi,
>> I had some troubles with PAM configuration. I need to restrict imap
>> access to some users (and allow pop3 to all). I followed the wiki
>> example of using "args = %s" to use 2 pams configurations (one for imap
>> and another for pop3)
>> When I start the service, it starts, but when I try to auth its hangs
>> Here is the log:
>> May 26 15:16:09 claudia dovecot: master: Warning: Killed with signal 15
>> (by pid=15424 uid=0 code=kill)
>> May 26 15:16:10 claudia dovecot: master: Dovecot v2.0.13 starting up
>> May 26 15:16:24 claudia dovecot: auth: Debug: Loading modules from
>> directory: /usr/local/lib/dovecot/auth
>> May 26 15:16:24 claudia dovecot: auth: Fatal: pam: Unknown setting: %s
>> May 26 15:16:24 claudia dovecot: master: Error: service(auth): command
>> startup failed, throttling
>> May 26 15:16:59 claudia dovecot: pop3-login: Error: Timeout waiting for
>> handshake from auth server. my pid=15435, input bytes=0
>>
>> Is this option working? Im I missing somethin? I had the same proble in
>> Solaris (but i thought that was a solaris thing, solaris is ALWAYS diferent)
>>
>> here is my doveconf -n
>> # 2.0.13: /usr/local/etc/dovecot/dovecot.conf
>> # OS: Linux 2.6.18-238.9.1.el5 x86_64 CentOS release 5.6 (Final) ext3
>> auth_cache_size = 10 M
>> auth_debug = yes
>> base_dir = /var/run/dovecot/
>> disable_plaintext_auth = no
>> listen = *
>> login_greeting = Server ready.
>> mail_debug = yes
>> mail_location = maildir:/var/mail/%u:INDEX=~/
>> mail_plugins = quota
>> passdb {
>>  args = %s failure_show_msg=yes
> I think you want %s (service) after failure_show_msg=yes. At least the 
> default config file says that the PAM service comes after the key,value 
> config pars for args.
Doh!... Thanks you!! That solved my problem! Its seems easy when you
know what to do, hehe...

args = failure_show_msg=yes %s
Works. Thanks again
>>  driver = pam
>> }
>> plugin {
>>  quota = maildir:Cuota de correo
>>  quota_rule = *:storage=1G
>>  quota_rule2 = Trash:storage=+100M
>> }
>> protocols = imap pop3
>> ssl = no
>> ssl_cert = > ssl_key = > userdb {
>>  driver = passwd
>> }
>> protocol imap {
>>  imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags
>>  mail_plugins = quota imap_quota
>> }
>> protocol pop3 {
>>  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
>>  pop3_lock_session = yes
>>  pop3_uidl_format = %08Xv%08Xu
>> }
>>
>>
>> And the build options:
>> Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192
>> Mail storages: cydir maildir mbox mdbox raw sdbox shared
>> SQL drivers:
>> Passdb: checkpassword ldap pam passwd passwd-file shadow
>> Userdb: checkpassword ldap nss passwd prefetch passwd-file
>>
>>
>> Thanks, Juan.
>>
>>
>>
>>
>>
>>
>
>



Re: [Dovecot] Unknown setting: dbox_attachment_dir

2011-05-30 Thread Pascal Volk
On 05/30/2011 02:18 PM i...@tnde.org wrote:
> Starting Dovecot Imap: doveconf: Fatal: Error in configuration file
> /etc/dovecot/dovecot.conf line 89: Unknown setting: dbox_attachment_dir

,--[ conf.d/10-mail.conf:319-330 ]--
| ##
| ## Mail attachments
| ##
| 
| # sdbox and mdbox support saving mail attachments to external files, which
| # also allows single instance storage for them. Other backends don't support
| # this for now.
| 
| # WARNING: This feature hasn't been tested much yet. Use at your own risk.
| 
| # Directory root where to store mail attachments. Disabled, if empty.
| #mail_attachment_dir =
`--

Regards,
Pascal
-- 
The trapper recommends today: c01dcafe.1115...@localdomain.org


Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Timo Sirainen
On Mon, 2011-05-30 at 14:59 +0300, Timo Sirainen wrote:
> On Mon, 2011-05-30 at 13:52 +0200, Hanns Mattes wrote:
> 
> > is there a problem with the server, which is running this list, or do I
> > have an issue with my DNS-server?
> > 
> > mail:/ # host 193.210.130.67
> > Host 67.130.210.193.in-addr.arpa. not found: 3(NXDOMAIN)
> 
> The IP changed last Friday and the ISP is being slow in adding the
> reverse DNS..

Looks like they finally added it.




Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Hanns Mattes
Am 30.05.2011 15:12, schrieb Tom Hendrikx:
> On 30/05/11 15:00, Hanns Mattes wrote:
>> Am 30.05.2011 14:11, schrieb Henrik Larsson:
>>> If your are checking for reverse hostname and won't accept e-mails if
>>> this is not present you will reject a lot of legitimate mail.
>>
>> No problem here, using the Postfix-restriction
>> reject_unknown_reverse_client_hostname
>>
> 
> I just saw a complaint regarding some possible DNS issue on someone's
> mail server. The person who was asking around, had some issue with not
> receiving e-mails from a valid mailing list that he was subscribed to.
> 
> His name looked just like yours :)

:-)

Nevertheless: There WAS a DNS-Issue on someone's mail server. And
I'won't give up one of my most effective Anti-Spam measures, because an
ISP ist slow in adding a reverse DNS.

Yes, there is as risk of false positives, if you try to block spam
(though in this case, it is no false positive at all), but what is the
alternative? Stop blocking Spam? I don't think so.

Regards Hanns


Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Tom Hendrikx
On 30/05/11 15:00, Hanns Mattes wrote:
> Am 30.05.2011 14:11, schrieb Henrik Larsson:
>> If your are checking for reverse hostname and won't accept e-mails if
>> this is not present you will reject a lot of legitimate mail.
> 
> No problem here, using the Postfix-restriction
> reject_unknown_reverse_client_hostname
> 
> Regards Hanns
> 

I just saw a complaint regarding some possible DNS issue on someone's
mail server. The person who was asking around, had some issue with not
receiving e-mails from a valid mailing list that he was subscribed to.

His name looked just like yours :)

--
Regards,
Tom


Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Giles Coochey
On Mon, May 30, 2011 14:48, Nick Edwards wrote:
> On Mon, May 30, 2011 at 10:11 PM, Henrik Larsson
> wrote:
>
>
>
> This also stops more spam than the good mail it blocks, when people get
> blocked for this, they should complain to their ISP, why should we accept
> NON RFC compliant mail servers because the sys admin has not got around to
> reading dns 101?
>

If you can afford to block legitimate email (RFC compliant or not) in
order to reduce your spam then something is seriously wrong.

Regardless of how efficient you spam filters are, if they produce false
positives, then they're not usable at all.

If you disagree, then nere is a 100% guaranteed way to stop ALL your spam:

/etc/init.d/postfix stop

Regards,

Giles



Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Hanns Mattes
Am 30.05.2011 14:11, schrieb Henrik Larsson:
> If your are checking for reverse hostname and won't accept e-mails if
> this is not present you will reject a lot of legitimate mail.

No problem here, using the Postfix-restriction
reject_unknown_reverse_client_hostname

Regards Hanns


Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Nick Edwards
On Mon, May 30, 2011 at 10:11 PM, Henrik Larsson wrote:

> which leads to postfix complaining:
>>
>> May 30 13:28:39 mail postfix/smtpd[25014]: NOQUEUE: reject_warning: RCPT
>> from unknown[193.210.130.67]: 450 4.7.1 Client host rejected: cannot
>> find your reverse hostname, [193.210.130.67];
>> from= to= proto=ESMTP
>> helo=
>>
>
> If your are checking for reverse hostname and won't accept e-mails if this
> is not present you will reject a lot of legitimate mail.
>


This also stops more spam than the good mail it blocks, when people get
blocked for this, they should complain to their ISP, why should we accept
NON RFC compliant mail servers because the sys admin has not got around to
reading dns 101?

Yes I know some ISP dont care and shrug their shoulders, I tell the people
who complain to postmaster address to find an ISP who can set up their
networks and cares about their users!

My employer does not pay me to sit here and update the whitelist files every
15 minutes because of some ISP who doesn't care about their users sending
mail, and at my last employer a  couple of years ago, we did the sums, 92%
of spam stopped by rejecting no dns hosts! even here I still see it

mx-in1 ~$ cat maillog | grep -c "cannot find your hostname"
5328

mx-in2 ~$ cat maillog | grep -c "cannot find your hostname"
7041

in only 20 hours since logs rolled!!!


enjoy your spam :->


Re: [Dovecot] recipient delimiters and virtual users

2011-05-30 Thread Бак Микаел
Nick Edwards wrote:
> On Mon, May 30, 2011 at 9:05 PM, Jerry  wrote:
> 
>> On Mon, 30 May 2011 10:52:37 +1000
>> Nick Edwards  articulated:
>>
>>> (BTW I got this message in my spam folder  it must not like the
>>> dollar signs?)
>> Interesting! I hope this does not end up in the Spam folder also. Out
>> of morbid curiosity, did it give any indication why it was marked
>> "Spam"?
>>
>>
> It did, and I don't know why, gmail is pretty brain dead so could be
> anything. It must be the list triggering it?
> 

Sorry for the off topic comment.

My email provider (Yandex) is randomly placing email from Dovecot and
Postfix list in the spam folder. I have no idea why. Big providers has
lousy spam filter. Sometimes Gmail is doing the same.

Thought I'd let you know that I have the same problem.

Cheers,
Mikael


Re: [Dovecot] recipient delimiters and virtual users

2011-05-30 Thread Nick Edwards
On Mon, May 30, 2011 at 9:05 PM, Jerry  wrote:

> On Mon, 30 May 2011 10:52:37 +1000
> Nick Edwards  articulated:
>
> > (BTW I got this message in my spam folder  it must not like the
> > dollar signs?)
>
> Interesting! I hope this does not end up in the Spam folder also. Out
> of morbid curiosity, did it give any indication why it was marked
> "Spam"?
>
>
It did, and I don't know why, gmail is pretty brain dead so could be
anything. It must be the list triggering it?


[Dovecot] Unknown setting: dbox_attachment_dir

2011-05-30 Thread imap
Hi, I am trying to set up Dovecot with sdbox and sis (single instance
storage of attachments), however I get the following error when attempting
to start dovecot:

Starting Dovecot Imap: doveconf: Fatal: Error in configuration file
/etc/dovecot/dovecot.conf line 89: Unknown setting: dbox_attachment_dir

I'd appreciate help on getting this up and running. This is a virtual (for
the time being) server, running Centos, and Dovecot 2.

[root@localhost ~]# dovecot --build-options
Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192
Mail storages: cydir maildir mbox mdbox raw sdbox shared
SQL driver plugins: mysql postgresql sqlite
Passdb: checkpassword ldap pam passwd passwd-file shadow sql
Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql


[root@localhost ~]# dovecot -n
# 2.0.13: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-238.9.1.el5 x86_64 CentOS release 5.6 (Final)
auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
disable_plaintext_auth = no
mail_location = sdbox:~/dbox
mbox_write_locks = fcntl
passdb {
  driver = pam
}
ssl_cert = 

Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Henrik Larsson

which leads to postfix complaining:

May 30 13:28:39 mail postfix/smtpd[25014]: NOQUEUE: reject_warning: 
RCPT

from unknown[193.210.130.67]: 450 4.7.1 Client host rejected: cannot
find your reverse hostname, [193.210.130.67];
from= to= 
proto=ESMTP

helo=


If your are checking for reverse hostname and won't accept e-mails if 
this is not present you will reject a lot of legitimate mail.


Re: [Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Timo Sirainen
On Mon, 2011-05-30 at 13:52 +0200, Hanns Mattes wrote:

> is there a problem with the server, which is running this list, or do I
> have an issue with my DNS-server?
> 
> mail:/ # host 193.210.130.67
> Host 67.130.210.193.in-addr.arpa. not found: 3(NXDOMAIN)

The IP changed last Friday and the ISP is being slow in adding the
reverse DNS..




[Dovecot] OT: DNS-Problem with Mailnglist-Server

2011-05-30 Thread Hanns Mattes
Hi,

is there a problem with the server, which is running this list, or do I
have an issue with my DNS-server?

mail:/ # host 193.210.130.67
Host 67.130.210.193.in-addr.arpa. not found: 3(NXDOMAIN)

which leads to postfix complaining:

May 30 13:28:39 mail postfix/smtpd[25014]: NOQUEUE: reject_warning: RCPT
from unknown[193.210.130.67]: 450 4.7.1 Client host rejected: cannot
find your reverse hostname, [193.210.130.67];
from= to= proto=ESMTP
helo=


Regards Hanns


Re: [Dovecot] recipient delimiters and virtual users

2011-05-30 Thread Jerry
On Mon, 30 May 2011 10:52:37 +1000
Nick Edwards  articulated:

> (BTW I got this message in my spam folder  it must not like the
> dollar signs?)

Interesting! I hope this does not end up in the Spam folder also. Out
of morbid curiosity, did it give any indication why it was marked
"Spam"?

-- 
Jerry ✌
dovecot.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__