Re: Disabling Bounces in Qmail.

This is a discussion on Re: Disabling Bounces in Qmail. within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Dave Sill wrote: > Nathan <gangrif@mindless.com> writes: > >> Is it possible to disable bounces ...


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 01-27-2008
Dan Bloomquist
 
Posts: n/a
Default Re: Disabling Bounces in Qmail.

Dave Sill wrote:
> Nathan <gangrif@mindless.com> writes:
>
>> Is it possible to disable bounces in Qmail?

>
> Sure, just do:
>
> echo '#' >~alias/.qmail-default
>


Hi,
New here.

I've done that and:
http://bliki.rimuhosting.com/exec/ve...tes&version=19

but when I start xinetd the queue still starts filling up with spam. We
are getting hit at like 3 emails a second now.

I've also done:
http://meshier.com/2006/09/18/adding...il-on-plesk-8/

Here is the source for that fix:
http://lakeweb.com/scooter/qmail-smtpd.c

We just got this VPS a couple of weeks ago and have been going through
learning curve hell.

Thanks, Dan.
Reply With Quote
  #2 (permalink)  
Old 01-27-2008
Dan Bloomquist
 
Posts: n/a
Default Re: Disabling Bounces in Qmail.

Dan Bloomquist wrote:

>
> I've also done:
> http://meshier.com/2006/09/18/adding...il-on-plesk-8/


Ok, great. By compiling with TLS defined and setting relayclient= 0;
in smtp_rcpt(..) I have stopped all but valid accounts getting mail into
the queue. And the mail does make it to the queue. It is ok if I don't
have login relaying working before we move.

But...
Then sending server gets an immediate:
Diagnostic-Code: smtp; 5.1.0 - Unknown address error 554-'mail server
permanently rejected message (#5.3.0)' (delivery attempts: 0)

And the mail just sites in the queue and is not transfered to the client
boxes.

A phony address comes back:
Diagnostic-Code: smtp; 5.1.0 - Unknown address error 550-'sorry, no
mailbox here by that name. (#5.7.17)\r' (delivery attempts: 0)

This is good.

My wife's deadline for moving from our current provider is the end of
the month. :)


> http://lakeweb.com/scooter/qmail-smtpd.c



Thanks, Dan.
Reply With Quote
  #3 (permalink)  
Old 01-28-2008
Dan Bloomquist
 
Posts: n/a
Default Re: Disabling Bounces in Qmail.

Dan Bloomquist wrote:
> Dan Bloomquist wrote:
>
> But...
> Then sending server gets an immediate:
> Diagnostic-Code: smtp; 5.1.0 - Unknown address error 554-'mail server
> permanently rejected message (#5.3.0)' (delivery attempts: 0)
>
> And the mail just sites in the queue and is not transfered to the client
> boxes.


Ok!!! So I finally figured that the queue might be damaged. So I ran this:
http://pyropus.ca/software/queue-repair/

And new messages are making it to the clients now. Now, just the above
stands in my way to moving. Feels like it is down hill from here...!

Damn evil spammers!

Thanks, Dan.
Reply With Quote
  #4 (permalink)  
Old 01-28-2008
Dan Bloomquist
 
Posts: n/a
Default Re: Disabling Bounces in Qmail.

Dan Bloomquist wrote:
> Dan Bloomquist wrote:
>> Dan Bloomquist wrote:
>>
>> But...
>> Then sending server gets an immediate:
>> Diagnostic-Code: smtp; 5.1.0 - Unknown address error 554-'mail server
>> permanently rejected message (#5.3.0)' (delivery attempts: 0)
>>
>> And the mail just sites in the queue and is not transfered to the
>> client boxes.

>
> Ok!!! So I finally figured that the queue might be damaged. So I ran this:
> http://pyropus.ca/software/queue-repair/
>
> And new messages are making it to the clients now. Now, just the above
> stands in my way to moving. Feels like it is down hill from here...!
>


Well, what do you know. If the queue is damaged you get that rejection.
I went back to see the last rejection and they have stopped coming back!!!!

Ok! But for login relays, we have a mail system!!!!!!!

Thanks, Dan.
Reply With Quote
  #5 (permalink)  
Old 03-01-2008
David
 
Posts: n/a
Default Re: Disabling Bounces in Qmail.

I too am having issues where spammers are sending spam to non-existent
email addresses of domains which I host. Qmail is bouncing the email
(non deliverables) to an email address which the spammer provided as
their "mail from" address.

I need the simplest way to resolve this issue.

1.) figure out the emails they are sending to by reading the /var/
qmail/queue/mess/ and then go put a .qmail-name file in the user's
directory with a "#" in the .qmail file. I believe this will prevent
a bounce response. Please confirm if this is true. Otherwise would I
put "/dev/null" in this .qmail file?

2.) I need some sort of program which will run before qmail which will
authenticate incomming email and if the address does not exist on our
system then it should not even allow qmail to receive it and bounce
the message with the body of the message.

I would greatly appreciate the HELP from someone as our mail server is
getting overloaded with spam

Thanks,

David
Reply With Quote
  #6 (permalink)  
Old 03-01-2008
Michael Klapproth
 
Posts: n/a
Default Re: Disabling Bounces in Qmail.

Am Fri, 29 Feb 2008 21:52:35 -0800 schrieb David:

> I too am having issues where spammers are sending spam to non-existent
> email addresses of domains which I host.
> [...]
> I would greatly appreciate the HELP from someone as our mail server is
> getting overloaded with spam


You should have a look at the plugins for qmail at http://qmail-
spp.sourceforge.net/plugins/ . Additionally http://www.inter7.com/?
page=simscan and http://www.sanesecurity.co.uk/ might be interesting.

Michael
Reply With Quote
  #7 (permalink)  
Old 03-07-2008
Dan Bloomquist
 
Posts: n/a
Default Re: Disabling Bounces in Qmail.

David wrote:
> I too am having issues where spammers are sending spam to non-existent
> email addresses of domains which I host. Qmail is bouncing the email
> (non deliverables) to an email address which the spammer provided as
> their "mail from" address.
>
> I need the simplest way to resolve this issue.
>
> 1.) figure out the emails they are sending to by reading the /var/
> qmail/queue/mess/ and then go put a .qmail-name file in the user's
> directory with a "#" in the .qmail file. I believe this will prevent
> a bounce response. Please confirm if this is true. Otherwise would I
> put "/dev/null" in this .qmail file?
>
> 2.) I need some sort of program which will run before qmail which will
> authenticate incomming email and if the address does not exist on our
> system then it should not even allow qmail to receive it and bounce
> the message with the body of the message.
>
> I would greatly appreciate the HELP from someone as our mail server is
> getting overloaded with spam


Is your system plesk??? For me, as all I can say for now, it is not
about qmail, but the plesk hacks...


Best, Dan.
Reply With Quote
Reply


Thread Tools
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

vB 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 07:13 PM.


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