El día Wednesday, June 20, 2012 a las 01:11:05AM -0500, Breno Colom escribió:

> >As a side question related to this: is it possible that mutt writes some
> >kind of log file of sent mail like sendmail does to /var/log/maillog ?
> >
> 
> I don't think you can log the actual SMTP session with the builtin MTA
> in mutt. 

I do not need to log the SMTP dialog, but only for the records to whom
I've sent mail via mutt-SMTP; normaly mutt hands over the mail via
sendmail to the relay of my ISP, but in some mailing lists (for example
gnome.org) my ISP is blacklisted and I gave up fighting with the
"admins" of this ISP to do something; in such cases, based on the
destination zone, I configured mutt to talk directly to the remote MX;

> I use msmtp to handle everything SMTP and it just takes one
> line in my .msmtprc to enable sendmail-like logging:
> 
> logfile ~/.msmtp.log

Please share the lines of your .muttrc and .msmtprc file (if necesssary
off-list); thanks in advance;

> 
> You might want to check it out. mutt, being single-threaded, really
> benefits from having an external process working as an MTA.
> 
> If you're still keen on using mutt to handle SMTP you may want to take
> a look at $record [1], not exactly what you're asking for but it might
> suffice. 
> 
> 
> [1] http://www.mutt.org/doc/devel/manual.html#record

Thanks for the hint;

        matthias
-- 
Matthias Apitz
e <g...@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

Reply via email to