Hi everyone,

Can I have default settings in my ~/.msmtprc from /etc/msmtprc?  It seems
to me I can't.

With the configuration files below, I get the following error:

        sendmail: account default from /home/lorcap/.msmtprc: host not set

If I merge everything in ~/.msmtprc, the messages go through.

# /etc/msmtprc
defaults
        maildomain      example.net
        host            foo.example.net
        domain          bar.example.net
        tls             on
        tls_certcheck   off
        auth            login

# ~/.msmtprc
account lorcap
        from            lorenzo.cappelle...@example.net
        user            lorcap
        password        passwd

account default : lorcap

--
Lorenzo
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to