From: Rob M. <rob...@gm...> - 2013-03-09 23:17:47
|
On Sat, Mar 9, 2013 at 9:48 PM, Jerry <je...@se...> wrote: > On Sat, 9 Mar 2013 21:06:32 +0000 > Rob MacGregor articulated: > >> 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. > > I noticed that also. Dovecot runs as user:group "vmail:vmail". How do I > get fetchmail to deliver mail using "vmail" as the user ID? You don't* - you run fetchmail as the user "vmail". How you do that depends on how you're running fetchmail. If it's on boot as a daemon you'll need to change the startup script, or the config file it calls. If it's from cron simply remove it from the current crontab and add it to vmail's crontab instead. *Well, you could probably use sudo to achieve this, but it's likely to be significantly more complicated to get working. -- 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 |