Question to Postfix users
MailScanner at ecs.soton.ac.uk
Sat Oct 29 17:09:02 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
-----BEGIN PGP SIGNED MESSAGE-----
Dhawal Doshy wrote:
> Julian Field wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> Do you always have your Incoming Work Dir and Quarantine Dir owned by
>> the postfix user?
>> What about the postfix group as well?
> Umm no, not for "Quarantine Dir" since i use mailwatch as well.
> [root at mx1 ~]# ll /var/spool/MailScanner/
> total 8
> drwx------ 14 postfix postfix 4096 Oct 29 19:20 incoming
> drwxrwxr-x 18 root apache 4096 Oct 29 04:03 quarantine
But if you are using postfix, and "Run As User = postfix" then how does
it write into your quarantine? What do you have as "Run As User"?
>> I'm trying to make the init.d script better so that it sets the
>> ownership automatically for postfix users to make their installation
>> easier. I'm setting the ownership of the PID file too.
> PID seems fine here.
> [root at mx1 ~]# ll /var/run/MailScanner.pid
> -rw------- 1 postfix postfix 6 Oct 29 19:18 /var/run/MailScanner.pid
This isn't necessarily the case on SuSE systems, as the init.d script
functions may create the pid file as root, which then cannot be written
I'm trying to avoid that problem, and also in new installations when
people are using Postfix and haven't set the incoming and quarantine
directories ownership. I'm trying to use "Run As User" to set the
incoming and quarantine directory ownership.
Am I actually going to cause more trouble than I'm solving?
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)
-----END PGP SIGNATURE-----
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner