On Sat, Nov 04, 2006 at 05:18:12PM +0100, ae roy roy wrote:
> 
> > ----- Original Message -----
> > From: "Osamu Aoki" <[EMAIL PROTECTED]>
> > To: "ae roy roy" <[EMAIL PROTECTED]>
> > Subject: Re: seting up outgoing mail (smtp) on home system (adsl)
> > Date: Sun, 5 Nov 2006 01:12:07 +0900
> > 
> > 
> > On Sat, Nov 04, 2006 at 04:14:16PM +0100, ae roy roy wrote:
> > > I would like to send system-mail (mail that otherwise is sent to 
> > > [EMAIL PROTECTED]) to my real mailadresse, which I read all the 
> > > time. My outgoing smtp-server that I use is mail.lyse.no.
> > > I'm not going to recieve mail on this, only send mail out.
> > >
> > > Anybody have an url to some easy documentation?
> > 
> > Edit the bottom line of the /etc/aliases starting with root to an
> > external mail address [EMAIL PROTECTED] instead of the local address given 
> > in
> > install time.
> > 
> > Exim4 lacks man page for aliases (sendmail have it) but this is
> > explained in many howto.
> 
> >
> 
> But how does the system know which smtp-server to use for sending mail?

UNless you've set up some rules otherwise, it will use the same smtp
server that it uses for all outgoing mail? Or are you generally
bypassing the local mail system by using a MUA that talks to your smtp
servers directly? IOW, are you currently using exim to send outgoing
mail? or just local delivery?

Here's what you do, dpkg-reconfigure exim4-config and select smarthost
option. After you've done that, you need to configure the
/etc/exim4/passwd.client file to include the smtp server, login and
password. then restart the server and it should work. 

hth

A
 

Attachment: signature.asc
Description: Digital signature

Reply via email to