Re: How to delete mails in the mailq in ONE DAY -- POSTFIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Indunil Jayasooriya wrote:
> I am runnig posfix on Centos 4.4 as a Mailgateway. It only accepts mails for
> domains and then forwards mails to Lotus domino Server.
> 
> All clients sends outgoing mails to that Lotus domino Server. Then , That
> Lotus Domino Server sends mails to Postfix mailgateway. This postfix
> mailgateway sends mails to all the destinations. But, This Postfix
> mailgateway has about 150 messages in the mailq. Some are unwanted mails. I
> think they keep trying until 5 days old. I want decrease it to ONE DAY.
> 

do not accept mail to inexistent addresses. implement proper recipient
validation. if you can't share the list of users with postfix, then use
reject_unverified_recipient (only for recipients of your domains).

accept then bounce (backscatter) is no more acceptable.


> 
> 
> In Sendmail, this can be done by editing sendmail.mc  as below.
> 
> 
> (`confTO_QUEUERETURN', `5d')dnl
> 
> changing above line to below line
> 
> (`confTO_QUEUERETURN', `1d')dnl
> 
> 
> How Can I do it in Postfix?
> 
> 
> ANY IDEA?
> 
> 
> 
> 
> O Timeout.queuereturn=5d
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux