📄 install.alias
字号:
qmail lets each user control all addresses of the form user-anything.Addresses that don't start with a username are controlled by a specialuser, alias. Delivery instructions for foo go into ~alias/.qmail-foo;delivery instructions for user-foo go into ~user/.qmail-foo. Seedot-qmail.0 for the full story.qmail doesn't have any built-in support for /etc/aliases. If you have abig /etc/aliases and you'd like to keep it, install the fastforwardpackage, available separately. /etc/aliases should already include thealiases discussed below---Postmaster, MAILER-DAEMON, and root.If you don't have a big /etc/aliases, you'll find it easier to useqmail's native alias mechanism. Here's a checklist of aliases you shouldset up right now.* Postmaster. You're not an Internet citizen if this address doesn'twork. Simply touch (and chmod 644) ~alias/.qmail-postmaster; any mailfor Postmaster will be delivered to ~alias/Mailbox.* MAILER-DAEMON. Not required, but users sometimes respond to bouncemessages. Touch (and chmod 644) ~alias/.qmail-mailer-daemon.* root. Under qmail, root never receives mail. Your system may generatemail messages to root every night; if you don't have an alias for root,those messages will bounce. (They'll end up double-bouncing to thepostmaster.) Set up an alias for root in ~alias/.qmail-root. .qmailfiles are similar to .forward files, but beware that they are strictlyline-oriented---see dot-qmail.0 for details.* Other non-user accounts. Under qmail, non-user accounts don't getmail; ``user'' means a non-root account that owns ~account. Set upaliases for any non-user accounts that normally receive mail.Note that special accounts such as ftp, www, and uucp should always havehome directories owned by root.* Default. If you want, you can touch ~alias/.qmail-default to catcheverything else. Beware: this will also catch typos and other addressesthat should probably be bounced instead. It won't catch addresses thatstart with a user name---the user can set up his own ~/.qmail-default.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -