Re: [courier-users] Classless reverse dns and mail delivery

2009-09-04 Thread Frederik Dannemare
On Thursday 03 September 2009 19:52:07 Joseph C. Lininger wrote:
 Good afternoon,

  This is done in a way such that a reverse lookup looks a little different
  than normal by introducing an extra CNAME lookup step (see example below)
  and I'm simply wondering if I could run into problems with certain smtp
  servers when delivering mail to them from my courier server
  (slash.sentinel.dk).

 You should have no problems as long as the resolver used by the mail
 server you're delivering to handles it properly. To my knowledge, all of
 them do. A cname is a perfectly reasonable response to a request for a
 ptr, and should just cause the resolver to restart the lookup with the
 name specified in the cname response. It results in some extra overhead,
 but that's a problem any time you use cname records.

Thanks. What I was hoping to hear. :-)

Best regards,
Frederik Dannemare


--
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Setting a bounce address

2009-09-04 Thread Carlos Lopez
Thanks for your response.

I'll try to use a python filter quota to avoid the problem I have.

--- El jue 3-sep-09, Sam Varshavchik mr...@courier-mta.com escribió:

 De: Sam Varshavchik mr...@courier-mta.com
 Asunto: Re: [courier-users] Setting a bounce address
 A: courier-list courier-users@lists.sourceforge.net
 Fecha: jueves, 3 septiembre, 2009, 7:32 pm
 Carlos Lopez writes:
 
  Hi Sam, thanks for the explanation, but.
  
  When this message appears:
  
 
 id=0020600B.4A9FDAE3.19C5,from=,addr=u...@yahoo.com:
  250 Backscatter bounce dropped.
  Sep  3 09:04:03 localhost courieresmtp:
 
 id=0020600B.4A9FDAE3.19C5,from=,addr=u...@yahoo.com,success:
  delivered: backscatter bounce dropped
  
  Does that error come from courier modules or from the
 @yahoo.com server?
 
  From Courier. See my last message.
 
  If it is from courier, how to do in order to inform u...@yahoo.com (or
 any domain) that his mail had failed?
 
 The bounce is what informs the sender of a delivery
 failure. See my last message for more information.
 
  Now,
  
  Well, messages should not be queueing up. As
 you've seen
  yourself, when Courier holds a message to a
 recipient in the
  queue, because of a temporary delivery failure, it
 stops
  accepting any more mail to the same recipient.
  
  So, you should not have more than one or two
 messages in
  the queue to the same recipient.
  
  As I already stated t...@mydomain.com's
 maildirsize is:
  
  52428800S  52429312       
    45
 
 This has nothing to do with the mail queue.
 
  from many days ago, but sometimes courier accepts
 email to t...@mydomain user and it queues again. 
  Does courier have a counter or something similar, that
 counts the times that and error of a failed delivey and
 reset it after a period of time?
 
 See the explanation at the beginning of the courier(8) man
 page.
 
  Why courier accept and queues it, if t...@mydomain.com
 is already
  overquota, Wouldn't be better to just block delivey
 from
 
 Because it is not know where mail addressed to t...@mydomain.com
 goes, until an actual delivery attempt gets made. The
 recipient's .courier file may, for example, specify that the
 recipient's mail is to be forwarded elsewhere, or be
 delivered to some non-default mailbox location. Therefore,
 when mail gets accepted for a given recipient, the mail's
 ultimate destination is not know.
 
 
 -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
 courier-users@lists.sourceforge.net
 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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sendmsg() conflict

2009-09-04 Thread Gordon Messmer
Sam, I thought this was fixed a few years ago, but it looks like this 
bug is still present in Courier 0.62.2.


sendmsg() is a standard libc function, and is also the name of a 
function in imap/outbox.c.  Libraries which attempt to use libc's 
sendmsg, such as libselinux and libfam, may end up calling imapd's 
sendmsg instead, which causes imapd to segfault.  Can you please rename 
this function?


--- imap/smap.c.sendmsg 2009-09-04 20:41:19.0 -0700
+++ imap/smap.c 2009-09-04 20:42:24.0 -0700
@@ -3496,8 +3496,8 @@
}
argvec[i]=0;
 
-   i=sendmsg(tmpname, argvec,
- senderr);
+   i=imapd_sendmsg(tmpname, argvec,
+   senderr);
free(argvec);
if (i)
{
--- imap/outbox.h.sendmsg   2009-09-04 20:41:22.0 -0700
+++ imap/outbox.h   2009-09-04 20:42:33.0 -0700
@@ -10,7 +10,7 @@
 
 int check_outbox(const char *message, const char *mailbox);
 int is_outbox(const char *mailbox);
-int sendmsg(const char *message, char **argv, void (*err_func)(char *));
+int imapd_sendmsg(const char *message, char **argv, void (*err_func)(char *));
 const char *defaultSendFrom();
 
 #endif
--- imap/outbox.c.sendmsg   2009-09-04 20:41:31.0 -0700
+++ imap/outbox.c   2009-09-04 20:42:53.0 -0700
@@ -92,10 +92,10 @@
argv[5]=NULL;
}
 
-   return (sendmsg(message, argv, errlogger));
+   return (imapd_sendmsg(message, argv, errlogger));
 }
 
-int sendmsg(const char *message, char **argv, void (*err_func)(char *))
+int imapd_sendmsg(const char *message, char **argv, void (*err_func)(char *))
 {
char buffer[512];
int i;
--
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users