node210 KIIEEY3IFS6STAYIEJRY4HHT6QT7ZW3T3J6CPYQ KIIEEY3IFS6STAYIEJRY4HHT6QT7ZW3T3J6CPYQ


Delivering Messages to Local AddressesNext: Local Users Up: Getting smail Up and Previous: The paths databaseDelivering Messages to Local AddressesMost commonly, a local address is just a user's login name, in which case the message is delivered to her mailbox, /var/spool/mail/user. Other cases include aliases and mailing list names, and mail forwarding by the user. In these cases, the local address expands to a new list of addresses, which may be either local or remote.Apart from these ``normal'' addresses, smail can handle other types of local message destinations, like file names, and pipe commands. These are not addresses in their own right, so you can't send mail to, say, /etc/passwd@vbrew.com; they are only valid if they have been taken from forwarding or alias files.A file name is anything that begins with a slash (/) or a tilde (). The latter refers to the user's home directory, and is possible only if the filename was taken from a .forward file or a forwarding entry in the mailbox (see below). When delivering to a file, smail appends the messages to the file, creating it if necessary.A pipe command may be any command preceded by the pipe symbol (|). This causes smail to hand the command to the shell along with its arguments, but without the leading `|'. The message itself is fed to this command on standard input.For example, to gate a mailing list into a local newsgroup, you might use a shell script named gateit, and set up a local alias which delivers all messages from this mailing list to the script using "|gateit".If the invocation contains white space, it has to be enclosed in double quotes. Due to the security issues involved, care is taken not to execute the command if the address has been obtained in a somewhat dubious way (for example, if the alias file from which the address was taken was writable by everyone).Local UsersForwardingAlias FilesMailing ListsNext: Local Users Up: Getting smail Up and Previous: The paths databaseAndrew AndersonThu Mar 7 23:22:06 EST 1996a

Wyszukiwarka

Podobne podstrony:
node21
node21
node219 USW27VBI7H2S4LU5TC4RIFJSUJ5JUA4QE6ICXZI
node215
node215 GWB3TXPM7VQ3AXSLK3VS2UBR6ZGXCGPYLMZ55JA
node217 RD4ILLOVEESXQRWXFXINFWQ7G72FZTQH7EM7RWQ
node218 VDR7T2VHSEGSQLOYI2DLXI3PYVFEEISD5L2P4XA
node212 SGBDO2JHPIQUORENRHOB4G2HVCWNNI2AXCLPXCY
node21
node21 7LIPDGOLGYJWR527WS5RSNHINUL3USFSJYGQVSY
node21 2X2ZGOCIN5S7DA44M3MUZXNIGWO5D7UZTN4UGKQ
node21 RU5OKSJV7JUKIVYMGXZS2KZXBQKWHHCMUYQ4VTQ
node21
node216
node213 2EWURWDUOW2EO7FP7S7MDGNHXJL3UT7IBKWLNNY
node21
node214 S4A7LRKNUJ6HP3OQG7X42E6OFKBPCLT5TTGX4WI
node211 VZV5WOVQZFOIQHXYOM35NAFDMWJNOEO4DLQVP3Y

więcej podobnych podstron