SMTP_SERVER_REJECT
file to reject mail based on the subject?
Yes, by using the :rfc822:
reject rules. For example, the following lines would reject all messages that have "ILOVEYOU" in the subject space:
! Reject anything with an RFC822 Subject header of ILOVEYOU ! cyberpromo.com or nowhere.com ! :Subject: ILOVEYOU
To suppress the headers that show up in email received through SMTP, do the following:
$ MU CONF/MAIL MAIL-CONFIG> SET HEADER-CONTROL NONE MAIL-CONFIG> EXIT $ @MULTINET:START_SERVER RESTART $ @MULTINET:START_SMTP $ @MULTINET:START_SMTP_LOCAL (if applicable)
If your system is behind a firewall and you have an SMTP relay server available, you can configure MultiNet to send all SMTP messages to the relay host for delivery. In MULTINET CONFIG/MAIL
you must set the FORWARDER
to the name of the SMTP relay server and you must set the FORWARD-REMOTE-MAIL
to TRUE
.
You have to set a FORWARDER
and the FORWARD-REMOTE-MAIL
option to TRUE
in the mail configuration. You can do this with these commands:
$ MULTINET CONFIGURE/MAIL MAIL-CONFIG> SET FORWARDER name-of-forwarder MAIL-CONFIG> SET FORWARD-REMOTE-MAIL TRUE MAIL-CONFIG> EXIT $ @MULTINET:START_SMTP