Date: Fri, 3 Aug 2001 22:10:32 +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: <01b701c11c47$f2bccdc0$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><017e01c11c41$517d4260$c604b5d5@srg.ru> <15210.57258.479756.780242@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: Friday, August 03, 2001 9:30 PM Subject: Re: Sendmail + Cyrus: please, i need your help! > redrat> 1. First of all, if i 'make all' in /etc/mail, then resulting .cf has > redrat> ";" symbol in 69th line, that cause sendmail to fail on reloading > redrat> it's configuration. I forced to manually remove this symbol from > redrat> sendmail.cf. This is repeatable behaviour, so may be it is concerned > redrat> with m4 processing of .mc files? > > Look at your .mc file, specifically this line: > > define(`confTO_IDENT', `0'); Yes, this is the cause of problem! If i comment this line out, the ";" symbol disappears. Is there any workaround for this? > redrat> 3. LUSER_RELAY option still not working. If i send mail to fake > redrat> user, it returns back to me, not to postmaster, as desired. What > redrat> can i do to resolve this problem? > > That is one of the downsides of using Cyrus. I've done this at other sites > (your mileage may vary): > > LOCAL_CONFIG > Kcyrususer text -m -k 2 -v 2 /var/imap/mailboxes > > LOCAL_RULESETS > # if there's a plus part, we want to directly deliver it > SLocal_localaddr > R$* $: < > $1 > R< > $+ + $* $: < $1 > < $2 > > R< > $+ $: < $1 > < > > R< > $* $@ bogus > R< $+ > < $*> $: < $(cyrususer $1 $: postmaster $) > < $2 > > R< postmaster > < $+> $#cyrus $@ $: postmaster > R< $+ > < $+> $#cyrus $@ $: $1 + $2 > R< $+ > < > $#cyrus $@ $: $1 > > > Note that you don't need to set LUSER_RELAY for this and postmaster will > get unknown user's mail. Finally, the MTA needs to be able to read > /var/imap/mailboxes (e.g., chmod 0644 /var/imap/mailboxes). Be sure cyrus > doesn't set the permissions back when you use cyradm. Thank a lot! I'll try it tomorrow! -- 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?01b701c11c47$f2bccdc0$c604b5d5>