[olug] Postfix/dovecot

Dave Rowe dave at roweware.com
Tue Apr 16 02:00:46 UTC 2013


Not a postfix/dovecot expert, but the logs state that Permission was
denied when attempting to open a log file
(/home/vmail/dovecot-deliver.log).  Who is postfix/dovecot running as,
and do they have access to that homedir.

Also, regarding the Relay Access Denied, did you setup Postfix to
allow mail to be sent _from_ gmail.com domains?  I believe (from when
I've setup qmail / exim4 in the past) you define what domains your MTA
is allowed to send for.

Dovecot _ISN'T_ an MTA - postfix is, right?  So are you talking about
postfix sending / receiving the email effectively in the same
operation, but dovecot doesn't see the message in the maildir that
postfix "delivers" to?

Rough process: postfix (local) -> postfix (local) -> maildir ->
dovecot -> email client (Thunderbird, Horde, RoundCube, etc)  ??  In
this instance are you configuring postfix to talk to itself, or are
you attempting to transport via postfix to a remote SMTP server, which
in turn sends the message back to your postfix install?

-Dave

On Mon, Apr 15, 2013 at 6:37 PM, Sam Flint <harmonicnm7h at gmail.com> wrote:
> Does anyone have any ideas?
>
>
> On Sun, Apr 14, 2013 at 4:45 PM, Sam Flint <harmonicnm7h at gmail.com> wrote:
>
>> Well, for postfix, it now accepts email, but when it sends it through
>> dovecot, dovecot complains, and the email won't go through.  Log entry:
>>
>>          Apr 14 19:22:32 li455-174 postfix/qmgr[24423]: 2C4B69382:
>>          from=<harmonicnm7h at gmail.com>, size=1911, nrcpt=1 (queue
>>          active)
>>          Apr 14 19:22:32 li455-174 postfix/pipe[32234]: 2C4B69382:
>>          to=<swflint at flintfam.org>, relay=dovecot, delay=433995,
>>          delays=433994/0.04/0/0.11, dsn=4.3.0, status=deferred
>>          (temporary failure. Command output: doveconf: Warning: NOTE:
>>          You can get a new clean config file with: doveconf -n >
>>          dovecot-new.conf doveconf: Warning: Obsolete setting in
>>          /etc/dovecot/dovecot.conf:25: add auth_ prefix to all settings
>>          inside auth {} and remove the auth {} section completely
>>          doveconf: Warning: Obsolete setting in
>>          /etc/dovecot/dovecot.conf:26: auth_user has been replaced by
>>          service auth { user } doveconf: Warning: Obsolete setting in
>>          /etc/dovecot/dovecot.conf:28: passdb  {} has been replaced by
>>          passdb { driver= } doveconf: Warning: Obsolete setting in
>>          /etc/dovecot/dovecot.conf:33: userdb  {} has been replaced by
>>          userdb { driver= } Can't open log file
>>          /home/vmail/dovecot-deliver.log: Permission denied )
>>          Apr 14 19:22:32 li455-174 postfix/qmgr[24423]: 2C4B69382:
>>          from=<harmonicnm7h at gmail.com>, status=expired, returnedto
>>          sender
>>
>> Postfix also refuses to send email out, error in webmail app is:
>>
>>         Transaction failed
>>         554 5.7.1 <harmonicnm7h at gmail.com>: Relay access denied
>>
>> Log has:
>>
>>         Apr 14 21:49:12 li455-174 postfix/smtpd[32585]: connect from
>>         localhost[::1]
>>         Apr 14 21:49:12 li455-174 postfix/smtpd[32585]: NOQUEUE: reject:
>>         RCPT from localhost[::1]: 554 5.7.1 <harmonicnm7h at gmail.com>:
>>         Relay access denied; from=<swflint at flintfam.org>
>>         to=<harmonicnm7h at gmail.com> proto=ESMTP helo=<flintfam.org>
>>         Apr 14 21:49:12 li455-174 postfix/smtpd[32585]: lost connection
>>         after RCPT from localhost[::1]
>>         Apr 14 21:49:12 li455-174 postfix/smtpd[32585]: disconnect from
>> localhost[::1]
>>
>> Thanks,
>> Sam
>>
>> --
>> Sam Flint
>> Happy Hacking!
>> swflint at flintfam.org
>> flintfam.org/~swflint
>>
>
>
>
> --
> Sam Flint
> flintfam.org/~swflint
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list