#1  
Old 30th October 2007, 04:21
andrewthegrate andrewthegrate is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default sendmail and cyrus

I have a suse10 server on which I am trying to setup cyrus/sendmail/sasl

Cyrus and sasl is running fine and I can get an inbox, shared folders and all that. I seem to be missing something with the sendmail bit. If if send mail to user@localhost, it windows up in /var/spool/mail instead of the user folder in /var/spool/imap.

My mc file is pretty simple as per the below. I have read the cyrus docos and tried reading a few sendmail/cyrus tuts and had a borwse through O'Reily's bat book but I am getting nowhere. Any thoughts anyone? I tried putting the local mailer before the cyrus mailer and I tried removing the local mailer altogether. I have also tried cyrus instead of cyrus2. I recon I am missing some basic thing.


VERSIONID(`Sendmail Config for LiftCap 29/09/2007')dnl
OSTYPE(`linux')dnl
DOMAIN(`generic')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`confAUTH_OPTIONS', `A')dnl
define('confLOCAL_MAILER','cyrus2')dnl
MAILER(cyrus2)dnl
define('CYRUS_MAILER_FLAGS','A5@W')dnl
MAILER(local)dnl
MAILER(smpt)dnl
Reply With Quote
Sponsored Links
  #2  
Old 31st October 2007, 17:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

You could try to create a symbolic link from /var/spool/mail to /var/spool/imap:
Code:
mv /var/spool/mail /var/spool/mail_bak
ln -s /var/spool/imap /var/spool/mail
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd November 2007, 00:43
andrewthegrate andrewthegrate is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default sendmail and cyrus

No, the stuff that goes in t /var/spool/mail is in washington format while cyrus expects stuff in maildir format> Besides if I do a link, the mail headers won't go into the cyrus message header database.
Reply With Quote
  #4  
Old 2nd November 2007, 01:45
andrewthegrate andrewthegrate is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default sendmail and cyrus /var/spool/mail - the answer

Yay, I finally have the answer to this, stupid though it may be on my part.

I thought that the sendmail.cf was supposed to be in /etc/mail and in fact on my RHEL10 that's where it is. Not on SUSE though. After examining /etc/init.d/sendmail if find that it is using /etc/sendmail.cf

Added this to my sendmail.mc


MAILER(local)dnl
define(`confLOCAL_MAILER', `cyrus')
MAILER(`cyrus')

and then m4 to /etc/sendmail.cf

and all is well, what a waist of time
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in sendmail configuration satish Suggest HOWTO 1 9th March 2006 19:29


All times are GMT +2. The time now is 11:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.