Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 27th, 2010, 02:19 AM
88guy 88guy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Lansing, MI
Posts: 233 88guy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 12 h 10 m 43 sec
Reputation Power: 10
Qmail fails with 553 sorry, that domain isn't in my list

Years ago I installed Qmail following the Qmailrocks guide. Of course, when I was done (after a few farts and sputters) it all worked - but I really did not have the faintest idea what was going on. Since then I've done some studying and recently tried to upgrade my mail server using a new patch from John Simpson and adding the validrcppto and onchange features. My logs indicate that these features are working...but, when I try to send mail it get the "553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)" error. I didn't install SSL nor even qmail-scanner - I wanted to get the basics down and continue from there. I'm testing it on a Slackware box using Thunderbird. It's not Thunderbird because I get the same error from the command line. Honestly, I still do not completely understand the /var/qmail/control/rcpthosts file - apparently. I mean - that should be the domains on my server, I think - which it is... I actually bought an 89 cent domain and documented every step. If someone could possibly even suggest what might be wrong I would really appreciate it... I'm 58, tired as hell, and really need this to work..

And, by the way, there were no errors when I patched qmail.....

Here's the page with the steps I took, the patch number, a copy of my smtpd_run file - everything:

http://qmailquestions.info/index.php?option=com_content&view=article&id=49&Itemid=55

I'd let someone go into the thing with ssh and tinker - it's simply a test, at this point.....

Thanks for any suggestions...

Guy Merritt
Flint, MI

Last edited by 88guy : July 27th, 2010 at 02:13 PM.

Reply With Quote
  #2  
Old July 27th, 2010, 06:17 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 43 m 55 sec
Reputation Power: 4445
In your qmail installation there is a file named rcpthosts (somewhere), and you may need to add your target domain in that file. This file identifies email addresses that are considered 'local' to qmail, i.e., that will accept delivery of emails.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #3  
Old July 28th, 2010, 07:15 AM
88guy 88guy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Lansing, MI
Posts: 233 88guy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 12 h 10 m 43 sec
Reputation Power: 10
Quote:
Originally Posted by Doug G
In your qmail installation there is a file named rcpthosts (somewhere), and you may need to add your target domain in that file. This file identifies email addresses that are considered 'local' to qmail, i.e., that will accept delivery of emails.


Thanks Doug - but at this point, I'm completely aware of the location and nature of rcpthosts. It's in my system at /var/qmail/control/rcpthosts and it contains the name of the local domain from which I am trying to send mail. When I do /home/vpopmail/./vadddomain the domains get added, appear in that file, and I still get this error. And, by target domain, I don't assume that you mean if I'm trying to send mail to someone@yahoo.com I should add "yahoo.com"..? That's not the point/function of that file - if that's what you were suggesting. I don't presume you mean the latter - and, as I've said...the file exists and contains the name of local domains.

And here's something else that's really odd - at least I've never seen it before. My /etc/hosts file is pretty standard; the box IP is 10.1.10.58 and it has an entry, like, 10.1.10.58 mymailserver.com and 10.1.10.58 localhost (it wouldn't work at all without the latter - and I've never had to use that sort of entry, before). And, when I try to telnet to port 25 I get this (connection refused, then it connects via the mail server's name):


telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying 10.1.10.58...
Connected to localhost.
Escape character is '^]'.
220 mail.myserver.com ESMTP

Last edited by 88guy : July 28th, 2010 at 07:48 AM.

Reply With Quote
  #4  
Old July 28th, 2010, 10:26 AM
88guy 88guy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Lansing, MI
Posts: 233 88guy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 12 h 10 m 43 sec
Reputation Power: 10
Case closed

Well - after a lot of net surfing I literally found one, single page which gave me a clue. Basically, I went to John Simpson' site, he said "here's my smtp run script that works with this patch" and I presumed it would work on Slackware (or any Unix/Linux). The problem is that, while his patches work fine, the syntax for the run script, on Slackware, is significantly different. It almost works - which is what threw me (that and the fact that I'm not a Linux wizard).

Anyway - sorry to be a bother...but that's the problem. I almost had it all working this morning.....

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Qmail fails with 553 sorry, that domain isn't in my list

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap