I need a little help here, I need to temporarily hold all outgoing emails either in the queue or anywhere until they are reviewed by someone and then can be released by that person. All local deliveries are ok, only need to hold the ones going to external domains like hotmail, gmail etc…
I have searched and found that we need to play with “check_recipient_access” in postfix config file. But I could not get it to work.
Any help will be greatly appreciated.
PS: I’m using Ubuntu 10.04
Thank you for reply Locutus…of Borg.
but what if I want to hold of on alll but local domain, that hold file will be a pretty big list. There has to be an exception.
EDIT: with command like
the email does get held but where does it go? I dont see it in the Main Queue, where can i find it?
EDIT-2: Seems like when the HOLD restriction is in place, if the message contains both local and non-local recipient then even the local recipient doesn’t get the message, is there a way around it?