Saturday, August 29, 2009

Mail from command prompt using Axigen

# ln -sf /opt/axigen/bin/sendmail /usr/lib/sendmail
# chown axigen:axigen sendmail
# chmod 6750 sendmail

Note: The chown command will reset the SUID and GUID bits, so you need to issue it before the chmod command.
At the end, in order for any user to be able to send e-mails using the command line sendmail wrapper, you need to insert the respective user in the axigen group.
In my case I added unix user "admin" to axigen and tested to see if I received any mail in axigen

To test:
echo "Coming home for dinner" | mail admin
mailx -s "Axigen conf file" admin < axigen.cfg

Additional some locations:
webmail / for Axigen 7.2

CLI: telnet 7000