Hi all, Can someone point me in the right direction to configuring sendmail to work with Asterisk voicemail and faxes? I did a bit of research on the web but came up more confused that when I started. It's the basic setup I'm having trouble with, where to add the SMTP and login and user name to sendmail to use a smart host in getting v-mail and faxes to the people they are going to. Thanks in advance. Chuck Keeter
Since all the asterisk program needs to do is send mail through smtp, and since using sendmail for this purpose is a bit like using Jeff Gordon's racing engine on a bicycle we opted to scrap sendmail and use msmtp. This is basically just an smtp engine. To our mail server, it looks just like any other smtp client. It's very easy to set up. After you have it working from the command line, simply remove the sendmail startup from init.d, rename the sendmail executable (I renamed mine sendmail.orig, and it's in /usr/sbin). msmtp installs itself in /usr/local/bin, so I created a link in the sbin directory to link msmtp to the filename sendmail in sbin. (ln -s /usr/local/bin/msmtp /usr/sbin/sendmail). That way whenever a program calls sendmail, it is in reality calling msmtp. It works like a charm. Hope this helps Bill On 4/29/05, Chuck Keeter <ckeeter@ufie.org> wrote:> Hi all, > > Can someone point me in the right direction to configuring sendmail to work > with Asterisk voicemail and faxes? > > I did a bit of research on the web but came up more confused that when I > started. > > It's the basic setup I'm having trouble with, where to add the SMTP and > login and user name to sendmail to use a smart host in getting v-mail and > faxes to the people they are going to. > > Thanks in advance. > > Chuck Keeter > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Sendmail isn't really that hard to configure for simple stuff like this. Most Linux distros have /etc/mail/sendmail.mc, so set your smart relay host and the appropriate masquerading options - the options for these are spelt out in the sendmail.mc file. If you want to receive bounces then also set it to listen on your network interface. Craig ----- Original Message ----- From: "Chuck Keeter" <ckeeter@ufie.org> To: "asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Saturday, April 30, 2005 11:16 AM Subject: [Asterisk-Users] Asterisk and sendmail> Hi all, > > Can someone point me in the right direction to configuring sendmail towork> with Asterisk voicemail and faxes? > > I did a bit of research on the web but came up more confused that when I > started. > > It's the basic setup I'm having trouble with, where to add the SMTP and > login and user name to sendmail to use a smart host in getting v-mail and > faxes to the people they are going to. > > Thanks in advance. > > Chuck Keeter > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users