Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th March 2006, 17:02
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default undeliverable mail to my own system

I send an email to one of my domains and it comes back with these errors:

Quote:
This is the Postfix program at host h5810.serverkompetenz.net.

I'm sorry to have to inform you that your message could not be
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

<debian@h5810.serverkompetenz.net> (expanded from <ovidiu@pacura.ru>): unknown
user: "debian"
and here is more details:

Quote:
Reporting-MTA: dns; h5810.serverkompetenz.net
X-Postfix-Queue-ID: 9148D5D01DD
X-Postfix-Sender: rfc822; o-v-i@gmx.de
Arrival-Date: Tue, 7 Mar 2006 16:45:26 +0100 (CET)

Final-Recipient: rfc822; debian@h5810.serverkompetenz.net
Original-Recipient: rfc822; ovidiu@pacura.ru
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; unknown user: "debian"
why does it try to deliver to debian@.... ? you see the original recipient was ovidiu@pacura.ru...
btw. this is the main email address of this user, its not an alias...
Reply With Quote
Sponsored Links
  #2  
Old 7th March 2006, 19:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Please check /etc/postfix/virtusertable and your postfix alias file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th March 2006, 22:27
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

I checked the virtualuser table and indeed there was a loop.

I have the following settings inside ispcfg panel:

ovidiu@pacura.ru is being forwarded to postmaster@web-designerz.de
ovidiu also has the following aliases: abuse, webmaster and admin.

BUT inside the virtualuser table all these were not forwarded to postmaster@web-designerz.de but to postmaster => resulting in a loop.

Can't I have this forwarded like I wanted to postmaster@web-designerz.de ?

And if I can why is this setting not correctly written to the virtualuser table?

besides that I looked inside /etc/aliases - all users were forwarded to root and root was forwarded to debian, so I would like to make a forward from debian to postmaster@web-designerz.de which is the central email address on this system.... can I just insert: debian: postmaster@web-designerz.de ? or do I have to insert debian: web1_postmaster ?

Last edited by Ovidiu; 7th March 2006 at 22:32.
Reply With Quote
  #4  
Old 7th March 2006, 22:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

The alis table is not managed by ISPConfig and its better to not use it at this may cause these problems you currently encounter.

Quote:
BUT inside the virtualuser table all these were not forwarded to postmaster@web-designerz.de but to postmaster => resulting in a loop.
Have you disabled username prefixes? Then you must have created an user named postmaster in the website web-designerz.de.

The username postmaster and the part "postmaster@" in an email address are independant. They can be the same when you disabled username prefixes, but they must not be the same.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 7th March 2006, 23:54
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

well I only want mail going to root not to disappear so what do I insert into aliases so root points to webmaster@web-designerz.de this email address or just root: web1_postmaster ?

next thing: I did not diable prefixes, I just asked if I can set a forward to postmaster@web-designerz.de inside ispcfg panel or do I have to use web1_postmaster which means I cannot forward to external email addresses for instance.

I tried forwarding inside ispcfg panel to postmaster@web-designerz.de but inside the virtualusertabel I see that ovidiu@pacura.ru is being forwarded to web6_postmaster which is an alias for ovidiu@pacura.ru so there is a loop...
Reply With Quote
  #6  
Old 8th March 2006, 10:29
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 Tenaka
well I only want mail going to root not to disappear so what do I insert into aliases so root points to webmaster@web-designerz.de this email address or just root: web1_postmaster ?
Use
Code:
root: web1_postmaster
(and run
Code:
newaliases
afterwards).

Quote:
Originally Posted by Tenaka
next thing: I did not diable prefixes, I just asked if I can set a forward to postmaster@web-designerz.de inside ispcfg panel or do I have to use web1_postmaster which means I cannot forward to external email addresses for instance.
No, you must use email addresses in the forward field.

Quote:
Originally Posted by Tenaka
I tried forwarding inside ispcfg panel to postmaster@web-designerz.de but inside the virtualusertabel I see that ovidiu@pacura.ru is being forwarded to web6_postmaster which is an alias for ovidiu@pacura.ru so there is a loop...
Do you have
Code:
web6_postmaster: ovidiu@pacura.ru
in /etc/aliases? Remove it!
__________________
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
  #7  
Old 8th March 2006, 10:42
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

ok, alls fine now except for this:

Quote:
cat /etc/postfix/virtusertable | grep pacura.ru
abuse@www.pacura.ru web6_postmaster
webmaster@www.pacura.ru web6_postmaster
admin@www.pacura.ru web6_postmaster
ovidiu@www.pacura.ru web6_postmaster
web6_postmaster@www.pacura.ru web6_postmaster
abuse@pacura.ru web6_postmaster
webmaster@pacura.ru web6_postmaster
admin@pacura.ru web6_postmaster
ovidiu@pacura.ru web6_postmaster
web6_postmaster@pacura.ru web6_postmaster
this is inside the virtualusertable although ovidiu@pacura.ru is set to be forwarded to postmaster@web-designerz.de which coresponds to web1_postmaster... WHY? and how to change this? delete the forward and set it again?

But now mails get into my inbox (mind that I am talking about the inbox of postmaster@web-designerz.de) ... ? here is a header from a mail I just sent to myself:

Quote:
Return-Path: <tenaka.khan@gmx.net>
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
h5810.serverkompetenz.net
X-Spam-Level:
X-Spam-Status: No, score=-1.4 required=3.1 tests=ALL_TRUSTED autolearn=ham
version=3.1.0
X-Original-To: ovidiu@pacura.ru
Delivered-To: web1_postmaster@h5810.serverkompetenz.net
Received: from mail.web-designerz.de (localhost [127.0.0.1])
by h5810.serverkompetenz.net (Postfix) with ESMTP id 74C0A5D0198
for <ovidiu@pacura.ru>; Wed, 8 Mar 2006 10:43:42 +0100 (CET)
Received: from 62.159.xxx.xxx
(SquirrelMail authenticated user web1_postmaster)
by mail.web-designerz.de with HTTP;
Wed, 8 Mar 2006 11:43:42 +0200 (EET)
Message-ID: <12608.62.159.242.114.1141811022.squirrel@mail.w eb-designerz.de>
Date: Wed, 8 Mar 2006 11:43:42 +0200 (EET)
Subject: test only
From: "Tenaka Khan" <tenaka.khan@gmx.net>
To: ovidiu@pacura.ru
User-Agent: SquirrelMail/1.4.6
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

Last edited by Ovidiu; 8th March 2006 at 10:46.
Reply With Quote
  #8  
Old 8th March 2006, 21:12
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

Please post the contents of /etc/postfix/virtusertable and /etc/aliases.
__________________
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
  #9  
Old 9th March 2006, 07:34
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

Quote:
###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
webmaster@www.web-designerz.de web1_postmaster
abuse@www.web-designerz.de web1_postmaster
admin@www.web-designerz.de web1_postmaster
postmaster@www.web-designerz.de web1_postmaster
web1_postmaster@www.web-designerz.de web1_postmaster
webmaster@web-designerz.de web1_postmaster
abuse@web-designerz.de web1_postmaster
admin@web-designerz.de web1_postmaster
postmaster@web-designerz.de web1_postmaster
web1_postmaster@web-designerz.de web1_postmaster
abuse@www.hai-hui.net web2_info
webmaster@www.hai-hui.net web2_info
postmaster@www.hai-hui.net web2_info
info@www.hai-hui.net web2_info
web2_info@www.hai-hui.net web2_info
abuse@hai-hui.net web2_info
webmaster@hai-hui.net web2_info
postmaster@hai-hui.net web2_info
info@hai-hui.net web2_info
web2_info@hai-hui.net web2_info
dark@www.hai-hui.net web2_dark
web2_dark@www.hai-hui.net web2_dark
dark@hai-hui.net web2_dark
web2_dark@hai-hui.net web2_dark
timisoara@www.hai-hui.net web2_timisoara
web2_timisoara@www.hai-hui.net web2_timisoara
timisoara@hai-hui.net web2_timisoara
web2_timisoara@hai-hui.net web2_timisoara
webmaster@www.rum-reisen.de web3_melanie
postmaster@www.rum-reisen.de web3_melanie
abuse@www.rum-reisen.de web3_melanie
admin@www.rum-reisen.de web3_melanie
melanie@www.rum-reisen.de web3_melanie
web3_melanie@www.rum-reisen.de web3_melanie
webmaster@rum-reisen.de web3_melanie
postmaster@rum-reisen.de web3_melanie
abuse@rum-reisen.de web3_melanie
admin@rum-reisen.de web3_melanie
melanie@rum-reisen.de web3_melanie
web3_melanie@rum-reisen.de web3_melanie
kiggers@www.rum-reisen.de web3_kiggers
web3_kiggers@www.rum-reisen.de web3_kiggers
kiggers@rum-reisen.de web3_kiggers
web3_kiggers@rum-reisen.de web3_kiggers
renate@www.web-designerz.de web1_renate
web1_renate@www.web-designerz.de web1_renate
renate@web-designerz.de web1_renate
renate@web-designerz.de web1_renate
web1_renate@web-designerz.de web1_renate
abuse@www.kissaki.de web4_ossi
webmaster@www.kissaki.de web4_ossi
postmaster@www.kissaki.de web4_ossi
admin@www.kissaki.de web4_ossi
web4_ossi@www.kissaki.de web4_ossi
abuse@kissaki.de web4_ossi
webmaster@kissaki.de web4_ossi
postmaster@kissaki.de web4_ossi
admin@kissaki.de web4_ossi
web4_ossi@kissaki.de web4_ossi
abuse@www.zice.ro web5_postmaster
webmaster@www.zice.ro web5_postmaster
admin@www.zice.ro web5_postmaster
postmaster@www.zice.ro web5_postmaster
web5_postmaster@www.zice.ro web5_postmaster
abuse@zice.ro web5_postmaster
webmaster@zice.ro web5_postmaster
admin@zice.ro web5_postmaster
postmaster@zice.ro web5_postmaster
web5_postmaster@zice.ro web5_postmaster
abuse@www.pacura.ru web6_postmaster
webmaster@www.pacura.ru web6_postmaster
admin@www.pacura.ru web6_postmaster
ovidiu@www.pacura.ru web6_postmaster
web6_postmaster@www.pacura.ru web6_postmaster
abuse@pacura.ru web6_postmaster
webmaster@pacura.ru web6_postmaster
admin@pacura.ru web6_postmaster
ovidiu@pacura.ru web6_postmaster
web6_postmaster@pacura.ru web6_postmaster
andrei@www.zice.ro web5_andrei
web5_andrei@www.zice.ro web5_andrei
andrei@zice.ro web5_andrei
web5_andrei@zice.ro web5_andrei
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
Quote:
# This is the aliases file - it says who gets mail for whom.
# It was originally generated by `eximconfig', part of the exim package
# distributed with Debian, but it may edited by the mail system administrator.
# This file originally generated by eximconfig at Mon Jun 7 17:40:26 CEST 2004
# See exim info section for details of the things that can be configured here.

postmaster: root
root: web1_postmaster

daemon: root
bin: root
sys: root
sync: root
games: root
man: root
lp: root
mail: root
news: root
uucp: root
proxy: root
postgres: root
www-data: root
backup: root
operator: root
list: root
irc: root
gnats: root
nobody: root

hostmaster: root
usenet: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
mailer-daemon: postmaster
although it seems to work atm - ?
Reply With Quote
  #10  
Old 9th March 2006, 10:08
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

I don't see a loop for ovidiu@pacura.ru...
__________________
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
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
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Mail system problems. SkIRmiS Installation/Configuration 27 24th November 2006 17:45
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


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


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