Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Light weight MTA to forward mails from home lan
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dot
Guru
Guru


Joined: 05 May 2003
Posts: 335
Location: Germany

PostPosted: Wed Dec 08, 2004 10:53 pm    Post subject: Light weight MTA to forward mails from home lan Reply with quote

Hello,

i think that was handled a thousend times before, but i couldn´t find
only one topic that fits my needs.
I am searching for a light weight mail transfere agent (like esmtp)
that listens on port 25 and can forward mails to my isp´s smtp
server (where my smtp server needs to authenticate) for delivery.

Regards

Flo
Back to top
View user's profile Send private message
Little Nemo
l33t
l33t


Joined: 29 Mar 2004
Posts: 623
Location: Berlin, Germany

PostPosted: Thu Dec 09, 2004 12:19 pm    Post subject: Reply with quote

ssmtp is perfect for this. Extremely easy to set up.
Back to top
View user's profile Send private message
dot
Guru
Guru


Joined: 05 May 2003
Posts: 335
Location: Germany

PostPosted: Thu Dec 09, 2004 1:48 pm    Post subject: Reply with quote

i thought that to, but i have not found a way to get ssmtp listening on port 25
can you give me a link tp a good documentation?

Regards

Flo
Back to top
View user's profile Send private message
d_m
Guru
Guru


Joined: 12 Jun 2003
Posts: 570
Location: Philadelphia, PA, USA

PostPosted: Thu Dec 09, 2004 4:10 pm    Post subject: Reply with quote

Little Nemo wrote:
ssmtp is perfect for this. Extremely easy to set up.


Actually, I think ssmtp *doesn't* do this. ssmtp allows you to use /usr/bin/mail or sendmail locally to send mail through another smtp server, not allow other hosts to send mail through you that way.

I guess that you have users who you don't want to give your authentication info to, but who you do want to be able to send mail through. Otherwise, why not just give them the ISP's server address? In that case, I would suggest using postfix. I have never tried to set postfix up to use an SMTP relay with authentication, but am confident it can be done.

I have had good experiences with postfix, none with qmail, and the expected ones with sendmail (frustrating). You will probably need to run something like this in order to get a daemon to listen on your port.
Back to top
View user's profile Send private message
Little Nemo
l33t
l33t


Joined: 29 Mar 2004
Posts: 623
Location: Berlin, Germany

PostPosted: Thu Dec 09, 2004 4:21 pm    Post subject: Reply with quote

You're right and I was wrong: ssmtp only does local smtp and never listens on port 25.

I reread your original posting: You need a daemon to listen for smtp connections (without authentication), and it should forward mail to your isp's server (and authenticate itself there)?

If it is because the clients of your box need to be able to connect without authentication, then of course you need an MTA that knows how to act as a client to a server that asks for authentication. I myself would use exim for this, although I know it is not lightweight at all.

If on the other hand your mail readers know how to authenticate themselves to an smtp server, simple port forwarding from your machines port 25 to your isp's port 25 (using iptables) would do.
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Thu Dec 09, 2004 5:52 pm    Post subject: Reply with quote

postfix.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum