* Re: [mdk-re] cyrus-imap
2001-12-16 11:35 [mdk-re] cyrus-imap Alex A. Trusov
@ 2001-12-16 16:48 ` Alexei Takaseev
0 siblings, 0 replies; 2+ messages in thread
From: Alexei Takaseev @ 2001-12-16 16:48 UTC (permalink / raw)
To: mandrake-russian
[-- Attachment #1: Type: TEXT/PLAIN, Size: 408 bytes --]
On Sun, 16 Dec 2001, Alex A. Trusov wrote:
> Установил cyrus-imap сам сервер работает, все тесты проходят
> нормально,
> но вот sendmail никак не получается заставить доставлять почту
> средствами
> cyrus-imap. Делаю все как написано в докуметации идущей с cyrus-imap.
> Может кто поделится настройками в sendmail.cf или подскажет.
Вот мой mc-файл к sendmail'у. Похожие связки стоят уже на трех серверах.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 2421 bytes --]
# divert(-1)
#
# (C) Copyright 2000 by Carnegie Mellon University
# Portions (C) Copyright 2000 Red Hat, Inc.
#
# This sample mc file is for a site that uses the Cyrus IMAP server
# exclusively for local mail. This requires Sendmail 8.10 or later.
#
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for ALT Linux')dnl
OSTYPE(`linux')
define(`confDEF_USER_ID',``8:12'')dnl
dnl undefine(`UUCP_RELAY')dnl
dnl undefine(`BITNET_RELAY')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`confTO_IDENT',`0')dnl
define(`confLOCAL_MAILER',`cyrus')dnl
define('ALIAS_FILE','/etc/mail/aliases')dnl
define(`STATUS_FILE', `/var/log/sendmail.st')dnl
define(`VIRTUSER_TABLE',`1')
dnl SSL begin
define(`confCACERT_PATH', `/etc/mail/certs/')
define(`confCACERT', `/etc/mail/certs/CA.cert.pem')
define(`confSERVER_CERT', `/etc/mail/certs/my.cert.pem')
define(`confSERVER_KEY', `/etc/mail/certs/my.key.pem')
dnl SSL end
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(`access_db')dnl
FEATURE(`blacklist_recipients')dnl
dnl We strongly recommend to comment this one out if you want to protect
dnl yourself from spam. However, the laptop and users on computers that do
dnl not hav 24x7 DNS do need this.
dnl FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`relay_based_on_MX')dnl
MAILER(smtp)dnl
MAILER(local)dnl
MAILER(uucp)
MAILER_DEFINITIONS
Mcyrus, P=[IPC], F=lsDFMnqA5@/:|SmXz, E=\r\n,
S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
A=FILE /var/imap/socket/lmtp
LOCAL_RULE_0
Rbb + $+ < @ $=w . > $#cyrus $: + $1
LOCAL_RULESETS
# if there's a plus part, we want to directly deliver it
SLocal_localaddr
R$+ + $* $#cyrus $@ $: $1 + $2
LOCAL_RULE_3
UUCPSMTP(utaf, utaf.ilim.ru)
UUCPSMTP(gray, gray.ilim.ru)
UUCPSMTP(uisibcon, uisibcon.ilim.ru)
UUCPSMTP(nicks, nicks.ilim.ru)
UUCPSMTP(uidz, uidz.ilim.ru)
UUCPSMTP(city, city.ilim.ru)
UUCPSMTP(kgtu, kgtu.ilim.ru)
UUCPSMTP(ugkh, ugkh.ilim.ru)
UUCPSMTP(univer, univer.ilim.ru)
UUCPSMTP(rlpt, rlpt.ilim.ru)
UUCPSMTP(fin34, fin34.ilim.ru)
UUCPSMTP(uiproect, uiproect.ilim.ru)
^ permalink raw reply [flat|nested] 2+ messages in thread