From: Rob M. <rob...@gm...> - 2013-03-09 22:06:33
|
On Sat, Mar 9, 2013 at 7:33 PM, Jerry <je...@se...> wrote: > I was asked to see if it was possible to get fetchmail to deliver mail > directly to a dovecot server. It is presently working with a Postfix > MTA. The system is comprised of solely virtual users. > > From the Postfix "master.cf" file: > > dovecot unix - n n - - pipe > flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver > -f ${sender} -d ${user}@${nexthop} -a ${recipient} > > I have tried different ways of configuring the "mda" settings in > fetchmail; however, none of them work. This example stated that it > couldn't open the dovecot log file and that it exited with an error 75. > > user 'user@isp' there with password 'secret' is 'user' here options > forcecr dropdelivered smtpaddress 'isp.com' ssl sslcertpath > '/usr/local/etc/postfix/certs/' sslfingerprint > '74:8F:40:34:7F:B4:5E:23:99:B3:A9:92:93:67:13:8A' mda > "/usr/local/libexec/dovecot/deliver -f %F -a %T" > > I am not even sure if it is possible. I cannot find any real > documentation via Google from anyone who has actually gotten it to > work. This is being run on a FreeBSD machine. A quick Google search suggests that the problem is usually that you're not running fetchmail and dovecot as the same user. Doing that, or delivering via SMTP, seems to solve it in the cases I found. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |