Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173121

Re: Configuring Exim for mail delivery

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: Configuring Exim for mail delivery
Date 2016-10-02 15:20 +0200
Message-ID <snOQp-7p0-7@gated-at.bofh.it> (permalink)
References <sncBs-6LW-5@gated-at.bofh.it> <snNB0-6oj-17@gated-at.bofh.it> <snOnn-6Za-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sunday 02 October 2016 08:41:50 Mark Fletcher wrote:

> On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote:
> > [Some snipping. Not too much, I hope].
> >
> > On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote:
> > > On 2016-10-01, Brian <ad44@cityscape.co.uk> wrote:
> > > > Exim's default behaviour, as has been mentioned a couple of
> > > > times in this thread, is to use DNS; nsswitch is not involved.
> > >
> > > Doing an strace on the exim command shows that /etc/nsswitch is
> > > consulted first, then /etc/resolv.conf (followed by a DNS lookup
> > > of the smarthost).
> >
> > This is what I cannot get round. I'm prepared to accept that my
> > understanding may be defective but when I see "driver = dnslookup"
> > in router/200_exim4-config_primary it fits what I observe. Which is
> > why I use a hubbed_hosts file to manually route mail to machines on
> > the LAN.
> >
> > > > This is a default
> > > > exim install; no files in conf.d altered. How about you?
> > >
> > > No alterations I can remember, and 'dpkg --verify' reports no
> > > changes to exim4-related files. All customisations have been done
> > > via debconf. I am reluctant to divulge those customisations here,
> > > but I can tell you that the settings are not particularly exotic.
> > > One host on the local network is configured to use my ISP's SMTP
> > > server as its smarthost, while the other hosts in turn use the
> > > former as their smarthost.
> >
> > I have the same setup and all customisations (apart from
> > hubbed_hosts) have been done via debconf. TBH, I cannot see why
> > /etc/hosts should be consulted because I thought there is first a
> > check for an MX record and then an attempt to resolve the host
> > *using the DNS* if there was none.
> >
> > Your instructions are clear so I can continue to try more
> > customising via debconf.
> >
> > mo appears to have had no more success than I have. Don't know about
> > Mark.
> >
> > --
> > Brian
>
> That's twice you've mentioned conf.d now, bear in mind in a
> defaults-accepting Debian installation of exim4, it's not used.
>
> Mark

Uuh, Mark, here on an up to date wheezy install, with exim4's default 
config untouched, it does indeed exist, as /etc/exim4/conf.d, and its 
populated with quite a few subdirs.
=========
gene@coyote:~$ ls -l /etc/exim4/conf.d
total 28
drwxr-xr-x 2 root root 4096 Apr  4 21:35 acl
drwxr-xr-x 2 root root 4096 Apr  4 21:35 auth
drwxr-xr-x 2 root root 4096 Apr  4 21:35 main
drwxr-xr-x 2 root root 4096 Apr  4 21:35 retry
drwxr-xr-x 2 root root 4096 Apr  4 21:35 rewrite
drwxr-xr-x 2 root root 4096 Apr  4 21:35 router
drwxr-xr-x 2 root root 4096 Apr  4 21:35 transport
==========
Based on the dates, I have to assume exim4 was pulled in as a dependency 
of something else I installed recently since this wheezy install is 
around 2 years old now. It's installation did not effect how my machine 
runs that I am aware of. According to htop, no daemon of that name is 
currently running.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-09-30 22:30 +0200
  Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-01 00:50 +0200
  Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 04:00 +0200
    Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 12:40 +0200
      Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 13:30 +0200
        Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 13:50 +0200
          Re: Configuring Exim for mail delivery Clive Menzies <clive@clivemenzies.co.uk> - 2016-10-01 14:00 +0200
            Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
          Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
          Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 14:10 +0200
      Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 14:30 +0200
        Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:40 +0200
          Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 15:00 +0200
            Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 15:00 +0200
        Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 15:00 +0200
          Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 15:10 +0200
          Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 15:40 +0200
            Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 16:20 +0200
            Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 16:40 +0200
      Re: Configuring Exim for mail delivery Teemu Likonen <tlikonen@iki.fi> - 2016-10-01 16:00 +0200
        Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 16:20 +0200
  Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 11:10 +0200
    Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 12:10 +0200
      Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 12:40 +0200
      Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
        Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 14:30 +0200
          Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:30 +0200
            Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 15:00 +0200
              Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 15:10 +0200
      Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 14:10 +0200
    Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 13:40 +0200
      Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
    Re: Configuring Exim for mail delivery rhkramer@gmail.com - 2016-10-01 14:20 +0200
      Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 16:30 +0200
    Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-01 18:30 +0200
      Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 20:20 +0200
        Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 22:50 +0200
          Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 00:30 +0200
            Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-02 02:30 +0200
              Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-02 13:10 +0200
            Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-02 10:50 +0200
        Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-01 23:10 +0200
          Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 00:40 +0200
            Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-02 02:10 +0200
              Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 14:00 +0200
                Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-02 14:50 +0200
                Re: Configuring Exim for mail delivery Gene Heskett <gheskett@shentel.net> - 2016-10-02 15:20 +0200
                Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-02 15:50 +0200
                Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 15:40 +0200
                Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-02 17:30 +0200
      Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 22:50 +0200

csiph-web