Re: Using a sendmail replacement?
On Sat, Feb 20, 2016 at 08:45:19PM +0100, Gabriel Philippe wrote: > I found nullmailer, but it is designed for a system-wide use: > conffiles in /etc/, stuff in /var, etc. I'm not sure I would manage to > have it work differently. > > Any idea? I am using msmtp[1] for this. You can keep its configuration entirely in $HOME. -- [1] http://msmtp.sourceforge.net/
Re: Using a sendmail replacement?
On Sat, Feb 20, 2016 at 9:40 PM, Cameron Simpsonwrote: > Me too. I run postfix as the local mail system on this Mac and have mutt > deliver to it. > > Having your local machine mail system working is very useful - you can send > messages while offline and they will be queued and go out when you're next > online. For example, when catching up on email on a train. I do use exim and experience all of that. :) > It does require config outside your homedir, but on the other hand your > machine's mail system is then useful. > > Can you outline what kind of criteria you would want to use in your hooks? That's the point. I don't want personal configuration outside of my $HOME (such as SMTP password). Depending of the recipient or the folder I'm in, I want to set which SMTP server, password, $from to use. This can be done easily by using mutt's SMTP capabilities and dynamically changing $smtp_url, but I would prefer using different $sendmail. What I need is an external program to get the message to deliver, with queue management (that's tricky), and every configuration and temporary files within my $HOME. Best of 2 worlds. :) -- Gabriel
Re: Using a sendmail replacement?
On 20Feb2016 20:05, Chris Greenwrote: On Sat, Feb 20, 2016 at 08:45:19PM +0100, Gabriel Philippe wrote: I would like to combine the immediacy of using $sendmail to send e-mails from mutt with the flexibility of $smtp_url. I want to select a different smarthost (ISP/webmail/whatever), depending on hooks, without having mutt waiting for the message to be sent, and without having configuration outside of my $HOME. I found nullmailer, but it is designed for a system-wide use: conffiles in /etc/, stuff in /var, etc. I'm not sure I would manage to have it work differently. Postfix is very simple to configure in my experience, it's the standard on some distributions. Me too. I run postfix as the local mail system on this Mac and have mutt deliver to it. Having your local machine mail system working is very useful - you can send messages while offline and they will be queued and go out when you're next online. For example, when catching up on email on a train. It does require config outside your homedir, but on the other hand your machine's mail system is then useful. Can you outline what kind of criteria you would want to use in your hooks? Cheers, Cameron Simpson
Re: Using a sendmail replacement?
On Sat, Feb 20, 2016 at 08:45:19PM +0100, Gabriel Philippe wrote: > Hi, > > I would like to combine the immediacy of using $sendmail to send > e-mails from mutt with the flexibility of $smtp_url. I want to select > a different smarthost (ISP/webmail/whatever), depending on hooks, > without having mutt waiting for the message to be sent, and without > having configuration outside of my $HOME. > > I found nullmailer, but it is designed for a system-wide use: > conffiles in /etc/, stuff in /var, etc. I'm not sure I would manage to > have it work differently. > Postfix is very simple to configure in my experience, it's the standard on some distributions. -- Chris Green
Using a sendmail replacement?
Hi, I would like to combine the immediacy of using $sendmail to send e-mails from mutt with the flexibility of $smtp_url. I want to select a different smarthost (ISP/webmail/whatever), depending on hooks, without having mutt waiting for the message to be sent, and without having configuration outside of my $HOME. I found nullmailer, but it is designed for a system-wide use: conffiles in /etc/, stuff in /var, etc. I'm not sure I would manage to have it work differently. Any idea? -- Gabriel