Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

how to verify that MailScanner is working

Add a New Topic Reply to Post
UserPost

6:53 am
July 14, 2010


na

Guest

Hi;

i configured the Mailscanner with ClamAV and spamassassin and everything seemed to be correct, but the header of the clean messages does not appear.

how can i verify that everything is working.

Regards.

 

6:30 am
July 15, 2010


shanmugasundaram s

Member

posts 22

Hi na,

        you can confirm with the message attached to the bottom of the every mail with the content

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean

     that mailscanner is functioning properly.

6:43 am
July 15, 2010


na

Guest

Hi shanmugasundaram s

thanks for your reply, but thats the problem i cant seem to find this message in the email i send.

but the Mailscanner seemes to work without any errors.

10:51 am
July 16, 2010


consultant

Admin

posts 241

Hi na,

 

If you don't see the message, MailScanner is probably not scanning your emails. Check the following

 

1. Did you disable the Postfix service? MailScanner should be the one to launch Postfix.

2. In your main.cf, do you have the line

header_checks = regexp:/etc/postfix/header_checks
and in your /etc/postfix/header_checks the line

/^Received:/ HOLD
Those settings causes Postfix to place incoming mail into the holding area where MailScanner will scan it and place it into the incoming queue. Otherwise, mails will go directly to the incoming queue bypassing MailScanner.

2:18 am
July 18, 2010


na

Guest

Hi consultant,

i checked my configuration and i did what you mentioned above, and i still cant get the message in my emails, please advice.

7:23 am
July 18, 2010


consultant

Admin

posts 241

Try to check if mails are really going to /var/spool/postfix/hold. Stop MailScanner and start Postfix. You should no longer be receiving mails because the mails are getting trapped in /var/spool/postfix/hold. If you still receive mails, there's your problem.

 

Another possible reason for those missing message is when you turned it off. See Add a Disclaimer to Outgoing Postfix Emails.

9:11 am
July 18, 2010


na

Guest

i stopped MailScanner and started postfix and i can still recieve mail, but i checked the MailScanner.conf and it's

Incoming Queue Dir = /var/spool/postfix/hold

how can i fix this problem.

9:48 pm
July 18, 2010


consultant

Admin

posts 241

The problem is in Postfix, it is not storing mails into the holding area. Double check your main.cf and header_checks, you need to configure Postfix to store mails into the holding area.

3:12 am
July 19, 2010


na

Guest

the problem was in the header_checks file and i solved it.

thanks very much.

Smile

Reply to Post

Reply to Topic:
how to verify that MailScanner is working

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
12 + 12
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 18

Currently Online:
8 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 6
Topics: 170
Posts: 626

Membership:

There are 157 Members
There have been 48 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 22
bighorn – 14
iron_michael86 – 12
semag – 11
jnrao – 10
Murasakiiru – 10

Recent New Members: Anup, stelio, rock.arpit1989, uvigii, harish, abenmao

Administrators: consultant (241 Posts)