getting Mailscanner to work with Mailwatch/Postfix
Philippe BEAU
philippe at beau.nom.fr
Mon Mar 17 17:12:30 GMT 2008
Hi All,
For my side, it's working perfectly for mailwatch/mailscanner/postfix ...
John, if you want to contact me in pv, we can find the solution and next put
this on the wiki
Regards
Philippe
-----Message d'origine-----
De : mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] De la part de Julian
Field
Envoyé : lundi 17 mars 2008 16:41
À : MailScanner discussion
Objet : Re: getting Mailscanner to work with Mailwatch/Postfix
If someone can fix this one for John, please can you put it in the Wiki
if it isn't already there?
Thanks folks!
Jules.
John Baker wrote:
> Hi all,
>
> I've been trying to get Mailscanner set up to work so that postfix and
> Mailwatch will cooperate and ran into a confusing permission issue.
>
> You'd think this one would have been addressed here before but I could
> not find an answer in the archives.
>
> I seemed as thought the logical way to work around Mailwatch's desire
> to write to the quarantine as root was to join the postfix user to
> apache www-data group and give that group ownership of the quarantine.
>
> So I did that and went with the recommended 0660 permissions. But
> Mailscanner started throwing "cannot write to directory
> /var/spool/MailScanner/quarantine"
>
> I switched everything in the configuration back but found that the
> errors were still being thrown. I had noticed while setting up that
> the default permission for the que was 755 and had changed it to the
> fit the 0660 permissions in the mailscanner.con file. I finally added
> +x and then it seemed to work. So it appears as though despite the
> numbers in permissions in the mailscanner.conf file it need +x on the
> owner, and then presumably group if not the same as owner. Why does it
> need execute permission? Or I'm I missing something else?
>
> Does anybody have a successful and secure
> mailscanner/postfix/mailwatch recipe they can share?
>
> Thanks
Jules
--
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list