LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-31-2002, 05:24 PM   #1
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Sendmail question - external client


I have been using sendmail to retrieve mail and send from lan.

Now I want to use it as an external client.


I am not sure how to set this up.

I can send to users on the sendmail server from anywhere.

I can receive mail from the server from anywhere

I can send mail anywhere from the LAN

The problem is when using dialup, I don't know what my domain is going to be or the ip address.

How can I setup to allow relay to external addresses from an external user based on the login without opening up the server to everyone?
 
Old 01-31-2002, 06:08 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
who's Ian??

well, use a dynamic ip service like dynu.con or dyndns.org to get a domain name firstly, then just edit the /etc/mail/sendmail.rc file to listen to all interfaces (should be a comment in there about it)

what do you mean by based on the login? if you mean to be able to only send and recieve on a given domain or machine (which i don't actually think you mean...) then if you're using the access_db feature you can add the domains to the /etc/mail/access file and you should be ok. as for a per-account basis i don't know. does this make this a pointless thread??

searching around i found this site... seems to have a hell of a lot of entire manuals on line, a few years old most of them tho... presuambly worth a look.
http://perso.club-internet.fr/thedech/
 
Old 01-31-2002, 06:23 PM   #3
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Original Poster
Rep: Reputation: 56
There is a lot of information overload when it comes to sendmail.

All I need to do is be able to send mail to anywhere on the internet from anywhere on the internet thru my home sendmail server.

I can send to a user on my server from the internet. It gives RELAY denied to an external address unless I am on my lan, or the server.

say if I am dialed into the internet from some location and need to send email to linus@linux.com
I want to send the mail to my home server and have it relay the mail.


the access.db has localhost and the lan machines in it.

The part about the user was just that I want to allow a user rights to forward from anywhere to anywhere.


the server is listening on all interfaces and recieves user mail from anywhere

Last edited by DavidPhillips; 01-31-2002 at 06:25 PM.
 
Old 01-31-2002, 07:05 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Original Poster
Rep: Reputation: 56
I think I found what I was looking for.


http://mail.cc.umanitoba.ca/drac/


DRAC is a daemon that dynamically updates a relay authorization map for sendmail. It provides a way to allow legitimate users to relay mail through an SMTP server, while still preventing others from using it as a spam relay
 
Old 02-01-2002, 01:16 AM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Original Poster
Rep: Reputation: 56
I found another solution because DRAC did not seem to be for linux


I got pop-before-smtp here

http://people.oven.com/bet/pop-befor...tp-1.28.tar.gz

it uses sendmail and postfix

It works pretty good for what I wanted.

All you have to do is check mail to login and then it knows your address, and will relay your mail to anywhere.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail and external mail server levand Linux - Networking 10 12-17-2004 09:45 AM
sendmail sm-client jon3k Linux - Software 0 11-15-2004 01:42 PM
sendmail not accepting external email noisybastard Linux - Networking 6 11-04-2003 10:10 PM
Can't ftp/ping external addresses from client corrierich Linux - Networking 6 04-15-2003 12:18 PM
Sendmail and sm-client Micro Linux - General 1 01-12-2003 07:03 PM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration