I wrote a user administration thingy that adds a user to the system, creates a MySQL account, rebuilds the NIS user list, then emails all the relevant info to the new user. The problem lies in sending the email. On the computer I'm working on now, it works fine; I get the test email (not sent locally) within a minute. I should note here that I'm using a Perl interface (Mail::Send) which, I think, uses sendmail. Anyway, when I try to run the script on the new server we have, sending the message takes longer than normal and never gets to its destination.
Additionally, this works on my current workstation but not the server:
Code:
echo test | /usr/bin/mail -s 'sub' -r '<email-address>'
I really just want to send the message to the university's SMTP server and let it handle the message from there. Is there some kind of configuration option I'm missing? Thanks.
Andrew