in reply to Re: How does one override 550 relays for Mail::Sendmail?
in thread How does one override 550 relays for Mail::Sendmail?

The server is mine. How do I administrate the mail server myself? ... to avoid spam but to let me mail stuff from scripts?

-PipTigger

p.s. Byslexia is a Ditch!
  • Comment on RE: Re: How does one override 550 relays for Mail::Sendmail?

Replies are listed 'Best First'.
RE: RE: Re: How does one override 550 relays for Mail::Sendmail?
by le (Friar) on Jun 21, 2000 at 11:13 UTC
    First, mailservers are not a toy. If your mailserver is always connected to the net, you should be aware of what you're doing. O'Reilly offers an excellent Sendmail book, that should help you learn. Next, if the mailserver is on the same machine as the script engine, it shouldn't be a problem. I can't tell from here, why you get 550s, but what does your /etc/mail/access say? Something like "127.0.0.1 relay"? That would be the correct entry for localhost.
      I didn't have a mail/ in my /etc/ so I grepped for "relay" and found exim.conf which seems to contain the appropriate mail settings. Do I need to restart Inetd somehow so that these changes (ie. allowing localhost relays) can take effect? Thanks very much for your help. TTFN & Shalom.

      -PipTigger

      p.s. Byslexia is a Ditch!
        Oh, so you're not using sendmail but exim... I don't know anything about exim, maybe it's started from inetd, maybe from some rc startup file. Do a ps -ax | grep exim to find out if it's already running, or look into /etc/inetd.conf for exim.

        HTH.