LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Mike O <mike@pineview.net>
To : Greg Warner <greg@lan-house.net>
Date: Fri, 23 Feb 2001 00:17:51 +1030
Re: A Sendmail problem
Hi Greg
I have lines like that in my access file. I now fixed the problem by adding
false hosts record to the /etc/hosts file
192.168.1.2 Host_2
192.168.1.3 Host_3
etc for 253 lines
The problem was the the computer was sending the emails with the host name
of the computer added to the from line it mail.lan-house.net instead of
lan-house.net ie 'host+domain' not 'domain'.
I have found away using the sendmail.cf file to fix this but I would rather
use the M4 system.
Mike
----- Original Message -----
From: "Greg Warner" <greg@lan-house.net>
To: "Mike O'Connor" <mike@pineview.net>
Sent: Wednesday, February 21, 2001 10:36 PM
Subject: Re: A Sendmail problem
>
> > I need to allow relaying for un-resolved internal address to the outsite
> > internet.
>
> for this you will need to make entries in /etc/mail/access. something
along
> the lines of:
>
> 192.168.0.1 RELAY
> 192.168.0.100 RELAY
> 192.168.0.101 RELAY
> 192.168.0.102 RELAY
>
> Also I can not seem to get the server to send email as the domain,
> > not the host+domain.
>
> not quit sure what you mean here....
>
> - greg
>
>
> >
> > Any help would be great
> > Mike O'Connor
> >
> >
> >
> >
> >
> >
> >
> > --------------------------------------------------------------
> > divert(0)
> > VERSIONID(`@(#)sendmail.mc 8.9.3-21 (Debian) 20000309')
> > OSTYPE(debian)dnl
> > DOMAIN(generic)
> > LOCAL_CONFIG
> > #FEATURE(always_add_domain)dnl
> > #Cwpineview.net
> > FEATURE(use_cw_file)dnl
> > FEATURE(use_ct_file)dnl
> > #FEATURE(`relay_entire_domain')
> > FEATURE(redirect)dnl
> > FEATURE(mailertable)dnl
> > FEATURE(`genericstable')dnl
> > FEATURE(smrsh, `/usr/lib/sm.bin/smrsh')dnl
> > FEATURE(virtusertable)dnl
> > FEATURE(access_db)dnl
> > FEATURE(blacklist_recipients)dnl
> > #FEATURE(rbl)dnl
> > FEATURE(rbl, `blackholes.mail-abuse.org', `Mail from $&{client_addr}
> > rejected - see http://www.mail-abuse.org/rbl
> > /')dnl
> > FEATURE(rbl, `dialups.mail-abuse.org', `Dialup - see
> > http://www.mail-abuse.org/dul/')dnl
> > FEATURE(rbl, `relays.mail-abuse.org', `Open spam relay $&{client_addr} -
> see
> > http://www.mail-abuse.org/rss')dnl
> >
> > MAILER_DEFINITIONS
> > MAILER(local)dnl
> > MAILER(smtp)dnl
> >
> >
> > --
> > LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on
irc.linux.org.au
> > To unsubscribe from the LinuxSA list:
> > mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
> >
> >
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page