Chen Jervy-qch1408 wrote:
> Dan,
>
> Thanks for your help, the following is answer, please try to give me more point form you.
> 1. Upgrade majordomo to 1.94.5 (or higher)
> This is my deadline to follow it.
> 2. You appear to be using a sendmail 8.8.5 config file with 8.12.8
> I use 8.12.8 sendmail.cf
DZ8.12.8
> 3. Use "O AliasFile=/etc/mail/majordomo_aliases" in sendmail.cf
> I tried it but failed
Please describe "failed". I use this successfully;
O AliasFile=/etc/aliases,/etc/mail/majordomo.aliases
The same could be written as two separate lines like;
O AliasFile=/etc/aliases
O AliasFile=/etc/mail/majordomo.aliases
> 3a. Create a symbolic link from your majordomo_aliases to /etc/mail
> It could not work anymore.
I do not understand what you mean. Majordomo could not work, or sendmail?
lrwxrwxrwx 1 root root 31 May 5 2002 /etc/mail/majordomo.aliases -> ../../var/lib/majordomo/aliases
> 4. Restart sendmail
>
>
> Now, I resolved some problems, I used "majordomo" account to replace "smmsp" in sendmail, so aliases can work as normal.
>
> But web interface (majorcool) could not work for all features, it always displayed permission error as the following messages in IE.
> : ABORT
> shlock: '/usr/majordomo/majordomo-1.94.4' is not writable by UID 60001 GID 60001
>
> Recipient names must be specified
>
> #ls -ld /usr/majordomo/majordomo-1.94.4
> drwxr-xr-x 13 majordomomajordomo 2048 Mar 5 21:06 /usr/majordomo/majordomo-1.94.4
>
> 60001 is "nobody" account & group, it seems that sendmail audit more strictly.
Sendmail is definitely more strict on security than it used to be. You might have to
reconfigure your majorcool to run as the majordomo user and group.
Dan Liston
>
> Kind Regards
> Jervy Chen
>
> * Fear can hold you prisoner *
> * Hope can set you free *
>
>
> -----Original Message-----
> From: Daniel Liston [mailto:dliston@sonny.org]
> Sent: Thursday, March 06, 2003 2:33 AM
> To: Chen Jervy-qch1408
> Cc: Majordomo-Users@greatcircle.com
> Subject: Re: majordomo problem after upgrading the sendmail to 8.12.8
>
>
> Hi,
>
> Several points here,
>
> 1. Upgrade majordomo to 1.94.5 (or higher)
> 2. You appear to be using a sendmail 8.8.5 config file with 8.12.8
> 3. Use "O AliasFile=/etc/mail/majordomo_aliases" in sendmail.cf
> 3a. Create a symbolic link from your majordomo_aliases to /etc/mail
> 4. Restart sendmail
>
> Dan Liston
>
>
> Chen Jervy-qch1408 wrote:
>
>>Hello, guys,
>>
>>Could anybody help me to resolve the following problem? Any idea will be
>>appreciated!
>>
>>I am majordomo admin and have a majordomo server (Sun Ultra 2),
>>majordomo 1.94.4 and sendmail 8.8.5 installed on it, it works fine for 2
>>years already after I setup it. The following is my setting before in
>>/etc/mail/sendmail.cf.
>>
>>OA/usr/majordomo/majordomo-1.94.4/majordomo_aliases
>>
>>Now, for the security reason, I have to upgrade sendmail from 8.8.5 to
>>8.12.8, I finished it already and added the above line in sendmail.cf
>>also but majordomo could not work as normal. The following is error
>>message when I try to send mail to majordomo list but it can send email
>>to normal user successfully.
>>
>>Mar 5 11:55:44 zchps01 sendmail[764]: h253tip9000764: SYSERR(root): dbm
>>map "Alias0": unsafe map file
>>/usr/majordomo/majordomo-1.94.4/majordomo_aliases: No such file or directory
>>
>>Here is the output when I try to send out majordomo list.
>>
>># /usr/lib/sendmail -v -bi
>>WARNING: World writable directory /var/spool/mqueue
>>/etc/mail/aliases: 9 aliases, longest 52 bytes, 294 bytes total
>>WARNING: Group writable directory /usr/majordomo
>>WARNING: Group writable directory /usr/majordomo/majordomo-1.94.4
>>newaliases: cannot open
>>/usr/majordomo/majordomo-1.94.4/majordomo_aliases: Executable files not
>>allowed
>>
>># /usr/lib/sendmail -v test
>>.
>>test... Connecting to [127.0.0.1] via relay...
>>220 majordomo.motor.com ESMTP Sendmail 8.12.8/8.12.8; Wed, 5 Mar 2003
>>14:46:36 +0800 (CST)
>> >>> EHLO majordomo.motor.com
>>250-majordomo.motor.com Hello localhost [127.0.0.1], pleased to meet you
>>250-ENHANCEDSTATUSCODES
>>250-PIPELINING
>>250-EXPN
>>250-VERB
>>250-8BITMIME
>>250-SIZE
>>250-DSN
>>250-ETRN
>>250-DELIVERBY
>>250 HELP
>> >>> MAIL From:<root@majordomo.motor.com <mailto:root@majordomo.motor.com>>
>>250 2.1.0 <root@majordomo.motor.com
>><mailto:root@majordomo.motor.com>>... Sender ok
>> >>> RCPT To:<test@majordomo.motor.com <mailto:test@majordomo.motor.com>>
>> >>> DATA
>>250 2.1.5 <test@majordomo.motor.com
>><mailto:test@majordomo.motor.com>>... Recipient ok (will queue)
>>354 Enter mail, end with "." on a line by itself
>> >>> .
>>250 2.0.0 h256ka8v002492 Message accepted for delivery
>>test... Sent (h256ka8v002492 Message accepted for delivery)
>>Closing connection to [127.0.0.1]
>> >>> QUIT
>>221 2.0.0 majordomo.motor.com closing connection
>>
>># mailq
>> /var/spool/mqueue (1 request)
>>-----Q-ID----- --Size-- -----Q-Time-----
>>------------Sender/Recipient-----------
>>h256ka8v002492 0 Wed Mar 5 14:46 <root@majordomo.motor.com
>><mailto:root@majordomo.motor.com>>
>> (dbm map "Alias1": unsafe map file
>>/usr/majordomo/majordomo-1)
>> <test@majordomo.motor.com
>><mailto:test@majordomo.motor.com>>
>> Total requests: 1
>>
>>
>>
>>
>>Kind Regards
>>Jervy Chen
>>* Fear can hold you prisoner *
>>* Hope can set you free *
>
References:
|
|