Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2004 01:38:20 +0100
From:      Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
To:        freebsd-questions@freebsd.org
Subject:   How do I enable sendmail ONLY for local system mail?
Message-ID:  <20040602003820.GA55653@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help

I read /etc/mail/README and also a few posts while I was setting up my
firewall.  but I'm not getting any system mail like expected.

What should the permissions be on my mqueue and clientmqueue dirs in /var?

Here are the rc.conf mail options:
sendmail_enable="yes"
sendmail_submit_enable="yes"
sendmail_outbound_enable="yes"
sendmail_msp_queue_enable="yes"

Here are the ipfw rules:
# NEPTUNE firewall rules

add 00300 allow ip from 127.0.0.1/32 to 127.0.0.1/32 via lo0
add 00350 allow ip from any to any via vr0

add 00400 check-state
add 00401 deny tcp from any to any in established
add 00402 allow tcp from any to any out setup keep-state

add 00500 allow udp from 216.182.4.5 53 to any in recv tun0
add 00501 allow udp from 216.182.1.2 53 to any in recv tun0
add 00502 allow udp from any to any out

add 00600 allow icmp from any to any icmptype 3
add 00601 allow icmp from any to any icmptype 4
add 00602 allow icmp from any to any out icmptype 8
add 00603 allow icmp from any to any in icmptype 0
add 00604 allow icmp from any to any in icmptype 11


jm
-- 
My other computer is your windows box.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040602003820.GA55653>