[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: procmail wants to do aliases!?



Matus Uhlar writes:

> ->     Well, after the bout of messages regarding using procmail as the
> -> mail delivery agent, I decided to try it.  I've been using procmail for
> -> the MDA under sendmail for about 2 years now with no problems.
> -> Unfortunately, it did not work.  When mailing to majordomo for
> -> processing, something happened during which the mail bounced, and it was
> -> attempting to send it to postmaster.  I stopped zmailer services and
> -> checked some things out - it appears that procmail was trying to deliver
> -> to postmaster, which on my system anyway, is an alias.  Anyone know why?
> -> I changed the definition of mailbox to procm in scheduler.conf as
> -> follows:

> -> command="sm -8c $channel procm"

> ->     Whereas it used to be the stock

> -> command="mailbox -8"


> look at sm.conf

> procm   sSPfnm   /usr/local/bin/procmail         procmail -a $h -d $u -t

> it means that procmail will get "-d <user>"
> and the line

> command="sm -8c $channel procm"

> means that ANY local delivery will be passed to sm...
> so procmail should know how to deliver to pipes/programs or we should tell
> sm or scheduler only to pass user delivery to procmail.

> I'd vote for the first way. I'll mail to provcmail maintainers.

	Yes, the first way is the correct way to handle it - procmail
should never be asked to do anything but handle the delivery to a
specific user's mailbox, subject to their own .procmailrc of course.
However, I'm not following how the line from scheduler.conf
(command="sm -8c $channel procm") means ANY local delivery should be
sent to procmail when I only define it in local/*.




-matt

-- 
Matthew C. Mead					Technology Support Staff,
						Mathematics Department,
mmead@math.vt.edu				Virginia Tech
(540)231-2643