hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Stop exim bounce messages
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Stop exim bounce messages

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-16-2006, 11:49 AM
Ivanner Ivanner is offline
Newbie
 
Join Date: Mar 2006
Posts: 23

Stop exim bounce messages


Hi,
I am running exim on
WHM 10.8.0 /cPanel 10.8.2-R119.
I have a long queue in Exim, where most of those emails are "Mailbox is full", "retry timeout exceeded", etc, bounces sent to the sender.

I want to stop the bounces from happening.
I thought that an ACL rule might do this, but I am not sure how to do it.

Anyone has been able to do this?

__________________
Ivanner Mora
DotAnything.NET
Fulfilling your hosting needs

Reply With Quote


Sponsored Links
  #2  
Old 06-16-2006, 12:42 PM
blockcipher blockcipher is offline
Web Hosting Master
 
Join Date: Oct 2003
Location: California
Posts: 1,271
I would also be interested in this. I usually have around 300-600 of these.

Thanks!

__________________
http://www.wavesoftech.com

Reply With Quote
  #3  
Old 06-16-2006, 04:16 PM
SPaReK SPaReK is offline
Web Hosting Master
 
Join Date: Apr 2002
Posts: 654
The easiest solution would be to investigate the root cause of the problem.

A mailbox is full message usually means that a particular mail account is over its quota limit. I am not entirely sure why everyone believes mailbox quotas are necessary. But if a mail account is at its mailbox quota limit, then its likely that mailbox is not being checked and can be removed.

The retry timeout exceeded message can be many different things. Among the more common causes for this error message is that the overall account is at or over its quota (the entire account, not just a mailbox). You should investigate why the account is over its quota and what can be done to guard against that.

Reply With Quote
Sponsored Links
  #4  
Old 06-16-2006, 11:38 PM
tweakservers tweakservers is offline
Aspiring Evangelist
 
Join Date: Mar 2006
Posts: 415
Check the option "Discard emails for users who have exceeded their quota instead of keeping them in the queue." in WHM > Exim Configuration Editor so that if there is a user mail box is full, the bounce will be discarded by your server.

__________________
Tweakservers | Professional Windows Server Setup & Security Hardening
Authorised Reseller For SmarterTools, Paessler PRTG, SSL Certificate & STH Website Malware Scanning
Twitter @tweakservers

Reply With Quote
  #5  
Old 06-17-2006, 02:06 PM
SPaReK SPaReK is offline
Web Hosting Master
 
Join Date: Apr 2002
Posts: 654
Quote:
Originally Posted by tweakservers
Check the option "Discard emails for users who have exceeded their quota instead of keeping them in the queue." in WHM > Exim Configuration Editor so that if there is a user mail box is full, the bounce will be discarded by your server.
The way I understand this option, this only works in regards to an account's overall quota and not individual mailbox quota. Secondly, all this option does is prevents messages intended for accounts that are over their quota from being stored in the mail queue. Typically, a spammer will send a message and not use a valid return address. When this message reaches the server and the above option is enabled, the message is not attempted to be delivered, and a message back to the sender is created telling the sender that the account is over its quota. If the return address on the message is invalid, then you are stuck with a bounce message in your mail queue trying to be sent to an address that does not exist. This I believe is what the original poster is referring to.

My solution would be to disabled mailbox quotas or atleast set the quotas to unlimited for mailboxes that have reached their quotas. This is why I'm not entirely sure what the point of a mailbox quota system is. You are either checking a mailbox or you are not.

If an overall account is over its quota, make sure its default box is set to :fail: and then disable all mail accounts on the account, so that messages for the domain are immediately rejected.

Reply With Quote
  #6  
Old 06-18-2006, 06:47 PM
Dacsoft Dacsoft is offline
Web Hosting Master
 
Join Date: May 2003
Location: Florida
Posts: 877
While it won't stop them, this little script will remove them.
Code:
#!/bin/bash -
# remove_null_sender.sh
# Removes queued mail with a null ( <> ) sender

mailq () {
        exiqgrep -b
}

for line in `mailq |awk '{print$1 " " $3}' | grep '<>' | awk '{print$1}'`; do /usr/sbin/exim -Mrm $line; done

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
A Look at the New WHM Interface in Version 11.34 of the cPanel Hosting Control Panel Web Hosting News 2012-11-12 12:57:03
Email Security Firm eleven Finds Drive-By Malware on the Rise Web Hosting News 2012-10-18 13:21:25
Web Hosting Control Panel cPanel and WHM Version 11.32 Adds Features, Fixes Web Hosting News 2012-04-08 11:51:35
Irish Web Host LetsHost Sending Billing Reminders to Customers via Text Message Web Hosting News 2012-03-13 17:00:48
cPanel Launches Version 11.32 of Control Panel and Web Host Manager Web Hosting News 2012-02-15 12:46:33


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?