# $NetBSD: mailer.conf,v 1.3 2025/10/16 10:27:25 martin Exp $ # # Use "mini_sendmail" as replacement for "sendmail". # # Make sure to replace the "relayhost" as argument to -s with # a working outgoing SMTP server (fixed IP number or host name). # sendmail @@PREFIX@@/sbin/mini_sendmail -srelayhost send-mail @@PREFIX@@/sbin/mini_sendmail -srelayhost # # Check the man page for further options, an exammple of a multi-masquerading # setup where clients are trusted (and you end up with wrong or missing # From: headers and missing Date: headers): # #sendmail @@PREFIX@@/sbin/mini_sendmail -D -U -Hmydomain.net -srelayhost # # where: -D = add Date: header if missing, -U = add From: header if missing # and -H sets the masquerading domain name (replacing the full hostname # for generated From: headers)