Here is some more info on these two problems


Backup script .../tmp/free-backup.ftp

user asterisk password
binary
lcd /var/lib/asterisk/backups/Now/
put 20081214.09.52.03.tar.gz
bye

(This doesn't seem to be working although the file is created in this directory)

................................................................
Bounce from attempt at outgoing email

Incoming mail

/var/spool/mail/asterisk
The original message was received at Sat, 13 Dec 2008 12:55:32 -0500
from pbx.local [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<[email protected]>

   ----- Transcript of session follows -----
550 5.1.2 <[email protected]>... Host unknown (Name server: .: host not 
found)
.....................................................................................



 =================================
 Henry L.Coleman [www.VoIP-PBX.ca]
 Tel: 647-723-5160 Ext.203
 =================================


{ Martin Glazer}
> When just sending email from an Asterisk server, I've found it easier to
> just replace sendmail with a simple MTA, like sSMTP
> (http://www.linux.com/feature/132006) or mSMTP
> (http://msmtp.sourceforge.net/)
>
> These allow me to do whatever is needed, login to ISP's, relay email
> through a smart host and send email without the configuration issues of
> sendmail.
>
> Sendmail is a very powerful package, and it can do a whole lot of stuff,
> but the ease of configuration leaves much to be desired. I'de suggest
> giving one of the alternatives a try.
>
> HTH
>
> Martin
>
> Douglas Pickett wrote:
>> Rogers Home Internet makes it even more complicated now.  They long
>> ago blocked SMTP direct connections to the outside.
>>
>> A quick test is to do a telnet to port 25 (SMTP) (most usefully to a
>> mail server somewhere beyond your ISP) and see if you get a connection:
>>
>> # telnet localhost 25
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> 220 bigblack.localdomain ESMTP Sendmail 8.14.2/8.14.2; Sun, 14 Dec
>> 2008 12:27:24 -0500
>>
>> If it is going to work you'll always get a message that starts with
>> "220" (in this case this is the local sendmail on the machine I
>> executed the command on - this should always work if your mail process
>> is running).
>>
>> For quite some time Rogers has also required that all outbound SMTP
>> connections be authenticated with the same username and password that
>> you use to download your email with POP3 (or to log into the web
>> interface).
>>
>> While it is supposed to be possible to do this with late-model
>> versions of sendmail I've yet to make it work in the time I've been
>> able to devote to it.  Postfix is supposed to support this with less
>> effort, but again I haven't had the time to check it out.
>>
>> Business class Internet services don't require this since they allow
>> port 25 (SMTP) connections outbound - at most you may find a need to
>> modify the /etc/mail/sendmail.mc file by setting the SMART_HOST value,
>> doing a make and restarting the sendmail daemon.
>>
>> Regards,
>> Doug
>>
>> ----- Original Message ----- From: "Andre Courchesne - Consultant"
>> <[email protected]>
>> To: <[email protected]>
>> Cc: <[email protected]>
>> Sent: Sunday, December 14, 2008 11:04 AM
>> Subject: Re: [on-asterisk] Freepbx problems
>>
>>
>>> Hi,
>>>
>>> 1. Are you able via the Linux commentd line to login and upload a
>>> file to the directory you have set in amportal.conf? Using the same
>>> credentials and upload path.
>>>
>>> 2. This is build-il but will rely on sendmail. If you plan to use
>>> something other than sendmail, you need to change the SEDNMAIL defile
>>> in voicemail.c in the apps directory, then recompile/re-install
>>> asterisk.
>>> What are the reject messages in var/log/maillog when asterisk tries
>>> to send an e-mail to gmail?
>>> Unless you have a business account with Rogers, you need to send the
>>> e-mails via their SMTP servers and this is done bt the smart_host
>>> settings in the sendmail config.
>>> You can test your sendmail config by executing the folloqing command:
>>>
>>> sendmail [email protected] </etc/amportal.conf
>>>
>>> Replace the [email protected] by your e-mail address then see
>>> what's the result in /var/log/maillog
>>>
>>> Andre
>>>
>>> Henry L.Coleman wrote:
>>>> Hi all, I have a couple of problems I'm working through that I can't
>>>> seem to resolve.
>>>>
>>>> 1.) FTP Backup to another (Windows Server)
>>>> Freepbx has a backup and restore feature that will save to a backup
>>>> directory or
>>>> an FTP server (by editing config in Amportal.conf). I have managed
>>>> to get the server to log on and go into
>>>> passive mode transfer but it just hangs there and times out. (no
>>>> warnings).
>>>> Am I missing anything?..Anything I should check?
>>>>
>>>> 2.) Sending Vmail as attachments. I am completely confused by this...
>>>> Do I need to have sendmail enabled or does * have this feature?
>>>> Voicemails are saved and can be retrieved by *97 or by the "User"
>>>> web interface but
>>>> I am having problems sending it as an attachment. Mail gets sent to
>>>> a google account but gets rejected.
>>>> My ITSP is Rogers so I not sure if they allow SMTP or do I need to
>>>> relay.
>>>> Confused:
>>>>
>>>> Henry
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  =================================
>>>>  Henry L.Coleman [www.VoIP-PBX.ca]
>>>>  Tel: 647-723-5160 Ext.203
>>>>  =================================
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to