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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th November 2008, 16:52
SimonH SimonH is offline
Junior Member
 
Join Date: Nov 2008
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default 550 5.1.1 : Recipient address rejected: User unknown

Hi there. I have hunted these forums already, trying to find a solution to this problem. Although I've found threads detailing similar problems, none seem to be like this one.

Essentially, we have a problem with *some* people emailing users on our server. For the most part, mail works flawlessly, and we don't have any problems, but occaisionally, we find that some people just cannot email users on our server, no matter how hard they try, they get a bounce message like this (email addresses and hostnames have been changed to generic value's);

Quote:
----- The following addresses had permanent fatal errors -----
<user@domain.tld> (reason: 550 5.1.1 <user@ispconfig.hostname>: Recipient address rejected: User unknown in local recipient table) ----- Transcript of session follows ----- ... while talking to ispconfig.hostname.: >>> DATA <<< 550 5.1.1 <user@ispconfig.hostname>: Recipient address rejected: User unknown in local recipient table 550 5.1.1 <user@domain.tld>... User unknown <<< 554 5.5.1 Error: no valid recipients
The thing I find strangest about this, is that user@domain.tld (the proper users email address on the ispconfig server) seems to be getting converted to user@ispconfig.hostname. ie. the domain name part of the email address is being converted to the hostname of the ispconfig server. I'm not sure if this is relevant, but it seems strange to me.

If I try to test this by sending an email from my personal googlemail account to the same email address, the mail goes through fine, and I cannot replicate the issue the senders are having.

It happens with multiple unrelated accounts, and multiple unrelated domains on the server, with multiple unrelated users with different ISP's sending the emails. Some users never have the problem at all, other users seem to have it a lot. I really don't know where to start with this. Adding to the problem, it's quite difficult to troubleshoot with senders who aren't my customer, but some are cooperative occaisionally, even though I haven't got anywhere with this in the end. At one point when this happened, I deleted the affected site and associated users and domains (DNS records included) from the ISPConfig control panel, emptied the recycle bin, and recreated them. This seemed to fix the problem for a while (I didn't have any compaints from the user), but now it's resurfaced for at least one of these customers. Obviously continually deleting and readding them (forcing them to update their login details) isn't really a good solution, if in fact it does work.

Apologies if I've missed a thread on this, and please feel free to point me in the direction of it if one exists. I hope somebody can help with this, as I have no idea what to do. There isn't really anything useful in /var/log/mail.log only things like;

Quote:
Nov 17 15:15:32 apollo postfix/local[12940]: 90E3F6204: to=<web48_admin@ispconfig.hostname>, orig_to=<user@domain.tld>, relay=local, delay=5.4, delays=0.15/0/0/5.3, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
I have tried to odd trick like "postmap /etc/postfix/virtusertable" to rebuild the user table, but it hasn't helped.

Many Thanks In Advance,

Simon
Reply With Quote
Sponsored Links
  #2  
Old 17th November 2008, 17:46
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
Default

To clear thing out:

1) user1@somedomain.com sends mail to user@domain.tld hosted on your ISPConfig server and user1@somedomain.com gets error:
----- The following addresses had permanent fatal errors ----- ... etc.

2) user2@gmail.com sends mail to user@domain.tld and mail is delivered with no errors

user@domain.tld exists in /etc/postfix/virtusertable ?

What HOW-TO did you use for install?
Reply With Quote
  #3  
Old 17th November 2008, 17:52
SimonH SimonH is offline
Junior Member
 
Join Date: Nov 2008
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry, I forgot that bit

I used The Perfect Setup - Debian Etch (Debian 4.0) HOW-TO. I'm also running ISPConfig 2.2.24, but this problem has occured on the 2 versions prior to that.

Debian is fully up to date.

Your other points are all correct, yes. The only point I'd make is that user@domain.tld isn't in /etc/postfix/virtusertable, it's a catchall account for that whole domain.


Cheers.

Last edited by SimonH; 17th November 2008 at 17:54.
Reply With Quote
  #4  
Old 17th November 2008, 18:09
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
Default

I personaly dont have catchall mail account but I think that it should be listed in /etc/postfix/virtusertable because that account can recive mail sent directly to that account but also recives all other mail sent to same domain.

Last edited by _X_; 17th November 2008 at 18:11.
Reply With Quote
  #5  
Old 17th November 2008, 19:25
SimonH SimonH is offline
Junior Member
 
Join Date: Nov 2008
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Well, the account in question is one of a few that the sender tried for this domain. All failed. There are no other user accounts for the site, just a single "admin" account which is a catchall for the domain.

@domain.tld web48_admin

is listed in /etc/postfix/virtusertable, which I assume refers to the catchall.
Reply With Quote
  #6  
Old 17th November 2008, 22:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Please enable the maildir checkbox under management > server > settings
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 17th November 2008, 22:43
SimonH SimonH is offline
Junior Member
 
Join Date: Nov 2008
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

I've just checked, and it is already enabled.
Reply With Quote
  #8  
Old 17th November 2008, 22:47
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Did you install your server exactly as described in the perfect setup guide for your linux distribution?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 17th November 2008, 23:19
SimonH SimonH is offline
Junior Member
 
Join Date: Nov 2008
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

yes, exactly, as far as I can remember. It was around 10 months ago, now. The only thing I didn't enable was disk quota's.
Reply With Quote
  #10  
Old 18th November 2008, 15:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

What's in /etc/postfix/main.cf?
__________________
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Recipient address rejected: aberrio HOWTO-Related Questions 12 6th October 2007 05:30
php script injections Grizzly General 21 18th July 2006 08:55
Recipient address rejected: User unknown in local recipent table. adrenalinic Installation/Configuration 15 25th April 2006 16:26


All times are GMT +2. The time now is 13:21.


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