RE: Sendmail config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Raul Acevedo
> Sent: Monday, January 27, 2003 4:46 PM
> Subject: Sendmail config
> 
> 
> Yes please!  This is the most basic need for sendmail in a
> simple home setup: firewall box which just forwards all mail
> to my "real" Linux box behind the firewall.

Use the mailertable feature. i.e. on your firewall system running
sendmail...

1) add your domain name to /etc/mail/mailertable. EX:
yourdomain.com	esmtp:[ip of "real" linux box]

2) rebuild the mailertable database. EX:
cd /etc/mail
make

3) Make sure yourdomain.com is NOT listed in /etc/mail/local-host-names.

Thats it. When you modify a sendmail database, there is no need to restart
sendmail. If you do have to edit /etc/mail/local-host-names, then you would
need to restart sendmail. local-host-names is not a database.

> 
> I've spent hours trying to get that to work, but in the end 
> just gave up and used ipchains to forward everything on port
> 25 to my real Linux box behind the firewall.  However, I can't
> send mail from within the firewall box, which sucks cause I'm
> trying to get mailman setup.

Have you opened up the appropriate ports on your firewall to allow this
system to send outbound e-mail?

Steve Cowles



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux