Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Local Mail Only
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
jd5419
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2004
Posts: 110
Location: RI, USA

PostPosted: Mon Mar 28, 2005 10:32 pm    Post subject: Reply with quote

I'm totally TOTALLY tired of trying to get mail to work. I've tried setting up mail on multiple different computers multiple different times (until i get too frustrated to continue) I followed this tutorial, and about a dozen others and it just ISN'T working. Here is my main.cf:


queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
myhostname = localhost
mydomain = localdomain
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$localdomain
unknown_local_recipient_reject_code = 550
home_mailbox = Mail/
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /etc/postfix
readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme
default_destination_concurrency_limit = 2
alias_database = hash:/etc/mail/aliases
local_destination_concurrency_limit = 2
alias_maps = hash:/etc/mail/aliases



I really dont even know whats going on with the thing but it says i have no mail when i type mail, and also nothing is in the maildir and i'm totally stumped.
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Mon Mar 28, 2005 10:58 pm    Post subject: Reply with quote

Try making the maildirectory if its not there, and create an empty file, probably has to be your username, or the one the mail goes to, and then change the permissions on that file so it is accessible by your user. Also, I remember doing this a couple of months ago upgrading postfix, but there may be a line down at the end of the "main.cf" file that conflicts with the settings you make using this tip. Don't give up, read the man pages, and ask in irc sometimes for help. The more specific your question is, the more likely you'll get an answer that helps. Start with small steps to get things working, work out one problem at a time, and eventually you'll reach your main problem.. witch seems to me that you can't get your local mail working. Every tutorial on these forums is different, so stick to one method, if you jump around trying everyone's different configurations at once, of course it won't work. Try asking us a more specific question, then we can try (and be more willing) to help you out.
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
panlm
n00b
n00b


Joined: 29 Jan 2005
Posts: 45

PostPosted: Thu Mar 31, 2005 8:46 am    Post subject: Re: Another local mail guide (by Spider) Reply with quote

danpixley wrote:
I have also found this guide helpful for setting up local mail only:

http://dev.gentoo.org/~spider/local-mail-0.3.0/local-email.html

Dan


i love your post, i forgot to emerge procmail
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Wed Feb 14, 2007 12:10 am    Post subject: Reply with quote

snakatttake3...

This is exactly the thread I've been seeking, but my efforts to get things working have been thwarted, so far (likely due to my own ignorance)!

I know it's been a long while since a post to this thread, but I'm hopeful someone will lend me an ear...

Postfix setup and launch went according to plan.

Things then fell apart when I attempted following the setup instructions for Sypheed (because I don't have KDE or Kmail on the machine already).

The first issue was discovering a lack of the 2 courier-imap files needing to be edited:
Code:

Code:

edit /etc/courier-imap/authdaemond.conf

AUTHDAEMOND="authdaemond.plain"


Code:

edit /etc/courier-imap/authdaemonrc

authmodulelist="authpam"

I had to fabricate those files manually, and place in each the code suggested. (That was likely the first error I made!)

Having setup Sypheed, as best I could, trying both cgmd@localhost.localdomain as well as root@localhost.localdomain, and then composing a message to myself and sending it, results in the message going off and disappearing. :(

If I then try to check messages, I get the following error in my terminal:
Code:
(sylpheed:30142): Sylpheed-CRITICAL **: folderview_check_new_item: assertion `item != NULL' failed


What can I do to troubleshoot this?

Anyone with suggestions??

Thanks!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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