[asterisk-users] Attaching VoiceMails on E-Mails
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Fri Jul 27 02:30:56 CDT 2007
On Fri, Jul 27, 2007 at 10:17:08AM +0800, GNUbie wrote:
> Hello Marco,
>
> On 7/27/07, Marco Mouta <marco.mouta at gmail.com> wrote:
> >
> >hi,
> >
> >The
> >VoiceMail<http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+voicemail2>application uses
> >*/usr/sbin/sendmail* to mail voicemail messages to users. This can be any
> >sendmail-compatible MTA. In practice you can use
> >Sendmail<http://sendmail.org/>,
> >Postfix <http://postfix.org/>, Exim <http://www.exim.org/> or any other
> >MTA <http://www.voip-info.org/wiki/edit.php?page=Asterisk+voicemail+MTA>.
> >It is recommended to use the default one that comes with your distribution.
>
>
> If shall I say I'll use Exim4 here, what do I need to do then?
>
> > I would say if you just create your "own" sendmail.sh and place it
> >/usr/sbin/sendmail, asterisk will execute it by default, do not forget to
> >give permissions for asterisk user to execute it.
> >
>
> If I'll create this script, what will be its contents then? Currently, the
> /usr/sbin/sendmail is a symbolic link to /usr/sbin/exim4 for your
> information.
NO. YOU DON'T NEED TO.
exim already provides /usr/sbin/sendmail (this is handled through dpkg
diversions in Debian, IIRC). Any MTA package does. The next thing to do
is to see that you can send mail from the command-line, using:
mail -s test123 you at gnubie.com </dev/nulll
If this doesn't work, you may need to configure exim. Consider
/var/log/exim/mainlog (IIRC) and dpkg-reconfigure exim4-config
This is also a Linux / Debian question and not an Asterisk one...
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list