Date: Wed, 7 May 2003 21:34:14 +1000 From: "Chris Richards" <chrisric@internode.on.net> To: <freebsd-questions@freebsd.org> Subject: Sendmail & Cyrus IMAP, .mc file help please Message-ID: <004001c3148c$96968650$020a0a0a@rocko>
next in thread | raw e-mail | index | archive | help
Hiya, I recently installed Cyrus IMAP and it's working fine :) What I need help with is the sendmail ".mc" file - I done some research on how to get it to deliver to cyrus if the recipient wasn't in a local file (sendmail.cN - so root (and others) isn't a imap account) There is only one problem... I don't know much at all about sendmail, I pretty much just merged the 2 example files. Can someone please point me in the right direction? When I try to run sendmail I get the error: sendmail553 5.0.0 /etc/mail/sendmail.cf: line 989: < @ w... Unbalanced '<' 554 5.0.0 /etc/mail/sendmail.cf: line 989: Inappropriate use of $= on RHS Line 989 is: R$=N < @ $=w . > $: $#local $: $1 Help! :) Thank you! Regards, Chris --------------------------------------------------- spunky.mc - my .mc file, maybe I have something out of order? --------------------------------------------------- # divert(-1) # Custom MC file for host spunky divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.16 2002/05/22 16:39:14 gshapiro Exp $') OSTYPE(freebsd4) DOMAIN(generic) dnl from Cyrus sample .mc dnl if you aren't using Sendmail 8.12, you might need to remove dnl the following feature. FEATURE(`preserve_local_plus_detail') FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl from Cyrus sample .mc FEATURE(`nocanonify') FEATURE(`always_add_domain') dnl from Cyrus sample .mc dnl setting cyrus as the trusted user will make it easier to pass dnl Sendmail's safefile checks. however, it means that someone with the dnl "cyrus" password could easily become root. dnl define(`confTRUSTED_USER', `cyrus') dnl from Cyrus sample .mc dnl define(`confBIND_OPTS',`-DNSRCH -DEFNAMES') dnl define(`confTO_IDENT',`0') dnl from Cyrus sample .mc define(`confLOCAL_MAILER', `cyrus') define(`confCW_FILE', `-o /etc/mail/local-host-names') define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confMAX_MIME_HEADER_LENGTH', `256/128') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') dnl from Cyrus sample .mc MAILER_DEFINITIONS Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n, S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=FILE /usr/local/cyrus/imap/socket/lmtp MAILER(local) MAILER(smtp) LOCAL_RULE_0 R$=N $: $#local $: $1 R$=N < @ $=w . > $: $#local $: $1 Rbb + $+ < @ $=w . > $#cyrus $: + $1 LOCAL_CONFIG FN /etc/mail/sendmail.cN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004001c3148c$96968650$020a0a0a>