postfix从黑名单中删除后重新发送邮件

我有一个由Spamhaus列出的邮件服务器,因此电子邮件不会出去,我已经从列表中删除了服务器,现在我的问题是postfix重新发送邮件,因为IP列出没有被发送出去?

谢谢

如果邮件仍然在mailq中,那么它们将被发送出去。 如果没有,那么用户将需要重新发送。

如果另一个邮件服务器返回一个软错误(4.xx)并且maximal_queue_lifetime没有过期,那么它们仍然在mailq中,默认情况下是五天。

如果其他邮件服务器返回了硬错误(5.xx)或maximal_queue_lifetime已过期,它们将不在队列中。

您可以使用

 postqueue -f 

要刷新后缀队列 – 这将立即尝试重新传递队列中的所有消息。 他们最终会尝试自己的,但是你可以用这个命令加速这个过程。

  -f Flush the queue: attempt to deliver all queued mail. This option implements the traditional "sendmail -q" command, by contacting the Postfix qmgr(8) daemon. Warning: flushing undeliverable mail frequently will result in poor delivery performance of all other mail.