LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-15-2008, 10:38 AM   #1
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Rep: Reputation: 30
Mail going to wrong place?


Hi,

I want all the emails going into ~/.mailbox as maildir.

For some reason, all emails are going to /var/mail/<user> (mbox)

/etc/login.defs:
Code:
 31 #
 32 # This is a temporary situation: setting these variables will soon
 33 # move to /etc/default/useradd and the variables will then be
 34 # no more supported
 35 MAIL_DIR        .mailbox
 36 #MAIL_FILE      .mail
Did I miss something? Btw, I'm using postfix + dovecot.
/etc/dovecot/dovecot.conf
Code:
 210 #mail_location =
 211 mail_location = maildir:~/.mailbox

Last edited by alitrix; 06-15-2008 at 10:43 AM.
 
Old 06-15-2008, 01:58 PM   #2
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
Oke, my fault.

It's fixed. I didn't have a /etc/procmailrc (and postfix used procmail as mailbox_command)

Code:
DROPPRIVS=yes
PATH=/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/.mailbox/
DEFAULT=$HOME/.mailbox/
LOGFILE=$MAILDIR/procmail.logfile
VERBOSE=on
LOGABSTRACT=all
This fixed it (all the extra settings are just for myself to debug other stuff)
 
  


Reply



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
I own everything! (did 'chown -R' in the wrong place) oskar Linux - Newbie 9 03-19-2006 05:38 PM
insmod looking in the wrong place Recirqie Linux - Software 0 10-20-2004 03:38 PM
?how to make mail go to diff place than /var/spool/mail ctejas Linux - General 0 06-24-2004 12:58 AM
!forgive me if this is wrong place pudhiyavan Linux - Hardware 7 04-19-2004 01:45 AM
lilo in wrong place, help! krgue Linux - Software 4 05-22-2001 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:42 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