HP-UX Mailing Solutions White Paper

2: Relay Options
3: Anti Spamming Options
4: Security Options
5: Generate sendmail.cf
6: Generate submit.cf
7: Verify permissions for the sendmail files
8: Correct permissions for the sendmail files
9: Create User and Queue for MSP
10: Help
------------------------------------------------------------------
0: Exit from selection
------------------------------------------------------------------
5
The Selected Options are:
milter
Do you want to continue and build the confuguration file
Press any key to continue or [n/N] to unset all options
Press enter
-------------------------------------------------------------------
Name Socket Flags
-------------------------------------------------------------------
-------------------------------------------------------------------
Do you want to add a new filter.
Press [y/Y] to create new filter.
Press any key to continue.
Enter y to add a new filter.
Enter the name of the filter: e.g. progA
milter_prog
Enter the description of the socket used in the filter
e.g.:
unix:/var/run/f1.sock
inet6:999@localhost
inet:3333@localhost
local:/var/run/f1.sock
Define the controlling flags for the filter
Enter R if you want to reject the connection if filter is unavailable
Enter T if you want to temporarily fail.
T
-------------------------------------------------------------------
Name Socket Flags
-------------------------------------------------------------------
milter_prog S=local:/var/run/f1.sock F=T
-------------------------------------------------------------------
Do you want to add a new filter.
Press [y/Y] to create new filter.
Press any key to continue.
Press enter
Current order of filter processing is.
milter_prog
Press [y/Y] to change filter processing order.
Press [d/D] to clear all filters.
NOTE: Default timeouts have been added for filter: milter_prog
Building sendmail.cf.gen...
7. Open the generated Sendmail configuration file (sendmail.cf.gen) and verify the
following configuration options:
# Input mail filters
O InputMailFilters=milter_prog
……………………..
# Milter options
#O Milter.LogLevel
O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr}
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author},
{mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
O Milter.macros.eom={msg_id}
……………………
######################################################################
######################################################################
#####
##### MAIL FILTER DEFINITIONS
#####
######################################################################
######################################################################
Xmilter_prog, S=local:/var/run/f1.sock, F=T, T=C:5m;S:10s;R:10s;E:5m
8. Copy the generated sendmail.cf.gen as /etc/mail/sendmail.cf. You must retain
any site-specific customized configuration in your /etc/mail/sendmail.cf file.
Anti-Spam and Anti-Virus Solutions in HP-UX Sendmail 27