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`.

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to