View previous topic :: View next topic |
Author |
Message |
flazz Guru
Joined: 22 Nov 2003 Posts: 496 Location: Florida
|
Posted: Wed Oct 13, 2004 7:04 am Post subject: Local mail not working |
|
|
a while ago i tried to setup a home mail server using qmail or postfix, courier, etc.
then i discovered that my isp blocks smtp so i gave up.
when i removed the pacakges my local mail no longer seems to work and i get dead.letter files when i am supposed to recieve a message from cron or whatever.
when i try to send a message to a local user from a local user using mutt i get
Code: | sendmail: Cannot open mail:25 |
any ideas? |
|
Back to top |
|
|
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Wed Oct 13, 2004 7:54 am Post subject: |
|
|
You'll need a local MTA of some sort (postfix, exim, sendmail, whatever) even just to move local mail around.
~Mac~ |
|
Back to top |
|
|
flazz Guru
Joined: 22 Nov 2003 Posts: 496 Location: Florida
|
Posted: Wed Oct 13, 2004 1:28 pm Post subject: |
|
|
which mta is the default mta on a base system? |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Wed Oct 13, 2004 2:30 pm Post subject: |
|
|
ssmtp is the default install, but it is only capable of relaying mail. That means it can send it off the box, but has no local delivery mechanism. Postfix is probably your best bet. You will also want to configure it to use your ISP's mail servers to relay to the rest of Intenet so outgoing mail works, even if you can't use the system a real mail server.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
flazz Guru
Joined: 22 Nov 2003 Posts: 496 Location: Florida
|
Posted: Wed Oct 13, 2004 8:06 pm Post subject: |
|
|
i really dont need outside mail access (or do i?) i use gmail for personal email and i want the dead.letters to stop.
so what course of action do i have to take to fix this problem? |
|
Back to top |
|
|
Jerri Guru
Joined: 03 Apr 2003 Posts: 353
|
Posted: Wed Oct 13, 2004 10:07 pm Post subject: |
|
|
qmail is a decent way to go. small, secure, etc.
go here |
|
Back to top |
|
|
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Thu Oct 14, 2004 6:50 am Post subject: |
|
|
qmail is nice, but it's also a bit weird; postfix is just this easy:
Code: |
% emerge postfix
% rc-update add postfix default
|
Then reboot or /etc/init.d/postfix start.
Done!
~Mac~[/code] |
|
Back to top |
|
|
|