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! | [reply] |
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.
| [reply] |
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!
| [reply] |
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.
| [reply] |