Tuesday, April 26, 2022

[SOLVED] Postfix mail transport unavailable only in queue

Issue

Yesterday i've tried to configure spamassassin on my debian server through this tutorial: rel="nofollow">https://www.rosehosting.com/blog/install-and-setup-spamassassin-in-debian-6/. Today i noticed that my e-mail gets queued with this error: mail transport unavailable

postfix/qmgr[6666]: warning: connect to transport private/spamassassin: No such file or directory

I've removed all the things from that tutorial and removed spamassassin from my server. Everything is now working, except the mail queue.

When I use postqueue -f, I still get the same error. Is there a way to resend the mail from the queue with the new settings?

In my master.cf nor main.cf from postfix i can find the private/spamassassin directory.

Regards


Solution

postsuper -r ALL
postfix flush

(requeue all mail, flush queue)



Answered By - Ralf Hildebrandt
Answer Checked By - Senaida (WPSolving Volunteer)