[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] aliases.db playing up



>> Try typing just 'newaliases'
>> 
>> -- 
>> Rik Thomas
> 
> 
> Thanks for the suggestion Rik. I got the following:
>
> newaliases: cannot open /etc/mail/aliases: Group writable file
> /etc/mail/aliases.majordomo: 15 aliases, longest 81 bytes, 688 bytes total
>

For the archive:

After thinking about this I tried:

chmod 644 aliases

makemap hash aliases < aliases

(which disabled incoming mail again - but leaving this step out made the
aliases fail to take effect)

newaliases

 - and that seemed to work fine!

Thanks again Rik for the pointer.




Please note, other newbies, try NOT to make the mistake of typing just

makemap hash aliases

- this caused a hang that needs a crtl-z to get out of. Following it up with

newaliases

caused a hang that ctrl-z would NOT get out of!

I fixed this by logging off, SSH-ing in again, deleting aliases and
aliases.db, recreating aliases from a copy I had on my local HD, then
starting again from the chmod step above.

Can anyone explain what actually happened?

Eddie Bishop