lda
Pol Hallen
dovecotml at fuckaround.org
Tue Sep 5 21:00:35 EEST 2017
Sep 5 19:59:21 domain postfix/qmgr[19936]: warning: connect to
transport private/spamassassin: Connection refused
Pol
On 2017-09-05 03:10, Bill Shirley wrote:
> Try main.cf:
> # dovecot 2.x
> mailbox_command = /usr/bin/spamc -e /usr/libexec/dovecot/dovecot-lda
> -a "$RECIPIENT" -f "$SENDER" -m "$EXTENSION"
>
> Bill
>
>
> On 9/3/2017 12:33 PM, dovecotml at fuckaround.org wrote:
>> Hi all :)
>>
>> I will try to use /usr/lib/dovecot/deliver instead of postfix. I'd
>> like automatically move email to junk folder. I use debian 9.
>>
>> cat /etc/postfix/master.cf
>> [...]
>> spamassassin unix - n n - - pipe
>> user=debian-spamd argv=/usr/bin/spamc -f -e /usr/lib/dovecot/deliver
>> -f ${sender} -d ${recipient}
>>
>> with this line dovecot works perfectly but only with virtual users, my
>> system has also system users /etc/passwd
>>
>> How to tell dovecot to deliver email also to real system users?
>>
>> Sep 03 17:05:08 auth: Debug: master in: USER 1 test at mydomain.org
>> service=lda
>> Sep 03 17:05:08 auth-worker(24749): Debug: passwd(test at mydomain.org):
>> lookup
>> Sep 03 17:05:08 auth: Debug: pam(test at mydomain.org): passdb doesn't
>> support credential lookups
>> Sep 03 17:05:08 lda(test at mydomain.org): Debug: auth USER input:
>> Sep 03 17:05:08 auth: Debug: passwd-file(test at mydomain.org): lookup:
>> user=todo at fuckaround.org file=/etc/dovecot/users
>> Sep 03 17:05:08 auth: Debug: userdb out: NOTFOUND 1
>> Sep 03 17:05:08 auth: Debug: auth client connected (pid=24758)
>> Sep 03 17:05:08 auth: Debug: client in: AUTH 1 PLAIN
>> service=imap secured session=GIfuUUpY1BCXMEZw lip=192.168.0.2
>> rip=x.x.x.x lport=993 rport=4308 local_name=imap.mydomain.org
>> Sep 03 17:05:08 auth: Debug: client passdb out: CONT 1
>> Sep 03 17:05:08 auth: Debug: client in: CONT 1 hfdskjfsdkjdshjkfd==
>> (previous base64 data may contain sensitive data)
>> Sep 03 17:05:08 auth-worker(24749): Debug:
>> pam(user,151.48.70.112,<GIfuUUpY1BCXMEZw>): lookup service=dovecot
>> Sep 03 17:05:08 auth-worker(24749): Debug:
>> pam(user,151.48.70.112,<GIfuUUpY1BCXMEZw>): #1/1 style=1 msg=Password:
>> Sep 03 17:05:09 auth: Debug: client passdb out: OK 1 user=user
>> Sep 03 17:05:09 auth: Debug: master in: REQUEST 2331639809 24758
>> 1 754574397549379543789547 session_pid=24760 request_auth_token
>>
>> thanks for help!
>>
>> Pol
--
Pol
More information about the dovecot
mailing list