[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] how to get sendmail 8.12 with RaQ4 working ?
- Subject: [cobalt-users] how to get sendmail 8.12 with RaQ4 working ?
- From: Goetz Lohmann <goetz.lohmann@xxxxxx>
- Date: Tue Feb 11 12:22:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi there,
finaly I got sendmail compiled, started some test to receive and send
emails which work fine.
But the little thing with popip.db (POP-Before-SMTP) won't work anymore
so that any
request to send from <extern> to <extern> is rejected even if the person
checked in.
Also some other little things take me wonder ... I will be happy to
discuss them.
Did anybody have a working sendmail.cf / sendmail.mc or any other hint /
tip ?
maybe here are my configs I used (may of some help for others):
/tmp/sendmail-8.12.7/devtools/Site/site.config.m4
define(`confCC, `gcc')
APPENDDEF(`confMAPDEF', `-DNEWDB -DNISPLUS -DMAP_REGEX -DNIS -DSASL')
dnl # -----------------------------------------------------
dnl # new sendmail 8.12 Milter definitions:
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
dnl # -----------------------------------------------------
dnl # for auth smtp
APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
APPENDDEF(`conf_sendmail_LIB_POST', ` -lsasl')
APPENDDEF(`confLIBDIRS', `-L/usr/lib/sasl -L/usr/local/lib')dnl
APPENDDEF(`confINCDIRS', `-I. -I../../include -I/usr/include
-I/usr/local/include')dnl
dnl # -----------------------------------------------------
APPENDDEF(`conf_sendmail_ENVDEF', `-DLDAPMAP -DSTARTTLS -DHASURANDOMDEV')
APPENDDEF(`confLIBS, `-lsfio ldb')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
APPENDDEF(`confENVDEF', `-DHASSETREGID')
APPENDDEF(`conf_sendmail_ENVDEF', `-DDNSMAP -DSMTP -DQUEUE')
APPENDDEF(`confENVDEF, `-DSFIO')
/tmp/sendmail-8.12.7/cf/cf/sendmail.mc
#
# cobalt.mc
#
divert(0)
include(`../m4/cf.m4')dnl
VERSIONID(`cobalt.mc for sendmail 8.10.1-C4 [Jun 04 2000]')dnl
OSTYPE(`linux')dnl
divert(-1)
# general options
divert(0)
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
define(`_FFR_MILTER', `1')dnl
INPUT_MAIL_FILTER(`milter-amavis',
`S=local:/var/amavis/amavis-milter.sock, F=T, T=S:10m;R:10m;E:10m')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`QUEUE_DIR', `/var/spool/mqueue/q*')dnl
define(`STATUS_FILE', `/etc/mail/statistics')dnl
define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`CERT_DIR', `MAIL_SETTINGS_DIR`'cert')dnl
define(`confCACERT', `CERT_DIR/ncucc-ca-rsa.crt')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confSERVER_CERT', `CERT_DIR/server.crt')dnl
define(`confSERVER_KEY', `CERT_DIR/server.key')dnl
define(`confCLIENT_CERT', `CERT_DIR/server.crt')dnl
define(`confCLIENT_KEY', `CERT_DIR/server.key')dnl
define(`confCT_FILE', `/etc/mail/trusted-users')dnl
define(`confCW_FILE', `/etc/mail/local-host-names')dnl
define(`confEBINDIR', `/usr/sbin')dnl
define(`confDEF_USER_ID', ``8:12'')dnl
define(`confAUTH_OPTIONS', `A')dnl
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confDONT_BLAME_SENDMAIL',
`forwardfileingroupwritabledirpath,GroupWritableAliasFile,IncludeFileInGroupWritableDirPath,GroupW
define(`confAUTO_REBUILD', `True')dnl
define(`confPRIVACY_FLAGS', `goaway')dnl
define(`confQUEUE_LA', `15')dnl
define(`confREFUSE_LA', `20')dnl
define(`confME_TOO', `True')dnl
define(`confDONT_EXPAND_CNAMES', `True')dnl
define(`confSMTP_LOGIN_MSG', `$?{if_name}${if_name}$|$j$. Sendmail
$v/$Z; $b')dnl
define(`confRECEIVED_HEADER', `$?sfrom $s $.$?_($?s$|from $.$_)
$.$?{auth_type}(authenticated)
$.by $?{if_name}${if_name}$|$j$. ($v/$Z)$?r with $r$. id $i$?u
for $u; $|;
$.$b')dnl
divert(-1)
# features
divert(0)
FEATURE(`smrsh')dnl # Use the SendMail Restricted SHell instead
of /bin/sh for mailing to programs
FEATURE(`redirect')dnl # Reject all mail addressed to
"address.REDIRECT" and alias them
FEATURE(`use_cw_file')dnl # Read /etc/mail/local-host-names for
alternate names for this host
FEATURE(`use_ct_file')dnl # Read /etc/mail/trusted-users to get names
of users that will be trusted
FEATURE(`local_procmail')dnl # Use procmail as the local mailer
FEATURE(`no_default_msa')dnl
FEATURE(`access_db', hash -T<TMPF> -o /etc/mail/access)dnl # Turns on
the access database feature
FEATURE(`virtusertable', hash -o /etc/mail/virtusertable)dnl # A
domain-specific form of aliasing
divert(-1)
# mailers
divert(0)
MAILER(`smtp')dnl
MAILER(`procmail')dnl
divert(-1)
regards
--
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸
Götz Lohmann | D-Mannheim | Web-Developer & Sys-Admin
---------------------------------------------------------
He's the fellow that people wonder what he does and why
the company needs him, until he goes on vacation.
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸