[TriLUG] debian exim4 + courier-imap: can read & receive but not

Mike Fieschko mike.fieschko at verizon.net
Fri Jun 25 01:00:30 EDT 2004


On Thu Jun 24, Jason wrote:

 
> this is purely a smtp issue, courier has nothing
> whatsoever to do with it.  smtp is used to send
> mail, courier to retrieve it.
> 
> assuming exim is anything like postfix, you need
> to tell it what hosts are allowed to relay mail. 
> this might be any hosts on the same subnet 
> as the mail server, or a specific set of IPs, or
> whatever.  it sounds like the default setting is
> to only allow localhost to relay mail, 
> which is why it works from the command line but
> not your workstation.  
> in postfix this would be the mynetworks or
> mynetworks_style parameter, i don't know what
> the exim equivalent is though.
> 
> jason

Thanks.  I was poking around the wrong files.

I thought that debian's exim4 read the files under /etc/exim4/conf.d/, and if I edited them, then exim4 would behave with their settings.  Turns out exim4 reads config.autogenerated in /var/lib/exim4/ and after editing the files in /etc/exim4/conf.d/, you have to do `update-exim4.conf` to regenerate the real conffile.

Works now after I edited /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs to include my gateway's ip from `ifconfig ppp0` and did `update-exim4.conf`.




More information about the TriLUG mailing list