Author Topic: Postfix Mail Queue  (Read 9173 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Postfix Mail Queue
« on: December 22, 2015, 02:27:25 PM »
Just a quick question, why are some mails listed and others are processed? Can I manually process them if I know the email address?

Offline
**
Re: Postfix Mail Queue
« Reply #1 on: December 23, 2015, 07:57:41 AM »
Hi

Im assuming you're referring to mail in the outbound queue ?

if you know the address to be correct and choose to "force the mail out" you can use the process queue option , however be aware that the recipient mail server may be delaying/grey listing so if you force it you may just delay delivery even further.

Offline
*
Re: Postfix Mail Queue
« Reply #2 on: December 25, 2015, 02:44:20 AM »
Thank you I figured that is what it was, but didn't want to do anything until I knew for sure.

Offline
*
Re: Postfix Mail Queue
« Reply #3 on: December 27, 2015, 08:23:46 PM »
Is there a way to enable all mall for certain address getting blocked into the que.

Offline
**
Re: Postfix Mail Queue
« Reply #4 on: December 28, 2015, 12:30:29 PM »
yes , you will need to make a small database to put the blocked addresses in , and reference it in your main.cf

add this to main.cf
check_sender_access hash:/etc/postfix/blocked_domains,

Make the blocked_domains db in /etc/postfix ( doesn't have to be there i just like to keep my stuff all together)
vi /etc/postfix/blocked_domains

Add the domains to it
thisdomain.com REJECT
that domain.com OK

Save the new file

Compile the database
postmap /etc/postfix/blocked_domains

Reload postfix
service postfix reload

you will need to recompile and reload every time you make a change the file that contains the domains in it