Posts Tagged ‘postfix’

Delete email with a specific email address from the Postfix queue…

Tuesday, November 1st, 2011

HowtoForge still comes in handy. This is one of those times:

mailq | awk 'BEGIN { RS = "" } / falko@example\.com$/ { print $1 }' | tr -d '*!' | postsuper -d -

File under “what to do when postfix goes berserk”.

Postfix says “Recipient address rejected: User unknown in local recipient table;” even though you’ve set luser_relay

Thursday, February 7th, 2008

Unless you set local_recipient_maps to nothing, just so:

local_recipient_maps =
luser_relay = some@address.com

Postfix will ignore the luser_relay setting and winge at you.

Documentation is tucked away at the bottom of the page here.