On Sat, 30 Mar 2002, Michael George wrote:
> What we'd like to do is to have the Macs point their mail apps to the Linux
> server so that that server can send the mail out directly.  Right now, though,
> that doesn't work.
> 
> The Linux server sits behind a firewall which does not allow access to an SMTP
> port, so it should be pretty secure to just let the sendmail on that system
> relay mail from any system on the internal network to any system on the
> outside.
> 
> >From reading /usr/share/sendmail-cf/README, it seems that the feature
> "promiscuous_relay" would do what we want.  So, I added:
>       FEATURE(`promiscuous_relay')
> to the redhat.mc file in /usr/share/sendmail-cf/cf and ran m4 on it.  I put
> the resulting file in as my /etc/sendmail.cf file and restarted sendmail.
> 
> However, when we tried to have one of the Macs use our server as the SMTP host
> for outgoing mail, it timed out and failed.

your sure there is no firewall blocking it? 

> Is there something I missed?  I've never used qmail (I've gotten used to using
> the files in /usr/share/sendmail-cf so I've stuck with it), but would that be
> an easier way to do this?

you might try this/check these items:

. go back to the previous /etc/mail/sendmail.mc -> /etc/sendmail.cf
 
- be certain sendmail is listening on the IP addresses your setting up in 
your mail clients. double check the line in /etc/mail/sendmail.mc like 
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') is either commented 
out or has the IP address you want (multiple lines, each with a 
different IP are ok).

- check with `netstat -a --inet` 

. you probably want a line like this in /etc/hosts.allow
sendmail: ALL

. add the IP addresses of the hosts that you which to relay to 
/etc/mail/access 

like this:

192.168.1.1 RELAY

be sure to make this into the database hash that sendmail wants:
cd /etc/mail
make

service sendmail restart 


-- 
chris
[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to