[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[msmtp-users] Settings don't cross file boundaries



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.cappelletti@...343...
        user            lorcap
        password        passwd

account default : lorcap

--
Lorenzo