>In /etc/exim4/exim4.conf.template I added >smtp_accept_max_per_connection = 100 as per the exim docs but keep >getting the error. No error message shows up when I run >update-exim4.conf, but the 10 message limit persists.Thanks to Bob for the pointer to the ''correct'' way to solve this. I had read that in the FAQ, yet somehow put in the ''smtp_accept_max_per_connection'' instead. :-( ----------->As a side note, my ISP claims to support LOGIN, PLAIN and CRAM_MD5 logins:>220 corpweb.trip.net ESMTP Sendmail 8.13.4/8.13.4; Thu, 19 May 2005 15:47:15 -0500 (CDT) >EHLO>501 5.0.0 EHLO requires domain address >EHLO intergate.com >250-corpweb.trip.net Hello host-69-95-14-38.roc.choiceone.net [69.95.14.38], pleased to meet you >250-ENHANCEDSTATUSCODES >250-PIPELINING >250-8BITMIME >250-SIZE 40000000 >250-DSN >250-ETRN >250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 >250-DELIVERBY >250 HELP > >But if I have mutt configured with "set reply_to=ask-yes" and "set > followup_to" I get this error: > >SMTP error from remote mailer after >RCPT TO:<pkg-exim4-users-request@lists.alioth.debian.org>: >host smtp.intergate.com [216.139.64.8]: 550 5.7.1 > <pkg-exim4-users-request@lists.alioth.debian.org>... Relaying denied. >Proper authentication required.Marc Here are the results of the debug --- with cram_md5 + plain + login all enabled ---- 2005-06-06 09:04:15 1DfHDv-00034s-D5 cram_md5 authenticator failed H=smtp.intergate.com [216.139.64.8] 535 5.7.0 authentication failed 2005-06-06 09:04:16 1DfHDv-00034s-D5 => pkg-exim4-users@lists.alioth.debian.org F=<huntbrittany@intergate.com> P=<huntbrittany@intergate.com> R=smarthost T=remote_smtp_smarthost S=314 H=smtp.intergate.com [216.139.64.8]:25 C="250 2.0.0 j56D6mja007303 Message accepted for delivery" QT=3m17s DT=3s 2005-06-06 09:04:16 1DfHDv-00034s-D5 Completed QT=3m17s Maybe they did get my mail? Cram_md5 still fails but the mail was accepted???? ---------- Plain + Login enabled ------------------- 2005-06-06 09:23:14 1DfHZS-0003zH-MI "wtopa@intergate.com" from env-from rewritten as "huntbrittany@intergate.com" by rule 2 2005-06-06 09:23:14 1DfHZS-0003zH-MI "wtopa@intergate.com" from from: rewritten as "huntbrittany@intergate.com" by rule 2 2005-06-06 09:23:14 1DfHZS-0003zH-MI <= huntbrittany@intergate.com U=wtopa P=local S=303 from <wtopa@intergate.com> for pkg-exim4-users@lists.alioth.debian.org 2005-06-06 09:23:22 1DfHZS-0003zH-MI => pkg-exim4-users@lists.alioth.debian.org F=<huntbrittany@intergate.com> P=<huntbrittany@intergate.com> R=smarthost T=remote_smtp_smarthost S=314 H=smtp.intergate.com [216.139.64.8]:25 C="250 2.0.0 j56DPsJK008513 Message accepted for delivery" QT=8s DT=7s 2005-06-06 09:23:22 1DfHZS-0003zH-MI Completed QT=8s Other then the ISP being very inconsistant, the only thing I wonder about is the "wtopa@intergate.com". Shouldn''t that be wtopa@localhost or wtopa@buddy.mtntop.home which is the local domain? In the /etc/email-addresses it reads wtopa: huntbrittany@intergate.com Sorry about the lack of your replies. I forgot to add the list to my .mailfilterrc. I got your replies from the archives. Thanks!!! Wayne
Wayne Topa
2005-Jun-07 22:15 UTC
[Pkg-exim4-users] Re: Exim4 delivery question (More info)
Wayne Topa(linuxone@intergate.com) is reported to have said:> > > Marc > > Here are the results of the debug > > --- with cram_md5 + plain + login all enabled ---- > > 2005-06-06 09:04:15 1DfHDv-00034s-D5 cram_md5 authenticator failed H=smtp.intergate.com [216.139.64.8] 535 5.7.0 authentication failed > 2005-06-06 09:04:16 1DfHDv-00034s-D5 => pkg-exim4-users@lists.alioth.debian.org F=<huntbrittany@intergate.com> P=<huntbrittany@intergate.com> R=smarthost T=remote_smtp_smarthost S=314 H=smtp.intergate.com [216.139.64.8]:25 C="250 2.0.0 j56D6mja007303 Message accepted for delivery" QT=3m17s DT=3s > 2005-06-06 09:04:16 1DfHDv-00034s-D5 Completed QT=3m17s > > > Maybe they did get my mail? Cram_md5 still fails but the mail was accepted???? > > ---------- Plain + Login enabled ------------------- > > 2005-06-06 09:23:14 1DfHZS-0003zH-MI "wtopa@intergate.com" from env-from rewritten as "huntbrittany@intergate.com" by rule 2 > 2005-06-06 09:23:14 1DfHZS-0003zH-MI "wtopa@intergate.com" from from: rewritten as "huntbrittany@intergate.com" by rule 2 > 2005-06-06 09:23:14 1DfHZS-0003zH-MI <= huntbrittany@intergate.com U=wtopa P=local S=303 from <wtopa@intergate.com> for pkg-exim4-users@lists.alioth.debian.org > 2005-06-06 09:23:22 1DfHZS-0003zH-MI => pkg-exim4-users@lists.alioth.debian.org F=<huntbrittany@intergate.com> P=<huntbrittany@intergate.com> R=smarthost T=remote_smtp_smarthost S=314 H=smtp.intergate.com [216.139.64.8]:25 C="250 2.0.0 j56DPsJK008513 Message accepted for delivery" QT=8s DT=7s > 2005-06-06 09:23:22 1DfHZS-0003zH-MI Completed QT=8s > > > Other then the ISP being very inconsistant, the only thing I wonder about is the > "wtopa@intergate.com". Shouldn''t that be wtopa@localhost or wtopa@buddy.mtntop.home > which is the local domain? In the /etc/email-addresses it reads > wtopa: huntbrittany@intergate.com > > Sorry about the lack of your replies. I forgot to add the list to my > .mailfilterrc. I got your replies from the archives. Thanks!!!Here is the relevent portion from echo foo |/usr/sbin/exim4 -d pkg-exim4-users@lists.alioth.debian.org.>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>--------> linuxone@intergate.com <-------- search_tidyup called changed uid/gid: remote delivery to linuxone@intergate.com with transport=remote_smtp_smarthost uid=114 gid=114 pid=20651 auxiliary group list: <none> set_process_info: 20651 delivering 1DfJ6t-0005N1-IZ using remote_smtp_smarthost T: remote_smtp_smarthost for linuxone@intergate.com remote_smtp_smarthost transport entered linuxone@intergate.com intergate.com in queue_smtp_domains? no (option unset) checking status of smtp.intergate.com locking /var/spool/exim4/db/retry.lockfile locked /var/spool/exim4/db/retry.lockfile opened hints database /var/spool/exim4/db/retry: flags=0 dbfn_read: key=T:smtp.intergate.com:216.139.64.8 dbfn_read: key=T:smtp.intergate.com:216.139.64.8:1DfJ6t-0005N1-IZ no host retry record no message retry record smtp.intergate.com [216.139.64.8] status = usable 216.139.64.8 in serialize_hosts? no (option unset) delivering 1DfJ6t-0005N1-IZ to smtp.intergate.com [216.139.64.8] (linuxone@intergate.com) set_process_info: 20651 delivering 1DfJ6t-0005N1-IZ to smtp.intergate.com [216.139.64.8] (linuxone@intergate.com) set_process_info: 20648 delivering 1DfJ6t-0005N1-IZ: waiting for a remote delivery subprocess to finish selecting on subprocess pipes Connecting to smtp.intergate.com [216.139.64.8]:25 ... connected waiting for data on socket read response data: size=89 SMTP<< 220 corpweb.trip.net ESMTP Sendmail 8.13.4/8.13.4; Mon, 6 Jun 2005 10:04:43 -0500 (CDT) 216.139.64.8 in hosts_avoid_esmtp? no (option unset) SMTP>> EHLO buddy.mtntop.home waiting for data on socket read response data: size=258 SMTP<< 250-corpweb.trip.net Hello host-69-95-18-11.roc.choiceone.net [69.95.18.11], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 40000000 250-DSN 250-ETRN 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 250-DELIVERBY 250 HELP 216.139.64.8 in hosts_require_tls? no (option unset) using PIPELINING 216.139.64.8 in hosts_require_auth? no (option unset) gethostbyname2(af=inet6) returned 4 (NO_DATA) gethostbyname2 looked up these IP addresses: name=smtp.intergate.com address=216.139.64.8 216.139.64.8 in hosts_try_auth? yes (matched "smtp.intergate.com") scanning authentication mechanisms search_open: lsearch "/etc/exim4/passwd.client" search_find: file="/etc/exim4/passwd.client" key="smtp.intergate.com" partial=-1 affix=NULL starflags=1 LRU list: :/etc/exim4/passwd.client End internal_search_find: file="/etc/exim4/passwd.client" type=lsearch key="smtp.intergate.com" file lookup required for smtp.intergate.com in /etc/exim4/passwd.client lookup yielded: Login.Passwd search_open: lsearch "/etc/exim4/passwd.client" cached open search_find: file="/etc/exim4/passwd.client" key="smtp.intergate.com" partial=-1 affix=NULL starflags=1 LRU list: :/etc/exim4/passwd.client End internal_search_find: file="/etc/exim4/passwd.client" type=lsearch key="smtp.intergate.com" cached data used for lookup of smtp.intergate.com in /etc/exim4/passwd.client lookup yielded: Login.Passwd SMTP>> AUTH CRAM-MD5 waiting for data on socket read response data: size=58 SMTP<< 334 PDM1Mjg2MDczNDMuMTA3NzQwOThAY29ycHdlYi50cmlwLm5ldD4 SMTP>> ************************************************************ waiting for data on socket read response data: size=33 SMTP<< 535 5.7.0 authentication failed cram_md5 authenticator yielded 2 LOG: MAIN cram_md5 authenticator failed H=smtp.intergate.com [216.139.64.8] 535 5.7.0 authentication failed plain authenticator yielded 12 login authenticator yielded 12 SMTP>> MAIL FROM:<boss@localhost> SIZE=1298 SMTP>> RCPT TO:<linuxone@intergate.com> SMTP>> DATA waiting for data on socket read response data: size=143 SMTP<< 250 2.1.0 <boss@localhost>... Sender ok SMTP<< 250 2.1.5 <linuxone@intergate.com>... Recipient ok SMTP<< 354 Enter mail, end with "." on a line by itself SMTP>> writing message and terminating "." writing data block fd=6 size=278 timeout=300 waiting for data on socket read response data: size=56 SMTP<< 250 2.0.0 j56F4h03015992 Message accepted for delivery journalling linuxone@intergate.com ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0 first_address is NULL transport_check_waiting entered sequence=1 local_max=500 global_max=-1 locking /var/spool/exim4/db/wait-remote_smtp_smarthost.lockfile locked /var/spool/exim4/db/wait-remote_smtp_smarthost.lockfile opened hints database /var/spool/exim4/db/wait-remote_smtp_smarthost: flags=2 dbfn_read: key=smtp.intergate.com no messages waiting for smtp.intergate.com SMTP>> QUIT set_process_info: 20651 delivering 1DfJ6t-0005N1-IZ: just tried smtp.intergate.com [216.139.64.8] for linuxone@intergate.com: result OK Leaving remote_smtp_smarthost transport set_process_info: 20651 delivering 1DfJ6t-0005N1-IZ (just run remote_smtp_smarthost for linuxone@intergate.com in subprocess) search_tidyup called reading pipe for subprocess 20651 (not ended) read() yielded 5 selecting on subprocess pipes reading pipe for subprocess 20651 (not ended) read() yielded 105 selecting on subprocess pipes reading pipe for subprocess 20651 (not ended) read() yielded 2 Z0 item read remote delivery process 20651 ended set_process_info: 20648 delivering 1DfJ6t-0005N1-IZ post-process linuxone@intergate.com (0) linuxone@intergate.com delivered LOG: MAIN Completed QT=25s end delivery of 1DfJ6t-0005N1-IZ search_tidyup called search_tidyup called>>>>>>>>>>>>>>>> Exim pid=20648 terminating with rc=0 >>>>>>>>>>>>>>>>It still looks like the ISP''s smtp server is screwed up, to me. Just updated and now running exim4 4.50-8. Noticed that TLS is enabled by default and, as my smtp server doesn''t use it, I have to disable all the tls_* entries or I can''t send mail. Commenting them out allows me to send again. While reading the new Docs, /usr/share/doc/exim4-base/README.Debian.gz, I see that there is a way to enable TLS mentioned (as if it wasn''t enabled by default). "Now, enable TLS by setting the macro MAIN_TLS_ENABLE in a local configuration file (documented below)." The "documented below" mentions the file /etc/exim4/exim4.conf.localmacros. There is no exim4.conf.localmacros file. I suppose that means you have to create it but I can''t find anything about how to add an entry to disable the MAIN_TLS_ENABLE macro. Sorry for the delay in this reply. A storm hit here yesterday and caused us to lose power for 22 hours. Thanks again Wayne
On Mon, Jun 06, 2005 at 09:33:03AM -0400, Wayne Topa wrote:> >In /etc/exim4/exim4.conf.template I added > >smtp_accept_max_per_connection = 100 as per the exim docs but keep > >getting the error. No error message shows up when I run > >update-exim4.conf, but the 10 message limit persists. > > Thanks to Bob for the pointer to the ''correct'' way to solve this. > I had read that in the FAQ, yet somehow put in the > ''smtp_accept_max_per_connection'' instead. :-(Good to see the issue solved.> >As a side note, my ISP claims to support LOGIN, PLAIN and CRAM_MD5 logins: > > > >220 corpweb.trip.net ESMTP Sendmail 8.13.4/8.13.4; Thu, 19 May 2005 15:47:15 -0500 (CDT) > >EHLO > > >501 5.0.0 EHLO requires domain address > >EHLO intergate.com > >250-corpweb.trip.net Hello host-69-95-14-38.roc.choiceone.net [69.95.14.38], pleased to meet you > >250-ENHANCEDSTATUSCODES > >250-PIPELINING > >250-8BITMIME > >250-SIZE 40000000 > >250-DSN > >250-ETRN > >250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 > >250-DELIVERBY > >250 HELP > > > >But if I have mutt configured with "set reply_to=ask-yes" and "set > > followup_to" I get this error: > > > >SMTP error from remote mailer after > >RCPT TO:<pkg-exim4-users-request@lists.alioth.debian.org>: > >host smtp.intergate.com [216.139.64.8]: 550 5.7.1 > > <pkg-exim4-users-request@lists.alioth.debian.org>... Relaying denied. > >Proper authentication required. > > > Marc > > Here are the results of the debug > > --- with cram_md5 + plain + login all enabled ---- > > 2005-06-06 09:04:15 1DfHDv-00034s-D5 cram_md5 authenticator failed H=smtp.intergate.com [216.139.64.8] 535 5.7.0 authentication failed > 2005-06-06 09:04:16 1DfHDv-00034s-D5 => pkg-exim4-users@lists.alioth.debian.org F=<huntbrittany@intergate.com> P=<huntbrittany@intergate.com> R=smarthost T=remote_smtp_smarthost S=314 H=smtp.intergate.com [216.139.64.8]:25 C="250 2.0.0 j56D6mja007303 Message accepted for delivery" QT=3m17s DT=3s > 2005-06-06 09:04:16 1DfHDv-00034s-D5 Completed QT=3m17sThese are the log entries, and not the output of a delivery attempt invoked with exim4 -d.> Maybe they did get my mail? Cram_md5 still fails but the mail was accepted????Probably. A real debug output will help here.> ---------- Plain + Login enabled ------------------- > > 2005-06-06 09:23:14 1DfHZS-0003zH-MI "wtopa@intergate.com" from env-from rewritten as "huntbrittany@intergate.com" by rule 2 > 2005-06-06 09:23:14 1DfHZS-0003zH-MI "wtopa@intergate.com" from from: rewritten as "huntbrittany@intergate.com" by rule 2 > 2005-06-06 09:23:14 1DfHZS-0003zH-MI <= huntbrittany@intergate.com U=wtopa P=local S=303 from <wtopa@intergate.com> for pkg-exim4-users@lists.alioth.debian.org > 2005-06-06 09:23:22 1DfHZS-0003zH-MI => pkg-exim4-users@lists.alioth.debian.org F=<huntbrittany@intergate.com> P=<huntbrittany@intergate.com> R=smarthost T=remote_smtp_smarthost S=314 H=smtp.intergate.com [216.139.64.8]:25 C="250 2.0.0 j56DPsJK008513 Message accepted for delivery" QT=8s DT=7s > 2005-06-06 09:23:22 1DfHZS-0003zH-MI Completed QT=8s > > > Other then the ISP being very inconsistant, the only thing I wonder > about is the "wtopa@intergate.com". Shouldn''t that be > wtopa@localhost or wtopa@buddy.mtntop.home which is the local domain?Depends on what your MUA is delivering to exim. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Marc Haber
2005-Jun-14 08:48 UTC
[Pkg-exim4-users] Re: Exim4 delivery question (More info)
On Tue, Jun 07, 2005 at 06:15:36PM -0400, Wayne Topa wrote:> >>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> > --------> linuxone@intergate.com <-------- > SMTP<< 250-corpweb.trip.net Hello host-69-95-18-11.roc.choiceone.net [69.95.18.11], pleased to meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-8BITMIME > 250-SIZE 40000000 > 250-DSN > 250-ETRN > 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 > 250-DELIVERBY > 250 HELP> lookup yielded: Login.PasswdIf that''s your real password, you''d better change it.> SMTP>> AUTH CRAM-MD5 > waiting for data on socket > read response data: size=58 > SMTP<< 334 PDM1Mjg2MDczNDMuMTA3NzQwOThAY29ycHdlYi50cmlwLm5ldD4> SMTP>> ************************************************************ > waiting for data on socket > read response data: size=33 > SMTP<< 535 5.7.0 authentication failed > cram_md5 authenticator yielded 2cram-md5 authentication fails.> SMTP>> MAIL FROM:<boss@localhost> SIZE=1298 > SMTP>> RCPT TO:<linuxone@intergate.com> > SMTP>> DATA > waiting for data on socket > read response data: size=143 > SMTP<< 250 2.1.0 <boss@localhost>... Sender ok > SMTP<< 250 2.1.5 <linuxone@intergate.com>... Recipient ok > SMTP<< 354 Enter mail, end with "." on a line by itself > SMTP>> writing message and terminating "."but the server accepts the mail nevertheless. Is it your SMTP smarthost _and_ MX for intergate.com?> It still looks like the ISP''s smtp server is screwed up, to me.Possibly. All I can see is that CRAM-MD5 authentication fails.> Just updated and now running exim4 4.50-8. Noticed that TLS is > enabled by default and, as my smtp server doesn''t use it, I have to > disable all the tls_* entries or I can''t send mail. Commenting them > out allows me to send again.Your Smarthost doesn''t advertise STARTTLS, so exim should refrain from using TLS when sending to that host. Please substantiate "can''t send mail" with debug output or at least state which error message you get.> While reading the new Docs, > /usr/share/doc/exim4-base/README.Debian.gz, I see that there is a way > to enable TLS mentioned (as if it wasn''t enabled by default). > "Now, enable TLS by setting the macro MAIN_TLS_ENABLE in a local > configuration file (documented below)." > > The "documented below" mentions the file > /etc/exim4/exim4.conf.localmacros. There is no exim4.conf.localmacros > file.This is because there are no local macros in the package.> I suppose that means you have to create it but I can''t find > anything about how to add an entry to disable the MAIN_TLS_ENABLE macro.Also from README.Debian in exim4-base 4.50-8: | For split configuration, you can drop the | local configuration file anywhere in /etc/exim4/conf.d/main. Just make | sure it gets read before the macro is first used. 000_localmacros is a | possible name, guaranteeing first order. For a non-split | configuration, /etc/exim4/exim4.conf.localmacros gets read before | /etc/exim4/exim4.conf.template. To actually set the macro | EXIM4_EXAMPLE to the value "this is a sample", write the following line | | EXIM4_EXAMPLE = this is a sample | | into the appropriate file. For more detailed discussion of the general | macro mechanism, see the exim specification, chapter 6.4, for details | how macro expansion works. Since this is the only place where /etc/exim4/exim4.conf.localmacros is mentioned in README.Debian, you seem to have stopped reading one sentence too early. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835