Hi people
I got this problem on my ssmtp ( Debian 2.6.8 ) A few days ago I install ssmtp on my debian. but when I try sending a message
#ssmtp karlo@gmail.com
subj: Test
I'm testing this
[[ hi ]]
I got this and the mail is not delivered
ssmtp: cannot open 192.168.2.30:25
this is my ssmtp.conf
root=postmaster
mailhub=192.168.2.30
rewriteDomain=asterisk
hostname=debian
FromLineOverride="YES"
I don’t know if the parameter hostname is OK, the default was localhost.localdomain
What could it be the problem? with this configuration
ssmtp is Ok, or it’s better try another one and which one?
I just need to send the message not attachment.
regards
Dovid
January 22, 2007, 10:00am
2
I dont know much about ssmtp but from the error it seems that it is trying to connect to 192.168.2.30 (which I asume is the outbound mail server) and it cant. There can be many reasons for this. Is the service running, is there a firewall, is there smtp authentication ?
well
my ssmtp is working Ican send messages from my command line
http://gentoo-wiki.com/HOWTO_Gmail_and_sSMTP
http://forums.gentoo.org/viewtopic-p-3011748.html
http://forums.gentoo.org/viewtopic-t-412468.html
but …
I have to add something else to my voicemail.conf or other
sip.conf
[general]
language=es
disallow=all
allow=gsm
allow=ilbc
[2030]
…
mailbox=2030@prueba
[2031]
…
mailbox=2031@prueba
extensions.conf
[prueba]
exten=>2030,1,Dial(SIP/2030,20)
exten=>2030,2,Voicemail(u2030)
exten=>2030,102,Voicemail(b2030)
exten=>2030,103,Hangup
exten=>2031,1,Dial(SIP/2031,20)
exten=>2031,2,Voicemail(u2031)
exten=>2031,102,Voicemail(2031)
exten=>2031,103,Hangup
voicemail.conf
[general]
format=gsm
fromstring= text …
emailsubject=[PBX] text …
emailbody= text …
searchcontext=yes
attach=no
sendvoicemail=yes
[prueba]
2030=>123,Cali,karlocha...@gmail.com
2031=>123,Antonio, karlocha…@gmail.com
what could it be?
I can’t see how it’s anything asterisk-related. You try connecting to the mailhub host on port 25 and get “connection refused”. That means there is no mail server listening to the smtp port on 192.168.2.30.
hey guys it’s working very good I got all the messages
just a little
new question when the mail is in the inbox I got with this information in the subjct
Subject
(no subject)
my question is
how can I change to this for example
Subject
New Voice Message
What I have to change? what I have to edit?