Re: procmail in v4 vs v5

2005-08-26 Thread Giorgos Keramidas
On 2005-08-26 13:01, "Brian W." <[EMAIL PROTECTED]> wrote:
>On Fri, 26 Aug 2005, Giorgos Keramidas wrote:
>>On 2005-08-26 12:36, "Brian W." <[EMAIL PROTECTED]> wrote:
 Right.  Now, if it's not too much trouble to ask, please run the
 following commands and show me the output.  You don't have to be
 root when these are run:

# cd /etc/mail
# diff -u sendmail.mc `hostname`.mc
# cat sendmail.mc
# ls -ld /usr/local/bin/procmail
>>>
>>> ok, my listing shiows different filenames.
>>
>> Yes, yes.  Pardon the mindslip.  I was sitting on a Solaris machine and
>> forgot we call our template sendmail.mc file ``freebsd.mc''.
>>
>>> > pwd
>>> /etc/mail
>>> > ls
>>> Makefilefreebsd.mc  mailertable.sample
>>> README  freebsd.submit.cf   relay-domains
>>> access.sample   freebsd.submit.mc   sendmail.cf
>>> aliases helpfilesubmit.cf
>>> aliases.db  local-host-namesvirtusertable.sample
>>> freebsd.cf  mailer.conf
>>
>> I don't see a `hostname`.mc file here :-/
>>
>>> > ls -ld /usr/local/bin/procmail
>>> -rwsr-sr-x  1 root  mail  76828 Aug  1 04:22 /usr/local/bin/procmail
>>>
>>>This is a box that went right from 5.3 release to 5-stable.

Nothing weird here.  My procmail executable even has the same size :-)

>> It seems you have no local `hostname`.mc file, so you probably lost some
>> changes in the mergemaster run of the update.  Can you check out the
>> differences of your ``/etc/mail/freebsd.mc'' file and the one that is
>> part of the source tree, at ``/usr/src/etc/sendmail/freebsd.mc'' ?
>
> No difference sir..

If we assume that you did generate your current sendmail.cf from the
source version of freebsd.mc, then this looks a lot like a procmail
ruleset problem.  I'll take another good look at your procmail rules,
but in the mean time can you try with a minimal .procmailrc and see
if this unbreaks it all?

$ cd
$ cp .procmailrcA dot.procmailrc~
$ echo 'DEFAULT="$HOME/Mailbox"' > .procmailrc

If that works, then we are certain that the old rules are broken.

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


Re: procmail in v4 vs v5

2005-08-26 Thread Brian W.



On Fri, 26 Aug 2005, Giorgos Keramidas wrote:


On 2005-08-26 12:16, "Brian W." <[EMAIL PROTECTED]> wrote:

On Fri, 26 Aug 2005, Giorgos Keramidas wrote:

On 2005-08-26 11:50, "Brian W." <[EMAIL PROTECTED]> wrote:

Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345:
to=|/usr/local/bin/procmail, ctladdr=<[EMAIL PROTECTED]> (1005/1005),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0,
stat=unknown mailer error 1
Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347:
DSN: unknown mailer error 1


Hmmm, that's a bit odd.  What changes does your sendmail.mc file have
from the stock version?


I have in no way modofied it, I have what mergemaster gave me.


Right.  Now, if it's not too much trouble to ask, please run the following
commands and show me the output.  You don't have to be root when these are
run:

# cd /etc/mail
# diff -u sendmail.mc `hostname`.mc
# cat sendmail.mc
# ls -ld /usr/local/bin/procmail




ok, my listing shiows different filenames.


pwd

/etc/mail

ls

Makefilefreebsd.mc  mailertable.sample
README  freebsd.submit.cf   relay-domains
access.sample   freebsd.submit.mc   sendmail.cf
aliases helpfilesubmit.cf
aliases.db  local-host-namesvirtusertable.sample
freebsd.cf  mailer.conf



ls -ld /usr/local/bin/procmail

-rwsr-sr-x  1 root  mail  76828 Aug  1 04:22 /usr/local/bin/procmail


This is a box that went right from 5.3 release to 5-stable.

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


Re: procmail in v4 vs v5

2005-08-26 Thread Brian W.



On Fri, 26 Aug 2005, Giorgos Keramidas wrote:


On 2005-08-26 12:36, "Brian W." <[EMAIL PROTECTED]> wrote:

Right.  Now, if it's not too much trouble to ask, please run the following
commands and show me the output.  You don't have to be root when these are
run:

# cd /etc/mail
# diff -u sendmail.mc `hostname`.mc
# cat sendmail.mc
# ls -ld /usr/local/bin/procmail


ok, my listing shiows different filenames.


Yes, yes.  Pardon the mindslip.  I was sitting on a Solaris machine and
forgot we call our template sendmail.mc file ``freebsd.mc''.


pwd

/etc/mail

ls

Makefilefreebsd.mc  mailertable.sample
README  freebsd.submit.cf   relay-domains
access.sample   freebsd.submit.mc   sendmail.cf
aliases helpfilesubmit.cf
aliases.db  local-host-namesvirtusertable.sample
freebsd.cf  mailer.conf


I don't see a `hostname`.mc file here :-/


ls -ld /usr/local/bin/procmail

-rwsr-sr-x  1 root  mail  76828 Aug  1 04:22 /usr/local/bin/procmail

This is a box that went right from 5.3 release to 5-stable.


It seems you have no local `hostname`.mc file, so you probably lost some
changes in the mergemaster run of the update.  Can you check out the
differences of your ``/etc/mail/freebsd.mc'' file and the one that is
part of the source tree, at ``/usr/src/etc/sendmail/freebsd.mc'' ?




No difference sir..


diff /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc



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


Re: procmail in v4 vs v5

2005-08-26 Thread Giorgos Keramidas
On 2005-08-26 12:36, "Brian W." <[EMAIL PROTECTED]> wrote:
>>Right.  Now, if it's not too much trouble to ask, please run the following
>>commands and show me the output.  You don't have to be root when these are
>>run:
>>
>>  # cd /etc/mail
>>  # diff -u sendmail.mc `hostname`.mc
>>  # cat sendmail.mc
>>  # ls -ld /usr/local/bin/procmail
>
> ok, my listing shiows different filenames.

Yes, yes.  Pardon the mindslip.  I was sitting on a Solaris machine and
forgot we call our template sendmail.mc file ``freebsd.mc''.

> >pwd
> /etc/mail
> >ls
> Makefilefreebsd.mc  mailertable.sample
> README  freebsd.submit.cf   relay-domains
> access.sample   freebsd.submit.mc   sendmail.cf
> aliases helpfilesubmit.cf
> aliases.db  local-host-namesvirtusertable.sample
> freebsd.cf  mailer.conf

I don't see a `hostname`.mc file here :-/

> >ls -ld /usr/local/bin/procmail
> -rwsr-sr-x  1 root  mail  76828 Aug  1 04:22 /usr/local/bin/procmail
>
> This is a box that went right from 5.3 release to 5-stable.

It seems you have no local `hostname`.mc file, so you probably lost some
changes in the mergemaster run of the update.  Can you check out the
differences of your ``/etc/mail/freebsd.mc'' file and the one that is
part of the source tree, at ``/usr/src/etc/sendmail/freebsd.mc'' ?

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


Re: procmail in v4 vs v5

2005-08-26 Thread Giorgos Keramidas
On 2005-08-26 12:16, "Brian W." <[EMAIL PROTECTED]> wrote:
>On Fri, 26 Aug 2005, Giorgos Keramidas wrote:
>>On 2005-08-26 11:50, "Brian W." <[EMAIL PROTECTED]> wrote:
>>> Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345:
>>> to=|/usr/local/bin/procmail, ctladdr=<[EMAIL PROTECTED]> (1005/1005),
>>> delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0,
>>> stat=unknown mailer error 1
>>> Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347:
>>> DSN: unknown mailer error 1
>>
>> Hmmm, that's a bit odd.  What changes does your sendmail.mc file have
>> from the stock version?
>
> I have in no way modofied it, I have what mergemaster gave me.

Right.  Now, if it's not too much trouble to ask, please run the following
commands and show me the output.  You don't have to be root when these are
run:

# cd /etc/mail
# diff -u sendmail.mc `hostname`.mc
# cat sendmail.mc
# ls -ld /usr/local/bin/procmail

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


Re: procmail in v4 vs v5

2005-08-26 Thread Brian W.

I have in no way modofied it, I have what mergemaster gave me.

Brian

On Fri, 26 Aug 2005, Giorgos Keramidas wrote:


On 2005-08-26 11:50, "Brian W." <[EMAIL PROTECTED]> wrote:

Giorgos Keramidas wrote:

Brian W. wrote:

Error snapshot-
Aug 26 08:20:37 entwistle sm-mta[658]: j7QFKbVD000654: to="|exec
/usr/local/bin/procmail", ctladdr=<[EMAIL PROTECTED]> (1005/1005),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31237, dsn=5.3.0,
stat=unknown mailer error 1


This doesn't look very right.  It seems that Sendmail is trying to
locate a binary called:

"exec /usr/local/bin/procmail"


Additional googling suggests adding a local mc file to enable
procmail as a delivery agent.


Not necessarily, but that's a different thing.


heres an error update.

Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345:
to=|/usr/local/bin/procmail, ctladdr=<[EMAIL PROTECTED]> (1005/1005),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0,
stat=unknown mailer error 1
Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347:
DSN: unknown mailer error 1


Hmmm, that's a bit odd.  What changes does your sendmail.mc file have
from the stock version?



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


Re: procmail in v4 vs v5

2005-08-26 Thread Giorgos Keramidas
On 2005-08-26 11:50, "Brian W." <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas wrote:
>>Brian W. wrote:
>>> Error snapshot-
>>> Aug 26 08:20:37 entwistle sm-mta[658]: j7QFKbVD000654: to="|exec
>>> /usr/local/bin/procmail", ctladdr=<[EMAIL PROTECTED]> (1005/1005),
>>> delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31237, dsn=5.3.0,
>>> stat=unknown mailer error 1
>>
>> This doesn't look very right.  It seems that Sendmail is trying to
>> locate a binary called:
>>
>>  "exec /usr/local/bin/procmail"
>>
>>> Additional googling suggests adding a local mc file to enable
>>> procmail as a delivery agent.
>>
>>Not necessarily, but that's a different thing.
>
> heres an error update.
>
> Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345:
> to=|/usr/local/bin/procmail, ctladdr=<[EMAIL PROTECTED]> (1005/1005),
> delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0,
> stat=unknown mailer error 1
> Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347:
> DSN: unknown mailer error 1

Hmmm, that's a bit odd.  What changes does your sendmail.mc file have
from the stock version?

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


Re: procmail in v4 vs v5

2005-08-26 Thread Brian W.



On Fri, 26 Aug 2005, Giorgos Keramidas wrote:


On 2005-08-26 10:02, Brian <[EMAIL PROTECTED]> wrote:

Giorgos Keramidas wrote:

On 2005-08-26 08:34, Brian <[EMAIL PROTECTED]> wrote:

All my recipes that used to work in 4-stable seem to fail in
5-stable.  When I invoke procmail with what looks like the same
files, I get unknown mailer error 1 messages in maillog.


It would be nice if we could see some of these rules and the exact
log messages.



more .forward

"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #bri"


Try without all this fanciness:

% echo '|/usr/local/bin/procmail' > ~/.forward
% chmod 0600 .forward


Error snapshot-
Aug 26 08:20:37 entwistle sm-mta[658]: j7QFKbVD000654: to="|exec
/usr/local/bin/procmail", ctladdr=<[EMAIL PROTECTED]> (1005/1005),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31237, dsn=5.3.0,
stat=unknown mailer error 1


This doesn't look very right.  It seems that Sendmail is trying to
locate a binary called:

"exec /usr/local/bin/procmail"


Additional googling suggests adding a local mc file to enable procmail
as a delivery agent.


Not necessarily, but that's a different thing.




heres an error update.

Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: 
to=|/usr/local/bin/procmail, ctladdr=<[EMAIL PROTECTED]> (1005/1005), 
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0, 
stat=unknown mailer error 1
Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347: 
DSN: unknown mailer error 1


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


Re: procmail in v4 vs v5

2005-08-26 Thread Giorgos Keramidas
On 2005-08-26 10:02, Brian <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas wrote:
>>On 2005-08-26 08:34, Brian <[EMAIL PROTECTED]> wrote:
>>> All my recipes that used to work in 4-stable seem to fail in
>>> 5-stable.  When I invoke procmail with what looks like the same
>>> files, I get unknown mailer error 1 messages in maillog.
>>
>> It would be nice if we could see some of these rules and the exact
>> log messages.
>
> >more .forward
> "|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #bri"

Try without all this fanciness:

% echo '|/usr/local/bin/procmail' > ~/.forward
% chmod 0600 .forward

> Error snapshot-
> Aug 26 08:20:37 entwistle sm-mta[658]: j7QFKbVD000654: to="|exec
> /usr/local/bin/procmail", ctladdr=<[EMAIL PROTECTED]> (1005/1005),
> delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31237, dsn=5.3.0,
> stat=unknown mailer error 1

This doesn't look very right.  It seems that Sendmail is trying to
locate a binary called:

"exec /usr/local/bin/procmail"

> Additional googling suggests adding a local mc file to enable procmail
> as a delivery agent.

Not necessarily, but that's a different thing.

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


Re: procmail in v4 vs v5

2005-08-26 Thread Brian


- Original Message - 
From: "Giorgos Keramidas" <[EMAIL PROTECTED]>

To: "Brian" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, August 26, 2005 9:25 AM
Subject: Re: procmail in v4 vs v5



On 2005-08-26 08:34, Brian <[EMAIL PROTECTED]> wrote:

All my recipes that used to work in 4-stable seem to fail in 5-stable.
When I invoke procmail with what looks like the same files, I get unknown
mailer error 1 messages in maillog.


It would be nice if we could see some of these rules and the exact log
messages.





more .forward

"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #bri"

more .procmailrc

VERBOSE=no

# For debugging uncomment this line
#LOGABSTRACT=all

# Tell procmail where to store your mail. This changes depending on which 
Unix m

ail client you use.
# Pine uses $HOME/mail
# Mutt and Elm use $HOME/Mail
MAILDIR=$HOME/mail   #This directory must exist!!!

# Use a seperate directory to store reciepes and logs
PMDIR=$HOME/Procmail

# Tell procmail where to put the log file
LOGFILE=$PMDIR/log

# Add recipe files here
INCLUDERC=$PMDIR/spamassassin.rc
#INCLUDERC=$PMDIR/nkvir-rc
INCLUDERC=$PMDIR/lists.rc

Procmail and mail directories both exist.

Error snapshot-
Aug 26 08:20:37 entwistle sm-mta[658]: j7QFKbVD000654: to="|exec 
/usr/local/bin/procmail", ctladdr=<[EMAIL PROTECTED]> (1005/1005), 
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31237, dsn=5.3.0, 
stat=unknown mailer error 1


Additional googling suggests adding a local mc file to enable procmail as a 
delivery agent.


Brian


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


Re: procmail in v4 vs v5

2005-08-26 Thread Giorgos Keramidas
On 2005-08-26 08:34, Brian <[EMAIL PROTECTED]> wrote:
> All my recipes that used to work in 4-stable seem to fail in 5-stable.
> When I invoke procmail with what looks like the same files, I get unknown
> mailer error 1 messages in maillog.

It would be nice if we could see some of these rules and the exact log
messages.

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


procmail in v4 vs v5

2005-08-26 Thread Brian
All my recipes that used to work in 4-stable seem to fail in 5-stable.  When 
I invoke procmail with what looks like the same files, I get unknown mailer 
error 1 messages in maillog.


Brian 


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