Computing.Net > Forums > Linux > Relay Problem in Sendmail 8.12.8

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Relay Problem in Sendmail 8.12.8

Reply to Message Icon

Name: muralijanu
Date: November 10, 2005 at 00:47:31 Pacific
OS: Redhat Linux 9
CPU/Ram: PIV @ 512MB
Comment:

Hai,

I'm using Redhat Linux Sendmail 8.12.8 and by default is is not allowing relay. I want to enable this relay so that my off Campus mail users can send mail to mail users of all other domains(like user@yahoo.com,users@rediffmail.com..) so please help me achieve it.

thanks in advance.

V.Murali tharan



Sponsored Link
Ads by Google

Response Number 1
Name: balu_2020
Date: November 10, 2005 at 05:29:46 Pacific
Reply:

Hi Murali,

In /etc/mail/access or relay(not sure) file add the server ipaddress and hostname instead of logical address. This should solve ur problem.

Pl take backup before changing the config file.

Regards,
Balakrishna


0

Response Number 2
Name: muralijanu
Date: November 10, 2005 at 23:30:29 Pacific
Reply:

Hi Bala,

Thanks for your rely. in this case i have to add each ever mail domain IP address and hostname and is very difficult to identify that to which ID my users will send mails. If at all i want to enable relay for all the domain, then what should i do bala.....

thanks in advance.... Murali

Thanks and regards

V.Murali tharan


0

Response Number 3
Name: 3Dave
Date: November 18, 2005 at 04:38:34 Pacific
Reply:

How are your clients connecting? Do they have static IPs? If so add their IPs/domains to /etc/mail/access, eg:
192.168.0 RELAY
smtp.mailserver.com RELAY
212.226.45.18 RELAY
jon.home.domain RELAY

If they are using dynamic IPs (eg on dial-up) then you will have to look into authentication instead.


0

Response Number 4
Name: muralijanu
Date: November 21, 2005 at 00:26:33 Pacific
Reply:

Hai 3Dave,

Much thanks for your reply. My clients are using Dial-up Connection and they would get Dynamic IPs. can u please tell me how to set authentication method as u have described. Send me the full write on authentication part.

Thanks and regards

V.Murali tharan


0

Response Number 5
Name: 3Dave
Date: November 21, 2005 at 02:41:11 Pacific
Reply:

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


0

Related Posts

See More



Response Number 6
Name: davemiller
Date: December 14, 2005 at 14:24:53 Pacific
Reply:

as root:

Add a line(s) like below to your access file.
Access file is at /etc/mail/access (usually).

somedomain.something RELAY
ip.add.re.ss RELAY

somedomain.something = the domain you wish to allow

ip.add.re.ss = an actual ip address

use the tab key for the space between address and RELAY.

Then run the below command:
makemap hash access.db < access

Restart sendmail and you are off to the RELAY races.

I would, however, read the link posted above by "3Dave". There are better authentication options available. Very informative, too...right from the sendmail folks, as well.


I'm not as dumb as I am.



0

Response Number 7
Name: 3Dave
Date: December 15, 2005 at 05:05:26 Pacific
Reply:

I mentioned /etc/mail/access above but I don't think it will help him as the clients are using dial-up and dynamic IPs/naming.


0

Response Number 8
Name: davemiller
Date: December 15, 2005 at 22:50:44 Pacific
Reply:

It is possible to add an entire domain to the access file. You can also use partial IPS w/wild cards.

EX:

proivder.com RELAY
123.42 RELAY

Then everyone from provider.com and/or with an ip address starting with 123.42 can relay mail through your server.

It works, but is not a good idea (in my opinion) for security reasons.

I'm not as dumb as I am.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Relay Problem in Sendmail 8.12.8

Sendmail open relay problem www.computing.net/answers/linux/sendmail-open-relay-problem/26638.html

problem logging in redhat 8.0 www.computing.net/answers/linux/problem-logging-in-redhat-80/26028.html

sendmail 8.11.6-3 www.computing.net/answers/linux/sendmail-81163/20375.html