Control Web Panel

WebPanel => E-Mail => Topic started by: Allan on December 22, 2015, 02:27:25 PM

Title: Postfix Mail Queue
Post by: Allan 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?
Title: Re: Postfix Mail Queue
Post by: Glenn 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.
Title: Re: Postfix Mail Queue
Post by: Allan 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.
Title: Re: Postfix Mail Queue
Post by: Allan on December 27, 2015, 08:23:46 PM
Is there a way to enable all mall for certain address getting blocked into the que.
Title: Re: Postfix Mail Queue
Post by: Glenn 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