Unexistent user
Igor Brezac
igor at ipass.net
Tue Apr 1 14:30:45 EST 2003
On Mon, 31 Mar 2003 dimon at intellinetinc.com wrote:
> Quoting Igor Brezac <igor at ipass.net>:
>
> >
> > If you have define(`_VIRTUSER_STOP_ONE_LEVEL_RECURSION_', `1')dnl and a
> > mailertable entry for domain.com, this will work.
> >
>
> I did that and that's what I've got:
>
> Mar 31 16:45:21 mail sm-mta[90664]: h2VNjL2r090664: SYSERR(root): rewrite: map
> macro not found
> Mar 31 16:45:21 mail sendmail[90663]: h2VNjLdX090663: to=jadramy at hotmail.com,
> ctladdr=ahmad at intellinet.ab.ca (
> 80/80), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30668,
relay=
> [127.0.0.1] [127.0.0.1], dsn=5.0.0, st
> at=Service unavailable
> Mar 31 16:45:21 mail sendmail[90663]: h2VNjLdX090663: h2VNjLdY090663: DSN:
> Service unavailable
> Mar 31 16:45:21 mail sm-mta[90664]: h2VNjL2s090664: SYSERR(root): rewrite: map
> macro not found
> Mar 31 16:45:21 mail sendmail[90663]: h2VNjLdY090663:
> to=ahmad at intellinet.ab.ca, delay=00:00:00, xdelay=00:00:
> 00, mailer=relay, pri=33081, relay=[127.0.0.1], dsn=5.3.0, stat=Service
> unavailable
> Mar 31 16:45:21 mail sm-mta[90664]: h2VNjL2s090664: from=<>, size=3081,
> class=0, nrcpts=0, proto=ESMTP, daemon
> =MTA, relay=localhost [127.0.0.1]
> Mar 31 16:45:21 mail sendmail[90663]: h2VNjLdY090663: h2VNjLdZ090663: return to
> sender: Service unavailable
> Mar 31 16:45:21 mail sm-mta[90664]: h2VNjL2u090664: SYSERR(root): rewrite: map
> macro not found
> Mar 31 16:45:21 mail sendmail[90663]: h2VNjLdZ090663: to=postmaster,
> delay=00:00:00, xdelay=00:00:00, mailer=r
> elay, pri=34105, relay=[127.0.0.1] [127.0.0.1], dsn=5.3.0, stat=Service
> unavailable
> Mar 31 16:45:21 mail sm-mta[90664]: h2VNjL2u090664: from=<>, size=4105,
> class=0, nrcpts=0, proto=ESMTP, daemon
> =MTA, relay=localhost [127.0.0.1]
> Mar 31 16:45:21 mail sendmail[90663]: h2VNjLdY090663:
> Losing ./qfh2VNjLdY090663: savemail panic
> Mar 31 16:45:21 mail sendmail[90663]: h2VNjLdY090663: SYSERR(www): savemail:
> cannot save rejected email anywhe
> re
> Mar 31 16:45:23 mail sm-mta[90659]: h2VNjN2q090659: SYSERR(root): rewrite: map
> macro not found
> Mar 31 16:49:39 mail sm-mta[90706]: h2VNnd2q090706: SYSERR(root): rewrite: map
> macro not found
> .. and so on ....
>
I do not see anything trying to deliver to cyrus mailer. There is one
attempt to send email to jadramy at hotmail.com, most everything else is
misconfigured MSP (submit.cf) and attempts to notify postmaster about
those errors.
>
> May be that feature conflicts with other features/settings in my sendmail.mc?
>
> This is my senmdmail.mc file:
>
> divert(0)dnl
> OSTYPE(freebsd4)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
>
>
> FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
> FEATURE(`mailertable', `hash /etc/mail/mailertable')dnl
> FEATURE(`nocanonify')dnl
> FEATURE(`always_add_domain')dnl
> define(`_VIRTUSER_STOP_ONE_LEVEL_RECURSION_', `1')dnl
You need to move define('_VIRT....) above FEATURE statements. Make sure
local-host-names is empty. What are the contents of virtuser and
mailertable?
> MAILER(`smtp')dnl
> MAILER(`local')dnl
> MAILER(`cyrusv2')dnl
>
> define(`confLOCAL_MAILER', `cyrusv2')dnl
>
> > You are confused because LHS and RHS are the same, but they mean two
> > different things. LHS is an email address, RHS is a mailbox. You can
> > also use this as one-to-one and many-to-one alias table.
> >
> > >
> > --
> > Igor
> >
>
>
--
Igor
More information about the Info-cyrus
mailing list