Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Autoreply MAIL userautoreply transport: Permission denied

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Sattva
Posts: 71
Joined: Thu Apr 25, 2013 9:34 am

Autoreply MAIL userautoreply transport: Permission denied
  • Quote

Post by Sattva » Mon Oct 12, 2015 12:06 pm

Please help. :-o :-/

My VESTA CP Version: 0.9.7
After 3 years of usage decided to enable mail autoreply.

main.log:

Code: Select all

2015-10-12 12:33:44 1ZlZUG-0003H2-IG == [email protected] R=autoreplay T=userautoreply defer (0):
Failed to open file /etc/exim/domains/pifagor.org/autoreply.user5.msg
when sending message from userautoreply transport: Permission denied
Same problem with DKIM signature - Permission denied while trying to read *.pem file with signarure private key.

Code: Select all

#pwd
/home/alexey/conf/mail/pifagor.org

#ls -Al
-rw-rw---- 1 dovecot mail   34 Oct  6 12:24 aliases
-rw-rw---- 1 dovecot mail  877 Oct 12 13:00 autoreply.user5.msg <==========================
-rw-r--r-- 1 dovecot mail 1679 Oct  5 22:56 dkim.pem
-rw-rw---- 1 dovecot mail  659 Oct  6 12:24 passwd
-rw-rw---- 1 dovecot mail   19 Jul  7  2014 protection


#ls -Al  /home/alexey/conf/mail/
drwxrwx--- 2 dovecot mail 4096 Oct 12 13:00 pifagor.org

ls -Al  /home/alexey/conf/
drwxr-x--x 14 root root 4096 Oct 10 11:52 mail <==== root:root owner ok?


#su -s /bin/bash exim
#cat /home/alexey/conf/mail/pifagor.org/autoreply.user5.msg
---
Autoreply message contents - All ok with reights.
---

Top

Sattva
Posts: 71
Joined: Thu Apr 25, 2013 9:34 am

Re: Autoreply MAIL userautoreply transport: Permission denie
  • Quote

Post by Sattva » Mon Oct 12, 2015 12:10 pm

This:
change the root user for exim in the script v-add-mail-account-autoreply
pwd: /usr/local/vesta/bin/
line: 47
This
chown -R root:mail $HOMEDIR/$user/conf/mail/$domain/autoreply.$account.msg
For this
chown -R exim:mail $HOMEDIR/$user/conf/mail/$domain/autoreply.$account.msg
From here:
http://forum.vestacp.com/viewtopic.php? ... eply#p6717
didn't help.

And I chown autoreply.$account.msg to exim.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password