Re: Disabling sendmail for local delivery

Subject: Re: Disabling sendmail for local delivery
From: Paul J. Lucas (
Date: Thu May 03 2001 - 09:09:36 MDT

On Mon, 30 Apr 2001, Gawain Reifsnyder wrote:

> We've got a colocated YDL web server which often needs to send mail output
> from cron jobs and PHP scripts. However, we're using our ISP for our mail
> services.

        Meaning what, exactly? Your box doesn't need any other to send
        or receive mail.

> Since our webserver thinks *it* should receive mail for say,
>, mail sent to that user from a script fails with a
> "mail loops back to me" message.
> How do I configure sendmail to ignore mail sent to the local domain(s)?

        In /etc/mail/access:

                localhost.localdomain OK
                localhost OK

        In /etc/


        In your config file (the thing you use to generate
        your file), you need to have:


        Then rebuild your file.

        - Paul

This archive was generated by hypermail 2a24 : Thu May 03 2001 - 08:14:38 MDT