LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   postfix configuring ... sends all mail to root mailbox (https://www.linuxquestions.org/questions/linux-server-73/postfix-configuring-sends-all-mail-to-root-mailbox-4175497636/)

socalheel 03-09-2014 09:44 PM

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


ceyx 03-09-2014 11:22 PM

Perhaps :

around Line 209

Code
Quote:

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

worth a shot...

socalheel 03-10-2014 08:01 PM

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. :)


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