On Mar 16, 2010, at 1:28 AM, Tod Fitch wrote:
> Thanks! Got it working.
>
> I had looked through the tabs on the web interface for email setup but
> did not see anything obvious.
Tod,
In the web interface...
Network Tab -> External SMTP Smart Host:
There are 6 "SMTP..." settings. No need to edit the rc,conf file if you are
using the web interface for external SMTP relay support.
> It did not occur to me to look into
> editing the contents of rc.conf.
>
> One question on that: I see a bunch of restart/reload options on the
> "edit" page but none directly state they are appropriate for use after
> editing rc.conf. And none appear, at least by name, to indicate a full
> reboot of the box. Which should be used?
The Edit tab allows many services to be restarted/reloaded as you mentioned.
Both the Network tab and System tab support a "System Reboot", in addition the
System tab supports a scheduled reboot within the next 24 hours.
When using the web interface, and you need to define variables that the web
interface does not directly support, click on...
Network Tab -> Advanced Configuration: -> User System Variables: {Edit User
Variables}
This edits the "/mnt/kd/rc.conf.d/user.conf" file. When concatenated with the
other rc.conf.d/* files, it overrides any previously set variable(s).
Also, when using the CLI, keep this in mind:
http://doc.astlinux.org/userdoc:tt_editable_files
Lonnie
> I ended up using the command
> line to issue a reboot command to get the email settings to "take". I
> guess you could go to the "System" page and issue the reboot there but
> if you are staring at the "Edit" page that might not occur to you.
>
> -TF
>
>
>
> On Mar 15, 2010, at 9:22 PM, Darrick Hartman wrote:
>
>> Tod,
>>
>> AstLinux has used and continues to use msmtp for sending email. If
>> you
>> are using the web interface, setting this up is pretty intuitive. If
>> you are using the CLI, the SMTP related settings need to be changed in
>> /mnt/kd/rc.conf (or rc.conf.d/*.conf). Please note that if the
>> /mnt/kd/rc.conf.d directory exists, the files in that directory are
>> used
>> instead of the /mnt/kd/rc.conf.d file.
>>
>> Sendmail does not exist on an AstLinux box (and it never has).
>> 'sendmail' is a symbolic link to msmtp which can operate in 'sendmail'
>> mode to allow sending of emails from the CLI or a script with a valid
>> configuration file.
>>
>> Looks like we need some notes about this area on the Documentation
>> site
>> (http://doc.astlinux.org)
>>
>> Darrick
>>
>> On 03/15/2010 06:41 PM, Tod Fitch wrote:
>>> I did a "forklift" replacement of my working Astlinux 0.6.4 by
>>> doing a
>>> fresh install on a new CF, bringing up the box with the new CF, then
>>> copying my Asterisk configuration files over.
>>>
>>> Everything seemed to work but now I realize that voice mail is no
>>> longer
>>> being emailed. Logging into the box and playing around, I find that
>>> using
>>> /usr/sbin/sendmail to send a test email does not work either:
>>>
>>> pbx ~ # cat test | /usr/sbin/sendmail -t
>>> sendmail: account default not found: no configuration file available
>>>
>>> (No mail showing up in my user account, no indication in the mail
>>> server's
>>> log that an attempt was made, etc.)
>>>
>>>> From doing a Google search, it looks like that message is not
>>>> necessarily
>>> bad. I did install a known working sendmail.cf file into /etc but
>>> did not
>>> make any difference.
>>>
>>> I'm used to looking at /var/log/mail.log for mail issues but that
>>> file
>>> does not on the box. Nor to I see any mail related entries in
>>> /var/log/messages and all the things I'd normally expect for
>>> sendmail in
>>> /var/spool/mail don't exist either.
>>>
>>> How do I get this to work in Astlinux 0.7.0?
>>>
>>> Thanks!
>>> TF
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].