?
Solved

Postfix sending mail failed

Posted on 2011-03-03
4
Medium Priority
?
1,202 Views
Last Modified: 2012-05-11
Hi

  Im just settingup my CentOS server with postfix mail settings.


Installation & Startingup of postfix was fine.

netstat -anl --tcp | grep 25
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN


iptables/firewall disabled.


NMap on the machine shows the following open ports.
Discovered open port 110/tcp on 322.271.12.231
Discovered open port 443/tcp on 322.271.12.231
Discovered open port 80/tcp on 322.271.12.231



I have attached maillog below. Can anyone understand why i cant send mail ?
/var/log/maillog Has the following error
---------------------------------------


Mar  3 21:45:45 localhost scanmail[22023]: Config unknown entry: Alertmsg_RD3
Mar  3 21:45:45 localhost scanmail[22023]: Config unknown entry: Alertmsg_RR1
Mar  3 21:45:45 localhost scanmail[22023]: Config unknown entry: Alertmsg_RR2
Mar  3 21:45:45 localhost scanmail[22023]: Config unknown entry: Alertmsg_RR3
Mar  3 21:45:45 localhost scanmail[22023]: Config unknown entry: Alertmsg_RRE
Mar  3 21:45:45 localhost scanmail[22023]: Config unknown entry: ScanDBDir
Mar  3 21:45:45 localhost scanmail[22023]: Queue-Id: 9A1DE505FD2
Mar  3 21:45:45 localhost scanmail[22023]: Message-Id:
Mar  3 21:45:45 localhost scanmail[22023]: From:
Mar  3 21:45:45 localhost postfix/qmgr[30387]: 9A1DE505FD2_01: from=<root@example.org>, size=444, nrcpt=1 (queue active)
Mar  3 21:45:45 localhost scanmail[22023]: ScanMail error: exit with 1
Mar  3 21:45:45 localhost postfix/cleanup[22021]: warning: SCANMAIL: Error during execution: 2d
Mar  3 21:45:45 localhost postfix/cleanup[32170]: SCANMAIL: Scanmail Retry Count 1
Mar  3 21:45:45 localhost scanmail[32170]: DB access error: ScanDB connection error.
Mar  3 21:45:45 localhost scanmail[32170]: DB access error: Failed to bind socket: /var/spool/postfix/private/scandb
Mar  3 21:45:45 localhost postfix/local[8027]: 9A1DE505FD2_01: to=<root@localhost.localdomain>, relay=local, delay=0.67, delays=0.65/0/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Mar  3 21:45:45 localhost postfix/qmgr[30387]: 9A1DE505FD2_01: removed
Mar  3 21:45:50 localhost scanmail[32170]: DB access error: ScanDB connection error.
Mar  3 21:45:50 localhost scanmail[32170]: DB access error: Failed to bind socket: /var/spool/postfix/private/scandb


AND
/var/log/messages has no mail related logs

Open in new window

0
Comment
Question by:BToTheAToTheBABA
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:bevhost
ID: 35031237
Looks like your problem is with scanmail, not postfix
0
 

Author Comment

by:BToTheAToTheBABA
ID: 35031596
Hi,

Is there a way to fix this ?

How should I atleast disable scanmail ?


Thanks for ur reply.
0
 
LVL 19

Accepted Solution

by:
bevhost earned 2000 total points
ID: 35031700
do you have a content_filter=bla statement if you main.cf?
How did you enable it in the first place?

postfix does not use scanmail by default.

Is there a scanmail service that needs to be running?

Did you try

# service scanmail start
0
 

Author Closing Comment

by:BToTheAToTheBABA
ID: 35031771
/etc/init.d/scandb start
this Fixed All, Now Mail working.

Thank you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Suggested Courses
Course of the Month17 days, 13 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question