MailScanner incoming folder.

Azir Güleroğlu Azir.Guleroglu at turknet.net.tr
Tue Oct 25 11:12:02 UTC 2016


Hello,

I have an old ETRN server(Fedora 8). Whatever,i made a postfix and mailscanner installation yesterday. After i finished configuration then mailscanner service ran without any problems but as i checked the mailscanner service i saw the errors below.

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. I gave two different paths, as i copied below but the result doesn't change.

Can you help regarding this problem?


[root at etrn spool]# ll
total 4
drwxr-xr-x.  2 root    root      60 Mar 31  2016 anacron
drwx------.  2 root    root       6 Mar 31  2016 cron
drwxr-xr-x.  2 root    root       6 Aug 12  2015 lpd
drwxrwxr-x.  2 root    mail      17 Oct 25 09:46 mail
drwxrwxrwx.  5 postfix postfix   52 Oct 24 16:33 MailScanner
drwxr-xr-x.  2 root    root       6 Nov 20  2015 plymouth
drwxr-xr-x. 16 root    root    4096 Oct 24 15:47 postfix


[root at etrn MailScanner]# ll
total 0
drwxrwxrwx. 2 postfix postfix    6 Aug 14 19:05 archive
drwxrwx---. 5 root    mtagroup 140 Oct 25 09:49 incoming
drwxrwxrwx. 2 postfix postfix    6 Aug 14 19:05 quarantine

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


Run As User = postfix
Run As Group = postfix
Queue Scan Interval = 6
Incoming Queue Dir = /var/spool/mqueue.in
Outgoing Queue Dir = /var/spool/mqueue
#Incoming Queue Dir = /var/spool/postfix/hold
#Outgoing Queue Dir = /var/spool/postfix/incoming
Incoming Work Dir = /var/spool/MailScanner/incoming
Quarantine Dir = /var/spool/MailScanner/quarantine
PID file = /var/run/MailScanner.pid
MTA = postfix


Incoming Work User =
Incoming Work Group =
Incoming Work Permissions = 0600
Quarantine User =
Quarantine Group =

Oct 25 11:40:32 MailScanner[16151]: Reading configuration file /etc/MailScanner/MailScanner.conf
Oct 25 11:40:32 MailScanner[16151]: Reading configuration file /etc/MailScanner/conf.d/README
Oct 25 11:40:32 MailScanner[16151]: Could not read directory /var/spool/MailScanner/incoming
Oct 25 11:40:32 MailScanner[16151]: Error in configuration file line 16, directory /var/spool/MailScanner/incoming for incomingworkdir does not exist (or is not readable)
Oct 25 11:40:32 MailScanner[16151]: Could not read directory /var/spool/mqueue
Oct 25 11:40:32 MailScanner[16151]: Error in configuration file line 13, directory /var/spool/mqueue for outqueuedir does not exist (or is not readable)
Oct 25 11:40:32 MailScanner[16151]: File containing list of incoming queue dirs (/var/spool/mqueue.in) does not exist
Oct 25 11:40:32 MailScanner[16151]: Using SpamAssassin results cache
Oct 25 11:40:32 MailScanner[16151]: Could not create SpamAssassin cache database /var/spool/MailScanner/incoming/SpamAssassin.cache.db
Oct 25 11:40:32 MailScanner[16151]: Enabling SpamAssassin auto-whitelist functionality...

[root at etrn MailScanner]# MailScanner -lint

Could not read directory /var/spool/mqueue at /usr/share/MailScanner/perl/MailScanner/Config.pm line 2866.
Error in configuration file line 13, directory /var/spool/mqueue for outqueuedir does not exist (or is not readable) at /usr/share/MailScanner/perl/MailScanner/Config.pm line 3230.
File containing list of incoming queue dirs (/var/spool/mqueue.in) does not exist at /usr/share/MailScanner/perl/MailScanner/Config.pm line 1811.

Oct 25 11:30:40 MailScanner[14254]: Reading configuration file /etc/MailScanner/MailScanner.conf
Oct 25 11:30:40 MailScanner[14254]: Reading configuration file /etc/MailScanner/conf.d/README
Oct 25 11:30:41 MailScanner[14254]: Could not read directory /var/spool/MailScanner/incoming
Oct 25 11:30:41 MailScanner[14254]: Error in configuration file line 14, directory /var/spool/MailScanner/incoming for incomingworkdir does not exist (or is not readable)
Oct 25 11:30:41 MailScanner[14254]: Could not read directory /var/spool/postfix/incoming
Oct 25 11:30:41 MailScanner[14254]: Error in configuration file line 13, directory /var/spool/postfix/incoming for outqueuedir does not exist (or is not readable)
Oct 25 11:30:41 MailScanner[14254]: File containing list of incoming queue dirs (/var/spool/postfix/hold) does not exist
Oct 25 11:30:41 MailScanner[14254]: Using SpamAssassin results cache
Oct 25 11:30:41 MailScanner[14254]: Could not create SpamAssassin cache database /var/spool/MailScanner/incoming/SpamAssassin.cache.db
Oct 25 11:30:41 MailScanner[14254]: Enabling SpamAssassin auto-whitelist functionality...


[root at etrn ~]# MailScanner -lint
Trying to setlogsock(unix)

Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/README

Checking version numbers...
Version number in MailScanner.conf (5.0.3) is correct.

Your envelope_sender_header in spamassassin.conf is correct.
MailScanner setting GID to  (89)
MailScanner setting UID to  (89)

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
pyzor: check failed: internal error, python traceback seen in response
SpamAssassin reported no errors.
Auto: Found virus scanners: clamav
Connected to Processing Attempts Database
Created Processing Attempts Database successfully
There are 0 messages in the Processing Attempts Database
Using locktype = posix
MailScanner.conf says "Virus Scanners = auto"
Found these virus scanners installed: clamav
===========================================================================
Virus and Content Scanning: Starting


Azir Güleroğlu
[Description: http://www.turk.net/images/turknet_logomini.gif]<http://www.turk.net/>
TurkNet Iletisim Hizmetleri A.S.
Tel: +90 212 355 17 00
Faks: +90 212 216 55 66



________________________________

Bu elektronik posta ve onunla iletilen bütün dosyalar sadece göndericisi tarafından alması amaçlanan yetkili gerçek ya da tüzel kişinin kullanımı içindir. Eğer söz konusu yetkili alıcı değilseniz bu elektronik postanın içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle yasaktır ve bu elektronik postayı derhal silmeniz gerekmektedir. TurkNet bu mesajın içerdiği bilgilerin doğruluğu veya eksiksiz olduğu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne şekilde olursa olsun içeriğinden, iletilmesinden, alınmasından ve saklanmasından sorumlu değildir. Bu mesajdaki görüşler yalnızca gönderen kişiye aittir ve TurkNet'in görüşlerini yansıtmayabilir. Bu e-posta bilinen bütün bilgisayar virüslerine karşı taranmıştır.
________________________________________
This e-mail 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 are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited, and the e-mail should immediately be deleted. TurkNet makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. The opinions expressed in this message belong to sender alone and may not necessarily reflect the opinions of TurkNet. This e-mail has been scanned for all known computer viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20161025/a5a910d3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 3893 bytes
Desc: image003.png
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20161025/a5a910d3/attachment.png>


More information about the MailScanner mailing list