Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2001 21:01:52 +0400
From:      "Alex Markov" <redrat@crpi.ru>
To:        "Gregory Neil Shapiro" <gshapiro@FreeBSD.ORG>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Sendmail + Cyrus: please, i need your help!
Message-ID:  <017e01c11c41$517d4260$c604b5d5@srg.ru>
References:  <001301c115c4$bf185220$c604b5d5@srg.ru><15206.9647.587901.404247@horsey.gshapiro.net><009901c119dd$2ca0ff60$c604b5d5@srg.ru> <15207.32991.969603.67883@horsey.gshapiro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Gregory Neil Shapiro" <gshapiro@FreeBSD.ORG>
To: "Alex Markov" <redrat@crpi.ru>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, August 01, 2001 8:09 AM
Subject: Re: Sendmail + Cyrus: please, i need your help!


Hello, Gregory!

Thank you for you help. Now, i want to ask you to answer for
my very last (i hope!) questions about sendmail configuration.

This is my .mc file:

====================================================================
divert(0)
VERSIONID(`crpi.ru')
OSTYPE(bsd4.4)
DOMAIN(generic)

FEATURE(access_db, `hash -o /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(nocanonify)
FEATURE(always_add_domain)
FEATURE(nouucp, `nospecial')

TRUST_AUTH_MECH(`PLAIN LOGIN DIGEST-MD5 CRAM-MD5')
define(`confAUTH_MECHANISMS', `PLAIN LOGIN DIGEST-MD5 CRAM-MD5')
define(`confDONT_BLAME_SENDMAIL', `GroupReadableSASLFile')
dnl define(`confTRUSTED_USER', `cyrus')
define(`confBIND_OPTS', `-DNSRCH -DEFNAMES')
define(`confTO_IDENT', `0');
define(`confCACERT', `/etc/ssl/cacert.pem')
define(`confCACERT_PATH', `/etc/ssl/')
define(`confSERVER_CERT', `/etc/ssl/newcert.pem')
define(`confSERVER_KEY', `/etc/ssl/newreq.pem')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
define(`confMAX_MIME_HEADER_LENGTH', `256/128')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
define(`confDEF_CHAR_SET', `koi8-r')
define(`confLOCAL_MAILER', `cyrus')
define(`LUSER_RELAY', `local:postmaster')

MAILER(local)
MAILER(smtp)

MAILER_DEFINITIONS
Mcyrus,  P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
  S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
  A=FILE /arc/cyrus/conf/socket/lmtp

LOCAL_RULE_0
Rbb + $+ < @ $=w . > $#cyrus $: + $1
====================================================================

1. First of all, if i 'make all' in /etc/mail, then resulting .cf has
   ";" symbol in 69th line, that cause sendmail to fail on reloading
   it's configuration. I forced to manually remove this symbol from
   sendmail.cf. This is repeatable behaviour, so may be it is concerned
   with m4 processing of .mc files?

2. Is it necessary to have "local_lmtp" feature, then i use cyrus mailer
   as my only local mailer? I don't see any difference with this feature
   on/off.

3. LUSER_RELAY option still not working. If i send mail to fake user, it
   returns back to me, not to postmaster, as desired. What can i do to
   resolve this problem?

Thanks in advance for you help!

-- 
Alexey Markov.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017e01c11c41$517d4260$c604b5d5>