Bouncing mail on SMTP level - gateway machine

This is a discussion on Bouncing mail on SMTP level - gateway machine within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi, Is there any patch that allows Qmail-SMTPD to look up the address of the recipient by connecting to ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-26-2005
Andrew Hodgson
 
Posts: n/a
Default Bouncing mail on SMTP level - gateway machine

Hi,

Is there any patch that allows Qmail-SMTPD to look up the address of
the recipient by connecting to the server in smtproutes, and if the
address gives a 5xx response give a 5xx response to the client
connecting to the Qmail server? If not the server specified in
smtproutes then perhaps using a pre-configured server?

I am trying to avoid bounces going out of the network - currently the
main machine sends out 5xx responses, but Qmail will have to send
these to the sender (legit or not!).

Thanks.
Andrew.
--
Andrew Hodgson in Bromyard, Herefordshire, UK.
My Email: use <andrew at hodgsonfamily dot org>.
Reply With Quote
  #2 (permalink)  
Old 09-27-2005
AK
 
Posts: n/a
Default Re: Bouncing mail on SMTP level - gateway machine

Andrew Hodgson wrote:

> Hi,
>
> Is there any patch that allows Qmail-SMTPD to look up the address of
> the recipient by connecting to the server in smtproutes, and if the
> address gives a 5xx response give a 5xx response to the client
> connecting to the Qmail server? If not the server specified in
> smtproutes then perhaps using a pre-configured server?
>
> I am trying to avoid bounces going out of the network - currently the
> main machine sends out 5xx responses, but Qmail will have to send
> these to the sender (legit or not!).
>
> Thanks.
> Andrew.


Andrew,

I have not heard of such a patch. Please note that an implementation of
such a thing might enable a DOS against your system and those behind it.
This would make the SMTP session extremely complex.
Essentially you are looking more for a proxy server then a gateway.
If the remote system already has the capability of rejecting a message
addressed to an unknown recipient, I do not see why a qmail server as a
gateway is needed.

I believe on www.lifewithqmail.org using the LDAP patch you might be
able to incorporate qmail with an AD setup (I did not tried so do not
know for sure) There are other patches that modify qmail-smtpd to check
for a local recipient before accepting a message. It might be possible
to consolidate multiple AD organization into your own local LDAP server.
Or simple have a defined list of acceptable email addresses.

But a lot more thought needs to be put into planning, setting up,
testing and implementing such a configuration.

If your system has qregex compiled in, you could reverse the behavior
for badmailto from rejecting email addressed to emails in the control
file to accepting them and rejecting everything else. I've done
something like that before. Simple alteration of the logic.

Please note that this will help spammers to identify valid email
addresses on your system/s.

AK
Reply With Quote
  #3 (permalink)  
Old 10-12-2005
Joerg Backschues
 
Posts: n/a
Default Re: Bouncing mail on SMTP level - gateway machine

Andrew Hodgson wrote:

> Is there any patch that allows Qmail-SMTPD to look up the address of
> the recipient by connecting to the server in smtproutes, and if the
> address gives a 5xx response give a 5xx response to the client
> connecting to the Qmail server? If not the server specified in
> smtproutes then perhaps using a pre-configured server?
>
> I am trying to avoid bounces going out of the network - currently the
> main machine sends out 5xx responses, but Qmail will have to send
> these to the sender (legit or not!).


A SMTP callout can be done with the RCPTCHECK Patch (*). I use this patch by
myself to verify recipients against an internal Microsoft Exchange server.

(* http://www.soffian.org/downloads/qma...smtpd-doc.html).

--
Greetings
Jörg Backschues
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0