LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2009, 09:24 PM   #1
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Rep: Reputation: 31
Weird mail behavior, need mail guru!


Ok, I'm running FreeBSD 5.2.1, sendmail, Pine and OpenWebmail. The issue revolves around Pine apparently, but good knowledge of sendmail can probably help me troubleshoot even if you don't know much about Pine and OpenWebmail. Here's the problem:

Two weeks ago, I lost a hard drive (containing the partitions for /var /tmp /soft and /local) and restored from a six week old back up. I don't know how, but this seems to have changed some configuration options (I thought all that was stored safely in /etc ). Pine refused to work at first because some directory was inaccessible to it. I browsed to it and noticed that it did not have group write permissions, but it seemed to require it so I added it for Pine. I had a similar problem with a temp directory (I think it was a temp directory) for OpenWebmail. Unfortunately I do not remember where these directories are. Adding the group write permission seemed to fix the problem for both mail programs.

However, it has come to my attention that whenever Pine is opened it moves any mail the user has from /var/mail/<username> and puts it in ~<user's_home>/mbox instead (which apparently is a link to ~<user's_home>/mail ). This makes the mail inaccessible to OpenWebmail and the command line program "mail" (although pop3 finds the mail regardless of what location it's in).

It's remotely possible that this is unrelated to the hard drive crash. Hell, it's also possible that it's always worked like this but no one has noticed because most people use only one mail program (the problem is only noticeable if an individual uses Pine and then tries to use command line "mail" or OpenWebmail and notices that their archived mail is missing).

Any info would be greatly appreciated. I'm reading up on Pine now to try and figure this out on my own.
 
Old 11-10-2009, 09:41 PM   #2
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 31
You know, I could still use info on this old problem. However, I have a new question:

I was having a problem with my qpopper which this thread indicated a solution to:

http://www.linode.com/forums/archive...rname.pop.html

My /var/mail directory (which is actually a link to /mail) has owner root:root just like this guy (or more accurately /mail has root:root owner).

I just changed it to root:mail to solve the qpopper problem... but I originally solved the problem by changing the /var/spool/pop directory to owner root:root to match the mail directory instead of the other way around.

Any thoughts on which way is better?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail mail loops back but with a weird mail.barnhallrfc.com MX host masionas Linux - Server 2 12-09-2008 07:10 AM
can mail command be used to send mail onto global mail servers like yahoo etc dale_chip Linux - Newbie 4 08-12-2008 08:33 AM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
I am puzzled. A mail guru is needed. J_Szucs Linux - Networking 4 02-19-2004 12:41 AM
E-mail Congress about SCO behavior grizzly General 1 09-02-2003 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration