Solved

Postfix sending mail failed

Posted on 2011-03-03
4
1,175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

749 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