MailScanner incoming folder.

Mark Sapiro mark at msapiro.net
Wed Oct 26 13:48:24 UTC 2016


On 10/25/2016 11:02 PM, Azir Güleroğlu wrote:
> Kevin Thank you for your answer.
> 
> Mqueue directory is okey but still I get same error.  I changed the permissions and the owners of the Mailscanner folder and the incoming folder but when i restart the service, the permissions and owners turn into it's initial status not the one I identified.
> 
> Before Restart.
> 
> [root at etrn MailScanner]# ll
> total 456
> drwxrwxrwx.  2 postfix postfix       6 Aug 14 19:05 archive
> drwxrwxrwx. 13 root    mtagroup    300 Oct 26 09:47 incoming
> drwxrwxrwx.  2 postfix postfix       6 Aug 14 19:05 quarantine
> -rw-------.  1 postfix postfix  464369 Oct 25 14:52 razor-agent.log
> drwx------.  2 postfix postfix       6 Oct 25 11:53 Run As User
> 
> After Restart.
> 
> [root at etrn MailScanner]# ll
> total 456
> drwxrwxrwx.  2 postfix postfix       6 Aug 14 19:05 archive
> drwxrwx---. 13 root    mtagroup    300 Oct 26 09:47 incoming
> drwxrwxrwx.  2 postfix postfix       6 Aug 14 19:05 quarantine
> -rw-------.  1 postfix postfix  464369 Oct 25 14:52 razor-agent.log
> drwx------.  2 postfix postfix       6 Oct 25 11:53 Run As User

chown postfix incoming

...
> [root at etrn MailScanner]# grep mta /etc/group mtagroup:x:1000:postfix,mail

Add clamav if it exists to the mtagroup group.


...
> Incoming Work User =
> Incoming Work Group =

Set these to 'postfix' and 'mtagroup' respectively

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list