ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <taf@utaf.ilim.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] cyrus-imap
Date: Sun Dec 16 16:48:12 2001
Message-ID: <Pine.LNX.4.43L.0112162141560.2157-200000@metamorph.utaf.ilim.ru> (raw)
In-Reply-To: <Pine.LNX.4.20.0112161128030.1352-100000@ns.techkran.vladimir.ru>

[-- 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)

      reply	other threads:[~2001-12-16 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-16 11:35 Alex A. Trusov
2001-12-16 16:48 ` Alexei Takaseev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.43L.0112162141560.2157-200000@metamorph.utaf.ilim.ru \
    --to=taf@utaf.ilim.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git