Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Sendmail - Procmail - Cyrus, down to last issue....
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
chris...@gmail.com  
View profile  
 More options Sep 2 2007, 3:52 pm
Newsgroups: comp.mail.sendmail
From: chris...@gmail.com
Date: Sun, 02 Sep 2007 19:52:43 -0000
Local: Sun, Sep 2 2007 3:52 pm
Subject: Sendmail - Procmail - Cyrus, down to last issue....
Hello,

I'm hoping this is the right newsgroup to post to..

On my mail server, I was using sendmail and Cyrus (for IMAP). Then I
needed to integrate procmail into the mix (procmail needs to stay for
various reasons and I can't change that...).

Right now, things seem to be somewhat working. For example:

If I send an email from say gmail to my email address on this machine,
sendmail gets the email, procmail is activated, the procmail filters
are executed and the email ends up in the proper cyrus mailbox.

Now...

If I am say SSHed into the machine, this is where things are a bit
odd. If say I do:

echo "test email" | mail -s "This is a test" somelocaluser

or

echo "test email" | mail -s "This is a test" somelocalu...@domain.com

Sendmail will get the mail, the procmail filters are executed, but the
email always ends up in /var/mail/cyrus.

This obviously also effects emails from crons, etc.

Has anybody ever seen this before? Any help would be greatly
appreciated as this is driving me nuts :)

My relevant configs are:

sendmail.mc:
-----------------
divert(-1)
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30 2005/06/14
02:25:17 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(local_procmail)

define(`confCW_FILE', `-o /etc/mail/local-host-names')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
define(`CYRUS_LMTP_SOCKET', `/var/imap/socket/lmtp')
define(`confLOCAL_MAILER', `cyrusv2')
define('CYRUS_MAILER_FLAGS','A5@W')

MAILER(smtp)
MAILER(local)
MAILER(`cyrusv2')

Edits made to the generated sendmail.cf:
-----------------------------------------------------
Mcyrusv2,     P=/usr/local/bin/procmail, F=lsDFMnPqA5@, S=10, R=20/40,
T=X-Unix,
                     U=cyrus:mail,
                     A=procmail -p /var/imap/procmail/procmail.global
CYRUSUSER=$u

Thanks!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »