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

Re: Sendmail Problem + DNS



On Mon, Jul 02, 2001 at 12:48:48AM -0700, Rolf MOLUH wrote:
> I am transferring my mail server to a new linux box.
> I have just copied my main system files from the old
> server. I am now trying tests.

If you have changed versions of linux then it's probably best not to copy
over sendmail.cf (you could end up running a newer version of sendmail with
an old config file). Better to use the default sendmail.cf which came with
it, or rebuild a new one from m4 configuration.

> mailer=local, pri=30197, dsn=5.0.0, stat=Can't create output
                                           ^^^^^^^^^^^^^^^^^^^
Check permissions on /var/spool/mail:

# ls -ld /var/spool/mail

You might find that only programs in group mail can create files in there,
and sendmail's local delivery agent might not have this privilege.

Depending on your system, the solution might be to set world-write with the
sticky bit (chmod 1777 /var/spool/mail). This lets any user create files in
this directory, but stops one user from deleting another user's mail.

However, the mail permissions _should_ already have been set up correctly,
which is why I suspected that you might be running with the wrong
sendmail.cf.

Or for an easier life, switch to exim :-)

Brian.

-----
This is the afnog mailing list, managed by Majordomo 1.94.4

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org