This does not look like a .cf file--it looks like a .mc file--which means it needs to be run through the gen_cf process to become a sendmail.cf file. You can try looking at the attached file, which is a description of how to go about doing this on my system (hpux 11.0)--this process will be generally the same on your system. Also, try www.sendmail.org for help for your platform c* ----- Original Message ----- From: "Guenther Abwerzger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 6:23 AM Subject: Again: sendmail+cyrus IMAP....
> O.k. I have successfully installed the IMAP server (all tests seem to be > > o.k.) and I also have access to the server from outside clients. But I > did not succeed in forcing sendmail to forward all mails to the IMAP > server. > First of all, I've tried all example sendmail.cf (.mc) files delivered > with the IMAP distribution. Then I've found a sample sendmail.cf file > in this mailbox (from "Scot W. Hetzel", 23.08.2000). It looks like > > > ******** start ********* > > divert(-1) > # > # West Bend Internet > # > # MAIL.WESTBEND.NET > # > > divert(0)dnl > VERSIONID(`@(#)harvey.mc $Revision: 1.4.3 $') > OSTYPE(bsd4.4)dnl > DOMAIN(generic)dnl > define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl > FEATURE(nouucp)dnl > FEATURE(always_add_domain)dnl > dnl FEATURE(relay_based_on_MX)dnl > define(`confMAX_MESSAGE_SIZE',`eval(5*1024*1024)')dnl > define(`confPRIVACY_FLAGS',`authwarnings, noexpn, needmailhelo, > novrfy')dnl > FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl > FEATURE(access_db, `hash -o /etc/mail/access')dnl > FEATURE(blacklist_recipients)dnl > FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl > FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl > GENERICS_DOMAIN_FILE(`-o /etc/mail/sendmail.cG')dnl > > dnl Uncomment to activate Realtime Blackhole List (recommended!) > FEATURE(rbl,`rbl.maps.vix.com',`"Mail from "$&{client_addr}" rejected; > see http://mail-abuse.org/cgi-bin/lookup?"$&{client_addr}')dnl > > dnl Uncomment to activate ORBS (CAUTION: Will prevent wanted messages > from open Relays) > dnl FEATURE(rbl,`relays.orbs.org',`"Mail from open relay > "$&{client_addr}" rejected; see > http://www.orbs.org/verify.cgi?address="$&{client_addr')dnl > > dnl Uncomment to activate Dial Up Users List (prevents direct mailling > of messages from known dial up IP addresses) > FEATURE(rbl,`dul.maps.vix.com',`"Mail from dial-up "$&{client_addr}" > rejected; see http://mail-abuse.org/dul/enduser.htm"')dnl > > FEATURE(local_lmtp)dnl > define(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'P)dnl > define(`confCW_FILE', `-o /etc/mail/sendmail.cw')dnl > define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl > define(`confMAX_MIME_HEADER_LENGTH', `256/128')dnl > MAILER(local)dnl > MAILER(smtp)dnl > > dnl This stuff actually makes Cyrus work as the local mailer > dnl The flags A5@/:| are standard > dnl w: look up users in passwd file - enables .forward processing. > dnl S: always run deliver as the cyrus user > dnl The mXz flags are there to enable LMTP support with the -l flag on > deliver. > define(`CYRUS_MAILER_FLAGS', `SA5@|:/wmXz')dnl > define(`CYRUS_MAILER_ARGS', `deliver -l -e')dnl > > dnl define(`CYRUS_MAILER_FLAGS',`SA5@|:/w')dnl > dnl define(`CYRUS_MAILER_ARGS',`deliver -e -m $h -- $u')dnl > > define(`CYRUS_MAILER_PATH',`/usr/local/cyrus/bin/deliver')dnl > define(`CYRUS_MAILER_MAX',`eval(10*1024*1024)')dnl > define(`CYRUS_MAILER_USER',`cyrus:cyrus')dnl > define(`CYRUS_BB_MAILER_FLAGS',`S')dnl > define(`CYRUS_BB_MAILER_ARGS',`deliver -e -m $u')dnl > MAILER(cyrus)dnl > define(`confLOCAL_MAILER',`cyrus')dnl > define(`confLOCAL_MAILER',`cyrus')dnl > > LOCAL_RULE_0 > R$=N $: $#local $: $1 > R$=N < @ $=w . > $: $#local $: $1 > Rbb + $+ < @ $=w . > $#cyrusbb $: $1 > > LOCAL_CONFIG > FN /etc/mail/sendmail.cN > > ************ end ********** > > > But when I send a mail to a user on the server, I get the following > error message: > > ********* start ********** > <<< 451 4.0.0 /etc/sendmail.cf: line 3: fileclass: cannot open > 'ATURE(rbl,rbl.maps.vix.com,"Mail': No such file or directory > 451 4.0.0 /etc/sendmail.cf: line 5: fileclass: cannot open > 'ATURE(rbl,dul.maps.vix.com,"Mail': No such file or directory > 451 4.0.0 /etc/sendmail.cf: line 6: fileclass: cannot open > 'ATURE(local_lmtp)MAILER(local)MAILER(smtp)': No such file or directory > 554 5.0.0 /etc/sendmail.cf: line 9: MAILER(cyrus): A= argument required > 554 5.0.0 /etc/sendmail.cf: line 10: unknown configuration line > "LOCAL_RULE_0" > 554 5.0.0 /etc/sendmail.cf: line 11: missing valid ruleset for "R$=N > $: $#local $: $1" > 554 5.0.0 /etc/sendmail.cf: line 12: missing valid ruleset for "R$=N < @ > > $=w . > $: $#local $: $1" > 554 5.0.0 /etc/sendmail.cf: line 13: missing valid ruleset for "Rbb + $+ > > < @ $=w . > $#cyrusbb $: $1" > 554 5.0.0 /etc/sendmail.cf: line 15: unknown configuration line > "LOCAL_CONFIG" > 554 5.0.0 No local mailer defined > 554 5.0.0 Service unavailable > > *********** end ************ > > I don not know, what I shell do..... Can anybody help me? > > Thanks in advance, > G. Abwerzger > > > > -- > This space intentionally left non-blank. > > --------------------- www.teleconsult-austria.at ---------------------- > Dipl.-Ing. Günther Abwerzger > TELECONSULT Hofmann-Wellenhof & Partner OEG > Schwarzbauerweg 3, A-8043 Graz, Austria > Tel. +43-316-873-6834, Fax +43-316-873-8888 > Email: [EMAIL PROTECTED] > > > > >