Quote:
Originally Posted by penguiniator
You can use nail and msmtp together. nail as the client and msmtp for pop access to your isp. Nail supports attachments.
|
I have configured msmtp like this :
Code:
[root@asterisk ~]# cat .msmtprc
# Set default values for all following accounts.
defaults
tls on
logfile ~/.msmtp.log
# The SMTP server of the provider.
account default
host uit.telenet.be
auth on
user my_username
password my_password
tls on
I have configured mutt like this :
Code:
[root@asterisk ~]# cat .muttrc
# use msmtp
set sendmail="/usr/local/bin/msmtp"
This is the error I get :
Code:
[root@asterisk ~]# mutt -s "test LOG" -a /var/log/asterisk/verbose jonas.kellens@telenet.be < /dev/null
Error sending message, child exited 78 ().
Segmentation fault
I have no ~/.msmtp.log...
I followed the guide :
http://msmtp.sourceforge.net/doc/mutt+msmtp.txt
UPDATE :
I have modified some things and now I am able to send mail to my external account :
Code:
May 04 20:37:06 host=uit.telenet.be tls=off auth=off from=jonas.kellens@telenet.be recipients=jonas.kellens@telenet.be mailsize=460276 smtpstatus=250 smtpmsg='250 2.0.0 Message accepted for delivery (nWeL1b0064HBdq606WeLUa)' exitcode=EX_OK
Although I have set the sender to 'jonas', sender in mail stays 'root'...