LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2005, 10:33 PM   #1
lawadm1
Member
 
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Rep: Reputation: 15
Question sendmail producing messages in maillog


Does anyone know how to get rid of these messages in the maillog for sendmail?

Dec 8 22:25:54 sm-msp-queue[7536]: jB7002VQ056942: to=root, ctladdr=root (0/0), delay=2+04:25:52, xdelay=00:00:00, mailer=relay, pri=5172694, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

I have a ton of these in the maillog, and it looks like something is trying to send mail to root. I can still send and receive emails just fine. Not sure what is causing this.

TIA
 
Old 12-09-2005, 04:28 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Sendmail is part of Postfix. You can do away with those (and all other messages) by editing /etc/post/main.cf. Scroll down to the line that reads "mail_spool_directory = /var/mail" and change it to read "mail_spool_directory = /dev/null". You will never, ever, EVER see those or any other messages in the maillog again.

They go into the bit bucket, the black hole, the singularity, and disappear.

On the other hand, if you develop problems with your system, one of the sources of information to help solve the problem is the maillog. If there is nothing there, you have lost that source of information in re the problem.

On yet another hand, it might be possible to have some sort of blacklist file to add certain characteristics of unwanted messages, and only those unwanted messages are excluded. The rest remain intact. I don't have a clue how to do that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail customized messages mihaii Linux - Software 2 10-26-2005 12:52 PM
Sendmail maillog parser jgnasser Linux - Software 1 02-04-2005 08:02 AM
sendmail, bounced messages suser Linux - Software 0 07-10-2004 06:15 AM
Maillog: sendmail rejecting connections on daemon IPv4: load average: 22 J_Szucs Linux - Security 2 01-28-2004 07:17 AM
Sendmail don't want deliver messages ruddy Linux - Software 0 01-14-2004 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration