LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-23-2008, 07:02 AM   #1
rusty105
LQ Newbie
 
Registered: Dec 2005
Distribution: RH & Fedora Core
Posts: 18

Rep: Reputation: 0
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
 
Old 01-04-2009, 07:16 PM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
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
 
Old 01-04-2009, 10:00 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail relaying linuxpyro Linux - Software 0 05-26-2004 04:05 PM
Relaying through Sendmail markstevens Linux - Security 6 09-10-2003 11:38 PM
sendmail, dns & dyndns questions synfield Linux - General 3 04-26-2003 04:23 PM
sendmail relaying atin Linux - Software 1 10-01-2002 10:21 AM
Sendmail 8.11 relaying?? magyartoth Linux - General 3 04-29-2002 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration