Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-2006, 11:52 PM
Captain Dondo
 
Posts: n/a
Default Migrating sendmail to a new server

I posted this to the c.m.sendmail group, but so far have had no responses,
so I am trying here. Hopefully someone can shed some light on this. I've
googled about, and basically I got a whole bunch of computer voodoo type
stuff, but nothing has helped. I suspect the Debian sendmail installation
process is really hosed.

I've been running a self-compiled version of sendmail quite happily for a
while. Unfortunately, that server died, so I decided to build a new
server, based on Debian Testing.

Rather than build sendmail again, I am using the sendmail version from the
testing repository.

I've taken my old .mc file, and rebuilt sendmail.cf on the new system,
which I've done before with no problems.

Now, however I get errors on every message:

Dec 3 21:45:43 dionysus sm-mta[5722]: kB45jgaN005722: SYSERR(root): hash map "Alias0": unsafe map file /etc/mail/aliases.db: Permission denied
Dec 3 21:45:43 dionysus sm-mta[5722]: kB45jgaN005722: SYSERR(root): collect: Cannot write ./dfkB45jgaN005722 (bfcommit, uid=0, gid=110): Permission denied

OK, fine, so somewhere I have a permissions problem. But I've been all
through the configuration and the spool files, and I have no idea where to
look anymore. Is anyone familiar with debian's sendmail and user stuff to
give me some advice?

The old server:

Version 8.13.2
Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SASLv2 SCANF USERDB
XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = tooth
(canonical domain name) $j = tooth.seiner.lan
(subdomain name) $m = seiner.lan
(node name) $k = tooth.seiner.lan
================================================== ======

The new server:

dionysus:/etc/init.d# sendmail -d0.1
Version 8.13.8
Compiled with: DNSMAP LDAPMAP LDAP_REFERRALS LOG MAP_REGEX MATCHGECOS
MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX
NEWDB NIS NISPLUS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
USERDB USE_LDAP_INIT XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = dionysus
(canonical domain name) $j = dionysus.seiner.lan
(subdomain name) $m = seiner.lan
(node name) $k = dionysus
================================================== ======
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:29 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.