Lonnie Abelbeck wrote:
> All,
>
> I got 0.4.3 to send my voicemail via SMTP... BUT, to make it work I  
> had to edit  "/etc/init.c/misc" and remove the comment '#' from the  
> 'maildomain' msmtp option.
>
> A snippet of /etc/init.c/misc is as follows:
>
> # SSMTP config generate...
> if [ "$SMTP_SERVER" ]
> then
> echo "# Auto generated MSMTP config file
> account default
> host $SMTP_SERVER
> auto_from on
> maildomain $DOMAIN" > /tmp/etc/msmtprc
>
> It would appear to me that if $DOMAIN (SMTP_DOMAIN in rc.conf) is set  
> then maildomain should be set.  The SMTP_DOMAIN global is not used  
> anywhere else is it?
>
>  From the msmtp docs it looks like maildomain needs to be set if  
> "auto_from on" is set.
>
> Additionally, SMTP_HOSTNAME is not used anymore.  Should it be  
> removed from rc.conf?
>   
Whoops!  I thought I changed that.  I missed it when I moved my stuff 
from my branch to trunk.  To fix this, mount your system rw, then edit 
/etc/init.d/misc and change line 92 to remove the # at the beginning of 
the line.

Remount your system read-only and reboot.

I just fixed this in trunk. 

SMTP_HOSTNAME should not be removed just yet.  It may be needed by some 
users and may require some additional changes in the future.  Additional 
testing is needed.

Darrick

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

_______________________________________________
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]

Reply via email to