Did you "try" my aliases to see if a list called test would work?
Is it possible that in the file named /usr/local/majordomo/lists/sysmgt
you have a line containing :include: something? This would be very bad.
The file should contain ONE RFC822 email address per line.
Are you positive, that no directory in the path to your membership
files is group or world writable? This includes the / directory, /usr,
/usr/local, /usr/local/majordomo, and /usr/local/majordomo/lists.
Before trying my aliases, ... assuming you are the root user;
echo 'mick_ohrberg@your.domain.com' > /usr/local/majordomo/lists/test
chown majordomo.majordomo /usr/local/majordomo/lists/test
Dan Liston
Ohrberg, Mick (OTP-KC) wrote:
> Dan,
>
> Thank you for your response. Unfortunately it didn't seem to make a
> difference. I'm still getting the error of not being able to send to
> :include:s, as if sendmail doesn't expand the included file if it's an alias
> refering to another alias (in your example, test pointing to test-outgoing,
> in turn doing the :include:. The -h and -s flags came from some old
> documentation (snippet from an O'Reilly "Managing Internet Information
> Services" book). Is there anything else about the syntax that shouldn't be
> there?
>
> If you or anyone else have any suggestions, please let me know.
>
> Thank you!
>
> /Mick
>
>
> -----Original Message-----
> From: Daniel Liston [mailto:dliston@sonny.org]
> Sent: Thursday, September 11, 2003 2:07 AM
> To: Ohrberg, Mick (OTP-KC)
> Cc: majordomo-users@greatcircle.com
> Subject: Re: Resend issues with sendmail
>
>
> You do not have the syntax to "resend" correct in your alias. Here is a
> sample set of aliases that work, to use as a template.
>
> [snip]
>
> Of course, your pathnames will not be the same, and if you are not archiving
> or digesting your lists, just remove everything after the first comma in the
> test-outgoing: alias. If you are archiving, you need to make sure the
> majordomo.cf file is using the proper filedir and filedir_suffix for the
> test-archiver: alias to work.
>
> Dan Liston
>
>
> Ohrberg, Mick (OTP-KC) wrote:
>
>
>>Majordomo: 1.94.5
>>Perl: 5.8.0
>>O/S: RedHat 8.0
>>Sendmail: 8.12.5
>>
>>I have looked high and low for this, but nowhere can I find an answer.
>>
>>I have a mailing list named sysmgt. My sendmail is instructed to look
>>for /etc/aliases and /etc/majordomo.aliases (or the .db versions
>>thereof). My majordomo.aliases contains (amongst other things):
>>
>>sysmgt: "|/usr/local/majordomo/wrapper resend -l sysmgt -h
>
> <hostname> -s sysmgt-list"
>
>>sysmgt-list: :include:/usr/local/majordomo/lists/sysmgt
>>
>>However, this fails with:
>>
>>-------------------8<--------------------------
>> ----- The following addresses had permanent fatal errors -----
>>:include:/usr/local/majordomo/lists/sysmgt
>> (expanded from: sysmgt-list)
>>
>> ----- Transcript of session follows -----
>>550 5.7.1 :include:/usr/local/majordomo/lists/sysmgt... Cannot mail
>>directly to :include:s Message delivered to mailing list
>>owner-sysmgt@<hostname>
>>
>>-------------------8<--------------------------
>>
>>If I remove the resend entry:
>>
>>sysmgt: :include:/usr/local/majordomo/lists/sysmgt
>>sysmgt-list: :include:/usr/local/majordomo/lists/sysmgt
>>
>>...it works fine and sends out emails.
>>
>>And yes, I do sendmail -bi/newaliases every time :) And wrapper is
>>setuid etc etc. I am at a loss...
>>
>>Thanks in advance!
>>
>>-
>> /Mick Ohrberg
>> mick_ohrberg@output.net
>> Proprietary brain. Please put in shred bin only.
References:
|
|