install.alias

来自「linux下qmail的源码 本人加了一些注释」· ALIAS 代码 · 共 41 行

ALIAS
41
字号
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 + =
减小字号Ctrl + -
显示快捷键?