Possible sendmail misconfiguration to deliver to cyrus

Todd Lyons tlyons at ivenue.com
Mon Dec 4 13:24:46 EST 2006


On Mon, Dec 04, 2006 at 11:22:10AM -0600, Dave McCracken wrote:

>> As I see it, a more sendmailish solution would be to use a little
>> sendmail-fu and make it so that sendmail checks for local user at smtp
>> time, but delivers to cyrus at deliver time.  I don't have such fu, but
>> I see now as a good enough time to start studying up on it as well as
>> exploring the above option.
>I also had that problem since most of the spam I was getting to my domain was 
>to nonexistent users.  I discovered sendmail has a local mailer flag that 
>indicates whether sendmail should check the recipient against local users at 
>smtp time.  The flag is 'w'.  My sendmail.mc has the following line:
>define(`CYRUSV2_MAILER_FLAGS', `A@/:|mw')dnl
>where cyrusv2.m4 has the line:
>_DEFIFNOT(`CYRUSV2_MAILER_FLAGS', `A@/:|m')
>This solved my problem but it requires that I have a local machine account for 
>each cyrus user.  As a small domain that's not a problem for me, but others 
>might find it too restrictive.

I'll test it.  As long as by "local user" you mean "users visible to PAM
and virtusers", then I'm golden.  I'm beginning testing now.
-- 
Regards...		Todd
   A friend of mine was at the military and had to check new recruits for
color-blindness. Only after the 20th color-blind man in a row he realized
for the first time in hist life that it was _him_, being the color-blind.
                                                    --Johannes Schindelin
Linux kernel 2.6.17-5mdv   1 user,  load average: 0.53, 0.42, 0.30


More information about the Info-cyrus mailing list