I would really like to avoid working with this file, because it's too dangerous.
Therefore the first question:
Where can I find a full description regarding the necessary definition of the sendmail.cf file which fulfils the Scalix needs?
In another thread you say it's only
Code: Select all
DSsmartmail.smarthostserver.com'
and to use the access.db. This didn't work for me, therefore I created a seperate auth-file, see esp. the three seperated lines of my sendmail.mc below.
The original sendmail.cf which was created during the installation works, yes!
But because of the complexity this would hinder me to make any changes in the future (who knows what is necessary?).
Therefore only to change the sendmail.mc-file would be 100% the better way.
But this does not working (e.g. after upgrading) because – as far as I understood – there is not a Scalix created sendmail.mc base file, isn’t it?
After the complete upgrade of a Fedora Core 4 installation I was trying to work with the M4 file to integrate a smarthost with authentication.
This should not be a problem because there are only some lines and an additional client-authentification-db-file.
But this fails also, because it will produce a mismatch of the working .cf-file and the content of the .mc-file.
So therefore my urgend second question:
Where can I find a full description regarding a sendmail.mc file with Scalix/Spamassassin-support, e.g. as an example-file or (as you support FC4 a special file for this OS)?
Please have a look at the existing mc-file.
Code: Select all
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
dnl #
define(`SMART_HOST',`mail.smarthostserver.com')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash /etc/mail/client-auth/client-info')dnl
dnl #
define(`confDEF_USER_ID',``8:12'')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl
Of course there are NO Scalix-parts. Can you advise me what I should change (to have Scalix as MTA/MUA and integrated Spamassassin/Procmail)? I hope it is not necessary to change Fetchmail too because it delivers only to the local user.
I would like to build the cf-file with M4 via the mc-filefrom the scratch (if this is possible).