Hi folks, Just to report back on this: I am now successfully getting voicemail email messages sent from my net4801 running AstLinux 0.4.0, after I added a minimally-configured msmtp as an MTA.
Short story is: If you have that same h/w and s/w, and your $SMTP_SERVER can safely accept mail from your net4801 without authentication, this hack might well work for you. For what it's worth, the longer story is: --- I ramped up enough to get the AstLinux development environment working locally. In the current SVN, msmtp is included but configured off; when I turned it on the linking blew up with problems about being unable to find something like gssapi_krb5. Which looks like a problem with authentication libraries that is (currently at least) way beyond my expertise to address. But my net4801 and my mail host talk on a private network anyway; I don't need SMTP authentication. Configuring msmtp with '--disable-ssl' allowed the build to succeed and got me a 58KB msmtp binary cross-compiled for the net4801. I copied that binary to /usr/sbin/msmtp in my existing 0.4.0 installation on the net4801, and experimented with getting it to work. The upshot there was that if I made these changes: (1) In /etc/rc.conf, set SMTP_SERVER, SMTP_HOSTNAME and SMTP_DOMAIN appropriately, but leave all the other SMTP_*'s commented-out. (2) In /etc/asterisk/voicemail.conf, set mailcmd=/usr/sbin/msmtp -C /tmp/etc/msmtprc -t (3) In /etc/init.d/misc at line 28, add chmod 600 /tmp/etc/msmtprc (and then rebooted), then voicemail emails started moving. --- It's a hack, but it works for me; a real solution needs at least a proper way to build msmtp against openssl or whatever. If any net4801 AstLinux users would like to play with the crippled msmtp I managed to build, under the usual conditions that if it breaks anything you get to keep all the pieces, send me an email offlist. Note I'm not set up to build binaries for any target except net4801. Step by step! Best, - Dave On 5/25/06, Dave Liszt <[EMAIL PROTECTED]> wrote: > On 5/25/06, Mark Phillips <[EMAIL PROTECTED]> wrote: > > Same problem here at KC2ENI. > > Thanks for the note (to David too); it's good to know > the issue isn't just me. > > > > > I find lots of dead.letter files littered in the /root directory after > > someone leaves me a VM. > > > > Could it be that the MTA was accidently left out? > > Has anybody got a working AstLinux 0.4-ish build > chain who could readily compile an ssmtp for > sc1100? Unless Kristian or somebody thinks > otherwise, it seems like that _might_ be all it > would take. (I guess I'm not sure if Mark and > David are on net4801's or what, actually.) > > I imagine the 0.3 ssmtp binary wouldn't carry over > due to the glibc/uclibc conversion. > > All of my own feeble attempts to get the AstLinux > build system from svn (most lately rev 127) going > on the boxes I have available (e.g., AMD64/Suse9.3) > have blown up spectacularly pretty much before > getting off home base. > > The Asterisk emailed-voicemail is often one of its > 'wow' features. It would be great if there was > somebody with enough AstLinux-fu who could > help get it going in 0.4.0. > > AstLinux rocks in any case. > > Thanks for any input. > > - Dave > > > > On Thu, 2006-05-25 at 11:19 +0100, David Caldwell wrote: > > > I too have followed a very similar path as Dave Listz and cannot > > > figure out how to get Asterisk to send emails after a voicemail has > > > been left. Do I need to install an MTA? Someone must have this working > > > somewhere! > > > > _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
