Hi everyone! I guess some of you also upgraded to the new Debian stable. I am having some problems with this upgrade together with Exim. Somehow, the Debian config system now does not allow dsearch lookups anymore in the update-exim4.conf.conf config file. This, however, is a bit tedious if I want to add more virtual domains. The docs say to edit the config directly. And in conf.d/main/01_exim4-config_listmacrosdefs I found the line where the macro gets inserted. However, if I edit MAIN_LOCAL_DOMAINS to my needs, I will get a ''unknown lookup type dsearch'' error, and the mails will not be delivered. Does anyone have an idea how to do virtual domains on Etch correctly? Cheers, Arne -- Dipl.-Inform. Arne Schmitz Phone +49 (0)241 80-21817 Computer Graphics Group Fax +49 (0)241 80-22899 RWTH Aachen University http://www.rwth-graphics.de Ahornstrasse 55, 52074 Aachen, Germany -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20070411/68eb29d0/attachment.pgp
On Wed, Apr 11, 2007 at 04:21:55PM +0200, Arne Schmitz wrote:> The docs say to edit the config directly. And in > conf.d/main/01_exim4-config_listmacrosdefs I found the line where the macro > gets inserted. However, if I edit MAIN_LOCAL_DOMAINS to my needs, I will get > a ''unknown lookup type dsearch'' error, and the mails will not be delivered.How did you edit MAIN_LOCAL_DOMAINS? What''s your current value? 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
Am Mittwoch, 11. April 2007 16:38 schrieb Marc Haber:> On Wed, Apr 11, 2007 at 04:21:55PM +0200, Arne Schmitz wrote: > > The docs say to edit the config directly. And in > > conf.d/main/01_exim4-config_listmacrosdefs I found the line where the > > macro gets inserted. However, if I edit MAIN_LOCAL_DOMAINS to my needs, I > > will get a ''unknown lookup type dsearch'' error, and the mails will not be > > delivered. > > How did you edit MAIN_LOCAL_DOMAINS? What''s your current value?I tried to transfer my old setting: dsearch;/etc/exim4/virtual but that did not work. So now I have done the settings in /etc/exim4/update-exim4.conf.conf: dc_local_domains=''@:localhost:domain-1.com:domain-2.com'' Arne -- Dipl.-Inform. Arne Schmitz Phone +49 (0)241 80-21817 Computer Graphics Group Fax +49 (0)241 80-22899 RWTH Aachen University http://www.rwth-graphics.de Ahornstrasse 55, 52074 Aachen, Germany -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20070411/f95b5993/attachment.pgp
On Wed, Apr 11, 2007 at 05:15:53PM +0200, Arne Schmitz wrote:> Am Mittwoch, 11. April 2007 16:38 schrieb Marc Haber: > > On Wed, Apr 11, 2007 at 04:21:55PM +0200, Arne Schmitz wrote: > > > The docs say to edit the config directly. And in > > > conf.d/main/01_exim4-config_listmacrosdefs I found the line where the > > > macro gets inserted. However, if I edit MAIN_LOCAL_DOMAINS to my needs, I > > > will get a ''unknown lookup type dsearch'' error, and the mails will not be > > > delivered. > > > > How did you edit MAIN_LOCAL_DOMAINS? What''s your current value? > > I tried to transfer my old setting: > > dsearch;/etc/exim4/virtual > > but that did not work.$ cat /etc/exim4/exim4.conf.localmacros MAIN_LOCAL_DOMAINS="nechayev.zugschlus.de:dsearch;/etc/exim4/virtual" [19/516]mh@nechayev[chroot sid-packages]:~$ ls -al /etc/exim4/virtual/foo.example -rw-r--r-- 1 root root 12 Apr 11 17:24 /etc/exim4/virtual/foo.example $ sudo exim4 -bt mh@foo.example R: system_aliases for mh@foo.example R: userforward for mh@foo.example R: procmail for mh@foo.example R: maildrop for mh@foo.example R: local_user for mh@foo.example mh@foo.example router = local_user, transport = mail_spool $ Works for me. For more helpful answers, please see http://www.catb.org/~esr/faqs/smart-questions.html, especially the Q/A titled "My {program, configuration, SQL statement} doesn''t work" 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
Am Mittwoch, 11. April 2007 17:26 schrieb Marc Haber:> > I tried to transfer my old setting: > > > > ??????dsearch;/etc/exim4/virtual > > > > but that did not work. > > $ cat /etc/exim4/exim4.conf.localmacros > MAIN_LOCAL_DOMAINS="nechayev.zugschlus.de:dsearch;/etc/exim4/virtual"Ok, I have put a similar line into conf.d/main/000_localmacros and now it works. Seems I did something wrong before. Sorry to have wasted your time. :-) Thanks, Arne -- Dipl.-Inform. Arne Schmitz Phone +49 (0)241 80-21817 Computer Graphics Group Fax +49 (0)241 80-22899 RWTH Aachen University http://www.rwth-graphics.de Ahornstrasse 55, 52074 Aachen, Germany -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20070411/022f67e3/attachment.pgp