Computing.Net > Forums > Linux > Anoying Sendmail Problem...

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Anoying Sendmail Problem...

Reply to Message Icon

Name: Rodrigo
Date: January 6, 2003 at 13:49:02 Pacific
OS: RedHat 8.0
CPU/Ram: 700/512
Comment:

what should i change on sendmail to accept mail comming from any registered user on the system thats not on the same network...?

i mean... if user1 is at home and wants to use the server to send a e-mail from his laptop thats using outlook express, how do i setup sendmail to allow him to send email from anywhere any ipadress

i've been looking for these awnser for about a day now... but there is no go answer to it... its allways talking about other stuff.. from how to install sendmail and how to configure to use with outlook, BUT just if you are in the same network or certain ip range....

all i need is to know how to tell sendmail that user1 or user2 is conecting to the server and is allowed to send email..

right now i'm getting an error... 550, server not relaying... but if i send from the web interface, it does it fine... and receives fine too... its just anoying....

i'm running RedHat 8.0... its a good package but there is too many security issues... i mean... too much security...


any help will be appreciated



Sponsored Link
Ads by Google

Response Number 1
Name: xman
Date: January 6, 2003 at 17:42:36 Pacific
Reply:

You use same box as www and mail server?
That's why all worked well from web-interface. If you want to send mail from another box than server you must allow relaying. Look docs with sendmail package for details how to prepare new sendmail.cf file allowing this.


0

Response Number 2
Name: Rodrigo lozada
Date: January 6, 2003 at 20:53:41 Pacific
Reply:

I've look all those files even before you mentioned... but i sent mail from a diferente computer and few diferente servers even some overseas servers... and i can get it fine, if i try to send messeges from the box its fine... its when it come to relaying that its kind hard to find a solution...

i'm trying to find a way to relay any messeges that any of the registered users i have to that server no matter where they are conected... specially cuz most of the time this user will be on the road (around the country)

sorry for not explanning myself better...

thanks



0

Response Number 3
Name: my2cents
Date: January 6, 2003 at 22:46:20 Pacific
Reply:

Sendmail configuration has been changed from redhat 7.2 due to security. I did the following steps for my mail server
1) Edit /etc/hosts.deny

ALL except sendmail: ALL

2) Edit /etc/mail/sendmail.mc

Comment out Dameon_option (127.0.0.1)

(it is towards the end)

3) run the following command

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

hope this helps



0

Response Number 4
Name: David Perry
Date: January 7, 2003 at 05:10:18 Pacific
Reply:

And when you do make the changes to allow user@network to send mail through your server, please post your server's IP number so all the hackers can easily use your machine as an open relay for thier spam trash. pop3 is a clear text protocol. It would be trivial to sniff user names that are allowed to use this box as a relay.


0

Response Number 5
Name: Rodrigo
Date: January 7, 2003 at 08:29:18 Pacific
Reply:

I know the risk... but i'm sure that there is a solution to this... someone out there should know...


i need the server to relay the messeges.. but i need it to be secure also... i understand the risk.. and apriciate your concern but, all i really need is a way to get e-mail through the server.... i'm looking for a way that the user can login to the server and then send the messege....


by the way....


THANKS FOR THE HELP...

it looks like that this is the only forum that i can trust to get info...


0

Related Posts

See More



Response Number 6
Name: David Perry
Date: January 7, 2003 at 09:07:49 Pacific
Reply:

Have you looked at ipsec and VPN ? With VPN your road warrior clients would appear to be on the protected network with all traffic encrypted.

Failing that, look in the README file that ships with the sendmail.cf package for details about creating your own sendmail.cf file. Look for the items

promiscuous_relay <= VERY BAD IDEA
relay_based_on_MX <= still hackable but better
relay_mail_from
relay_local_from


0

Response Number 7
Name: Rodrigo
Date: January 7, 2003 at 11:20:18 Pacific
Reply:

thanks for the help so far..


i got another little problem... but these time should be really easy to fix...

the only thing is that one of the servers i used to send email from to the new server said.. "The SMTP server may refuse to handle mail for unknown recipients."

the only thing i did to send the email was put a "mail." in from of the domain

like this:

user1@mydomain.com

user@mail.mydomain.com

and this is the only server so far to do so... i can send e-mail fine from the other servers...

i also checked the relay options... and i have both listed...

any ideas..


thaks againg for your help


0

Response Number 8
Name: Rodrigo
Date: January 7, 2003 at 11:23:47 Pacific
Reply:

i meant:

user1@mydomain.com


user1@mail.mydomain.com


0

Sponsored Link
Ads by Google
Reply to Message Icon

rdp server for linux problem during a linux in...



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: Anoying Sendmail Problem...

sendmail problem www.computing.net/answers/linux/sendmail-problem/9117.html

Sendmail problem www.computing.net/answers/linux/sendmail-problem/25958.html

Sendmail problem: cannot retrieve www.computing.net/answers/linux/sendmail-problem-cannot-retrieve/21333.html