It seems, gnus is more an old newsreader than a conventional mail client.
Roderick <hruodr@gmail.com> writes:
It seems, gnus is more an old newsreader than a conventional mail
client.
I have many mail accounts. When I start gnus, I do not want a
connection to every account, but to select first to what account to
connect for reading, and similar for writing mail. Just as is the
case for example with alpine.
Is there a standard way to do this?
Is there a way to tell gnus what init file to use instead of always
using .gnus? Sure, an elisp program in .gnus could do it, but is
there a standard way?
Now, sending mail (via an ESMTP(S) mail submission agent ā as is
commonly the case) is responsibility of smtpmail (rather than
Gnus proper.) I know of no proper way to handle multiple
accounts there; when necessary, I use commands like the
following.
Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
Ivan Shmakov <ivan@siamics.net> writes:
Now, sending mail (via an ESMTP(S) mail submission agent -- as is
commonly the case) is responsibility of smtpmail (rather than Gnus
proper.) I know of no proper way to handle multiple accounts there;
when necessary, I use commands like the following.
I tell Gnus to use sendmail and then have a local sendmail
replacement do the "routing". I've found masqmail to be both simple
and flexible for this. It can be configured to detect what SMTP
servers to use based on criteria such as how (or if) you are
connected to the Internet and what the From field of the outgoing
mail says. The only wrinkle is that you need the latest version as
the one packaged by many distros lacks this last crucial feature.
Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
Ivan Shmakov <ivan@siamics.net> writes:
Now, sending mail (via an ESMTP(S) mail submission agent -- as is
commonly the case) is responsibility of smtpmail (rather than Gnus
proper.) I know of no proper way to handle multiple accounts there;
when necessary, I use commands like the following.
I tell Gnus to use sendmail and then have a local sendmail
replacement do the "routing". I've found masqmail to be both simple
and flexible for this. It can be configured to detect what SMTP
servers to use based on criteria such as how (or if) you are
connected to the Internet and what the From field of the outgoing
mail says. The only wrinkle is that you need the latest version as
the one packaged by many distros lacks this last crucial feature.
As I see it, the primary benefit of using smtpmail.el is that
all the relevant functionality resides in Emacs, and thus can be
configured from there.
On the other hand, using a specialized "sendmail" implementation
means that other programs can send mail, too. (Which is,
incidentally, something I don't currently have much use for.)
Regarding masqmail specifically, it seems that it can only be
configured via a system-wide masqmail.conf file, which doesn't
feel all that convenient in multi-user environments. (Whereas
smtpmail.el is fully controlled by the user.)
Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
Ivan Shmakov <ivan@siamics.net> writes:
Regarding masqmail specifically, it seems that it can only be
configured via a system-wide masqmail.conf file, which doesn't feel
all that convenient in multi-user environments. (Whereas
smtpmail.el is fully controlled by the user.)
Yes, that's a problem. I had not thought to mention that. Thanks
for pointing it out. I am still looking for the perfect light-weight sendmail replacement.
I don't know if setting up links to a user-writable file would work
(I doubt it) for masqmail. I've never tried since I'm the admin on
the sole machine I use (though I do use multiple users accounts to
organise my work).
Out of curiosity, do you use multiple accounts solely to get
multiple $HOME directories, or do you actually find some use for
separate UIDs?
Personally, I use chroots somewhat extensively (typically, most
of the "payload" software on my systems is installed in chroot
environments, accessible via schroot(1); this tends to simplify
system upgrades in a way), and I do use different "home"
filesystems for different chroots. Hence, I effectively use a
single account (and UID), but several $HOME directories.
Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
Ivan Shmakov <ivan@siamics.net> writes:
Out of curiosity, do you use multiple accounts solely to get
multiple $HOME directories, or do you actually find some use for
separate UIDs?
Yes, just to organise things with different directories.
Personally, I use chroots somewhat extensively (typically, most of
the "payload" software on my systems is installed in chroot
environments, accessible via schroot(1); this tends to simplify
system upgrades in a way), and I do use different "home" filesystems
for different chroots. Hence, I effectively use a single account
(and UID), but several $HOME directories.
Sounds interesting but I did not understand anything but the actual
words. It looks like I should read up on this
Is there a standard way to do this?
I do it by configuring all the mailboxes I need (in *Group*:
I do it by configuring all the mailboxes I need (in *Group*:
G m Box RET nnimap:imap.example.com RET) and then āunsubscribingā
from them (u; note that this is /not/ the same as ākillingā, C-k).
Roderick <hruodr@gmail.com> writes:
And I am not searching for a lightweight sendmail,
but for a lightweight mailreader able to do todays normal things.
Roderick <hruodr@gmail.com> writes:
On Fri, 29 Jun 2018, Ivan Shmakov wrote:
I do it by configuring all the mailboxes I need (in *Group*: G m Box
RET nnimap:imap.example.com RET) and then āunsubscribingā from them
(u; note that this is /not/ the same as ākillingā, C-k).
What do you mean with Box above?
Is it possible to do it by editing .gnus?
Perhaps you can see what is the effect of that commands?
gnus-use-dribble-file nil
(setq gnus-select-method
'(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))
When I do "M-x gnus" in emacs, it *immediately* asks for password,
and after that, it shows all folders in my google account.
I do not want that it asks for password, but for an account to login,
and then it can ask for password.
I find Mutt a decent mail user agent, although I'm unsure if
it's really lightweight.
(Gnus, on the other hand, I wouldn't call "lightweight.")
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 435 |
Nodes: | 16 (2 / 14) |
Uptime: | 174:50:07 |
Calls: | 9,128 |
Calls today: | 7 |
Files: | 13,428 |
Messages: | 6,033,916 |