* Nitin Kumar Gupta [linux-india] <10/06/01 19:42 +0530>:
> Thanks, but since this problem is pretty old (more than 7 days), qmail
> managed to bounce the message back to the sender.
Sendmail could handle this using a simple Timeout.Queuereturn=Now in the
command line arguments :)
And another thing is, esp when bouncing stuff of this size, it's better if
you force qmail to return only headers. 20 meg attachments have a way of
creating "double bounces" which bounce back only to end up in your root /
postmaster mailbox.
> I am just thinking, in case I don't even want it to bounce back to the
> sender, can I just make it vanish by just deleting it from that directory?
> Can that be done in some other way in case it is going to make things
> unstable?
That can be done - but do rtfm on how exactly to delete from a live queue.
Sendmail - you can use contrib/qtool.pl, exim uses the simple exim -Mrm
[queue-id list] ... to conform to the locking mechanism which your MTA uses.
-s
> On Sunday 10 June 2001 07:22 pm, you wrote:
> > You need to find out the queue folder it is in. Since you say the size
> > is huge it sould be easy to locate by a simple directory listing. Now if
> > you have figured out that /var/qmail/queue/mess/15/26902 is the culprit
> > just do a touch to set its create time more than 7 days from the current
> > date touch -d <date string> /var/qmail/queue/mess/15/26902
> >
> > This will make qmail think that the message has been in queue for more
> > than 7 days and it will bounce it back to the sender.
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help