Книга: Linux Network Administrator Guide, Second Edition
Forcing a Remote Host to Process its Mail Queue
Forcing a Remote Host to Process its Mail Queue
If you use a temporary dial-up Internet connection with a fixed IP address and rely on an MX host to collect your mail while you are disconnected, you will find it useful to force the MX host to process its mail queue soon after you establish your connection.
A small perl program is included with the sendmail distribution that makes this simple for mail hosts that support it. The etrn script has much the same effect on a remote host as the runq command has on our own. If we invoke the command as shown in this example:
# etrn vstout.vbrew.com
we will force the host vstout.vbrew.com to process any mail queued for our local machine.
Typically you'd add this command to your PPP ip-up script so that it is executed soon after your network connection is established.
- Introduction to Microprocessors and Microcontrollers
- TCP REMOTE BUFFER
- NFQUEUE target
- QUEUE target
- Using the kill Command to Control Processes
- 11.19. Функции gethostbyname_r и gethostbyaddr_r
- 8.1. Настройка sendmail
- 8.4. Безопасность sendmail
- 11.2. Локальный hosts
- Пример 6.1. Распечатка fetchmail-v
- Hexadecimal, or ‘hex’ to its friends
- 1. Basic microprocessor systems