Thanks Sam for you fast response.

What I was trying to explaing is as follow:

First I got a test account named [email protected], on courier-mta server I 
have almost 100 accounts which send and receive tons of emails every day, they 
are [email protected]. The quota assigned are 50MB and the max message size is 
10MB.

Now, on these days the company is sending almost most of the employees to 
vacation and almost most of the email accounts are getting over quota.

I've been trying to figure out how to avoid courier-mta filling up the queues 
since I got almost 400 emails sent to internal accounts from servers like 
google, hotmail, yahoo and other email servers.

I read that courier does not bounce back messages to over quota accounts, It 
rather send them to the queue spool dir and try to send them after a period of 
time, but afte many failures courier-mta server should send back a "Failure 
Delivey" to the outer server (server like yahoo, google or hotmail, etc), but 
when It sends it the outer server reply with an error message like "Bounce back 
drop", if the failed message is not received by the sender (yahoo, google or 
any other) then none of the parties would now what happening with their 
messages.

the file maildirsize for [email protected] got this:

52428800S
    52429312           45


Technically speaking, this is what I got from courier logs:

1- First the outer server tries to send an email to [email protected]
   courier queue the message:

Sep  3 08:40:20 localhost courierd: newmsg,id=00206007.4A9FD553.000011C2: dns; 
web45115.mail.sp1.yahoo.com ([::ffff:68.180.197.175])
Sep  3 08:40:20 localhost courierd: 
started,id=00206007.4A9FD553.000011C2,from=<[email protected]>,module=local,[email protected]!!500!500!/dominio/mydomain.com/correo/test!!52428800S,addr=<[email protected]>
Sep  3 08:40:20 localhost courierd: Waiting.  shutdown time=none, wakeup 
time=Thu Sep  3 08:50:17 2009, queuedelivering=3, inprogress=1
Sep  3 08:40:20 localhost courierlocal: 
id=00206007.4A9FD553.000011C2,from=<[email protected]>,addr=<[email protected]>: 
maildrop: maildir over quota.
Sep  3 08:40:20 localhost courierlocal: 
id=00206007.4A9FD553.000011C2,from=<[email protected]>,addr=<[email protected]>,status:
 deferred

2- The queue shows this:

2.2K             00206007.4A9FD553.000011C2          Sep 03 08:40
courier          [email protected]
                 [email protected]

3- couried tries to send the messages periodically

Sep  3 08:45:20 localhost courierd: 
started,id=00206007.4A9FD553.000011C2,from=<[email protected]>,module=local,[email protected]!!500!500!/dominio/mydomain.com/correo/test!!52428800S,addr=<[email protected]>
Sep  3 08:45:20 localhost courierd: Waiting.  shutdown time=none, wakeup 
time=Thu Sep  3 08:50:17 2009, queuedelivering=3, inprogress=1
Sep  3 08:45:20 localhost courierlocal: 
id=00206007.4A9FD553.000011C2,from=<[email protected]>,addr=<[email protected]>: 
maildrop: maildir over quota.
Sep  3 08:45:20 localhost courierlocal: 
id=00206007.4A9FD553.000011C2,from=<[email protected]>,addr=<[email protected]>,status:
 deferred

4- If another [email protected]  or [email protected] tries to send another email to 
the same t...@mydomain account, the log shows this:

Sep  3 08:48:38 localhost courieresmtpd: started,ip=[::ffff:68.180.197.85]
Sep  3 08:48:39 localhost courieresmtpd: 
error,relay=::ffff:68.180.197.85,from=<[email protected]>,to=<[email protected]>: 
456 Address temporarily unavailable.

Sep  3 09:00:37 localhost courieresmtpd: 
error,relay=::ffff:209.85.221.176,from=<[email protected]>,to=<[email protected]>: 
456 Address temporarily unavailable.


5- Then courier send back the failed message to the message's sender
and the external email server reply with this error:

Sep  3 09:04:03 localhost courierd: 
id=00206007.4A9FD553.000011C2,from=<[email protected]>,addr=<[email protected]>: 
Message Failed.
Sep  3 09:04:03 localhost courierd: 
id=00206007.4A9FD553.000011C2,from=<[email protected]>,addr=<[email protected]>,status:
 failure
Sep  3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.000011C2
Sep  3 09:04:03 localhost courierd: 
started,id=00206007.4A9FD553.000011C2,from=<>,module=dsn,host=,addr=<[email protected]>
Sep  3 09:04:03 localhost courierd: 
started,id=0020600B.4A9FDAE3.000019C5,from=<>,module=esmtp,host=yahoo.com,addr=<[email protected]>
Sep  3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.000011C2
Sep  3 09:04:03 localhost courierd: Waiting.  shutdown time=none, wakeup 
time=Thu Sep  3 10:00:17 2009, queuedelivering=2, inprogress=1
Sep  3 09:04:03 localhost courieresmtp: 
id=0020600B.4A9FDAE3.000019C5,from=<>,addr=<[email protected]>: 250 Backscatter 
bounce dropped.
Sep  3 09:04:03 localhost courieresmtp: 
id=0020600B.4A9FDAE3.000019C5,from=<>,addr=<[email protected]>,success: delivered: 
backscatter bounce dropped
Sep  3 09:04:03 localhost courieresmtp: 
id=0020600B.4A9FDAE3.000019C5,from=<>,addr=<[email protected]>,status: success

After calling the sender at [email protected], he responsed that he does not have 
any message from my server with a failure notice.

Is [--->id=0020600B.4A9FDAE3.000019C5,from=<>,addr=<[email protected]>,success: 
delivered: backscatter bounce dropped<----]
a normal action on courier?

Please help, since messages on the queue is filling up the HDD and what i have 
to do is some times delete some of those messages as a way to solved since I 
got no clue on how to solve it.

Thanks again for you help and nice software.


--- El lun 31-ago-09, Sam Varshavchik <[email protected]> escribió:

> De: Sam Varshavchik <[email protected]>
> Asunto: Re: [courier-users] Setting a bounce address
> A: [email protected]
> Fecha: lunes, 31 agosto, 2009, 4:54 pm
> Carlos Lopez writes:
> 
> > Hi all,
> > 
> > Is it possible to set a "bounce back" email address
> when a email fails, but set this option to apply only to
> external email servers?
> > 
> > I am making this question because some times our users
> get over quota and
> > courier-mta sometimes receives emails eventhough the
> user's quota is over
> > sized, when courier-mta server accept the message it
> is queued and it will
> > fail since the user is still over quota, so courier
> smtp send back a the
> > email to the external server but without any FROM
> address.
> > 
> > Iv'e noticed that some servers send failure notice
> deliveies with a bounce back address like [email protected],
> or [email protected].
> > 
> > Is is possible to specify on address like above on
> courier?
> 
> The message's sender specifies which return address should
> be used if the message could not be delivered. Courier
> always uses the return address specified by the message.
> 
> 
> 
> -----Adjunto en línea a continuación-----
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal
> Reports 2008 30-Day 
> trial. Simplify your report design, integration and
> deployment - and focus on 
> what you do best, core application coding. Discover what's
> new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> -----Adjunto en línea a continuación-----
> 
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> 


      
____________________________________________________________________________________
¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to