Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help required for configuring sendmail

Reply
Thread Tools Display Modes

Help required for configuring sendmail

 
 
Mahendra Modi
Guest
Posts: n/a

 
      12-01-2003, 08:37 AM
In my university we have several outstations which are connected to
the Internet through different ISPs. One thing is common about all
these is that the ISP gives them a private number, something like
10.0.0.1. Now when I try to setup sendmail from these places they are
not allowed to send the mail as they do not have valid ip number. So,
I tried to relay the mail through the server at the main campus which
has a valid IP number, but even than they can not send the mail. If
someone can help me I shall be very grateful. I have read the sendmail
howto and have added the ip number of the clients as well as their
domain names in the access file with little result. I am running RH linux 9.0

Mahendra
 
Reply With Quote
 
 
 
 
J.O. Aho
Guest
Posts: n/a

 
      12-01-2003, 10:34 AM
Mahendra Modi wrote:
> In my university we have several outstations which are connected to
> the Internet through different ISPs. One thing is common about all
> these is that the ISP gives them a private number, something like
> 10.0.0.1. Now when I try to setup sendmail from these places they are
> not allowed to send the mail as they do not have valid ip number. So,
> I tried to relay the mail through the server at the main campus which
> has a valid IP number, but even than they can not send the mail. If
> someone can help me I shall be very grateful. I have read the sendmail
> howto and have added the ip number of the clients as well as their
> domain names in the access file with little result. I am running RH linux 9.0


Do they get a deny from the SMTP or do they get a message tehy can't connect?

 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      12-01-2003, 06:33 PM
well, just look inside your sendmail.cf file ... new sendmail versions
only allow relay from 127.0.0.1.

by default it allows relaying from localhost...

see also the /etc/mail/access file which prevent outside users from
using it.
-------------------------------------------------------------------
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
10.10.0.1 RELAY

raqueeb hassan
DRC
 
Reply With Quote
 
Mahendra Modi
Guest
Posts: n/a

 
      12-02-2003, 08:58 AM
"J.O. Aho" <(E-Mail Removed)> wrote in message news:<bqf909$22d5jr$(E-Mail Removed)>...
> Mahendra Modi wrote:
> > In my university we have several outstations which are connected to
> > the Internet through different ISPs. One thing is common about all
> > these is that the ISP gives them a private number, something like
> > 10.0.0.1. Now when I try to setup sendmail from these places they are
> > not allowed to send the mail as they do not have valid ip number. So,
> > I tried to relay the mail through the server at the main campus which
> > has a valid IP number, but even than they can not send the mail. If
> > someone can help me I shall be very grateful. I have read the sendmail
> > howto and have added the ip number of the clients as well as their
> > domain names in the access file with little result. I am running RH linux 9.0

>
> Do they get a deny from the SMTP or do they get a message tehy can't connect?


They get the message relaying denied, though their ip number and
domain name is entered in the /etc/mail/access file

Mahendra
 
Reply With Quote
 
Leon.
Guest
Posts: n/a

 
      12-02-2003, 12:23 PM

"Mahendra Modi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> In my university we have several outstations which are connected to
> the Internet through different ISPs. One thing is common about all
> these is that the ISP gives them a private number, something like
> 10.0.0.1.



You will have to explain how they connect through to the university.

Do the ISP's have a special link to the uni ?
Do you use a vpn tunnel ?


Which mail servers are you using as the relay ?

The ISP's mail server may be refusing to relay the 10.*.*.* address ?

If you modify /etc/mail/relay, you need to go to /etc/mail and do 'make' to
update the database version of the file.





>Now when I try to setup sendmail from these places they are
> not allowed to send the mail as they do not have valid ip number. So,
> I tried to relay the mail through the server at the main campus which
> has a valid IP number, but even than they can not send the mail. If
> someone can help me I shall be very grateful. I have read the sendmail
> howto and have added the ip number of the clients as well as their
> domain names in the access file with little result. I am running RH linux

9.0
>
> Mahendra



 
Reply With Quote
 
Claus =?iso-8859-1?Q?A=DFmann?=
Guest
Posts: n/a

 
      12-02-2003, 02:36 PM
Mahendra Modi wrote:

> They get the message relaying denied, though their ip number and
> domain name is entered in the /etc/mail/access file


Default answer: please see:

http://www.sendmail.org/~ca/email/relayingdenied.html

If that doesn't solve your problems, post one or two related logfile
entries, tell us which of those hosts (to=, relay=) in the entries are
"yours" (or "trusted"), and list the anti-relay FEATUREs you use.

--
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MTA besides sendmail? Nietzsche Linux Networking 6 11-02-2006 01:02 AM
LDAP with Sendmail sailaja Linux Networking 1 01-30-2006 12:04 PM
LDAP with Sendmail sailaja Linux Networking 0 01-30-2006 11:57 AM
sendmail compromised - Somebody help me! Ohmster Linux Networking 5 04-26-2005 11:01 PM
Sendmail John Linux Networking 2 05-23-2004 08:07 PM



1 2 3 4 5 6 7 8 9 10 11