  | |  | IMAP POP3 problem... | IMAP POP3 problem... 2002-08-29 - By Steve Johnson
Back By default sendmail will only relay for the host that it is installed on. You need to go to /usr/mail and edit the access file. There you can add your domain "myserver.com " and set it to RELAY just like localhost, etc. Save the file and do a "make " at the terminal prompt That will rebuild the access.db file which sendmail will read when you restart it.
Find the sendmail pid to restart. [root@(protected) mail]# ps -ef | grep sendmail | grep -v grep root 822 1 0 16:23 ? 00:00:00 sendmail: accepting connections
Restart the pid and force sendmail to reread the access.db file. [root@(protected) mail]# kill -HUP 822
Now try sending that e-mail again.
You can monitor the maillog file while you are working/testing sendmail by simply issuing the following command.
[root@(protected) mail]# tail -f /var/log/maillog
Good Luck,
Steve Johnson
T Trudeau wrote:
>Also forgot to say that I am getting "relaying denied " returned e-mails that >I sent to the root@(protected) address. > > > >
|
|
 |