[BSD] email relay

Istvan Galgand igalgand at freemail.hu
2010. Aug. 20., P, 09:43:53 CEST


On Fri, Aug 20, 2010 at 09:08:38AM +0200, Balázs Mátéffy wrote:
> Hi!
> 
> Sendmail.mc-ben van olyen sorod ami "FEATURE"-t tartalmaz?
> 
> grep -i feature sendmail.mc
> 
> 
> Lehet segítene, ha benyomnád configokat, meg rc.confból sendmail
> releváns részeket.
> 
Hi,

Természetesen... Tehát a relézésre kijelölt gép konfigjai:

freebsd02# grep -i feature freebsd02.snowboard.ice.mc
# 3. All advertising materials mentioning features or use of this software
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl FEATURE(relay_based_on_MX)
dnl FEATURE(dnsbl)
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', ``"550 Mail from "
$&{client_add
r} " rejected, see http://mail-abuse.org/cgi-bin/lookup?"
$&{client_addr}'')
FEATURE(masquerade_envelope)
FEATURE(genericstable, `hash -o /etc/mail/genericstable')

Ezután pedig:

freebsd02# grep -i sendmail /etc/rc.conf
sendmail_enable="NO"
sendmail_outbound_enable="NO"
sendmail_submit_enable="YES"
sendmail_submit_flags="-L sm-mta -bd -q5m
-ODaemonPortOptions=Addr=localhost"
sendmail_msp_queue_enable="YES"
sendmail_msp_queue_flags="-L sm-msp -Ac -q30m"

István
-- 
This mail was sent by Mutt-1.4.2.3_4,
FreeBSD 8.1-RELEASE-#0, GENERIC i386



További információk a(z) BSD levelezőlistáról