Re: Local procmail mailer, bypassing aliases?

2003-09-02 Thread Damian Gerow
Thus spake Dan Nelson ([EMAIL PROTECTED]) [29/08/03 19:06]:
 Easy enough:
 
 MAILER(`procmail')
 MODIFY_MAILER_FLAGS(`PROCMAIL',`-A')

Hm...  Still can't get it to work:

MODIFY_MAILER_FLAGS(`procmailnoalias',`-A')
MAILER(procmailnoalias)

I've tried upper-casing the MODIFY_MAILER_FLAGS line as well, to no avail.

I also tried using the generic procmail mailer and copying it to
procmailnoalias.m4 (and changing the required lines within), as well as our
custom .m4.  We still seem to be delivering to the alias defined in
/etc/mail/aliases.

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

Hum.  From sendmail.cf:

Mprocmailnoalias,    F=lsDFMw5:/|@qPSXfmnz9, 

Mprocmail,   F=DFMSPhnu9, 

I don't see an 'A' flag in either of those, yet they're both listening to
aliases.  In fact, I don't see the letter 'A' in either mailers until the
last line ('A=procmail -Y -m $h $f $u').
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Local procmail mailer, bypassing aliases?

2003-08-30 Thread Dan Nelson
In the last episode (Aug 29), Damian Gerow said:
 Thus spake Dan Nelson ([EMAIL PROTECTED]) [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
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Local procmail mailer, bypassing aliases?

2003-08-29 Thread Dan Nelson
In the last episode (Aug 29), Damian Gerow said:
 Does anyone have an m4 for a procmail mailer the completely bypasses
 the alias table?  I had one working about a month ago, but it seems
 to be broken, and I just can't figure out why...  I also don't know
 where to start looking for one.

Try adding  

MODIFY_MAILER_FLAGS(`LOCAL', -A')

to your sendmail.mc and regenerating (assuming you're using
FEATURE(`local_procmail') ).

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Local procmail mailer, bypassing aliases?

2003-08-29 Thread Damian Gerow
Thus spake Dan Nelson ([EMAIL PROTECTED]) [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.

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.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]