Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-09-2008, 04:02 PM
Unruh
 
Posts: n/a
Help-- postfix suddenly reporting SMTP errors to mail

I have just installed Mandraka 2008.1 and they have set up postfix so that
errors like the enclosed are reported to email to postmaster. This totally
swamps the mail box. How do I shut it off? This is an insane use of mail
reporting! (I could of course set up procmail to discard all such mail, but
that would clearly be kludge and I should be able to switch the mail
reporting off in postfix.
-------------------------------------------------------------

From: MAILER-DAEMON@physics.ubc.ca (Mail Delivery System)
To: postmaster@physics.ubc.ca (Postmaster)
Subject: Postfix SMTP server: errors from
UNTRUST.OIZURU-FW.OIZURU.CO.TH[116.68.154.226]
Message-Id: <20080709154837.972C7E8239@info.physics.ubc.ca>
Transcript of session follows.

Out: 220 info.physics.ubc.ca ESMTP Postfix (2.5.1) (Mandrake Linux)
In: EHLO UNTRUST.OIZURU-FW.OIZURU.CO.TH
Out: 250-info.physics.ubc.ca
Out: 250-PIPELINING
Out: 250-SIZE 10240000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: MAIL From:<Xcgblancm@annarborcenter.com>
Out: 250 2.1.0 Ok
In: RCPT To:<thornbu@black-hole.physics.ubc.ca>
Out: 451 4.3.5 Server configuration error
In: DATA
Out: 554 5.5.1 Error: no valid recipients

Session aborted, reason: lost connection


Reply With Quote
  #2 (permalink)  
Old 07-09-2008, 04:42 PM
Bit Twister
 
Posts: n/a
Re: Help-- postfix suddenly reporting SMTP errors to mail

On Wed, 09 Jul 2008 16:02:44 GMT, Unruh wrote:
> I have just installed Mandraka 2008.1 and they have set up postfix so that
> errors like the enclosed are reported to email to postmaster.


Hmmm, I never saw that problem.
Then again, I modify the aliases file.

$ tail -12 /etc/postfix/aliases | head -5

# Person who should get root's mail. This alias
# must exist.
# CHANGE THIS LINE to an account of a HUMAN
root: bittwister


Then run postalias and service postfix restart

That sends all postmaster emails to me because of the default
postmaster: root
directive in aliases.



Reply With Quote
  #3 (permalink)  
Old 07-09-2008, 07:22 PM
David W. Hodgins
 
Posts: n/a
Re: Help-- postfix suddenly reporting SMTP errors to mail

On Wed, 09 Jul 2008 12:02:44 -0400, Unruh <unruh-spam@physics.ubc.ca> wrote:

> Out: 451 4.3.5 Server configuration error


Looks to me like there's something in /etc/postfix/main.cf, or the directory
structure/ownership, that postfix doesn't like. Is there anything in
/var/log/mail/errors.log?

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Reply With Quote
  #4 (permalink)  
Old 07-09-2008, 09:10 PM
Unruh
 
Posts: n/a
Re: Help-- postfix suddenly reporting SMTP errors to mail

"David W. Hodgins" <dwhodgins@nomail.afraid.org> writes:

>On Wed, 09 Jul 2008 12:02:44 -0400, Unruh <unruh-spam@physics.ubc.ca> wrote:


>> Out: 451 4.3.5 Server configuration error


>Looks to me like there's something in /etc/postfix/main.cf, or the directory
>structure/ownership, that postfix doesn't like. Is there anything in
>/var/log/mail/errors.log?


No that error report IS a report of an invalid recipient. Regular mail to
real recipients actually does get through fine. HOwever since my system
gets bombarded by junk messages to ancient or invalid recipients (a user
similar to the recipient reported in that message was here 15 years ago,
but the memory in spam lists is infinite) this means I get such invalid
address recipient mail maybe 1000 times a day. And getting 1000 emails from
SNTP like that is simply unacceptable.


>Regards, Dave Hodgins


>--
>Change nomail.afraid.org to ody.ca to reply by email.
>(nomail.afraid.org has been set up specifically for
>use in usenet. Feel free to use it yourself.)

Reply With Quote
  #5 (permalink)  
Old 07-10-2008, 05:56 AM
Julian Bradfield
 
Posts: n/a
Re: Help-- postfix suddenly reporting SMTP errors to mail

Unruh <unruh-spam@physics.ubc.ca> writes:

> "David W. Hodgins" <dwhodgins@nomail.afraid.org> writes:
>
>>On Wed, 09 Jul 2008 12:02:44 -0400, Unruh <unruh-spam@physics.ubc.ca> wrote:

>
>>> Out: 451 4.3.5 Server configuration error

>
>>Looks to me like there's something in /etc/postfix/main.cf, or the directory
>>structure/ownership, that postfix doesn't like. Is there anything in
>>/var/log/mail/errors.log?

>
> No that error report IS a report of an invalid recipient. Regular mail to
> real recipients actually does get through fine. HOwever since my system
> gets bombarded by junk messages to ancient or invalid recipients (a user
> similar to the recipient reported in that message was here 15 years ago,
> but the memory in spam lists is infinite) this means I get such invalid
> address recipient mail maybe 1000 times a day. And getting 1000 emails from
> SNTP like that is simply unacceptable.


But an invalid recipient should not cause your system to return Server
Configuration Error. If your system is returning SCE to the incoming
client, your configuration is broken.

First fix your configuration.

Then, if you still need to switch off error reporting, look at the section
on error reporting in
http://www.postfix.org/BASIC_CONFIGURATION_README.html
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:12 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109