Dan Liston wrote:
> Does the file /major/mj-user/lists/nhs59 exist?
yes
> Is it owner and group majordomo.majordomo?
yes
> Can majordomo read and write it? What about
> ownership and permissions on the entire tree to nhs59?
Here it is: using 775 for directories, and 664 for files, I was getting the sendmail group writeable error, and when I changed permissions to prevent this, I got the unknown mailer error
2, cannot open file (no permission). So, I changed a sendmail variable to allow group writeable directories, and set permissions as stated here. It works. Now, I am going to set up
the archive.
> Does your
> /etc/majordomo.cf have '$listdir = "/major/mj-user/lists";'?
yes
>
>
> My suggestion:
> chown -R majordomouser.majordomogroup /major
done
>
> chmod -R go-w /major
done
>
> Get rid of the stupid @style command file so you can see everything in your aliases at a glance.
done
>
> Get rid of the -h host.domain.name and use the "resend_host = host.domain.name" in .config. The config file overrides settings on the command line anyway (if they are defined there).
done
>
>
> Dan Liston
>
> David Klemp wrote:
> >
> > Somehow, I have missed thte point. Here are the details of my setup:
> > solaris 2.6, Sendmailpro 893
> >
> > THE ERROR:
> >
> > ----- The following addresses had permanent fatal errors -----
> > "| /usr/local/majordomo/wrapper resend @
> > /major/mj-user/lists/nhs59.resend"
> > (expanded from: <nhs59@klemp.com>)
> >
> > ----- Transcript of session follows -----
> > open(AV, "< "): No such file or directory
> > Stopped at /usr/local/majordomo/resend line 59.
> > 554 "| /usr/local/majordomo/wrapper resend @
> > /major/mj-user/lists/nhs59.resend"... unknown mailer error 2
> >
> > My aliases file:
> > nhs59: "| /usr/local/majordomo/wrapper resend @
> > /major/mj-user/lists/nhs59.resend"
> > owner-nhs59: nhs59-owner
> > nhs59-owner: klemp
> > nhs59-request: "| /usr/local/majordomo/wrapper request-answer nhs59"
> > nhs59-approval: owner-nhs59
> > nhs59-doit: :include:/major/mj-user/lists/nhs59
> > owner-nhs59-doit: owner-nhs59
> > owner-nhs59-request: owner-nhs59
> >
> > nhs59.resend:
> > -l nhs59 -h fremen.klemp.com nhs59-doit,nobody
> >
> > I lifted the example from the book - changed names as appropriate, and
> > still get this
> > unknow mailer error.
> >
> > Good eyes and suggestions appreciated. I want a simple to start
> > mailer. The aliasing, and permissions are driving me nutsoid.
> >
> > thanks in advance, dave klemp
References:
|
|