Thank you for your response.
On Wednesday 03 March 2004 01:07 am, Daniel Liston wrote:
> The "unsafe map file" references more than just the file, the
> security in sendmail prevents it from using files in any directory
> that is writable by anyone but the owner too. The directories you
> need to check for 775 or 777 permissions and change them to 755 or
> 751 are "/", "/usr", "/usr/local", "/usr/local/majordomo", and
> "/usr/local/majordomo/lists".
I don't have full control over the server. I do have a dedicated IP
address. I couldn't check "/", but the other directories were (and are)
all 755.
> The out of date .cf file referred to is the sendmail.cf file. It
> would be my guess that sendmail has been updated on your machine,
> without any update to the sendmail.cf or the sendmail.mc for
> building the sendmail.cf file.
I agree with this. After writing this list and wondering if my web host
had updated sendmail, I also sent them a trouble ticket with the error
messages. The problem miraculously cleared itself up after that.
> You could/should change the sendmail.cf to point to a symbolic
> link to the majordomo aliases in /etc/mail instead of directly
> at the source file for those aliases. As root, execute these
> commands:
>
> ln -s /usr/local/majordomo/majordomo.aliases
> /etc/mail/majordomo.aliases
>
> then edit the sendmail.cf file looking for /usr/local/majordomo and
> replace it with /etc/mail. Now you can;
>
> newaliases
>
> and restart sendmail.
Thank you for your help. I will save this. In a short while, we will be
moving to a different server, and I will undoubtedly run into this
issue again. It has been a source of irritation to me that my web host
never admits there's a problem, so I can't learn what to do should a
same or similar problem occur. This is very helpful.
Diana
> Diana Kirk wrote:
> > I'm suddenly having a problem with permissions with my mailing
> > lists. I received the following "Returned mail" when trying to
> > submit a post:
> >
> > ----- The following addresses had permanent fatal errors -----
> >
> > :include:/usr/local/majordomo/lists/wordstar
> >
> > (expanded from: wordstar-list)
> >
> > ----- Transcript of session follows -----
> > 451 4.0.0 hash map "Alias1": unsafe map file
> > /usr/local/majordomo/majordomo.aliases.db: Permission denied 550
> > 5.2.4 :include:/usr/local/majordomo/lists/wordstar... Cannot open
> > /usr/local/majordomo/lists/wordstar: Permission denied
> >
> > I checked the files and they seemed fine. The permissions for
> > majordomo.aliases.db and majordomo.aliases are the same: 644. The
> > majordomo directory has a permission of 755.
> >
> > I ran newaliases and received the following message.
> >
> > Warning: .cf file is out of date: sendmail 8.12.9 supports version
> > 10, .cf file is version 9 /etc/mail/aliases: 7 aliases, longest 122
> > bytes, 592 bytes total hash map "Alias1": unsafe map file
> > /usr/local/majordomo/majordomo.aliases.db: Permission denied
> > WARNING: cannot open alias database
> > /usr/local/majordomo/majordomo.aliases Cannot create database for
> > alias file /usr/local/majordomo/majordomo.aliases
> >
> > Is the .cf file it's referrring to majordomo.cf or sendmail.cf?
> > What is hash map "Alias 1"? What do you suggest I do?
> >
> > Thanks for your help.
--
Diana Kirk
Registered Linux User #327485
Visit "WordStar & GNU/Linux"
http://www.wordstar2.com
Also, see the WordStar Users Group
http://www.wordstar2.com/cbabbage/wordstar
References:
|
|