View previous topic :: View next topic |
Author |
Message |
kernelcowboy Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/404294793465cb253ea856.jpg)
Joined: 14 Feb 2004 Posts: 391 Location: New Plymouth, New Zealand
|
Posted: Thu Mar 09, 2006 12:55 am Post subject: Local mail setup |
|
|
I followed
http://gentoo-wiki.com/TIP_Postfix_Setup_for_Local_Mail_Only
basically I, installed postfix, configured it for local mail only, and started it.
then did this ...
Code: |
% mail -s "test" root
% mail
No mail for root
|
I choose to use the system mail spool because I didn't think I had to know anything about it and I don't. I have a /var/spool/mail dir, but it is empty.
I'm guessing this is a simple problem for someone. I've never setup this type of mail before, so any obvious help would be great.
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
indynet Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 07 Feb 2005 Posts: 108 Location: Prague - Czech Republic
|
Posted: Thu Mar 09, 2006 11:43 am Post subject: Re: Local mail setup |
|
|
[quote="kernelcowboy"]I followed
/etc/postfix/master.cf add flag -v to smtp send email again look at log
outup of postconf -n and mailq is also usefull |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Thu Mar 09, 2006 5:17 pm Post subject: |
|
|
The TIP says to alias root's mail to a user. Did you do that? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelcowboy Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/404294793465cb253ea856.jpg)
Joined: 14 Feb 2004 Posts: 391 Location: New Plymouth, New Zealand
|
Posted: Thu Mar 09, 2006 10:32 pm Post subject: Re: Local mail setup [FIXED] |
|
|
http://www.postfix.org/faq.html#noalias
I was seeing this in the logs.
Code: | Mar 10 10:56:19 localhost postfix/master[18015]: warning: process /usr/lib/postfix/local pid 18043 exit status 1
Mar 10 10:56:19 localhost postfix/master[18015]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Mar 10 10:57:19 localhost postfix/local[18044]: fatal: open database /etc/aliases.db: No such file or directory
|
The weird thing is that I could still send mail out to the internet. Must be that aliases are necessary to route incoming mail.
Local mail works fine now.
Note: I didn't have to setup Mail Aliases part of the orignal wiki, as I was just sending to root and a real user. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|