Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Frozen Messages

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


aaron at echostar

May 4, 2002, 3:03 PM

Post #1 of 8 (1226 views)
Permalink
Frozen Messages

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
If it possible to stop Exim from freezing messages that have a blank sender or a sender that is unreachable?

thanks,

Aaron
--


sheldonh at starjuice

May 6, 2002, 6:37 AM

Post #2 of 8 (1178 views)
Permalink
Re: Frozen Messages [In reply to]

On Sat, 04 May 2002 16:03:00 CST, Aaron Anderson wrote:

> If it possible to stop Exim from freezing messages that have a blank
> sender or a sender that is unreachable?

Think about what you want Exim to do instead. If you just want Exim to
bin the messages, consider the ignore_errmsg_errors and sender_verify
options. You may want to temper ignore_errmsg_errors with
ignore_errmsg_errors_after.

You may also want to consult the FAQ before posting in future, since
you'd have been well served by this entry:

Q0508: How can I stop undeliverable bounce messages (e.g. to
routeable, but undeliverable, spammer senders) from clogging up the
queue for days?

Ciao,
Sheldon.


gwen at earth

Feb 13, 2004, 2:55 AM

Post #3 of 8 (1172 views)
Permalink
RE: Frozen Messages [In reply to]

Hi Richard
don't know if this will help I use a perl script to scan the frozen messages and
unfreeze the valid ones if required. It is quite a manual process but it seems
to work ok for me.

If you want to have use it or have a look you can find it here

http://www.ocean.cf.ac.uk/people/gwen/scripts/

#############################################
This week I be mainly fixing computers by not switching them on.

Gwen Pettigrew
Senior Computer Officer
School of Earth Ocean and Planetary Sciences
Cardiff University

DEPT WEB www.earth.cf.ac.uk
Home page www.ocean.cf.ac.uk/people/gwen

-----Original Message-----
From: exim-users-admin [at] exim [mailto:exim-users-admin [at] exim] On Behalf Of
Richard Marshall
Sent: 13 February 2004 09:29
To: 'exim-users [at] exim'
Subject: [Exim] Frozen Messages


Hello,

I have approx. 800 message in the queue on my exim 4.30 server. The majority
of these messages are Frozen, and I believe are being caused by the vast
amount of spam the we recieve. I think that latest MyDoom worm has probably
contributed too. I have tried running #/usr/sbin/exim4 -qff to clear the
queues but it doesn't appear to help.

How can I get my queue down to a reasonable level without the risk of
loosing valid mails?

Thanks

Richard

Systems Administrator
SportBusiness Group
Elizabeth House
39 York Road
London
SE1 7NQ
e: richard.marshall [at] sportbusiness
t: +44 (0)207 934 9222
f: +44 (0)207 934 9200
Maximising the Value of Hospitality - a new definitive report from
SportBusiness Group that takes a hard look at the world of business
entertainment from the point of view of the party picking up the tab. Email
stuartl [at] sportbusiness for a free executive summary or further
information on how to order the full report.


This e-mail is confidential and may be privileged. It may be read, copied
and used only by the intended recipient. If you have received it in error,
please contact the sender immediately by return e-mail or by telephoning +44
(0)20 7934 9000. Please then delete the e-mail and do not disclose its
contents to any person. We believe, but do not warrant that this e-mail and
any attachments, are virus free. You should take full responsibility for
virus checking. SBG Companies reserve the right to monitor all email
communications through their internal and external networks.

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details
at http://www.exim.org/ ##


R.J.Mckeating at lboro

Feb 13, 2004, 3:00 AM

Post #4 of 8 (1175 views)
Permalink
Re: Frozen Messages [In reply to]

On Fri, 2004-02-13 at 09:29, Richard Marshall wrote:
> Hello,
>
> I have approx. 800 message in the queue on my exim 4.30 server. The majority
> of these messages are Frozen, and I believe are being caused by the vast
> amount of spam the we recieve. I think that latest MyDoom worm has probably
> contributed too. I have tried running #/usr/sbin/exim4 -qff to clear the
> queues but it doesn't appear to help.
>
> How can I get my queue down to a reasonable level without the risk of
> loosing valid mails?
>
We have a couple of very handy perl scripts,one called investigate_mail
and the other called remove_mail. The both take a string as an argument
and search all the jobs in the queue for that string. The investigate
script displays each email it finds with that string in it, the delete
deletes each email with that string in.

So when we have lots of auto generated bounce messages the command

/usr/local/etc/remove_mail 'Auto-Submitted: auto-generated'

Will remove vast quantities of crap from our queues (this morning it
deleted around 1800 queued jobs). You are welcome to have a copy of them
if you wish.

Ron


> Thanks
>
> Richard
>
> Systems Administrator
> SportBusiness Group
> Elizabeth House
> 39 York Road
> London
> SE1 7NQ
> e: richard.marshall [at] sportbusiness
> t: +44 (0)207 934 9222
> f: +44 (0)207 934 9200
> Maximising the Value of Hospitality - a new definitive report from
> SportBusiness Group that takes a hard look at the world of business
> entertainment from the point of view of the party picking up the tab. Email
> stuartl [at] sportbusiness for a free executive summary or further
> information on how to order the full report.
>
>
> This e-mail is confidential and may be privileged. It may be read, copied
> and used only by the intended recipient. If you have received it in error,
> please contact the sender immediately by return e-mail or by telephoning +44
> (0)20 7934 9000. Please then delete the e-mail and do not disclose its
> contents to any person. We believe, but do not warrant that this e-mail and
> any attachments, are virus free. You should take full responsibility for
> virus checking. SBG Companies reserve the right to monitor all email
> communications through their internal and external networks.
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
--
Ron McKeating
Senior IT Services Specialist
Internet Services and Software Solutions
Loughborough University
01509 222329


Richard.Marshall at Sportbusiness

Feb 13, 2004, 3:12 AM

Post #5 of 8 (1171 views)
Permalink
RE: Frozen Messages [In reply to]

Thanks Gwen,

Have downloaded the script and given it a go. I think that it may be useful
to me for small volumes but will take me most of the day in my current
situation!

Thanks again,

Rich

-----Original Message-----
From: Gwen Pettigrew [mailto:gwen [at] earth]
Sent: 13 February 2004 09:55
To: 'Richard Marshall'; exim-users [at] exim
Subject: RE: [Exim] Frozen Messages


Hi Richard
don't know if this will help I use a perl script to scan the frozen messages
and
unfreeze the valid ones if required. It is quite a manual process but it
seems
to work ok for me.

If you want to have use it or have a look you can find it here

http://www.ocean.cf.ac.uk/people/gwen/scripts/

#############################################
This week I be mainly fixing computers by not switching them on.

Gwen Pettigrew
Senior Computer Officer
School of Earth Ocean and Planetary Sciences
Cardiff University

DEPT WEB www.earth.cf.ac.uk
Home page www.ocean.cf.ac.uk/people/gwen

-----Original Message-----
From: exim-users-admin [at] exim [mailto:exim-users-admin [at] exim] On Behalf
Of
Richard Marshall
Sent: 13 February 2004 09:29
To: 'exim-users [at] exim'
Subject: [Exim] Frozen Messages


Hello,

I have approx. 800 message in the queue on my exim 4.30 server. The majority
of these messages are Frozen, and I believe are being caused by the vast
amount of spam the we recieve. I think that latest MyDoom worm has probably
contributed too. I have tried running #/usr/sbin/exim4 -qff to clear the
queues but it doesn't appear to help.

How can I get my queue down to a reasonable level without the risk of
loosing valid mails?

Thanks

Richard

Systems Administrator
SportBusiness Group
Elizabeth House
39 York Road
London
SE1 7NQ
e: richard.marshall [at] sportbusiness
t: +44 (0)207 934 9222
f: +44 (0)207 934 9200
Maximising the Value of Hospitality - a new definitive report from
SportBusiness Group that takes a hard look at the world of business
entertainment from the point of view of the party picking up the tab. Email
stuartl [at] sportbusiness for a free executive summary or further
information on how to order the full report.


This e-mail is confidential and may be privileged. It may be read, copied
and used only by the intended recipient. If you have received it in error,
please contact the sender immediately by return e-mail or by telephoning +44
(0)20 7934 9000. Please then delete the e-mail and do not disclose its
contents to any person. We believe, but do not warrant that this e-mail and
any attachments, are virus free. You should take full responsibility for
virus checking. SBG Companies reserve the right to monitor all email
communications through their internal and external networks.

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details
at http://www.exim.org/ ##



This e-mail is confidential and may be privileged. It may be read, copied
and used only by the intended recipient. If you have received it in error,
please contact the sender immediately by return e-mail or by telephoning +44
(0)20 7934 9000. Please then delete the e-mail and do not disclose its
contents to any person. We believe, but do not warrant that this e-mail and
any attachments, are virus free. You should take full responsibility for
virus checking. SBG Companies reserve the right to monitor all email
communications through their internal and external networks.


Richard.Marshall at Sportbusiness

Feb 13, 2004, 3:12 AM

Post #6 of 8 (1171 views)
Permalink
RE: Frozen Messages [In reply to]

Hello Ron,

It sounds like these scripts could be very useful. It would be great if you
send me them. I was wandering why these queues happen in the first place
though? do you know if there is a mechanism in Exim that I can use to
prevent them?

Thanks for your help,

Rich



-----Original Message-----
From: Ron McKeating [mailto:R.J.Mckeating [at] lboro]
Sent: 13 February 2004 10:00
To: Richard Marshall
Cc: 'exim-users [at] exim'
Subject: Re: [Exim] Frozen Messages


On Fri, 2004-02-13 at 09:29, Richard Marshall wrote:
> Hello,
>
> I have approx. 800 message in the queue on my exim 4.30 server. The
majority
> of these messages are Frozen, and I believe are being caused by the vast
> amount of spam the we recieve. I think that latest MyDoom worm has
probably
> contributed too. I have tried running #/usr/sbin/exim4 -qff to clear the
> queues but it doesn't appear to help.
>
> How can I get my queue down to a reasonable level without the risk of
> loosing valid mails?
>
We have a couple of very handy perl scripts,one called investigate_mail
and the other called remove_mail. The both take a string as an argument
and search all the jobs in the queue for that string. The investigate
script displays each email it finds with that string in it, the delete
deletes each email with that string in.

So when we have lots of auto generated bounce messages the command

/usr/local/etc/remove_mail 'Auto-Submitted: auto-generated'

Will remove vast quantities of crap from our queues (this morning it
deleted around 1800 queued jobs). You are welcome to have a copy of them
if you wish.

Ron


> Thanks
>
> Richard
>
> Systems Administrator
> SportBusiness Group
> Elizabeth House
> 39 York Road
> London
> SE1 7NQ
> e: richard.marshall [at] sportbusiness
> t: +44 (0)207 934 9222
> f: +44 (0)207 934 9200
> Maximising the Value of Hospitality - a new definitive report from
> SportBusiness Group that takes a hard look at the world of business
> entertainment from the point of view of the party picking up the tab.
Email
> stuartl [at] sportbusiness for a free executive summary or further
> information on how to order the full report.
>
>
> This e-mail is confidential and may be privileged. It may be read, copied
> and used only by the intended recipient. If you have received it in error,
> please contact the sender immediately by return e-mail or by telephoning
+44
> (0)20 7934 9000. Please then delete the e-mail and do not disclose its
> contents to any person. We believe, but do not warrant that this e-mail
and
> any attachments, are virus free. You should take full responsibility for
> virus checking. SBG Companies reserve the right to monitor all email
> communications through their internal and external networks.
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
--
Ron McKeating
Senior IT Services Specialist
Internet Services and Software Solutions
Loughborough University
01509 222329

This e-mail is confidential and may be privileged. It may be read, copied
and used only by the intended recipient. If you have received it in error,
please contact the sender immediately by return e-mail or by telephoning +44
(0)20 7934 9000. Please then delete the e-mail and do not disclose its
contents to any person. We believe, but do not warrant that this e-mail and
any attachments, are virus free. You should take full responsibility for
virus checking. SBG Companies reserve the right to monitor all email
communications through their internal and external networks.


lists at timj

Feb 13, 2004, 4:16 AM

Post #7 of 8 (1174 views)
Permalink
Re: Frozen Messages [In reply to]

Hi Richard, on Fri, 13 Feb 2004 09:29:04 -0000 you wrote:

> I have approx. 800 message in the queue on my exim 4.30 server. The
> majority of these messages are Frozen, and I believe are being caused by
> the vast amount of spam the we recieve.
> I have tried running #/usr/sbin/exim4 -qff
> to clear the queues but it doesn't appear to help.

OK, I'm guessing you have a queue full of frozen bounces. First, do you
understand what these are? They're bounce messages that can't be
delivered. Hence, although "exim -qff" might get rid of a few odd bits, in
general you mostly still won't be able to deliver the mails (because
they're probably to non-existent recipients or similar), so they'll stay
there on your queue until they time out and are deleted.

> How can I get my queue down to a reasonable level without the risk of
> loosing valid mails?

The key is: don't address the symptoms (i.e. lots of frozen bounces in
queue), address the problem (i.e. why do you *have* all these frozen
bounces in the first place). Large quantities of frozen bounces are often
a sign that you're causing trouble not only for yourself but others.

You need to look at what the messages in your queue are, and from where
they're originating. What are they? (look at the raw files in
/var/spool/exim/input, or use Eximon to examine them). They're presumably
frozen bounces, but where are the bounces generated from?

You need to get to the bottom of why the bounces are generated in the
first place and try to avoid that if at all possible (i.e. by
SMTP-rejecting bad recipients/viruses/spam, not accepting them then
generating a bounce, as this will cause you to send "collateral spam" to
the forged senders of the stuff, as well as have huge queues of junk like
you're seeing).

Now, it looks (from your headers) like you may be forwarding messages to a
back-line Exchange server; in that case that's probably the cause of the
problem, because you'll be accepting *ALL* mails (regardless of whether
the recipient exists or not), passing them to the Exchange server, which
also accepts everything (because it's stupid), then the Sexchange server
is bouncing back stuff it doesn't like. In this case, you probably need to
use an LDAP lookup as shown in the Exim cookbook to verify recipients at
SMTP time on the Exim frontline against your Exchange user list. This will
stop mails to invalid users from ever entering your mail system. I would
guess this will cut out a lot of junk to start with.

Next, do you have any kind of spam or virus scanning on the Exim machine?
At the very least I would run all mail against a few DNS blacklists
(sbl-xbl.spamhaus.org and list.dsbl.org as a minimum) since that will cut
out huge amounts of spam, and run Clam Antivirus to stop most viruses.
Maybe run SpamAssassin too. With a bit of tweaking, you should find that
you'll have a win-win-win-win-win situation:

- you'll have lower mail volumes
- your users will get less junk
- your Exchange server won't need to be creating bounces
- you won't have queues full of crap
- you won't collateral-spam third parties


In the meantime, if there are indeed Mydoom-related bounces on your queue,
please don't try to flush them with "exim -qff"; the senders will all be
forged which means even if you do manage to clear out your queue, you'll
just be sending spam out to innocent third parties. This is exactly the
kind of thing which you'll find myself and others are trying hard to block
at the moment. Just delete them off your queue.


Tim


jnatola at hotmail

Aug 28, 2009, 3:05 PM

Post #8 of 8 (1178 views)
Permalink
Re: frozen messages [In reply to]

> Date: Fri, 28 Aug 2009 15:56:23 +0000
> From: d.hill [at] yournetplus
> To: exim-users [at] exim
> Subject: Re: [exim] frozen messages
>
> On Fri, 28 Aug 2009, jean-paul natola wrote:
>
> > 2009-08-28 09:01:04 oberdad [at] aol <OberDAD [at] aol> R=familyroute_out T=remote_smtp: SMTP error from remote mail server after initial connection: host mailin-01.mx.aol.com [64.12.137.169]: 554- (RTR:DU) http://postmaster.info.aol.com/errors/554rtrdu.html\n554 Connecting IP: 72.43.172.72
> > *** Frozen (delivery error message)
>
> AOL provided a link on this one. The reverse lookup for the IP mentioned
> (72.43.172.72) is rrcs-72-43-172-72.nyc.biz.rr.com. It is a generic
> reverse RoadRunner Internet uses for their business class customers. AOL
> is blocking because the IP is on pbl.spamhaus.org:
>
> %dig @localhost 72.172.43.72.pbl.spamhaus.org
> ...
> ;; ANSWER SECTION:
> 72.172.43.72.pbl.spamhaus.org. 900 IN A 127.0.0.10
>

Hmmm we do have a RR cable connection that we use, but as per my firewall / dual wan router rules SMTP traffic is only suppose to use our T1 (which is where the RDNS and mx records point to) only http and ftp traffic uses cable (for faster downloading / web browsing).


My bigger concern is why did it even accept the 1st spam message - should it not have discarded the message

does the in_route below not mean ONLY RELAY for domains listed in my config file?



route_in:
driver = manualroute
transport = remote_smtp
domains = +relay_to_domains
route_list = * 192.168.1.2

clearly "mail.sexdisk.ru" is not in my config





_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.