Postfix dorucovanie prostrednictvom Dovecot lda

Ciernik Tomas tomas at ciernik.sk
Sun Jan 25 17:14:52 CET 2009


On Sun, 25 Jan 2009 16:52:38 +0100, Vilem Kebrt <vilem.kebrt at gmail.com>
wrote:
> Ahoj
> Skus sem poslat jeste log z dovecota jako takovyho at se mame od ceho 
> odpichnout...
> saevar
> 

Ta hlaska bola z dovecotu, ospravedlnujem sa zabudol som to uviest.
Prikladam komplet vypis od spustenia po vypnutie dovecotu a takisto
postfixu.

# cat /var/log/dovecot
...
...
dovecot: Jan 25 15:28:04 Info: Dovecot v1.1.6 starting up
dovecot: Jan 25 15:28:04 Info: auth-worker(default): mysql: Connected to
localhost (postfix)
deliver(test at globot.biz): Jan 25 15:28:08 Fatal: setgid(20000) failed with
euid=993, gid=993, egid=993: Operation not permitted
dovecot: Jan 25 15:30:25 Warning: Killed with signal 15
...
...


# cat /var/log/maillog
...
...
Jan 25 15:28:02 thomas postfix/postfix-script[55648]: starting the Postfix
mail system
Jan 25 15:28:02 thomas postfix/master[55649]: daemon started -- version
2.5.5, configuration /etc/postfix
Jan 25 15:28:08 thomas postfix/qmgr[55651]: C2465411060:
from=<email at address>, size=796, nrcpt=1 (queue active)
Jan 25 15:28:08 thomas postfix/pipe[55681]: C2465411060:
to=<test at globot.biz>, relay=dovecotlda, delay=2548,
delays=2548/0.02/0/0.01, dsn=4.3.0, status=deferred (temporary failure)
Jan 25 15:30:22 thomas postfix/postfix-script[55713]: stopping the Postfix
mail system
Jan 25 15:30:22 thomas postfix/master[55649]: terminating on signal 15
...
...


> Ciernik Tomas napsal(a):
>> Zdravim,
>>
>> snazim sa vyriesit problem s dorucovanim lokalnej posty prostrednictvom
>> dovecot lda.
>> Pri pokuse o dorucenie mi hlasi v logu
>> Fatal: setgid(20000) failed with euid=993, gid=993, egid=993: Operation
>> not
>> permitted
>> 20000 = postfix, 993 = dovecot
>>
>> v dovecot.conf mam:
>>
>>   socket listen {
>>     master {
>>       path = /var/run/dovecot/auth-master
>>       mode = 0660
>>       user = postfix
>>       group = dovecot
>>     }
>>   }
>>
>>
>> main.cf:
>>
>> virtual_transport = dovecot
>> dovecot_destination_recipient_limit = 1
>>
>>
>> master.cf:
>>
>> dovecot unix    -       n       n       -       -       pipe
>>   flags=DRhu user=dovecot argv=/usr/local/libexec/dovecot/deliver -f
>> ${sender} -d ${recipient}
>>
>>
>> Skusal som zmenit parameter user=postfix, vtedy mi pre zmenu hlasi:
>> fatal: user= command-line attribute specifies mail system owner postfix
>>
>>
>> Mozte mi niekto poradit ako z toho von? Trapim sa s tym od vcera a
ziadne
>> rozumne som nenasiel.
>>
>>
>> Dakujem,
>>
>> Tomas.
>> --
>> FreeBSD mailing list (users-l at freebsd.cz)
>> http://www.freebsd.cz/listserv/listinfo/users-l
>>   
> 
> --
> FreeBSD mailing list (users-l at freebsd.cz)
> http://www.freebsd.cz/listserv/listinfo/users-l
> 



More information about the Users-l mailing list