Holger Wirtz
2007-Jul-17 07:41 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
Hi, after crawling through nearby the whole internet I have not found what I am searching for. I hope this list cann help... I need to activate DOMAIN_LITERALS in exim4 (lenny). I found that I have to enable the Macro MAIN_ALLOW_DOMAIN_LITERALS. But where do I have to do this? And how to I activate this? TIA, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Andreas Baitis
2007-Jul-17 08:02 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Tuesday 17 July 2007 17:41, Holger Wirtz wrote:> Hi, > > after crawling through nearby the whole internet I have not found what I > am searching for. I hope this list cann help... > > I need to activate DOMAIN_LITERALS in exim4 (lenny). I found that I have > to enable the Macro MAIN_ALLOW_DOMAIN_LITERALS. But where do I have to > do this? And how to I activate this? > > TIA, HolgerThis is from etch, don''t know if it''s the same for lenny? Check the /usr/share/doc/exim4-base/README.Debian.gz in lenny <README.Debian> 2.1.3. Using Exim Macros to control the configuration Our configuration can be controlled in a limited way by setting macros. That way, you can switch on and off certain parts of the default configuration without having to touch the dpkg-conffiles. While touching dpkg-conffiles itself is explitly allowed and wanted, it can be quite a nuisance to be asked on package upgrade whether one wants to use the locally changed file or the file changed by the package maintainer. Whenever you see an .ifdef or .ifndef clause in the configuration file, you can control the appropriate clause by setting the macro in a local configuration file. 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. </README.Debian> So you would set: MAIN_ALLOW_DOMAIN_LITERALS = true in either /etc/exim4/exim4.conf.localmacros for non-split or /etc/exim4/conf.d/main/000_localmacros for split configuration. Regards Andreas
Marc Haber
2007-Jul-17 08:58 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Tue, Jul 17, 2007 at 09:41:31AM +0200, Holger Wirtz wrote:> after crawling through nearby the whole internet I have not found what I > am searching for. I hope this list cann help...You have also asked the question in German in my private E-Mail, and idiot me answered in German. So you are now depriving the public (and others who might have your problem) of an answer because you already have the answer in German. Thanks. Very good idea. Executive Summary: domain literals seem to be broken in the current packages, partly because of missing docs, and partly because ue4c does not accept @[] as a local domain, and partly because exim does not seem to correctly handle @[] in the first place. The first two things are going to be fixed in the package, and the last thing has been reported upstream. Greetings Marc, grumbling -- ----------------------------------------------------------------------------- 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 3221 2323190
Holger Wirtz
2007-Jul-17 11:04 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
Marc, On Tue, Jul 17, 2007 at 10:58:07AM +0200, Marc Haber wrote:> On Tue, Jul 17, 2007 at 09:41:31AM +0200, Holger Wirtz wrote: > > after crawling through nearby the whole internet I have not found what I > > am searching for. I hope this list cann help... > > You have also asked the question in German in my private E-Mail, and > idiot me answered in German. > > So you are now depriving the public (and others who might have your > problem) of an answer because you already have the answer in German. > Thanks. Very good idea.As I wrote in german: sorry for parallel asking. I promise never doing so in future. I was at powerful pressure to find a solution for the probleme, but that should not double the work individually. Holger [...] -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Holger Wirtz
2007-Jul-17 11:58 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
Hi Andreas, On Tue, Jul 17, 2007 at 06:02:41PM +1000, Andreas Baitis wrote:> On Tuesday 17 July 2007 17:41, Holger Wirtz wrote: > > Hi, > > > > after crawling through nearby the whole internet I have not found what I > > am searching for. I hope this list cann help... > > > > I need to activate DOMAIN_LITERALS in exim4 (lenny). I found that I have > > to enable the Macro MAIN_ALLOW_DOMAIN_LITERALS. But where do I have to > > do this? And how to I activate this? > > > > TIA, Holger > > > This is from etch, don''t know if it''s the same for lenny? > > Check the /usr/share/doc/exim4-base/README.Debian.gz in lennyArgh - found it. I read /usr/share/doc/exim/... and there was no interesting information. Perhaps a hangover from etch... I think I just have to read it completly before asking again.> <README.Debian> > > 2.1.3. Using Exim Macros to control the configuration[...]> </README.Debian> > > > So you would set: > > MAIN_ALLOW_DOMAIN_LITERALS = true > > in either /etc/exim4/exim4.conf.localmacros for non-splitThis seems to be /etc/exim4/update-exim4.conf.conf (yes with double conf).> or /etc/exim4/conf.d/main/000_localmacros for split configuration.The configuration building seems to be something strange... at least it does not what I thaught. Yes: I have to read the aboce doc. As Marc wrote it also seems to be a problem from exim4 itself... Thanks, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Marc Haber
2007-Jul-17 13:41 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Tue, Jul 17, 2007 at 01:58:46PM +0200, Holger Wirtz wrote:> Argh - found it. I read /usr/share/doc/exim/... and there was no > interesting information.Note the difference between /usr/share/doc/exim and /usr/share/doc/exim4-foo. exim4 is an entirely different package which is not even maintained within the same team. And, finally, exim is gone.> > So you would set: > > > > MAIN_ALLOW_DOMAIN_LITERALS = true > > > > in either /etc/exim4/exim4.conf.localmacros for non-split > > This seems to be /etc/exim4/update-exim4.conf.conf (yes with double > conf).No, Andreas'' advice is correct.> > or /etc/exim4/conf.d/main/000_localmacros for split configuration. > > The configuration building seems to be something strange...Maybe unaccustomed.> at least it does not what I thaught. Yes: I have to read the aboce > doc.Then you need to read it again. 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 3221 2323190
Andreas Baitis
2007-Jul-17 15:29 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Tuesday 17 July 2007 21:58, Holger Wirtz wrote:> Hi Andreas, > > On Tue, Jul 17, 2007 at 06:02:41PM +1000, Andreas Baitis wrote: > > On Tuesday 17 July 2007 17:41, Holger Wirtz wrote: > > > Hi, > > > > > > after crawling through nearby the whole internet I have not found what > > > I am searching for. I hope this list cann help... > > > > > > I need to activate DOMAIN_LITERALS in exim4 (lenny). I found that I > > > have to enable the Macro MAIN_ALLOW_DOMAIN_LITERALS. But where do I > > > have to do this? And how to I activate this? > > > > > > TIA, Holger > > > > This is from etch, don''t know if it''s the same for lenny? > > > > Check the /usr/share/doc/exim4-base/README.Debian.gz in lennyI''d advise you to read this ^ doc top to bottom, it''s pretty comprehensive re Debian specific config.> > Argh - found it. I read /usr/share/doc/exim/... and there was no > interesting information. Perhaps a hangover from etch... > > I think I just have to read it completly before asking again. > > > <README.Debian> > > > > 2.1.3. Using Exim Macros to control the configuration > > [...] > > > </README.Debian>> > > > > > So you would set: > > > > MAIN_ALLOW_DOMAIN_LITERALS = true > > > > in either /etc/exim4/exim4.conf.localmacros for non-split > > This seems to be /etc/exim4/update-exim4.conf.conf (yes with double > conf). > > > or /etc/exim4/conf.d/main/000_localmacros for split configuration.Understand if you haven''t already, you must create a macros file either /etc/exim4/exim4.conf.localmacros for non-split or /etc/exim4/conf.d/main/000_localmacros for split configuration. They are not created at install.> > The configuration building seems to be something strange... at least it > does not what I thaught. Yes: I have to read the aboce doc. > > As Marc wrote it also seems to be a problem from exim4 itself...The problem is with exim4 domain literals or related (refer previous from Marc Haber), not with Debian Pkg-exim4 Macro enabling. Andreas> > Thanks, Holger
Marc Haber
2007-Jul-17 20:46 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Tue, Jul 17, 2007 at 10:58:07AM +0200, Marc Haber wrote:> Executive Summary: domain literals seem to be broken in the current > packages, partly because of missing docs, and partly because ue4c does > not accept @[] as a local domain, and partly because exim does not > seem to correctly handle @[] in the first place. The first two things > are going to be fixed in the package, and the last thing has been > reported upstream.Conclusion: To use domain literals, do: (1) set MAIN_ALLOW_DOMAIN_LITERALS to a non-empty value (2) set @[] as a local domain (which is currently not possible in 4.67-7). To do this: (2a) switch off local_domains debconf interface by manually setting MAIN_LOCAL_DOMAINS to the intended list from exim configuration or (2b) hack /usr/sbin/update-exim4.conf (line 110) to allow square brackets and add @[] to /etc/exim4/update-exim4.conf.conf (3) make sure that the IP address you want to be reachable is listed in dc_local_interfaces (or that dc_local_interface is empty) 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 3221 2323190
Holger Wirtz
2007-Jul-18 11:10 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
Hi Marc, Andreas, thanks for your help. I think I got the configuration but due to the bug in exim I have to wait until it works. Until than I use an alternative without email :-( Thaks again, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Marc Haber
2007-Jul-18 11:36 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Wed, Jul 18, 2007 at 01:10:50PM +0200, Holger Wirtz wrote:> thanks for your help. I think I got the configuration but due to the bug > in exim I have to wait until it works. Until than I use an alternative > without email :-(There is no bug in exim, there was a problem with my test configuration. Delivery to IP literals should work. What exactly is the output you get when you try exim -bt localpart@[ip address]? 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 3221 2323190
Holger Wirtz
2007-Jul-18 12:46 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Wed, Jul 18, 2007 at 01:36:50PM +0200, Marc Haber wrote:> On Wed, Jul 18, 2007 at 01:10:50PM +0200, Holger Wirtz wrote: > > thanks for your help. I think I got the configuration but due to the bug > > in exim I have to wait until it works. Until than I use an alternative > > without email :-( > > There is no bug in exim, there was a problem with my test > configuration. Delivery to IP literals should work. > > What exactly is the output you get when you try > exim -bt localpart@[ip address]?# exim -bt localpart@[192.76.176.112] R: system_aliases for localpart@[192.76.176.112] localpart@[192.76.176.112] is undeliverable: Unrouteable address Maybe I am an idiot but I double checked everything and find no problem. My update.conf.conf looks like: --- cut here --- dc_eximconfig_configtype=''smarthost'' dc_other_hostnames=''aldebaran.dfn.de;@[]'' dc_local_interfaces=''127.0.0.1;192.76.176.112'' dc_readhost='''' dc_relay_domains='''' dc_minimaldns=''false'' dc_relay_nets='''' dc_smarthost=''deneb.dfn.de'' CFILEMODE=''644'' dc_use_split_config=''false'' dc_hide_mailname=''false'' dc_mailname_in_oh=''true'' dc_localdelivery=''mail_spool'' --- cut here --- As I learned from /usr/sbin/update-exim4.conf the @[] has to go to dc_other_hostnames becuase it is parsed into $local_domains (line 147) which result in MAIN_LOCAL_DOMAINS (line 347). I don''t know what I am doing wrong. BTW: I added the hack for parsing [] in line 110. Regards, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Marc Haber
2007-Jul-18 12:58 UTC
[Pkg-exim4-users] exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Wed, Jul 18, 2007 at 02:46:04PM +0200, Holger Wirtz wrote:> On Wed, Jul 18, 2007 at 01:36:50PM +0200, Marc Haber wrote: > > On Wed, Jul 18, 2007 at 01:10:50PM +0200, Holger Wirtz wrote: > > > thanks for your help. I think I got the configuration but due to the bug > > > in exim I have to wait until it works. Until than I use an alternative > > > without email :-( > > > > There is no bug in exim, there was a problem with my test > > configuration. Delivery to IP literals should work. > > > > What exactly is the output you get when you try > > exim -bt localpart@[ip address]? > > # exim -bt localpart@[192.76.176.112] > R: system_aliases for localpart@[192.76.176.112] > localpart@[192.76.176.112] is undeliverable: Unrouteable addressThis looks as if everything is fine. Now try a domain literal address that is really valid at your site. 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 3221 2323190
Holger Wirtz
2007-Jul-19 06:28 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
Marc, On Wed, Jul 18, 2007 at 02:58:16PM +0200, Marc Haber wrote: [...]> > > What exactly is the output you get when you try > > > exim -bt localpart@[ip address]? > > > > # exim -bt localpart@[192.76.176.112] > > R: system_aliases for localpart@[192.76.176.112] > > localpart@[192.76.176.112] is undeliverable: Unrouteable addressOh... "Unrouteable address" looked for me like an error.> > This looks as if everything is fine. Now try a domain literal > address that is really valid at your site.That''s strange: it does not work, here is the log: 2007-07-19 07:52:08 1IBOvo-0000MV-P2 <= root at dfn.de H=deneb.dfn.de [192.76.176.9] P=esmtp S=832 id=20070719055208.GA15283 at sadr 2007-07-19 07:52:08 1IBOvo-0000MV-P2 ** smsd@@ <sms@[192.76.176.112]> R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<smsd@@>: host deneb.dfn.de [192.76.176.9]: 553 5.1.2 <smsd@@>... Invalid route address 2007-07-19 07:52:09 1IBOvo-0000Mf-Vj <= <> R=1IBOvo-0000MV-P2 U=Debian-exim P=local S=1745 2007-07-19 07:52:09 1IBOvo-0000MV-P2 Completed 2007-07-19 07:52:09 1IBOvo-0000Mf-Vj => root at dfn.de R=smarthost T=remote_smtp_smarthost H=deneb.dfn.de [192.76.176.9] 2007-07-19 07:52:09 1IBOvo-0000Mf-Vj Completed HAH! I got it!!!!!!!!! In /etc/aliases was an (guess what!) alias which looked like this: sms: smsd But this does not work because I use a smarthost. So I have to write sms: smsd@[192.76.176.112] And: YEP! It works. Thanks for helping! Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Marc Haber
2007-Jul-19 06:40 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Thu, Jul 19, 2007 at 08:28:05AM +0200, Holger Wirtz wrote:> On Wed, Jul 18, 2007 at 02:58:16PM +0200, Marc Haber wrote: > [...] > > > > What exactly is the output you get when you try > > > > exim -bt localpart@[ip address]? > > > > > > # exim -bt localpart@[192.76.176.112] > > > R: system_aliases for localpart@[192.76.176.112] > > > localpart@[192.76.176.112] is undeliverable: Unrouteable address > > Oh... "Unrouteable address" looked for me like an error.Yes, but an error caused by a misconfiguration that only could manifest itself _after_ the domain literal was already used. 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 3221 2323190
Holger Wirtz
2007-Jul-19 07:55 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Thu, Jul 19, 2007 at 09:17:57AM +0200, Marc Haber wrote:> On Thu, Jul 19, 2007 at 09:03:51AM +0200, Holger Wirtz wrote: > > one problem solved annother occurs :-( Now I get mail towards my system > > but I cannot send mail from this system (to the smarthost) because the > > From:-line is wrecked: > > > > 2007-07-19 08:59:23 1IBPyt-00076T-3X <= smsd@@ U=smsd P=local S=426 id=20070719065923.GA27289 at aldebaran > > Is your local hostname configured correctly?Yes: $ hostname --fqdn aldebaran.dfn.de> What does > > echo foo | exim -d wirtz at dfn.de > > generate for debug output?See attached. Regards, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF -------------- next part -------------- Exim version 4.67 uid=0 gid=0 pid=13817 D=fbb95cfd Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005) Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd Authenticators: cram_md5 plaintext Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp Fixed never_users: 0 Size of off_t: 8 changed uid/gid: forcing real = effective uid=0 gid=0 pid=13817 auxiliary group list: <none> seeking password data for user "uucp": cache not available getpwnam() succeeded uid=10 gid=10 configuration file is /var/lib/exim4/config.autogenerated log selectors = 00000ffc 00612001 cwd=/etc/exim4 3 args: exim -d wirtz at dfn.de trusted user admin user changed uid/gid: privilege not needed uid=109 gid=112 pid=13817 auxiliary group list: 112 seeking password data for user "mail": cache not available getpwnam() succeeded uid=8 gid=8 user name "root" extracted from gecos field "root" originator: uid=0 gid=0 login=root name=root sender address = root@@ set_process_info: 13817 accepting a local non-SMTP message from <root@@> Sender: root@@ Recipients: wirtz at dfn.de search_tidyup called>>Headers received:address match: subject=root@@ pattern=*@+local_domains in "@:localhost:localhost:aldebaran.dfn.de:@[]"? no (end of list) in "+local_domains"? no (end of list) root@@ in "*@+local_domains"? no (end of list) address match: subject=root@@ pattern=*@@ in "@"? no (end of list) root@@ in "*@@"? no (end of list) rewritten sender = root@@ rewrite_one_header: type=F: From: root <root@@> search_tidyup called>>Headers after rewriting and local additions:I Message-Id: <E1IBQpl-0003ar-Vo at aldebaran.dfn.de> F From: root <root@@> Date: Thu, 19 Jul 2007 09:54:01 +0200 Data file written for message 1IBQpl-0003ar-Vo>>Generated Received: header lineP Received: from root by aldebaran.dfn.de with local (Exim 4.67) (envelope-from <root@@>) id 1IBQpl-0003ar-Vo for wirtz at dfn.de; Thu, 19 Jul 2007 09:54:01 +0200 calling local_scan(); timeout=300 local_scan() returned 0 NULL Writing spool header file Size of headers = 268 LOG: MAIN <= root@@ U=root P=local S=273 search_tidyup called exec /usr/sbin/exim4 -d=0xfbb95cfd -Mc 1IBQpl-0003ar-Vo search_tidyup called>>>>>>>>>>>>>>>> Exim pid=13817 terminating with rc=0 >>>>>>>>>>>>>>>>Exim version 4.67 uid=109 gid=112 pid=13818 D=fbb95cfd Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005) Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd Authenticators: cram_md5 plaintext Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp Fixed never_users: 0 Size of off_t: 8 changed uid/gid: forcing real = effective uid=0 gid=112 pid=13818 auxiliary group list: <none> seeking password data for user "uucp": cache not available getpwnam() succeeded uid=10 gid=10 configuration file is /var/lib/exim4/config.autogenerated log selectors = 00000ffc 00612001 cwd=/var/spool/exim4 4 args: /usr/sbin/exim4 -d=0xfbb95cfd -Mc 1IBQpl-0003ar-Vo trusted user admin user skipping ACL configuration - not needed seeking password data for user "mail": cache not available getpwnam() succeeded uid=8 gid=8 set_process_info: 13818 delivering specified messages set_process_info: 13818 delivering 1IBQpl-0003ar-Vo reading spool file 1IBQpl-0003ar-Vo-H user=root uid=0 gid=0 sender=root@@ sender_local=1 ident=root Non-recipients: Empty Tree ---- End of tree ---- recipients_count=1 body_linecount=1 message_linecount=7 Delivery address list: wirtz at dfn.de locking /var/spool/exim4/db/retry.lockfile locked /var/spool/exim4/db/retry.lockfile EXIM_DBOPEN(/var/spool/exim4/db/retry) returned from EXIM_DBOPEN opened hints database /var/spool/exim4/db/retry: flags=O_RDONLY>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Considering: wirtz at dfn.de unique = wirtz at dfn.de dbfn_read: key=R:dfn.de dbfn_read: key=R:wirtz at dfn.de dbfn_read: key=R:wirtz at dfn.de:<root@@> no domain retry record no address retry record wirtz at dfn.de: queued for routing>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>routing wirtz at dfn.de --------> domain_literal router <-------- local_part=wirtz domain=dfn.de checking domains dfn.de in "@:localhost:localhost:aldebaran.dfn.de:@[]"? no (end of list) dfn.de in "! +local_domains"? yes (end of list) R: domain_literal for wirtz at dfn.de calling domain_literal router domain_literal router called for wirtz at dfn.de: domain = dfn.de domain_literal router declined for wirtz at dfn.de --------> hubbed_hosts router <-------- local_part=wirtz domain=dfn.de checking domains expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}" forced failure: assume not in this list hubbed_hosts router skipped: domains mismatch --------> smarthost router <-------- local_part=wirtz domain=dfn.de checking domains cached no match for +local_domains cached lookup data = NULL dfn.de in "! +local_domains"? yes (end of list) R: smarthost for wirtz at dfn.de calling smarthost router smarthost router called for wirtz at dfn.de domain = dfn.de route_item = * deneb.dfn.de byname dfn.de in "*"? yes (matched "*") original list of hosts = "deneb.dfn.de" options = byname expanded list of hosts = "deneb.dfn.de" options = byname set transport remote_smtp_smarthost finding IP address for deneb.dfn.de calling host_find_byname gethostbyname2(af=inet6) returned 4 (NO_DATA) fully qualified name = deneb.dfn.de gethostbyname2 looked up these IP addresses: name=deneb.dfn.de address=192.76.176.9 queued for remote_smtp_smarthost transport: local_part = wirtz domain = dfn.de errors_to=NULL domain_data=NULL localpart_data=NULL routed by smarthost router envelope to: wirtz at dfn.de transport: remote_smtp_smarthost host deneb.dfn.de [192.76.176.9]>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>After routing: Local deliveries: Remote deliveries: wirtz at dfn.de Failed addresses: Deferred addresses: search_tidyup called>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>--------> wirtz at dfn.de <-------- search_tidyup called changed uid/gid: remote delivery to wirtz at dfn.de with transport=remote_smtp_smarthost uid=109 gid=112 pid=13819 auxiliary group list: <none> set_process_info: 13819 delivering 1IBQpl-0003ar-Vo using remote_smtp_smarthost T: remote_smtp_smarthost for wirtz at dfn.de remote_smtp_smarthost transport entered wirtz at dfn.de dfn.de in queue_smtp_domains? no (option unset) checking status of deneb.dfn.de locking /var/spool/exim4/db/retry.lockfile locked /var/spool/exim4/db/retry.lockfile EXIM_DBOPEN(/var/spool/exim4/db/retry) returned from EXIM_DBOPEN opened hints database /var/spool/exim4/db/retry: flags=O_RDONLY dbfn_read: key=T:deneb.dfn.de:192.76.176.9 dbfn_read: key=T:deneb.dfn.de:192.76.176.9:1IBQpl-0003ar-Vo no host retry record no message retry record deneb.dfn.de [192.76.176.9] status = usable 192.76.176.9 in serialize_hosts? no (option unset) delivering 1IBQpl-0003ar-Vo to deneb.dfn.de [192.76.176.9] (wirtz at dfn.de) set_process_info: 13819 delivering 1IBQpl-0003ar-Vo to deneb.dfn.de [192.76.176.9] (wirtz at dfn.de) set_process_info: 13818 delivering 1IBQpl-0003ar-Vo: waiting for a remote delivery subprocess to finish selecting on subprocess pipes Connecting to deneb.dfn.de [192.76.176.9]:25 ... connected waiting for data on socket read response data: size=87 SMTP<< 220 deneb.dfn.de ESMTP Sendmail 8.13.8/8.13.8; Thu, 19 Jul 2007 09:54:02 +0200 (MEST) 192.76.176.9 in hosts_avoid_esmtp? no (option unset) SMTP>> EHLO aldebaran.dfn.de waiting for data on socket read response data: size=200 SMTP<< 250-deneb.dfn.de Hello Debian-exim at aldebaran.dfn.de [192.76.176.112], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP 192.76.176.9 in hosts_require_tls? no (option unset) 192.76.176.9 in hosts_avoid_pipelining? no (option unset) using PIPELINING 192.76.176.9 in hosts_require_auth? no (option unset) SMTP>> MAIL FROM:<root@@> SIZE=1305 SMTP>> RCPT TO:<wirtz at dfn.de> SMTP>> DATA waiting for data on socket read response data: size=107 SMTP<< 553 5.1.2 <root@@>... Invalid route address SMTP<< 503 5.0.0 Need MAIL before RCPT SMTP<< 503 5.0.0 Need MAIL command ok=0 send_quit=1 send_rset=1 continue_more=0 yield=0 first_address is not NULL SMTP>> QUIT set_process_info: 13819 delivering 1IBQpl-0003ar-Vo: just tried deneb.dfn.de [192.76.176.9] for wirtz at dfn.de: result OK Leaving remote_smtp_smarthost transport set_process_info: 13819 delivering 1IBQpl-0003ar-Vo (just run remote_smtp_smarthost for wirtz at dfn.de in subprocess) search_tidyup called reading pipe for subprocess 13819 (not ended) read() yielded 171 Z0 item read remote delivery process 13819 ended set_process_info: 13818 delivering 1IBQpl-0003ar-Vo post-process wirtz at dfn.de (2) LOG: MAIN ** wirtz at dfn.de R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<root@@> SIZE=1305: host deneb.dfn.de [192.76.176.9]: 553 5.1.2 <root@@>... Invalid route address>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>changed uid/gid: post-delivery tidying uid=109 gid=112 pid=13818 auxiliary group list: <none> set_process_info: 13818 tidying up after delivering 1IBQpl-0003ar-Vo Processing retry items Succeeded addresses: Failed addresses: wirtz at dfn.de: no retry items Deferred addresses: end of retry processing processing failed address wirtz at dfn.de exec /usr/sbin/exim4 -d=0xfbb95cfd -t -oem -oi -f <> -E1IBQpl-0003ar-Vo sending error message to: root@@ writing data block fd=8 size=295 timeout=0 Exim version 4.67 uid=109 gid=112 pid=13821 D=fbb95cfd Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005) Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd Authenticators: cram_md5 plaintext Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp Fixed never_users: 0 Size of off_t: 8 changed uid/gid: forcing real = effective uid=0 gid=112 pid=13821 auxiliary group list: <none> seeking password data for user "uucp": cache not available getpwnam() succeeded uid=10 gid=10 configuration file is /var/lib/exim4/config.autogenerated log selectors = 00000ffc 00612001 cwd=/var/spool/exim4 8 args: /usr/sbin/exim4 -d=0xfbb95cfd -t -oem -oi -f <> -E1IBQpl-0003ar-Vo trusted user admin user changed uid/gid: privilege not needed uid=109 gid=112 pid=13821 auxiliary group list: 112 seeking password data for user "mail": cache not available getpwnam() succeeded uid=8 gid=8 originator: uid=109 gid=112 login=Debian-exim namesender address = set_process_info: 13821 accepting a local non-SMTP message from <> Sender: search_tidyup called>>Headers received:X-Failed-Recipients: wirtz at dfn.de Auto-Submitted: auto-replied From: Mail Delivery System <Mailer-Daemon@@> To: root@@ Subject: Mail delivery failed: returning message to sender rewrite_one_header: type=F: From: Mail Delivery System <Mailer-Daemon@@> rewrite_one_header: type=T: To: root@@ search_tidyup called>>Headers after rewriting and local additions:X-Failed-Recipients: wirtz at dfn.de Auto-Submitted: auto-replied F From: Mail Delivery System <Mailer-Daemon@@> T To: root@@ Subject: Mail delivery failed: returning message to sender I Message-Id: <E1IBQpm-0003av-3T at aldebaran.dfn.de> Date: Thu, 19 Jul 2007 09:54:02 +0200 Data file written for message 1IBQpm-0003av-3T *** No recipients *** Bad address(es) root@@: domain missing or malformed LOG: MAIN Error while reading message with no usable sender address (R=1IBQpl-0003ar-Vo): at least one malformed recipient address: root@@ - domain missing or malformed search_tidyup called>>>>>>>>>>>>>>>> Exim pid=13821 terminating with rc=1 >>>>>>>>>>>>>>>>Writing spool header file Size of headers = 268 LOG: MAIN Process failed (1) when writing error message to root@@ (frozen) end delivery of 1IBQpl-0003ar-Vo search_tidyup called search_tidyup called>>>>>>>>>>>>>>>> Exim pid=13818 terminating with rc=0 >>>>>>>>>>>>>>>>
Marc Haber
2007-Jul-19 08:58 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Thu, Jul 19, 2007 at 09:55:05AM +0200, Holger Wirtz wrote:> On Thu, Jul 19, 2007 at 09:17:57AM +0200, Marc Haber wrote: > > On Thu, Jul 19, 2007 at 09:03:51AM +0200, Holger Wirtz wrote: > > > one problem solved annother occurs :-( Now I get mail towards my system > > > but I cannot send mail from this system (to the smarthost) because the > > > From:-line is wrecked: > > > > > > 2007-07-19 08:59:23 1IBPyt-00076T-3X <= smsd@@ U=smsd P=local S=426 id=20070719065923.GA27289 at aldebaran > > > > Is your local hostname configured correctly? > > Yes: > > $ hostname --fqdn > aldebaran.dfn.deand /etc/hosts?> seeking password data for user "mail": cache not available > getpwnam() succeeded uid=8 gid=8 > user name "root" extracted from gecos field "root" > originator: uid=0 gid=0 login=root name=root > sender address = root@@This is wrong. Exim figures out your local hostname as "@". What does uname -n say? Greetins 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 3221 2323190
Holger Wirtz
2007-Jul-19 09:39 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Thu, Jul 19, 2007 at 10:58:52AM +0200, Marc Haber wrote: [...]> and /etc/hosts?127.0.0.1 localhost 192.76.176.112 aldebaran.dfn.de aldebaran IPv6 is disabled.> > seeking password data for user "mail": cache not available > > getpwnam() succeeded uid=8 gid=8 > > user name "root" extracted from gecos field "root" > > originator: uid=0 gid=0 login=root name=root > > sender address = root@@ > > This is wrong. Exim figures out your local hostname as "@". > > What does uname -n say?# uname -n aldebaran I know that yesterday I have sent email from this machine... I try do create the configuration as yesterdays one and compare it to the one from today... Regards, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Holger Wirtz
2007-Jul-19 11:26 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
SOLVED! There is a Macro called ETC_MAILNAME set to ''@'' inside update-exim4.conf. I overwrote this Macro with my hostname in /etc/exim4/exim4.conf.localmacros: ETC_MAILNAME = aldebaran.dfn.de Now it works. Thanks again for your help with this problem. Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF
Marc Haber
2007-Jul-19 11:58 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Thu, Jul 19, 2007 at 01:26:26PM +0200, Holger Wirtz wrote:> There is a Macro called ETC_MAILNAME set to ''@'' inside > update-exim4.conf.That one is seeded from /etc/mailname. Consider fixing this file''s contents. 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 3221 2323190
Holger Wirtz
2007-Jul-19 12:14 UTC
[Pkg-exim4-users] [SOLVED] Re: exim4 (lenny) MAIN_ALLOW_DOMAIN_LITERALS
On Thu, Jul 19, 2007 at 01:58:28PM +0200, Marc Haber wrote:> On Thu, Jul 19, 2007 at 01:26:26PM +0200, Holger Wirtz wrote: > > There is a Macro called ETC_MAILNAME set to ''@'' inside > > update-exim4.conf. > > That one is seeded from /etc/mailname. Consider fixing this file''s > contents.Yep - that was the problem: @[] was in /etc/mailname (don''t ask me how the hell this gets into this file........) Holger> > 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 3221 2323190 > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users-- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF