Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2010, 17:29
linus3x linus3x is offline
Junior Member
 
Join Date: Oct 2010
Posts: 16
Thanks: 2
Thanked 2 Times in 2 Posts
Default Mail Errors: Bounced, Unknown User

I just set up a new ISPConfig 3 Debian Lenny system in Production and Iíve been going over the error logs, tightening things up, etc. I followed the Perfect Server tutorial, the one with Courier and MyDNS.

This morning, I noticed over 30 errors like the following that accumulated over the weekend in /var/log/mail.log:

Code:
Nov  8 10:35:10 ServerID postfix/local[1032]: 40D1E12646: to=<admin1@ServerID.hostingprovider.com>, orig_to=<root@ServerID.hostingprovider.com>, relay=local, delay=0.06, delays=0.01/0.02/0/0.02, dsn=5.1.1, status=bounced (unknown user: "admin1")
Hereís the thing Ė I didnít set up a user named ďadmin1Ē on this system. Iím guessing that admin1 is a leftover from a previous installation that my hosting provider did. But thatís just a guess.

I searched the hard drive for admin1 and, besides the error logs, I found the following match:

Code:
Binary file /etc/aliases.db matches
/etc/aliases:root: admin1
How can I solve these errors?

Is there any way to clean up the aliases.db file given that I don't have the original?

Is there any way to know which program is sending out these emails and maybe correct the address there?

Or is there some other simpler way?
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2010, 21:12
linus3x linus3x is offline
Junior Member
 
Join Date: Oct 2010
Posts: 16
Thanks: 2
Thanked 2 Times in 2 Posts
Default More Information

I did a grep for anything with admin1 in it and I see the following ISPConfig-looking entries:

Binary file /var/lib/mysql/dbispconfig/monitor_data.MYD matches
/var/cache/debconf/config.dat-old:Value: admin1
/var/cache/debconf/config.dat-old:Value: admin1
/var/cache/debconf/config.dat:Value: admin1
/var/cache/debconf/config.dat:Value: admin1

Could that be anything?
Reply With Quote
  #3  
Old 8th November 2010, 23:22
linus3x linus3x is offline
Junior Member
 
Join Date: Oct 2010
Posts: 16
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default Found It

Never mind - dug around this afternoon and found the culprit.

munin creates two cron files on Debian in /etc/cron.d called munin and munin-node. Both of these files have MAILTO specified at the top. They were trying to send mail to root who doesn't have a mail account defined. I went in and changed MAILTO to a real address and now the mail is getting sent.

As to why it was substituting in a non-existent alias of "admin1" I have no idea.
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
Catchall and Forwarding not working simmo General 6 22nd March 2014 00:54
ISPconfig 3 some users cannot send email to outside Rockblade Installation/Configuration 7 29th April 2010 01:40
CGI and FormMail Cracklefish Installation/Configuration 17 13th October 2009 13:40
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 20:43
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50


All times are GMT +2. The time now is 08:34.


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