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

You can't enable a relay on a mailserver by yourself, this has to be done by the admin. Relaying means, that the mailserver accepts your email and lets it pass through to the next. Open relays are the most common reason for spam. You may have to contact the mail server admin.
  • Comment on Re: How does one override 550 relays for Mail::Sendmail?

Replies are listed 'Best First'.
RE: Re: How does one override 550 relays for Mail::Sendmail?
by PipTigger (Hermit) on Jun 21, 2000 at 11:00 UTC
    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!
      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!
Re: Re: How does one override 550 relays for Mail::Sendmail?
by juo (Curate) on Sep 21, 2001 at 19:55 UTC

    The reaseon why it cannot relay is because the smtp server requires an authentication to send the email out. This authentication is the user name and password. Is their a way to pass through the user name and password to the SMTP server in Perl.