Cyrus - Sendmail .forward not working

gui gui at
Thu Dec 1 20:51:38 EST 2005

hi Everybody

I am trying to use .foward in user home directory for the bsd vacation 
I'm using cyrus-imapd-2.2.12 and Sendmail 8.13.3 on Freebsd 5.4.

I followed the instructions in as well as the 
O'Reilly Managing IMAP book,
and entered a define('|CYRUS_MAILER_FLAGS','A5 at W') line (later I changed 
in the sendmail M4 file ( in /etc/mail).  
But it didn't work.   The .forward file was not read at all.
|||I also tried changing the flags in 
/usr/share/sendmail/cf/mailer/cyrusv2.m4, as well as in 
but all also didn't work.
My Cyrus user is also inside /etc/passwd, i.e., has a unix account, as 
specified by the IMAP book.

My Cyrus is running fine.   And before converting to Cyrus, I was using 
imap-uw and the .forward and vacation
commands worked fine too.

Can anybody help?    Why isn't the instructions 
|define('CYRUS_MAILER_FLAGS','A5 at W')| not working?

Thank you very much in anticipation.


p.s. I don't want to use Sieve.


My references:
Add a line define(`CYRUS_MAILER_FLAGS',`A5 at w') before the MAILER(cyrus) 
line. The w flag tells sendmail that users are all in /etc/passwd so 
it's okay to read it and find *~/.forward*. If users aren't in 
/etc/passwd, don't do this.
On the line immediately following, add the statement:
|define('CYRUS_MAILER_FLAGS','A5 at W')
|The /w/ flag tells sendmail that users exist in //etc/passwd/ and that 
it should look for a /~/.forward/ in the user's home directory.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Info-cyrus mailing list