Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to disable qmail bounces?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cygon
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 115
Location: Germany

PostPosted: Sun Feb 05, 2006 4:10 pm    Post subject: How to disable qmail bounces? Reply with quote

Hi!

Occasionally my postmaster account receives a failure notice, telling me that an email could not be delivered and that the bounce message bounced again. This is a known problem, allright.

I found numerous guides on the net that tell you how to send those double bounce messages to /dev/null. Which is crap. Your server still happily bounces messages. A spammer needs to do nothing more than to put the recipient's email into the From: field, send it to invalidaddress@yourserver.com and your server will happily distribute spam all into the world. That's just as good as an open relay.

Can I somehow either force qmail to check whether the email address in the To: field actually exists at SMTP time and reject the message while it is uploaded?
Alternatively, I'd settle for a catchall account at /dev/null but the SMTP time rejection would be cooler because the original sender, whoever he's posing to be, would have to deal with the failures.

Thanks ahead,
-Markus-
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sun Feb 05, 2006 5:53 pm    Post subject: Reply with quote

bounce messages are generated by the sending server if a smtp server connects to yours and sends
Code:
mail from: youremail@domain.com
rcpt to: invalidaddress@domain.com

your server should reply with a 550, the sending server will then generate a bounce message which gets sent to you youremail@domain.com which your mail server will accept.

The only way around this is to accept all mail for any address and have the server automatically delete anything not for a valid address.

You have no control over the bounce reports because they don't come from your server.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum