Saturday, August 29, 2009

Mail from command prompt using Axigen

http://www.axigen.com/kb/show/35

# 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:
/var/opt/axigen/run/axigen.cfg
webmail http://10.0.0.4:8000 / 10.0.0.4 for Axigen 7.2
webadmin: http://10.0.0.4:9000

CLI: telnet 10.0.0.4 7000