Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th January 2007, 10:13
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default 4000 bounced email in one hour

hi guys
since yesterday I had email problem so I was keep sending email for test purpose, I don't think the total was more than 200 email.
however today I could fix it after all by putting the correct hostname but now one of my box keep receive this email for more than 4000 times in last one hour:

Code:
This is the Postfix program at host host2.persiasys.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

			The Postfix program

<admispconfig@localhost.localdomain>: Host or domain name not found. Name
    service error for name=localhost.localdomain type=A: Host not found

Reporting-MTA: dns; host2.persiasys.com
X-Postfix-Queue-ID: 51EEA18A877C
X-Postfix-Sender: rfc822; web6_root@host2.persiasys.com
Arrival-Date: Sun,  7 Jan 2007 17:08:07 +0800 (MYT)

Final-Recipient: rfc822; admispconfig@localhost.localdomain
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=localhost.localdomain type=A: Host not found

Subject:  	Mailsize: web6_root
Sender:  	S. Mohammad add
Recipient:  	undisclosed-recipients:;
Date:  	Today 10:08

2630
Reply With Quote
Sponsored Links
  #2  
Old 7th January 2007, 11:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,070
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Please add localhost.localdomain at the end of the file /etc/postfix/local-host-names on your server and restart postfix. Make also sure that localhost.localdomain points to the IP 127.0.0.1 in your /etc/hosts file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
friday (8th January 2009)
  #3  
Old 7th January 2007, 13:49
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default

thanks for the reply
I've added that, no I can receive email with no problem.

but there is small problem.
the email in roundcube shows up as : blahblah@www.ir-sr.com instead of blahblah@ir-sr.com
Reply With Quote
  #4  
Old 8th January 2007, 22:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Hellbound
the email in roundcube shows up as : blahblah@www.ir-sr.com instead of blahblah@ir-sr.com
You must set the correct sender address in Roundcube, just as you do in every other email client.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 8th January 2009, 16:38
friday friday is offline
Member
 
Join Date: Oct 2006
Posts: 31
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please add localhost.localdomain at the end of the file /etc/postfix/local-host-names on your server and restart postfix. Make also sure that localhost.localdomain points to the IP 127.0.0.1 in your /etc/hosts file.
I just experienced this today on an email server that has ran flawlessly for nearly 2 years. About 4000 bounced emails, and many of those replies being copied to many email boxes on our email server.

Really. Really. Weird.

Added this above fix, and it seemed to have worked. I just have to know. What gave or broke?

Two years of being good. Then... BAM! 4000 emails being bounced. All having the same "admispconfig@localhost.localdomain name service for name localhost.localdomain type=AAAA: Host not found" message.

Was someone in my network being naughty? Do I need to ram their mouse and keyboard up their "you-know-what" for making me research this issue?
Reply With Quote
  #6  
Old 8th January 2009, 23:08
iratik iratik is offline
Junior Member
 
Join Date: Aug 2006
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig Flooding System with E-Mails

I'm getting emails every second on the local machine to admispconfig@localhost.localdomain. I realize ispconfig uses this to send mail traffic statistics to itself. The problem is.. I don't have ispconfig.

I uninstalled ispconfig over a month ago .. there are no cron jobs no admispconfig user... and there is no /home/admispconfig anymore.

In fact, the emails were continuing to be sent despite there being no admispconfig user, and since 5-6 were being sent every second, each one would create a failure notice, causing a cascade of errors that have flooded my logs and taken up significant resources on our server for weeks now.

Please let me know how to stop this automated process, if you cannot do that... can you tell me how this automated process works because it apparently does not use cron.
Reply With Quote
  #7  
Old 9th January 2009, 09:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,070
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

This is built into the procmail recipes for every mail account. You should have deleted every website and mailuser before you have deleted ispconfig.

So to stop this, remove the procmail recipes in the home directory from every user on your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 9th January 2009, 12:17
iratik iratik is offline
Junior Member
 
Join Date: Aug 2006
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Procmail Local Mail Flooding

Here is what i did to hopefully fix the issue . The server where ispconfig was installed was a production server. As much as I would like to say that I had a redundant setup where i could take this machine down and have all our production domains stay up without interuption, I do not.
There was no way I could consider deleting all the websites and mail directories.
The ispconfig removal script gave me the choice of removing all the sites and ispconfig, or just removing ispconfig. I chose to only remove ispconfig.

Here is my solution (the commands prefixed with : are vim commands)

---------------------------------------------------------------------

locate .procmailrc > ~/tmp/procmailrc_locations
vim ~/tmp/procmailrc_locations
:%s/^\(.*\)$/cat \1 | sed -e 's\/^INCLUDERC\/## INCLUDERC\/' > \1
:w
:!bash ~/tmp/procmailrc_locations
locate .mailsizerc | xargs rm
Reply With Quote
Reply

Bookmarks

Thread Tools
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Email Delivery Problem sedat1903 HOWTO-Related Questions 2 22nd December 2008 11:19
Problem with 'CC' & 'BCC' email not being delivered. snowfly HOWTO-Related Questions 10 20th July 2006 12:36
Multiple MySQL Queries - with Postfix-mysql, courier-authmysql, maildrop-mysql... snowfly HOWTO-Related Questions 4 7th July 2006 04:19
Why can't I get my email? woozyerdaddee General 7 1st July 2006 12:09
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43


All times are GMT +2. The time now is 06:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.