[TriLUG] Sendmail Relay
Jon Carnes
jonc at nc.rr.com
Fri Jan 9 20:44:59 EST 2004
There are a few things to check
1) See if your RH7.3 server's Sendmail is actually listening for
external connections on port 25:
netstat -na |grep 25
2) Make sure the firewall on the RH7.3 server allows external
connections to port 25 from the DG server:
service iptables status
3) When you make changes to files (like access) in /etc/mail run "make"
from that directory. This will put the changes into the hash file
access.db. You don't need to start/stop Sendmail.
If you make changes directly to sendmail.cf you *do* need to
stop/restart Sendmail.
Good Luck - Jon Carnes
On Fri, 2004-01-09 at 13:50, Hite, Danny wrote:
> I have recently setup a server using a program called Document
> Gateway(DG). This server is in a DMZ/SSN along with a Redhat 7.3
> server running sendmail/phpbb. The DG allows notification of file
> changes, uploads, etc... and I would like to use the sendmail box as a
> relay for these messages. The phpbb server is already using sendmail
> for the forum post notifications without problem.
>
>
>
> I have found this...
>
>
>
> http://www.sendmail.org/faq/section3.html#3.27
>
>
>
> ...and...
>
>
>
> http://www.sendmail.org/tips/relaying.html
>
>
>
> Here's my...
>
> /etc/mail/access
>
> localhost.localdomain RELAY
>
> localhost RELAY
>
> 127.0.0.1 RELAY
>
> 192.168.169.3 RELAY <<< IP of the DG
>
>
>
> /etc/mail/relay-domains
>
> 192.168.169.3
>
>
>
> [DHite at Forum-DH mail]# rpm -qa sendmail
>
> sendmail-8.11.6-15
>
>
>
> Oh, and I do restart the sendmail service after the changes.J
>
> The Document Gateway log files tell me that the connection is refused.
> The DG product uses postfix, but I only have limited configuration
> options. It can't act as a relay.
>
>
>
>
> Jan 9 13:10:28 dg postfix/smtp[53990]: 0CE0994C10: to=<Test.User at company.com>, relay=none, delay=47408, status=deferred (connect to 192.168.169.4: Connection refused) << RH 7.3 box
>
>
>
> Thanks for any help
>
> __________________
>
> Danny Hite
>
> MCP
>
> Network Administrator
>
> Per-Se Technologies
>
> (919)564-2100
>
> __________________
>
>
>
>
>
> ______________________________________________________________________
>
> --
> 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
More information about the TriLUG
mailing list