Mailscanner quarantine permissions for Mailwatch

Steve Freegard steve.freegard at LBSLTD.CO.UK
Mon Apr 5 16:31:15 IST 2004


Hi Sam,

I suspect that you need to add postfix to the 'www' group otherwise a
process running as 'postfix' won't be able to chown a file or directory to
that group.

Regards,
Steve.

----Original Message-----
From: Samuel Luxford-Watts [mailto:slwatts at WINCKWORTHS.CO.UK]
Sent: 05 April 2004 16:27
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Mailscanner quarantine permissions for Mailwatch


Hi All,

I think this is more a mailscanner issue than mailwatch hence the posting
here. I am having trouble getting mailscanner to save files in
/var/spool/MailScanner/quarantine with the correct user:group. In
/etc/MailScanner/MailScanner.conf I have set:

Quarantine User = postfix
Quarantine Group = www
Quarantine Permissions = 0660
Incoming Work User = postfix
Incoming Work Group = www
Incoming Work Permissions = 0600
Run As User = postfix
Run As Group = postfix

However when I run MailScanner it always saves files into the quarantine dir
owed by postfix:postfix. I am running Mailscanner V 4.28.6, Suse 8.1 and
Postfix.

In MailScanner.conf it does say that it may not be able to chown to another
user if it is not run as root. Are there any problems running MailScanner as
root? I generally do not like running services as root and if I can chown a
file quite happily using the postfix user why cant Mailscanner?

Am I missing something obvious?

Sam

Winckworth Sherwood Solicitors and Parliamentary Agents
DX 148400 WESTMINSTER 5 : 35 Great Peter Street, London SW1P 3LR Telephone
020 7593 5000 Fax 020 7593 5099

Confidentiality
This email message and any attachments are confidential; they may be subject
to legal professional privilege and are intended for the named recipient
only. If you are not the named recipient, please return the message and
enclosures immediately and delete them from your system.

Caution
Before advice received only by email (whether by attachment or otherwise)
may be relied on, the authenticity of the communication must be verified by
means independent of email.


Regulation
The firm is regulated by the Law Society.

Partners
A list of partners is available for inspection at each office of the firm
and on the firm's website at www.winckworths.co.uk
<http://www.winckworths.co.uk>


--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.

This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040405/ffbb5929/attachment.html


More information about the MailScanner mailing list