[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A simple MTA?



On 11:56 Mon 24 Oct     , mikepolniak wrote:
> On 17:41 Mon 24 Oct     , Teemu Ikonen wrote:
> > Hi all,
> > 
> > I'm looking for a mail transfer agent for a typical workstation,
> > laptop or simple server configuration, but so far I haven't found a
> > suitable one either in Debian or elsewhere. The ones I've checked are
> > either too simple (nullmailer, ssmtp) or too complex (exim and
> > everything else).
> > 
> You can use fetchmail with -m to force the mail it retrieves directly to 
> procmail rather than forwarding to port 25 (so no MTA needed).
> 
> fetchmail -a -m "/usr/bin/procmail -d %T"
> 
> then procmail does its delivery to the mailboxes.  
> 
> Then i read the mail with Mutt and use my ISP's smtp to send with this
> setting in .muttrc
> 
> set sendmail="/usr/bin/nbsmtp -d isp.net -h smtp.isp.net -f urname@isp.net"
> 
I just realized that i set this up 3 years ago and nbsmtp is no longer
avialable. Just use 'msmtp':
 
set sendmail="/usr/bin/msmtp"

and put the isp smtp info in ~/.msmtprc



Reply to: