[Prev][Next][Index]

Re: configuring E-mail



On Sun, 27 Aug 1995, Aladdin Khamis wrote:

> Dear Vlad,
> 
> I did the following changes:
> >- cd /usr/src/sendmail/cf
> >- mv /etc/sendmail.cf /etc/sendmail.cf.orig
> >- m4 linux.nodns-smtp.mc >/etc/sendmail.cf
> >- restart the sendmail. Now E-mail works fine between both systems "
> Aviion and Linux".  Our Aviion computer has to dial to Actcom to send and
> receive e-mail.  I tried to send e-mail from Linux to an address outside
> our system, but the job refused to be stored in /var/uucp/actcom/Z like it
> would if I did the same thing from the Aviion, it came back to my linux
> account with a host unknown error.  I guess I have to tell linux to do 
> that, so uucico will see the job in /var/uucp/actcom/Z and send it 
> through.  
> 

Well this is getting a little too complex ...

If I understand correctly "galtronics.co.il" is not a real domain name, 
actcom.co.il's name server has only MX (mail exchange) entries for for it. 
The Aviion dials to Actcom and uses UUCP to send/receive mail.

If you wish to use uucp to send/receive mail then the right configuration
file is linux.uucp.mc, replace the "otheruucphost"(I mean the SMART_HOST)
in it with actcom.com.il (or whatever). But first you will have to speak
to Actcom about that. 

Alternatively you can send all mail to the Aviion via smtp and hope that
it will know how to handle it. Also the hostname needs to be striped from
the address, because otherwise the reply address will be wrong(the linux
machine is unknown to the outside world). To do that add to the
"linux.nodns-smtp.mc": 

define(`SMART_HOST', smtp:aviion.galtronics.co.il)
MASQUERADE_AS(aviion.galtronics.co.il)dnl

and use the "m4" to generate the sendmail.cf (or edit directly the 
/etc/sendmail.cf, see the DS and DM).

Hope that the above is correct ...

If you wish to forward the incoming mail from the Aviion to the linux 
then define an alias or use a $HOME/.forward file.

It is very probable that the striping needs also to be handled in the 
"mail agent", pine/elm/whatever.

About the DNS problem, I really don't know what can be done in this 
setup, again you will have to speak with Actcom about that.

Vlad
---
Vlad Moseanu                  | Office: vlad@tavosf.iso.dec.com
                              | Home:   vlad@actcom.co.il 
---