LinuxQuestions.org
Visit Jeremy's Blog.
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 03-09-2014, 09:44 PM   #1
socalheel
Member
 
Registered: Oct 2012
Location: Raleigh, NC
Distribution: CentOS / RHEL
Posts: 158

Rep: Reputation: 3
postfix configuring ... sends all mail to root mailbox


from what i read, i have to set home mail box to Maildir/ and that is what i have in my main.cf file.

problem is every email is going to the root mailbox, not the user's mailbox.

what setting am i overlooking?

here are the uncommented lines from main.cf file

Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname =  fqdn
mydomain= domain
myorigin = $myhostname
inet_interfaces = all
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks = <all my network info>
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
 
  
debug_peer_level = 2
debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access, reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
 
Old 03-09-2014, 11:22 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Perhaps :

around Line 209

Code
Quote:
local_recipient_maps = unix: passwd.byname $alias_maps
assuming your recipients have a Maildir/

worth a shot...

Last edited by ceyx; 03-09-2014 at 11:26 PM. Reason: smily in code ? had to put a space between the : and the P in code.
 
1 members found this post helpful.
Old 03-10-2014, 08:01 PM   #3
socalheel
Member
 
Registered: Oct 2012
Location: Raleigh, NC
Distribution: CentOS / RHEL
Posts: 158

Original Poster
Rep: Reputation: 3
yes my recipients to have a Maildir.

i'll give that a shot ... and thank you.

---------- Post added 03-10-14 at 09:01 PM ----------

yes my recipients to have a Maildir.

i'll give that a shot ... and thank you.
 
  


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
Postfix sends mail to SPAM in gemail (CentOS) zahirw Linux - Server 1 04-26-2011 11:09 AM
Postfix sends mail with wrong origin domain ivanatora Linux - Software 5 05-25-2009 05:12 AM
bounce mail to mailbox owner (postfix) Gran_Maestre Linux - Server 0 02-21-2009 09:30 AM
postfix sends mail t X but not to Y? tethysgods Linux - Networking 4 09-09-2004 12:12 PM
Postfix not delivering mail to mailbox DeVryGuy Linux - Software 13 09-22-2003 12:43 AM

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

All times are GMT -5. The time now is 01:41 PM.

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