Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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

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

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 RELAYIf they are using dynamic IPs (eg on dial-up) then you will have to look into authentication instead.

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

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 RELAYsomedomain.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 < accessRestart 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.

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.

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 RELAYThen 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.

![]() |
![]() |
![]() |

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