Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 February 4th, 2004, 02:48 PM
deltamc2000 deltamc2000 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 3 deltamc2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Installed Qmail all seemed fine ....

I have just set up qmail smtp section, all works well. The local inject works fine, local to remote works fine. I have a internal network which i added its static ip to allow relaying so I can mail direct from there to the local aliases and relay a message to anyone anywhere.

The problem comes when any one else comming from a different smtp mail server (anyone trying to send mail to any local accounts) it gets rejected because its not in the rcpthosts!

As I understand it, anyone anywhere can send mail to my public server and as long as the alias is a valid local account it should be delivered. They should only be rejected if 1) not a valid alias 2)the cheeky bastards are trying to use it as a dirty relay.

It maybe to do with the fact the fqdn got changed to a new after the install was complete with ./config-fast my.new.domain? could this have caused a problem?

I can supply any info needed to help, just specify.

Im off to bed hope some one can help ....

Thanks .
Paul

Reply With Quote
  #2  
Old February 4th, 2004, 02:57 PM
deltamc2000 deltamc2000 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 3 deltamc2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It seems that there are being rejected because qmail is returning the message: Relaying denied.
But its not trying to relay it should be delivering it to the local account? how can any one email them? Thanks to anyone who can tell if i have a screwed qmail and a rinstall mybe in order, or if im being thick!

Reply With Quote
  #3  
Old February 4th, 2004, 02:58 PM
deltamc2000 deltamc2000 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 3 deltamc2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
and I have added the :allow line for access control, but it made no difference

Reply With Quote
  #4  
Old February 10th, 2004, 05:05 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Put the domains you want to accept mail for in /var/qmail/control/rcpthosts - one per line.
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
  #5  
Old February 20th, 2004, 03:31 AM
rajneesh rajneesh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: New Delhi,India
Posts: 8 rajneesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wink

Quote:
Originally Posted by alexgreg
Put the domains you want to accept mail for in /var/qmail/control/rcpthosts - one per line.

Well I don't think that is a solution how long can you go an adding the domain from which you want to recieve mails from.Just check whether your mail server has been configured as a master+relay or just relay.Hope that helps.

Reply With Quote
  #6  
Old February 21st, 2004, 10:40 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
Well I don't think that is a solution

It is the solution - that's why I posted it.
Quote:
how long can you go an adding the domain from which you want to recieve mails from

/var/qmail/control/rcpthosts defines what domains you can receive mail to, not from. You can receive mail from any domain, but only to domains that are listed in /var/qmail/control/rcpthosts.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Installed Qmail all seemed fine ....


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway