[Dovecot] Configuration of LMTP Reject Code

2011-02-21 Thread Petter Urkedal
Is it possible to change the reject codes from the Dovecot LMTP agent? In particular I would like to change the "550 5.1.1 <...> User doesn't exist." to a temporary failure, since we already validate email addresses on the mail front-end, and such errors are most likely due to a temporary glitch in

Re: [Dovecot] Configuration of LMTP Reject Code

2011-02-21 Thread Robert Schetterer
Am 21.02.2011 11:05, schrieb Petter Urkedal: > Is it possible to change the reject codes from the Dovecot LMTP agent? > In particular I would like to change the "550 5.1.1 <...> User doesn't > exist." to a temporary failure, since we already validate email > addresses on the mail front-end, and suc

[Dovecot] Rejected mails

2011-02-21 Thread sunhux G
I'm getting closer, now with SMTP permitted to whole of Internet to connect to my SMTP/postfix server & for my postfix server to connect out to public Internet on tcp 25 as well. I send emails from permitted domain's SMTP servers with "Receipt Acknowledgemt" & the ack returned said it was delivere

Re: [Dovecot] Rejected mails

2011-02-21 Thread Charles Marcus
On 2011-02-21 7:33 AM, sunhux G wrote: > === latest maillog == > Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute value: 0 > Feb 21 16:36:34 hostname postfix/smtpd[1372]: private/rewrite socket: > wanted attribute: transport > Feb 21 16:36:34 hostnam

Re: [Dovecot] Rejected mails

2011-02-21 Thread sunhux G
In /etc/postfix/master.cf: smtp inet n - n - - smtpd -v I just have to remove the "-v" & then restart postfix? I'll only get to do it tomorrow as it's night time now. Thanks Sun

Re: [Dovecot] Configuration of LMTP Reject Code

2011-02-21 Thread Petter Urkedal
On 2011-02-21, Robert Schetterer wrote: > you may study this > > unknown_hostname_reject_code (default: 450) > > The numerical Postfix SMTP server response code when the hostname > specified with the HELO or EHLO command is rejected by the > reject_unknown_helo_hostname restriction. > >

Re: [Dovecot] Rejected mails

2011-02-21 Thread Charles Marcus
On 2011-02-21 8:02 AM, sunhux G wrote: > In /etc/postfix/master.cf: > smtp inet n - n - - smtpd -v > > I just have to remove the "-v" & then restart postfix? correct... -- Best regards, Charles

[Dovecot] IMAP flags not being committed properly?

2011-02-21 Thread Janos Barbero
I'm afraid I can't give steps to reproduce this, but if someone's come across something like this, it might help me figure out what's going on. I run imapfilter/offlineimap to fetch mail from a gmail to a local maildir store, which I then access with alpine via dovecot (1.2.15). Here's the output

Re: [Dovecot] Best way to migrate versions and machines

2011-02-21 Thread Ed W
On 17/02/2011 15:29, Donny Brooks wrote: We are looking to migrate from our current mail server running dovecot-1.2.11-3 to a new mail server running the latest dovecot (2.0.9?). So this would not only be a version change but also a machine change. We currently use Maildir for storing mail and

Re: [Dovecot] Best way to migrate versions and machines

2011-02-21 Thread Donny Brooks
On 2/17/2011 9:29 AM, Donny Brooks wrote: We are looking to migrate from our current mail server running dovecot-1.2.11-3 to a new mail server running the latest dovecot (2.0.9?). So this would not only be a version change but also a machine change. We currently use Maildir for storing mail and

Re: [Dovecot] Best way to migrate versions and machines

2011-02-21 Thread Rick Romero
Quoting Ed W : On 17/02/2011 15:29, Donny Brooks wrote: We are looking to migrate from our current mail server running dovecot-1.2.11-3 to a new mail server running the latest dovecot (2.0.9?). So this would not only be a version change but also a machine change. We currently use Maildir

Re: [Dovecot] Best way to migrate versions and machines

2011-02-21 Thread Donny Brooks
On 2/21/2011 9:46 AM, Rick Romero wrote: Quoting Ed W : On 17/02/2011 15:29, Donny Brooks wrote: We are looking to migrate from our current mail server running dovecot-1.2.11-3 to a new mail server running the latest dovecot (2.0.9?). So this would not only be a version change but also a ma

[Dovecot] [Q] A mix-up between /%d/%u/ and /%d/%n for virtual users

2011-02-21 Thread J4K
Hi there, I have noticed I misconfigured a dovect 1.2.n server with virtual email. Mistakingly, I used /%d/%u/ for mail_location, but /%d/%n userdb: mail_location: maildir:/var/vmail/%d/%u/ userdb: driver: static args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=

Re: [Dovecot] Regenerating mdbox/sis

2011-02-21 Thread Daniel L. Miller
On 2/16/2011 8:21 AM, Timo Sirainen wrote: On 16.2.2011, at 2.35,wrote: It's apparent I have some level of corruption in my mailboxes - something to do with the combination of mdbox, sis, and zlib. I should note that I know I have a mix of compressed and raw messages - if that makes any dif

Re: [Dovecot] Best way to migrate versions and machines

2011-02-21 Thread Charles Marcus
On 2011-02-21 10:52 AM, Donny Brooks wrote: > I may end up upgrading the local copy to 2.0.9 before the move so they > will be similar. I would definitely do that first if it were me... makes it much easier to roll back if you need to. -- Best regards, Charles

[Dovecot] Segmentation fault running doveadm import

2011-02-21 Thread Maria Arrea
Hello. I have tried to restore a test user mailbox and I get a segmentation fault doveadm -D import -u ox...@us.es mdbox:/backup/bacula-restores/buzones/mysite/15/b1/ox101/ "" all /doveadm(entrega): Debug: Loading modules from directory: /usr/lib64/dovecot doveadm(entrega): Debug: Modu

Re: [Dovecot] Best way to migrate versions and machines

2011-02-21 Thread Ed W
Sounds similar to what I was thinking. I was just not sure if there was some unforeseen gotchas that others had dealt with before. The move to a new version is usually not that bad but I knew moving machines with versions could be hazardous. I may end up upgrading the local copy to 2.0.9 befo

[Dovecot] Problem with ldap / quotas

2011-02-21 Thread Nikolaos Milas
Hi, I am trying to enable per user quotas, but I get the following error: Feb 18 23:59:20 vmail dovecot: auth(default): ldap(tester,10.10.100.150): ldap_search((uid=tester)) failed: No such object It seems as if ldapsearch for username/password won't work with my new settings, but I can't

Re: [Dovecot] Best way to migrate versions and machines

2011-02-21 Thread Donny Brooks
On 2/21/2011 1:59 PM, Ed W wrote: Sounds similar to what I was thinking. I was just not sure if there was some unforeseen gotchas that others had dealt with before. The move to a new version is usually not that bad but I knew moving machines with versions could be hazardous. I may end up upgr

Re: [Dovecot] Rejected mails

2011-02-21 Thread sunhux G
When I login to take a look this morning, etc/postfix/master.cf already is non-verbose : smtp inet n - n - - smtpd So whatever I sent previously from maillog is captured based on non-verbose. Anything else I can provide? Should I reduce the debug_peer_l

Re: [Dovecot] Rejected mails

2011-02-21 Thread sunhux G
Sending outgoing emails from this dovecot/postfix server is Ok (ie emails received at destination) but incoming mails keep getting the logs below : smtp.myportaltech.com[202.6.163.31]:25: Connection timed out Feb 21 16:37:04 hostname postfix/smtp[1381]: 8B35C200060: to=, relay=none, delay=30, dela

Re: [Dovecot] How to disable imap of some user

2011-02-21 Thread 邓卫华
Hi, Pascal thanks, that's great. it's work in our test environment. but i have a problem in mail server. i have a user manage program of mail server, runing on mysql. it had a disableIMAP disablePOP3, disablesmtp column in user table. that's easy if i can modify password_query. i had

Re: [Dovecot] Rejected mails

2011-02-21 Thread sunhux G
Even if I'm inside the box itself & send emails to myself, it was not received too (despite that sending to external emails including gmail was Ok) : # mailx -s "tst to localhost" myunixid@localhost < /etc/hosts # mailx -s "tst to myportaltech" myuni...@myportaltech.com < /etc/hosts # mailx -s "ts

Re: [Dovecot] How to disable imap of some user

2011-02-21 Thread 邓卫华
Hi,all i have resolved this problem, when i am modify password_query parameter. password_query = SELECT username AS user,password FROM (select username,password,disableimap as imap ,disablepop3 as pop3,disablesmtp as smtp,disablesieve as sieve FROM mailbox WHERE username = '%u' AND a

Re: [Dovecot] Segmentation fault running doveadm import

2011-02-21 Thread Maria Arrea
Some more info: I am running dovecot 2.0.9 on Red Hat Enterprise Linux 5 Another question I would like to ask: I run the command doveadm import as "entrega" user (see dovecot -n output in my previous mail ). If I run the command as root also segfaults, and garbage is restored (mails with binary