Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to get the error code and the bounced mail when a bounce occurs.

I have added content filter below bounces in master.cf and created a piping. I created a transport map in main.cf and I specified gmail.com and called the piping.

Now this code works but it treats all the gmail ids as bounce and storing it in database and mail is not getting delivered even if I specify a correct mail address. I want the transport map to be called only when a bounce condition occurs and store those parameters into my database.

So instead of gmail.com what should I specify to get my query solved?

share|improve this question

1 Answer 1

What you describe is not only not supported, but isn't how email works in actual fact.

What is the REAL problem you're trying to solve ?

share|improve this answer
if i send a mail and if the mail bounces then i have to get that bounced mail id and the status id and store it in database. –  Gopi Nath Jan 4 '13 at 12:03
if u want will post my codes.. –  Gopi Nath Jan 4 '13 at 12:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.