LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sendmail question - external client (https://www.linuxquestions.org/questions/linux-general-1/sendmail-question-external-client-13215/)

DavidPhillips 01-31-2002 05:24 PM

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?

acid_kewpie 01-31-2002 06:08 PM

who's Ian?? :D

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/

DavidPhillips 01-31-2002 06:23 PM

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

DavidPhillips 01-31-2002 07:05 PM

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

DavidPhillips 02-01-2002 01:16 AM

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.


All times are GMT -5. The time now is 09:06 AM.