본문
Changing mailbox locations is easy in Postfix. You may or may not want users to store mail in their home directory. You may or may not like mail stored in one large file. You have your choice with Postfix.
Related Postfix Training
Postfix Configuration
Postfix Mail Server Design
Control SPAM with Postfix
Postfix Mailbox Changes
Postfix Mail Gateway
Postfix Mail Server Course
Postfix Mail Statistics
8 Week Course for $499.95 ORDER NOW
We specialize in helping companies become independent of outsourcing Linux services. 8 Week Course for $499.95 ORDER NOW |
main.cf The defaults are in blue. Though they are commented out they are active.
# DELIVERY TO MAILBOX
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user. Specify
# "Maildir/" for qmail-style delivery (the / is required).
#home_mailbox = Mailbox
#home_mailbox = Maildir/
# The mail_spool_directory parameter specifies the directory where
# UNIX-style mailboxes are kept. The default setting depends on the
# system type.
#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail
Verify Mailbox Location
It is important to understand where mail is going. Use this command to find the current location of the mail directory for the user.
In this example you see that the user is accepting mail in the default location. This will be very handy for troubleshooting.
set | grep -i mail
관련링크
댓글목록
등록된 댓글이 없습니다.