We have a database server that does not have a mail system configured.
Some remote endusers have asked if they can have their reports emailed to them.
Can I use mailx without a mailserver. No Postfix/Sendmail configured on the unit.
All mail will be outgoing smtp. No incoming.
Having never used it before I cannot seem to get the syntax right.
The command I need to get working is something like:
nail -s "Requested Report" -smtp smtp.my.isp -a report.txt
joe@soap.com
But everytime I run it it just hangs. No error message, nothing.
I then have to Ctrl-C twice to get back to the command line.
Distro is OpenSuse Linux 9.2 (Soon to be upgraded I hope)
Do I have to configure a .mailrc directory for every user in their home directory?
Do I have to configure Sendmail or Postfix?
I would rather avoid that if possible.
There must be a simple solution!
Casey.