LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix Bounce Mail To sender when error is found (http://www.linuxquestions.org/questions/linux-software-2/postfix-bounce-mail-to-sender-when-error-is-found-372521/)

heero82 10-13-2005 01:49 AM

Postfix Bounce Mail To sender when error is found
 
hello All

Thanks for concerning my problem.

I am using the postfix mail server on linux server 9.1. My Problem is how to bounce back the email when the sender ( aaaa@mydomain.com send to abc@yahooo.com ) which means that the yahooo.com is not existing in the internet server, how do i bounce back the email to the sender which could tell them the connection refused or sending failed. the email i want to bounce is in the queue there. so can it be done? or ihave to set the bounce time?

when i type mailq command, it comes out the message
This is the error message
1 kB connect to yahooo.com[202.9.109.254]: Connection refused

so if i want to set the one day to try sending email, if failed , the mail in the queue there should bounce to sender

Or you all need me to post the configuration to you. because i have run some others configuration.

Thanks
Chee Loon Tan

Berhanie 10-14-2005 03:46 PM

you might assign a smaller value to 'maximal_queue_lifetime' in main.cf.


All times are GMT -5. The time now is 01:50 PM.