Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2003 18:06:14 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Damian Gerow <damian@sentex.net>
Cc:        questions@freebsd.org
Subject:   Re: Local procmail mailer, bypassing aliases?
Message-ID:  <20030829230614.GD7020@dan.emsphone.com>
In-Reply-To: <20030829203542.GT6965@sentex.net>
References:  <20030829184122.GG6965@sentex.net> <20030829202131.GB7020@dan.emsphone.com> <20030829203542.GT6965@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 29), Damian Gerow said:
> Thus spake Dan Nelson (dnelson@allantgroup.com) [29/08/03 16:22]:
> > Try adding  
> > 
> > MODIFY_MAILER_FLAGS(`LOCAL', -A')
> > 
> > to your sendmail.mc and regenerating (assuming you're using
> > FEATURE(`local_procmail') ).
> 
> That will modify the local_procmail mailer to bypass local aliases,
> correct? 'Cept that we don't want to do that -- we want to provide
> /a/ mailer that will bypass local aliases.  So that in the end, we
> have procmail as the LDA, /and/ procmail as an LDA that ignores alias
> expansions.

Easy enough:

MAILER(`procmail')
MODIFY_MAILER_FLAGS(`PROCMAIL',`-A')
 
> It very well could actually be something in my sendmail configuration
> that I'm missing, and not the mailer itself.  But I can say without a
> doubt that our procmailnoalias mailer is indeed not ignoring
> /etc/mail/aliases.

Basically, make sure the the appropriate Mmailer line in sendmail.cf
doesn't have an 'A' in the F= flags list.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030829230614.GD7020>