Unexistent user
Igor Brezac
igor at ipass.net
Wed Apr 2 14:42:30 EST 2003
On Wed, 2 Apr 2003 dimon at intellinetinc.com wrote:
> OK, I done that
>
> That's what I have in my sendmail.mc and it still doesn't work :-(((
>
> divert(0)dnl
> VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $')
> OSTYPE(bsd4.4)dnl
> DOMAIN(generic)dnl
>
> define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
> TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
>
> define(`confCACERT_PATH', `/etc/mail')dnl
> define(`confCACERT', `/etc/mail/newcert.pem')dnl
> define(`confSERVER_CERT', `/etc/mail/server.pem')dnl
> define(`confSERVER_KEY', `/etc/mail/server.pem')dnl
> define(`_USE_CT_FILE_', `/etc/mail/trusted-users')dnl
>
> define(`_FFR_MILTER',1)
> MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T,
> T=C:15m;S:4m;R:4m;E:10m')dnl
> MAIL_FILTER(`drweb-filter', `S=local:/var/run/drweb/drweb-smf.sock, F=T,
> T=C:1m;S:5m;R:5m;E:1h')dnl
> define(`confINPUT_MAIL_FILTERS', `mimedefang,drweb-filter')dnl
> define(`confMILTER_LOG_LEVEL',`6')dnl
>
> define(`_VIRTUSER_STOP_ONE_LEVEL_RECURSION_', `1')dnl
> FEATURE(`virtusertable', `hash -T<TMPF> /etc/mail/virtusertable')dnl
> FEATURE(`mailertable', `hash -T<TMPF> /etc/mail/mailertable')dnl
> FEATURE(`nocanonify')dnl
> FEATURE(`always_add_domain')dnl
>
> MAILER(`smtp')dnl
> MAILER(`local')dnl
> MAILER(`cyrusv2')dnl
>
> define(`confLOCAL_MAILER', `cyrusv2')dnl
>
>
> The error is the same:
> Apr 2 10:23:21 mail sm-mta[98372]: h32HNK9H098372: SYSERR(root): rewrite: map
> macro not found
>
> I'm using Sendmail 8.12.9
>
I think I know what is going on. You also need to tell sendmail what
domains to use on LHS of the virtuser map. So, add
VIRTUSER_DOMAIN(domain.com)
VIRTUSER_DOMAIN(domain2.com)
or
use VIRTUSER_DOMAIN_FILE to your .mc file.
Please see $sendmail_src/cf/README for more.
--
Igor
More information about the Info-cyrus
mailing list