Mollien dot Net is IPv6 Enabled!

   My About.Me page
   View my profile on LinkedIn
   Follow me on Twitter
    View my Facebook profile   View my Hyves profile   View my YouTube favorites and uploads


IPv6 Certification Badge for Cas Mollien

Mail functions
Using MSMTP instead of Sendmail
For the average Trixbox setup, sendmail is being used to send voicemail messages out to the users. However, if your provider blocks port 25 outgoing or if you are using an internal mail server, it may be easier to use msmtp as the SMTP client.

The difference between the two is that sendmail is an MTA (Mail Transfer Agent) and msmtp is an MUA (Mail User Agent). Basically, this mean that msmtp is not a full 'email server', but acts more like an email client such as Outlook. For what most people are using Trixbox for, this is exactly the functionality that is needed.

msmtp is easy to configure and use by performing the following steps:

1) Login to Trixbox (shell) as root

2) Install msmtp:

3) Assuming that msmtp installed properly and assuming the following paths: /usr/sbin/sendmail and /user/bin/msmtp (use 'which' to check their location on your system), replace sendmail with msmtp:

4) Configure the system config file (usually located in /etc/msmtp):

5) Send a testmessage:

The result should end with a message like 'Message accepted for delivery'. some people have reported the need to put 'auth on' instead of 'auth plain', and commenting out all the tls lines to get this to work with their relay host.

6) Disable sendmail:
Type setup at the command prompt, go to services and uncheck sendmail.

7) Edit /etc/asterisk/
Change the 'serveremail' and 'fromstring' to what you would like to use and add the following to the bottom of the file:

The 'from' in this last line should be the account that you specified earlier in /etc/msmtprc

Save and reboot if necessary.

Thanks to the Trixbox forums! I have copied an excerpt of this information here to make it easy to find....
Found this script/snippet useful? Please consider buying me a beer - or something else useful..

Terug naar Mollien Dot Net

Terug naar Mollien Dot Net

Terug naar Mollien Dot Net
Total Hits: 1
Unique Visitors: 1
Page Impressions : 1
Remote address: