- 1. Write mail with mutt, send it and exit mutt. You can check if and what messages are in the postfix mail queue using the mailq(1) program.
- 2. Activate the connection with the provider.
- 3. If your provider requires you to do "SMTP-after-POP", i.e. it first wants to make sure to know who you are before you are allowed to send mail (and no spam), you need to run fetchmail again first.
- 4. Write the command /usr/sbin/postfix flush to transfer the queued messages to the provider.
- 5. Deactivate the connection when the queue is empty.
《NetBSD指南-26.5.Strategy for sending mail》
版主: lionux
《NetBSD指南-26.5.Strategy for sending mail》
When mail has been written and “sent” with mutt, the messages must be transferred to the provider with postfix. Mail is sent from mutt with the y command, but this does not really send it; the messages are enqueued in the spool area; if postfix is not active as a daemon it is necessary to start it manually or the messages will remain on the hard disk. The necessary steps are:
在线用户
正浏览此版面之用户: 没有注册用户 和 2 访客