Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Sendmail + Cyrus + Imap + Virtual Hosting

Sendmail + Cyrus + Imap + Virtual Hosting

2005-03-02       - By Yezid Mendoza Jimenez

 Back
Hi List,

I 'm working on setting up a virtual hosting server for multiple domains,
and I 'm running into a bit of trouble with the email. I 'm using Sendmail
and Cyrus sasl imap to handle the mail, but can 't for the life of me figure
out how to get them to handle email for multiple domains. I 'm using
Sendmail-8.13.1-2, Cyrus-sasl-2.1.19-3 and Cyrus-imapd-2.2.10-3. At this
time I can log into my server using either a local or virt-domain user
using, for instance, Squirrelmail but my system doesn 't find mailbox for my
virtual domain users.
Any help would be appreciate.
Thanks in advanced,
Yezid Mendoza.


This is part of my /var/log/maillog file related to this issue:
***********
Feb 22 08:57:21 srvdanac sendmail[32712]: j1MCvKrq032712:
from= <ymj_sistemas@(protected) >, size=1289, class=0, nrcpts=1,
msgid= <20050222130124.32261.qmail@(protected) >, proto=SMTP,
daemon=MTA, relay=web52801.mail.yahoo.com [206.190.39.165]
Feb 22 08:57:21 srvdanac lmtpunix[32711]: accepted connection
Feb 22 08:57:21 srvdanac lmtpunix[32711]: lmtp connection preauth 'd as
postman
Feb 22 08:57:21 srvdanac master[32716]: about to exec
/usr/lib/cyrus-imapd/lmtpd
Feb 22 08:57:21 srvdanac lmtpunix[32711]:
verify_user(user./var/lib/imap/socket/lmtp) failed: Mailbox does not exist
Feb 22 08:57:21 srvdanac sendmail[32714]: j1MCvKrq032712: smtpquit: mailer
cyrus exited with exit value 65
Feb 22 08:57:21 srvdanac sendmail[32714]: j1MCvKrq032712: to= <USER@(protected) >,
delay=00:00:01, xdelay=00:00:00, mailer=cyrus, pri=121289,
relay=/var/lib/imap/socket/lmtp, dsn=4.0.0, stat=Deferred:Connection reset
by MY-HOST.DEFAULT-DOMAIN
Feb 22 08:57:21 srvdanac lmtpunix[32716]: executed
**********
This is my mailertable file:
*********
Default-Domain cyrus:/var/lib/imap/socket/lmtp
Domain2 cyrus:/var/lib/imap/socket/lmtp
*********
This is my /etc/imap.conf file:
********
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
virtdomains: yes
defaultdomain: my-default-domain
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
*************

This is my .mc file:

***********
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4 ')dnl
VERSIONID(`setup for Red Hat Linux ')dnl
OSTYPE(`linux ')dnl
define(`confDEF_USER_ID ',``8:12 ' ')dnl
dnl define(`confAUTO_REBUILD ')dnl
define(`confTO_CONNECT ', `1m ')dnl
define(`confTRY_NULL_MX_LIST ',true)dnl
define(`confDONT_PROBE_INTERFACES ',true)dnl
define(`PROCMAIL_MAILER_PATH ',`/usr/bin/procmail ')dnl
define(`confLOCAL_MAILER ',`cyrus ')dnl
define(`CYRUS_MAILER_ARGS ',`FILE /var/lib/imap/socket/lmtp ')dnl
define(`CYRUS_MAILER_FLAGS ',`A5@/:|S ')
define(`ALIAS_FILE ', `/etc/aliases ')dnl
define(`STATUS_FILE ', `/var/log/mail/statistics ')dnl
define(`UUCP_MAILER_MAX ', `2000000 ')dnl
define(`confUSERDB_SPEC ', `/etc/mail/userdb.db ')dnl
define(`confPRIVACY_FLAGS ', `authwarnings,novrfy,noexpn,restrictqrun ')dnl
define(`confAUTH_OPTIONS ', `A ')dnl
define(`confTO_IDENT ', `0 ')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa ',`dnl ')dnl
FEATURE(`smrsh ',`/usr/sbin/smrsh ')dnl
FEATURE(`mailertable ',`hash -o /etc/mail/mailertable.db ')dnl
FEATURE(`virtusertable ',`hash -o /etc/mail/virtusertable.db ')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
dnl #
dnl #
FEATURE(local_procmail,` ',`procmail -t -Y -a $h -d $u ')dnl
FEATURE(`access_db ',`hash -T <TMPF > -o /etc/mail/access.db ')dnl
FEATURE(`blacklist_recipients ')dnl
EXPOSED_USER(`root ')dnl
dnl #
dnl # The following causes sendmail to only listen on the IPv4 loopback
address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Name=MTA ')dnl
dnl #
dnl #
LOCAL_DOMAIN(`localhost.localdomain ')dnl
dnl #
dnl #
dnl MASQUERADE_DOMAIN(localhost)dnl
dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
MAILER(`local ')dnl
MAILER(`cyrus ')dnl
MAILER(`smtp ')dnl
*********************

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list