Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-23-2008, 07:02 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Distribution: RH & Fedora Core
Posts: 18
Rep:
|
Sendmail, DYNDNS, and relaying questions.
Background:
Redhat install, running Sendmail.
My Box is on a dynamic IP from my ISP so I use DYNDNS.com to keep everything inline. I also use their Mailhop Relay and Mailhop Outbound. Currently I can receive e-mail by logging in mail.mybox.net, but have to send mail out through outbound.mailhop.org (or something like that I don't remember the full name) And have to send a login and password, which is also my login and password for my DYNDNS service. Now this setup works fine for my one or two e-mail accounts I have on my server, but a few family members want another e-mail, and I don't want to give them my DYNDNS password. Can I setup Sendmail to accept e-mail from users, then send it on its way through outbound.mailhop.org using my login and password? When I try to do this now I get "Relaying denied" from my server. It has been a while since I configed my Sendmail so I am not sure what I have set up exactly.
Rusty
on edit:
Strangely... if they use Webmail it works fine..... My guess is I need to tell my Sendmail that the new users are ok to send e-mail ????
Last edited by rusty105; 12-23-2008 at 07:21 AM.
Reason: Added info
|
|
|
01-04-2009, 07:16 PM
|
#2
|
Member
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573
Rep:
|
You're heading in the right direction. If your server accepted emails from any remote users, it would quickly become a SPAM pest. It appears to be correctly configured to reject unauthorised requests to send email from users not in your local network. When they use Webmail, they become local users (the apache(?) server actually sends the message locally) which is why they can then send mail.
I can't help with the specifics with sendmail, but I've gone through this process myself with postfix. Typically you would create a secure connection for smtps (using port 465) with the user logging in using their own password. They can then be trusted by your server to send outbound emails as if they were local users. Your remote users need to reconfigure their email application to uses secure connections and to login in to the sending server before attempting to send mail.
Sorry I can't help more (I hate sendmail), so I think Google is a better friend here than I can be 
|
|
|
01-04-2009, 10:00 PM
|
#3
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
I would get rid of the dyndns forwarding service, and just configure sendmail for pop and smtp, just like a real live mail server. The first rule should be to reject all connections, and underneath that rule, place the exceptions. Rules are read from top down. If an exception is listed after a rejection, the exception is granted.
|
|
|
All times are GMT -5. The time now is 05:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|