On Friday 06 Dec 2013 06:01:05 M. Fioretti wrote:
> Greetings,
> 
> I adminiser a friend's Linux home computer, so I set cron jobs on it
> send me a weekly status report with info like whether disk space >80%,
> etc.
> 
> Everything worked perfectly until a few days ago, when the friend's
> isp stopped letting mutt send mail. I would need your help to diagnose
> the problem because obviously the ISP changed something, but from the
> mutt messages and/or their documentation I can't figure out what.
> 
> (the ISP can't be changed and asking their helpdesk is pointless,
> the're mostly still at the "Linux? We don't support that version of
> Windows" stage)
> 
> here is what happens:
> 
> the cron job runs mutt as:
> 
> mutt -F $RCFILE -s 'status report from friend' [email protected] <
> /tmp/status_report
> 
> with the RCFILE below
> 
> last week it started to fail with something like "sasl auth
> refused". I checked the isp "set up your mail client" pages and now
> they say to use out.alice.it for outgoing mail, and port 587.
> 
> When I was there last week, I tried different smtp_url values with all
> the different combinations I could imagine of:
> 
> adding :587 and / or  final slash to the host
> adding the password after surname
> smtps instead of smtp
> using port 465 as I read one should do with gmail
> 
> those that are syntactically correct for mutt either:
> 
> - fail with sasl auth refused,
> - no error/warning but no mail delivered
> - I get an "Alarm clock" at the prompt, when I run mutt as above, but
>   again no email delivered
> 
> so I need either mutt to tell me more, or pointers to other ways to
> understand what is happening exactly and how to fix
> 
> tia,
>       Marco
> 
> smtp_url="smtp://[email protected]"

Shouldn't this be:

set smtp_url = "smtp://[email protected]:587"

> set smtp_pass="thepassword"
> set realname="friend"
> set from="[email protected]"
> set envelope_from = yes
> set copy = yes
> set record = /tmp/mutt_send_report.`/bin/date +%Y.%m`
> set postponed = /tmp/mutt_postponed
> #unset confirmappend
> unset use_domain
> set hostname = alice.it

You can increase debugging by launching mutt with -d # , where "#" = 1-5.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to