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

Re: [OT] sendmail FEATURE access_db - configuration help needed



On Sun, 8 Jul 2001, Jimmy Richards wrote:

> 	Greetings GNU/Linuxer's,
>
> 	I am hoping someone might be able to help me with the access_db
> feature in sendmail. Here's what I did to try and get it to work. I
> made a file /etc/mail/access containing one line followed by a newline,
> is the newline ok to have in there? (username changed to protect the
> guilty)
>
> spammer@yahoo.com       REJECT

Okay you NEED to have:
localhost                       RELAY
127.0.0.1                       RELAY

in the file as well

> makemap hash access < access
>
> Then I edited my sendmail.mc(inserted at bottom of this message) and
> ran sendmailconfig and said 'Y' to use the current sendmail.mc file.
> The config ran with no errors. Then I said yes to restart sendmail with
> the new config. Then I wrote myself an e-mail and tried to send it off.
> But the mailq command said 'Connection refused by localhost'....

Add those lines and do all that agin.

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */



Reply to: