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

[msmtp-users] generate the 'From:' header if missing



Hi list! I recently switched to yahoo.co.uk mail. My recipients
receive e-mails from me without the 'From:' header. ('Return-Path:' is
set correctly though). This didn't happen with other e-mail providers.
I've set the "from" option and "auto_from" isn't set, but that doesn't
help. If I add the header to the message myself, all is fine, but I
don't wan't to, I want to freely switch the accounts.
Can msmtp create the missing header?


received:
    Delivered-To: b********@gmail.com
    Received: by 10.100.211.16 with SMTP id j16cs189412ang;
            Thu, 19 May 2011 13:08:44 -0700 (PDT)
    Received: by 10.227.182.79 with SMTP id cb15mr3530752wbb.49.1305835723862;
            Thu, 19 May 2011 13:08:43 -0700 (PDT)
    Return-Path: <s*****@yahoo.co.uk>
    Received: from nm7-vm0.bullet.mail.ukl.yahoo.com (nm7-vm0.bullet.mail.ukl.yahoo.com [217.146.183.236])
            by mx.google.com with SMTP id p11si5788173wen.123.2011.05.19.13.08.43;
            Thu, 19 May 2011 13:08:43 -0700 (PDT)
    Received-SPF: neutral (google.com: 217.146.183.236 is neither permitted nor denied by best guess record for domain of s*****@yahoo.co.uk) client-ip=217.146.183.236;
    Authentication-Results: mx.google.com; spf=neutral (google.com: 217.146.183.236 is neither permitted nor denied by best guess record for domain of s*****@yahoo.co.uk) smtp.mail=s*****@yahoo.co.uk
    Received: from [217.146.183.215] by nm7.bullet.mail.ukl.yahoo.com with NNFMP; 19 May 2011 20:08:43 -0000
    Received: from [77.238.184.63] by tm8.bullet.mail.ukl.yahoo.com with NNFMP; 19 May 2011 20:08:43 -0000
    Received: from [127.0.0.1] by smtp132.mail.ukl.yahoo.com with NNFMP; 19 May 2011 20:08:43 -0000
    X-Yahoo-Newman-Id: 280531.91055.bm@...260...
    Message-ID: <280531.91055.bm@...260...>
    Date: Thu, 19 May 2011 20:08:43 +0000 (GMT)
    Received: from localhost (s*****@109.205.253.224 with plain)
            by smtp132.mail.ukl.yahoo.com with SMTP; 19 May 2011 20:08:42 +0000 GMT
    X-Yahoo-SMTP: oPv5XWGswBBBzE8vNWQvaIRa0w--
    X-YMail-OSG: i3NgVi4VM1mrttbt33tHMwgIHcV5F6qDymlLdZNJBp2B6SG
     SuhhA5kFK2sIgXqmiSdAhw3csIS2UNhMsRYRVK7Y2wKBDopRQWx1BuBewEpi
     _Pjwi9h26S3MwNzUuZrj.u_mMWj3tWDy_X.TkmWA.RN1WZrOf9Glbt6pJ_pd
     PGEOq13Ppg4q7F6d4KzmlBs1OViXp5OiJ8R2Tyf95bgFarJnfgt6gCe7qcBT
     peSLwqa7R.yWUEjXDs1zghvimiII1bScBnU1L.MmBYf6qTACV5KujNXqs
    X-Yahoo-Newman-Property: ymail-3
    To: b********@gmail.com
    Subject: page title: 

    Hi!
    Please note that the title of page

    has changed from:

    to


    Have a nice day.
    zzzzzzzzzzzzzzz
    zzzzzzzzzzzzzzz
    zzzzzzzzzzzzzzz
    zzzzzzzzzzzzzzz


.msmtprc:
    account s*****@yahoo.co.uk
    host smtp.mail.yahoo.co.uk
    port 465
    tls on
    tls_certcheck off
    tls_starttls off
    from s*****@yahoo.co.uk
    auth on
    user slynd3
    password *

sent:
msmtp -a s*****@yahoo.co.uk -t -d -- < testmail
    ignoring system configuration file /etc/msmtprc: Нет такого файла или каталога
    loaded user configuration file /home/il/.msmtprc
    using account s*****@yahoo.co.uk from /home/il/.msmtprc
    host                  = smtp.mail.yahoo.co.uk
    port                  = 465
    timeout               = off
    protocol              = smtp
    domain                = localhost
    auth                  = choose
    user                  = slynd3
    password              = *
    passwordeval          = (not set)
    ntlmdomain            = (not set)
    tls                   = on
    tls_starttls          = off
    tls_trust_file        = (not set)
    tls_crl_file          = (not set)
    tls_fingerprint       = (not set)
    tls_key_file          = (not set)
    tls_cert_file         = (not set)
    tls_certcheck         = off
    tls_force_sslv3       = off
    tls_min_dh_prime_bits = (not set)
    tls_priorities        = (not set)
    auto_from             = off
    maildomain            = (not set)
    from                  = s*****@yahoo.co.uk
    dsn_notify            = (not set)
    dsn_return            = (not set)
    keepbcc               = off
    logfile               = (not set)
    syslog                = (not set)
    reading recipients from the command line and the mail
    TLS certificate information:
        Owner:
            Common Name: smtp.mail.yahoo.co.uk
            Organization: Yahoo! Inc.
            Organizational unit: Yahoo
            Locality: Santa Clara
            State or Province: California
            Country: US
        Issuer:
            Organization: Equifax
            Organizational unit: Equifax Secure Certificate Authority
            Country: US
        Validity:
            Activation time: Птн 19 Янв 2007 20:46:04
            Expiration time: Чтв 19 Янв 2012 20:46:04
        Fingerprints:
            SHA1: 06:9E:B0:03:AC:77:8C:64:5E:A2:49:F5:A9:43:87:EC:9D:D3:6C:A0
            MD5:  EA:FF:2A:57:55:DB:15:BC:4A:73:2B:0C:EE:91:99:72
    <-- 220 smtp132.mail.ukl.yahoo.com ESMTP
    --> EHLO localhost
    <-- 250-smtp132.mail.ukl.yahoo.com
    <-- 250-AUTH LOGIN PLAIN XYMCOOKIE
    <-- 250-PIPELINING
    <-- 250 8BITMIME
    --> AUTH PLAIN AHNseW5kMwAzNGI4OWE=
    <-- 235 OK, go ahead
    --> MAIL FROM:<s*****@yahoo.co.uk>
    --> RCPT TO:<b********@gmail.com>
    --> DATA
    <-- 250 OK , completed
    <-- 250 OK , completed
    <-- 354 Start Mail. End with CRLF.CRLF
    --> To: b********@gmail.com
    --> Subject: page title: 
    --> 
    --> Hi!
    --> Please note that the title of page
    --> 
    --> has changed from:
    --> 
    --> to
    --> 
    --> 
    --> Have a nice day.
    --> zzzzzzzzzzzzzzz
    --> zzzzzzzzzzzzzzz
    --> zzzzzzzzzzzzzzz
    --> zzzzzzzzzzzzzzz
    --> .
    <-- 250 OK , completed
    --> QUIT
    <-- 221 Service Closing transmission