Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Local mail not working
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
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Wed Oct 13, 2004 7:04 am    Post subject: Local mail not working Reply with quote

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
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Wed Oct 13, 2004 7:54 am    Post subject: Reply with quote

You'll need a local MTA of some sort (postfix, exim, sendmail, whatever) even just to move local mail around.

~Mac~
Back to top
View user's profile Send private message
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Wed Oct 13, 2004 1:28 pm    Post subject: Reply with quote

which mta is the default mta on a base system?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Wed Oct 13, 2004 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Wed Oct 13, 2004 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jerri
Guru
Guru


Joined: 03 Apr 2003
Posts: 353

PostPosted: Wed Oct 13, 2004 10:07 pm    Post subject: Reply with quote

qmail is a decent way to go. small, secure, etc.

go here
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu Oct 14, 2004 6:50 am    Post subject: Reply with quote

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
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