View previous topic :: View next topic |
Author |
Message |
dot Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 05 May 2003 Posts: 335 Location: Germany
|
Posted: Wed Dec 08, 2004 10:53 pm Post subject: Light weight MTA to forward mails from home lan |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Little Nemo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/211899005440682e152dea1.gif)
Joined: 29 Mar 2004 Posts: 623 Location: Berlin, Germany
|
Posted: Thu Dec 09, 2004 12:19 pm Post subject: |
|
|
ssmtp is perfect for this. Extremely easy to set up. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dot Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 05 May 2003 Posts: 335 Location: Germany
|
Posted: Thu Dec 09, 2004 1:48 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
d_m Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12935044173ee8a97e45c37.png)
Joined: 12 Jun 2003 Posts: 570 Location: Philadelphia, PA, USA
|
Posted: Thu Dec 09, 2004 4:10 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Little Nemo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/211899005440682e152dea1.gif)
Joined: 29 Mar 2004 Posts: 623 Location: Berlin, Germany
|
Posted: Thu Dec 09, 2004 4:21 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
adsmith Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Thu Dec 09, 2004 5:52 pm Post subject: |
|
|
postfix. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|