[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msmtp and multiple smtp servers
From: |
Sivaram Neelakantan |
Subject: |
Re: msmtp and multiple smtp servers |
Date: |
Sat, 10 Nov 2007 21:51:34 +0530 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (windows-nt) |
Richard G Riley <rileyrgdev@gmail.com> writes:
> Sivaram Neelakantan <nsivaram.net@gmail.com> writes:
>
>> Richard G Riley <rileyrgdev@googlemail.com> 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 abc@gmail.com
> | password abc123
> |
> | account rgr
> | user rgr@gmail.com
> | 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 "nsivaram.xxxxxx@gmail.com")
(name "Sivaram Neelakantan")
(eval (setq message-sendmail-extra-arguments '("-a" "siva")))
(user-mail-address "nsivaram.xxxx@gmail.com")))
(".*nnfolder:.*"
(posting-style
(address "sssss@gmail.com")
(name "Ssssss")
(body "Sssss")
(eval (setq message-sendmail-extra-arguments '("-a" "sssss")))
(user-mail-address "ssssss@gmail.com")))))
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
--
- msmtp and multiple smtp servers, Richard G Riley, 2007/11/08
- Re: msmtp and multiple smtp servers, Exal de Jesus Garcia Carrillo, 2007/11/08
- Re: msmtp and multiple smtp servers, Richard G Riley, 2007/11/08
- Re: msmtp and multiple smtp servers, Exal de Jesus Garcia Carrillo, 2007/11/08
- Re: msmtp and multiple smtp servers, Richard G Riley, 2007/11/08
- Re: msmtp and multiple smtp servers, Exal de Jesus Garcia Carrillo, 2007/11/08
- Re: msmtp and multiple smtp servers, Richard G Riley, 2007/11/09
- Re: msmtp and multiple smtp servers, Sivaram Neelakantan, 2007/11/09
- Message not available
- Re: msmtp and multiple smtp servers, Richard G Riley, 2007/11/09
- Message not available
- Re: msmtp and multiple smtp servers, Richard G Riley, 2007/11/10
- Re: msmtp and multiple smtp servers,
Sivaram Neelakantan <=
- Message not available
- Re: msmtp and multiple smtp servers, Richard G Riley, 2007/11/10