《NetBSD指南-26.5.Strategy for sending mail》

NetBSD用户指南中文版、NetBSD pkgsrc指南中文版...

版主: lionux

主题已锁定
头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

《NetBSD指南-26.5.Strategy for sending mail》

帖子 leo » 2010-03-08 1:57

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:
  • 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.

主题已锁定

在线用户

正浏览此版面之用户: 没有注册用户 和 7 访客