[courier-users] set MAXPERIP in smtpaccess
Is it possible to use an smtpaccess file to set different MAXPERC and MAXPERIP values from esmptd for certain machines? The defaults are '5' each, which is reasonable IMHO. But I'd like to increase the values for certain internal machines which periodically send TONS of mailing list messages at a time. I already had 192.168.100.12TABallow,RELAYCLIENT,BOFHCHECKDNS=0 in smtpaccess/default, so I changed it to 192.168.100.12TABallow,RELAYCLIENT,BOFHCHECKDNS=0,MAXPERC=500,MAXPERIP=500 and ran makesmtpaccess But I still get errors like courieresmtpd: Maximum connection limit reached for :::192.168.100.12 TIA Jeff Jansen -- 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
Thanks Sam for you fast response. What I was trying to explaing is as follow: First I got a test account named t...@mydomain.com, on courier-mta server I have almost 100 accounts which send and receive tons of emails every day, they are u...@mydomain.com. 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 t...@mydomain.com 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 t...@mydomain.com courier queue the message: Sep 3 08:40:20 localhost courierd: newmsg,id=00206007.4A9FD553.11C2: dns; web45115.mail.sp1.yahoo.com ([:::68.180.197.175]) Sep 3 08:40:20 localhost courierd: started,id=00206007.4A9FD553.11C2,from=u...@yahoo.com,module=local,host=t...@mydomain.com!!500!500!/dominio/mydomain.com/correo/test!!52428800S,addr=t...@mydomain.com 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.11C2,from=u...@yahoo.com,addr=t...@mydomain.com: maildrop: maildir over quota. Sep 3 08:40:20 localhost courierlocal: id=00206007.4A9FD553.11C2,from=u...@yahoo.com,addr=t...@mydomain.com,status: deferred 2- The queue shows this: 2.2K 00206007.4A9FD553.11C2 Sep 03 08:40 courier u...@yahoo.com t...@mydomain.com 3- couried tries to send the messages periodically Sep 3 08:45:20 localhost courierd: started,id=00206007.4A9FD553.11C2,from=u...@yahoo.com,module=local,host=t...@mydomain.com!!500!500!/dominio/mydomain.com/correo/test!!52428800S,addr=t...@mydomain.com 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.11C2,from=u...@yahoo.com,addr=t...@mydomain.com: maildrop: maildir over quota. Sep 3 08:45:20 localhost courierlocal: id=00206007.4A9FD553.11C2,from=u...@yahoo.com,addr=t...@mydomain.com,status: deferred 4- If another u...@yahoo.com or u...@gmail.com tries to send another email to the same t...@mydomain account, the log shows this: Sep 3 08:48:38 localhost courieresmtpd: started,ip=[:::68.180.197.85] Sep 3 08:48:39 localhost courieresmtpd: error,relay=:::68.180.197.85,from=u...@yahoo.com,to=t...@mydomain.com: 456 Address temporarily unavailable. Sep 3 09:00:37 localhost courieresmtpd: error,relay=:::209.85.221.176,from=u...@gmail.com,to=t...@mydomain.com: 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.11C2,from=u...@yahoo.com,addr=t...@mydomain.com: Message Failed. Sep 3 09:04:03 localhost courierd: id=00206007.4A9FD553.11C2,from=u...@yahoo.com,addr=t...@mydomain.com,status: failure Sep 3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.11C2 Sep 3 09:04:03 localhost courierd: started,id=00206007.4A9FD553.11C2,from=,module=dsn,host=,addr=u...@yahoo.com Sep 3 09:04:03 localhost courierd: started,id=0020600B.4A9FDAE3.19C5,from=,module=esmtp,host=yahoo.com,addr=the_spid...@yahoo.com Sep 3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.11C2 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.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 Sep 3 09:04:03 localhost courieresmtp: id=0020600B.4A9FDAE3.19C5,from=,addr=u...@yahoo.com,status: success After calling the sender at u...@yahoo.com, he responsed that he does not have any
[courier-users] Classless reverse dns and mail delivery
Hi Sorry if this is slightly off-topic. For the first time I've had to deal with classless reverse dns for a /25 subnet assigned to me. Thus, I've asked my IP provider to delgate rdns for the entire /25 to my dns servers. 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). frede...@fda-lenny:~$ host 95.128.25.121 121.25.128.95.in-addr.arpa is an alias for 121.0.25.128.95.in-addr.arpa. 121.0.25.128.95.in-addr.arpa domain name pointer slash.sentinel.dk. frede...@fda-lenny:~$ dig -x 95.128.25.121 ; DiG 9.5.1-P3 -x 95.128.25.121 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 49385 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;121.25.128.95.in-addr.arpa.IN PTR ;; ANSWER SECTION: 121.25.128.95.in-addr.arpa. 86394 INCNAME 121.0.25.128.95.in-addr.arpa. 121.0.25.128.95.in-addr.arpa. 10794 IN PTR slash.sentinel.dk. ;; AUTHORITY SECTION: 0.25.128.95.in-addr.arpa. 4918 IN NS ns01.sifira-ums.dk. 0.25.128.95.in-addr.arpa. 4918 IN NS ns02.sifira-ums.dk. ;; Query time: 0 msec ;; SERVER: 192.168.1.33#53(192.168.1.33) ;; WHEN: Thu Sep 3 16:34:37 2009 ;; MSG SIZE rcvd: 144 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] Classless reverse dns and mail delivery
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 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. - -- Stress (N): The condition that occurs when ones mind overrides the body's natural desire to reach out and slap the hell out of someone who desperately deserves it. Joseph C. Lininger, jb...@pcdesk.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) iQEcBAEBCAAGBQJKoAJHAAoJEMh8jNraUiwqxEcH/AwHnZZ87dhNTfdWqrmdhFyT w5fd+/W7OFnIr/wxDIzJYzWbDltT9NOg6pCIZQ8nDnh9wPfUH0hRDKRvNkvOAi8G HeM4Y3Ig1/ZfEi7BKKI4vZUqhNn3AEQyrJopCjGzC+DyNrUB7qITH0YWqUo0A+NM Wdw124jc+g3EajQ70gVbkBMKOgv0X64tryPqDeE7JQWVyykMXmZjVyYb+BhlBnmG TOcW/f2JBYMSj5c0UxRkMidUO1SURbkLocp6PjdOZtX0/du3gAu0yOlp32Yh9cZS EePAP7gXjr6mui6MrkmY5V0CK01hql15xFUs1M4OOkWQfE9lKQSCKjSKipCRA1Q= =dMA2 -END PGP SIGNATURE- -- 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] set MAXPERIP in smtpaccess
Jeff Jansen writes: Is it possible to use an smtpaccess file to set different MAXPERC and MAXPERIP values from esmptd for certain machines? The defaults are '5' each, which is reasonable IMHO. But I'd like to increase the values for certain internal machines which periodically send TONS of mailing list messages at a time. I already had 192.168.100.12TABallow,RELAYCLIENT,BOFHCHECKDNS=0 in smtpaccess/default, so I changed it to 192.168.100.12TABallow,RELAYCLIENT,BOFHCHECKDNS=0,MAXPERC=500,MAXPERIP=500 Use MAXCPERIP, instead. Variables set in the smtpaccess file do not override environment variables, so setting MAXPERIP has no effect. Furthermore, MAXPERIP is actually processed by the startup script, and it sets a command line option to couriertcpd. Hence, this hack. pgpnrISAo2jGl.pgp Description: PGP signature -- 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
Carlos Lopez writes: 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.11C2,from=u...@yahoo.com,addr=t...@mydomain.com: Message Failed. Sep 3 09:04:03 localhost courierd: id=00206007.4A9FD553.11C2,from=u...@yahoo.com,addr=t...@mydomain.com,status: failure Sep 3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.11C2 Sep 3 09:04:03 localhost courierd: started,id=00206007.4A9FD553.11C2,from=,module=dsn,host=,addr=u...@yahoo.com Sep 3 09:04:03 localhost courierd: started,id=0020600B.4A9FDAE3.19C5,from=,module=esmtp,host=yahoo.com,addr=the_spid...@yahoo.com Sep 3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.11C2 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.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 Sep 3 09:04:03 localhost courieresmtp: id=0020600B.4A9FDAE3.19C5,from=,addr=u...@yahoo.com,status: success After calling the sender at u...@yahoo.com, he responsed that he does not have any message from my server with a failure notice. Is [---id=0020600B.4A9FDAE3.19C5,from=,addr=u...@yahoo.com,success: delivered: backscatter bounce dropped] a normal action on courier? Yes. This is backscatter suppression. See the explanation under Backscatter suppression in Courier's INSTALL file, and the courier(8) man page. You can turn off backscatter suppression and deliver these bounces, however keep in mind that doing so makes you vulnerable to getting blacklisted, if you end up being used as a mailbomb proxy. It is a common mistake to believe that Email is a reliable delivery mechanism. It is not. 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. 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. pgpJzatkcqaO5.pgp Description: PGP signature -- 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
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? If it is from courier, how to do in order to inform u...@yahoo.com (or any domain) that his mail had failed? 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 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? Why courier accept and queues it, if t...@mydomain.com is already overquota, Wouldn't be better to just block delivey from @externalserver.com?, this way the sender may know that there is a problem with that account (t...@mydomain.com) and takes action by its own. i'm sorry for all the questions, but I'd like to solve this issue and perhaps someone else have had this kind of problem to. --- 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-users@lists.sourceforge.net Fecha: jueves, 3 septiembre, 2009, 5:23 pm Carlos Lopez writes: 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.11C2,from=u...@yahoo.com,addr=t...@mydomain.com: Message Failed. Sep 3 09:04:03 localhost courierd: id=00206007.4A9FD553.11C2,from=u...@yahoo.com,addr=t...@mydomain.com,status: failure Sep 3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.11C2 Sep 3 09:04:03 localhost courierd: started,id=00206007.4A9FD553.11C2,from=,module=dsn,host=,addr=u...@yahoo.com Sep 3 09:04:03 localhost courierd: started,id=0020600B.4A9FDAE3.19C5,from=,module=esmtp,host=yahoo.com,addr=the_spid...@yahoo.com Sep 3 09:04:03 localhost courierd: completed,id=00206007.4A9FD553.11C2 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.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 Sep 3 09:04:03 localhost courieresmtp: id=0020600B.4A9FDAE3.19C5,from=,addr=u...@yahoo.com,status: success After calling the sender at u...@yahoo.com, he responsed that he does not have any message from my server with a failure notice. Is [---id=0020600B.4A9FDAE3.19C5,from=,addr=u...@yahoo.com,success: delivered: backscatter bounce dropped] a normal action on courier? Yes. This is backscatter suppression. See the explanation under Backscatter suppression in Courier's INSTALL file, and the courier(8) man page. You can turn off backscatter suppression and deliver these bounces, however keep in mind that doing so makes you vulnerable to getting blacklisted, if you end up being used as a mailbomb proxy. It is a common mistake to believe that Email is a reliable delivery mechanism. It is not. 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. 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. -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
Re: [courier-users] Setting a bounce address
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. pgpWwf4AfXtQ8.pgp Description: PGP signature -- 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