[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] how to get sendmail 8.12 with RaQ4 working ?



Goetz Lohmann schrieb:

>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/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
>  
>
sorry got the wrong site.config.m4, now here is the one which compile
sendmail:

/tmp/sendmail-8.12.7/devtools/site/site.config.m4

define(`confCC', `gcc')
dnl # specify database types
APPENDDEF(`confMAPDEF', `-DMAP_REGEX -DNEWDB')
dnl # APPENDDEF(`confMAPDEF', `-DNIS -DNISPLUS')dnl # Network
Information Services Suport
dnl # APPENDDEF(`confMAPDEF', `-DLDAPMAP')dnl       # LDAP support -
OpenLDAP is needed
APPENDDEF(`confMAPDEF', `-DNSMAP')dnl         # DNS map support. 
Requires NAMED_BIND.
dnl # -----------------------------------------------------
dnl # old sendmail 8.10 Milter definitions:
dnl # APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_MILTER=1')
dnl # APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER=1')
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 -lssl -lcrypto')
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(`confLIBS', `-ldb')
APPENDDEF(`confENVDEF', `-DHASSETREGID -DSTARTTLS')
dnl # APPENDDEF(`confENVDEF', `-DLDAPMAP')
dnl # -----------------------------------------------------
dnl # just the old compile options if they arent above
APPENDDEF(`confENVDEF', `-DLOG -DMATCHGECOS -DMIME7TO8 -DMIME8TO7
-DXDEBUG -DNAMED_BIND')
APPENDDEF(`confENVDEF', `-DNETINET -DNETUNIX -DQUEUE -DSCANF -DSMTP
-DUSERDB -DHASSNPRINTF')


maybe if someone tryed sendmail > 8.10 to run ... I will try to solve
this and tell you folks how to update
RaQ4 to sendmail if I get past it ;-)


-- 

¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸

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.
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸