Richard G Riley <[EMAIL PROTECTED]> writes:

> Sivaram Neelakantan <[EMAIL PROTECTED]> writes:
>
>> Richard G Riley <[EMAIL PROTECTED]> writes:
>>
>>
>> [...]
>>
>>> I tried the solution here:
>>>

[...]

>
> OK, the problem is narrowed down.
>
> the account is correct. But its not matching the .msmtprc section.
> Instead it is dropping through to the default e.g
>
> ,----
> | account abc
> | user [EMAIL PROTECTED]
> | password abc123
> | 
> | account rgr
> | user [EMAIL PROTECTED]
> | password rgr123
> | 
> | account default : rgr
> `----
>
> in this case if the "from" is logged using message in the multi-smtp
> function then message correctly reports that account "abc" was selected
> into variable account. But the actual user & password picked up for the
> smtp chat with the gmail servers is that of rgr above : the default
> account.
>
> I have latest msmtp 1.4.13.
>
> This then makes me think there is indeed a problem with
>
> (setq message-sendmail-extra-arguments (list "-a" account))
>
> But examining it tells me
>
> message-sendmail-extra-arguments's value is ("-a" "abc")
>
> Is this correct? Has something changed here?
>
> So what else can I do to debug? I am dreading this being something so
> obvious with my config file.

Does your posting style look similar to this?

(setq gnus-parameters 
      '((".*news\\.gmane\\.org.*" 
         (visible . t) 
         (display . all) 
         (posting-style 
          (address "[EMAIL PROTECTED]") 
          (name "Sivaram Neelakantan") 
          (eval (setq message-sendmail-extra-arguments '("-a" "siva"))) 
          (user-mail-address "[EMAIL PROTECTED]"))) 
        (".*nnfolder:.*" 
         (posting-style 
          (address "[EMAIL PROTECTED]") 
          (name "Ssssss")
          (body "Sssss") 
          (eval (setq message-sendmail-extra-arguments '("-a" "sssss"))) 
          (user-mail-address "[EMAIL PROTECTED]"))))) 

Obviously, the sendmail args go into effect only when I *enter* the
specific folders.  The second argument is the account names in the
msmtprc file.

1.  Set the posting styles match for 2 different folders and check the
message-sendmail-extra-arguments value in each case (by entering the
folder) to see whether it changes from one value to the other.  If it
doesn't, fix your posting styles, first.

2.  Then send an email and check the logs and the sent mail folder on
gmail to check which smtp account it used.

The extra-args thingy goes into effect only when there is a match and
 that is achieved by entering a folder.


 sivaram
 -- 



_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to