From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Fri, 08 Jun 2007 16:43:59 -0700 Subject: [sup-talk] multiple accounts In-Reply-To: <1180321628-sup-8630@south> References: <1179909888-sup-1320@doses> <1180321628-sup-8630@south> Message-ID: <1181345284-sup-5160@south> Excerpts from William Morgan's message of Sun May 27 20:15:55 -0700 2007: > Excerpts from Brian's message of Wed May 23 01:49:58 -0700 2007: > > What should config.yaml look like for multiple accounts? I have > > several accounts that use different SMTP relays. My plan is to do > > stuff like :sendmail: /usr/bin/nbsmtp -c > > /home/brian/.nbsmtp_brian_lorf_org in each account, but I don't > > understand how to make sup use any account other than :default:. Oh, there actually is a good answer for this. I forgot that the one part of the multiple accounts stuff that is actually functional is the sendmail aspect. For each different account, add an entry under the :accounts: section of config.yaml, copying the fields from the :default: block. E.g.: :account_name: :name: A Name :signature: /home/whatever/.signature :alternates: [] :email: email at address :sendmail: /sendmail/command So this should be a sibling of the :default: block. The :account_name: thing should be something unique, but can be anything---it's not used other than to distinguish them. Then when you send mail with a From: line set to the primary (or an alternate) email address of an account, sup will use the corresponding sendmail command. I just gave it a quick try and it seemed to work, but test it before accidentally spamming your boss. The next step will be to be able to select a From address from a list when composing (so that the right signature can be put in). -- William