[Dovecot] Error delivery

Fabian von Romberg fromberg100 at hotmail.com
Fri Mar 1 16:57:17 EET 2013


Hi Steffen,

yes, /var/vmail/%d/%n/Maildir is owned by vmail:vmail (5000:5000).

I dont think there is a problem here as when the first mail was to be 
delivered, subfolders and files were created automatically under 
/var/vmail, for example: /var/vmail/mydomain.com/user

below is my conf in postfix to call deliver:

dovecot   unix  -       n       n       -       -       pipe
     flags=DRhu user=vmail:vmail 
argv=/usr/local/dovecot/libexec/dovecot/deliver -d ${recipient}

Regards,
Fabian
On 01/03/2013 8:46, Steffen Kaiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 1 Mar 2013, Fabian von Romberg wrote:
>
>> actually this is the first user I created.  Im running postfix 2.10
>> and dovecot 2.2 rc2.  Im using telnet to send and email for testing
>> purposes.  Sending from an email client like Thunderbird happens the
>> same.
>
> Does the path /var/vmail/%d/%n/Maildir already exists and is owned by
> user:group 5000:5000?
>
> What's your conf in postfix to call deliver? BTW: I personally like LMTP
> much easier:
>
> http://wiki2.dovecot.org/LMTP
> http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP
>
>> please see below the output of dovecot -n:
>>
>> # 2.2.rc2: /usr/local/dovecot2.2/etc/dovecot/dovecot.conf
>> # OS: Linux 3.5.0-21-generic x86_64 Ubuntu 12.10 ext4
>> auth_debug = yes
>> auth_debug_passwords = yes
>> auth_mechanisms = plain login
>> auth_verbose = yes
>> auth_verbose_passwords = plain
>> base_dir = /usr/local/dovecot2.2/var/run
>> debug_log_path = /usr/local/dovecot2.2/var/log/dovecot-debug.log
>> default_internal_user = administrator
>> default_login_user = administrator
>> disable_plaintext_auth = no
>> info_log_path = /usr/local/dovecot2.2/var/log/dovecot-info.log
>> log_path = /usr/local/dovecot2.2/var/log/dovecot.log
>> mail_debug = yes
>> mail_location = maildir:/var/vmail/%d/%n/Maildir
>> managesieve_notify_capability = mailto
>> managesieve_sieve_capability = fileinto reject envelope
>> encoded-character vacation subaddress comparator-i;ascii-numeric
>> relational regex imap4flags copy include variables body enotify
>> environment mailbox date ihave
>> namespace {
>>  inbox = yes
>>  location =
>>  prefix =
>>  separator = .
>>  type = private
>> }
>> passdb {
>>  args = /usr/local/dovecot2.2/etc/dovecot/dovecot-mysql.conf
>>  driver = sql
>> }
>> protocols = imap pop3
>> service auth-worker {
>>  user = administrator
>> }
>> service auth {
>>  unix_listener /usr/local/postfix/spool/private/auth {
>>    group = postfix
>>    mode = 0660
>>    user = postfix
>>  }
>>  unix_listener auth-master {
>>    mode = 0600
>>    user = vmail
>>  }
>>  user = administrator
>> }
>> ssl = no
>> userdb {
>>  args = uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
>>  driver = static
>> }
>> verbose_ssl = yes
>> protocol lda {
>>  auth_socket_path = /usr/local/dovecot2.2/var/run/auth-master
>>  log_path = /var/vmail/dovecot-deliver.log
>>  mail_plugins = sieve
>>  postmaster_address = postmaster at mydomain.com
>> }
>>
>>
>> On 03/01/2013 04:47 AM, Steffen Kaiser wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On Thu, 28 Feb 2013, Fabian von Romberg wrote:
>>>
>>>> By checking the syslog, I can see there is a access memory issue,
>>>> please check below:
>>>>
>>>> kernel: [ 7106.312710] deliver[21287]: segfault at 20 ip
>>>> 00007f1696b64d09 sp 00007fff470cc0e0 error 4 in
>>>> libdovecot.so.0.0.0[7f1696b36000+b3000]
>>>>
>>>> Is this a bug? anyone has any idea on how to solve this?
>>>
>>> What version and config of Dovecot?
>>>
>>> dovecot -n
>>> or
>>> doveconf -n
>>>
>>>> On 02/28/2013 09:17 PM, Fabian von Romberg wrote:
>>>>> Hi all,
>>>>>
>>>>> Im getting the following error when an email is to be delivered.
>>>>> Below error message:
>>>
>>> one particular message or any message? or to one user only? Is this
>>> particular message different from others that work? Eg. very large, no
>>> headers, ...
>>>
>>>>> relay=dovecot, delay=4912, delays=4911/0.03/0/0.69, dsn=4.3.0,
>>>>> status=deferred (Command died with signal 11:
>>>>> "/usr/local/dovecot/libexec/dovecot/deliver")
>>>>>
>>>>> Can anyone please address me where the problem might be?
>>>
>>> - --
>>> Steffen Kaiser
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.11 (GNU/Linux)
>>>
>>> iQEVAwUBUTB5TV3r2wJMiz2NAQJEZQf/SPPbRhg6OgbtX8Q6DnYiIY7bHc3O24mW
>>> QHr2SBC79O1Atyx2YYNfqjX7ym4l5O7IW5FXkl4Uf2xyJzq4Dkben3T3dTF8W0nK
>>> dv1sGG0OficL5blOqkvr8loUf1V+hZG+BsqdbEZ1qTkQ2v0Nk2W6SPUgsY5NDx9Z
>>> /buWj4v7aEoMC4lKk3johcrnzuAt6KkdmhTIOxCMN6Qmmsz/XwT06zSNlUwgFW9S
>>> zsf06ehbACCFvzLzRyixE7/sGqRdDFQBAZlWk16/k1NE0qxJR4JcIWfys9FBzgUC
>>> nYC94EtcIOBXXyvnQQMwDbN7u8byMFtZ2vhQ0D9p+Tdf53oIMuv5nw==
>>> =TpuR
>>> -----END PGP SIGNATURE-----
>>>
>>
>>
>>
>
> - -- Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQEVAwUBUTCxSl3r2wJMiz2NAQLDCgf+JRldEvyJKxhsBrwgAUvEOOpyIgmLcC7C
> UxdfGPBBjMiqeoHwxGmpmX3sZ+8xX+6sO47fe0iEsJyJcST5NvvL0wFtQ8XnGLm6
> /DxuILnU4S2rWVkrdU+bLjFazgoSMtjVcBJ8lvLinUE1aFL31EsnrY03FiEoFbqN
> nWvNHQ85HYqAAjtQPIL4EaFk9HCPIEuGD4vpQApQ/BIVRr9yWn6j8BWOnhwJVZbl
> r1HKMmHuZ48ybgLhMBmllnz30M60/nobHj1yPiSB3Xy4vv/V6SNhUwMn3uQ/MHJH
> 2VL50yPxMXK+V7tao27dOaRt4aWgXt7UcAhqB3R/YSOtf6NTgOV5jg==
> =r/gR
> -----END PGP SIGNATURE-----
>




More information about the dovecot mailing list