"Allan Bruce" <(E-Mail Removed)> wrote in message
news:c9lfjl$glj$(E-Mail Removed)
> 1) when trying to send a mail, I get the following message:
> "can not chdir(/var/spool/clientmqueue/): Permission denied Program
> mode requires special privileges, e.g., root or TrustedUser."
From ${source}/sendmail/SECURITY:
sendmail must be a set-group-ID (default group: smmsp, recommended
gid: 25) program to allow for queueing mail in a group-writable
directory. Two .cf files are required: sendmail.cf for the daemon
and submit.cf for the submission program. The following permissions
should be used:
-r-xr-sr-x root smmsp ... /PATH/TO/sendmail
drwxrwx--- smmsp smmsp ... /var/spool/clientmqueue
drwx------ root wheel ... /var/spool/mqueue
-r--r--r-- root wheel ... /etc/mail/sendmail.cf
-r--r--r-- root wheel ... /etc/mail/submit.cf
[Notice: On some OS "wheel" is not used but "bin" or "root" instead,
however, this is not important here.]
That is, the owner of sendmail is root, the group is smmsp, and
the binary is set-group-ID. The client mail queue is owned by
smmsp with group smmsp and is group writable. The client mail
queue directory must be writable by smmsp, but it must not be
accessible for others. That is, do not use world read or execute
permissions. ...
> 2) when receiving mail, I get:
> "erg.abdn.ac.uk... Unrecognized host name erg.abdn.ac.uk."
> I test this by telneting to sendmail, and typing
> "mail from (E-Mail Removed)"
What you typed is not an SMTP dialog.
tony
--
use hotmail for email replies