Local procmail mailer, bypassing aliases?

Dan Nelson dnelson at allantgroup.com
Fri Aug 29 16:06:19 PDT 2003


In the last episode (Aug 29), Damian Gerow said:
> Thus spake Dan Nelson (dnelson at 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 at allantgroup.com


More information about the freebsd-questions mailing list