Changes between Version 1 and Version 2 of MuttFaq/Sendmail


Ignore:
Timestamp:
Oct 27, 2013 6:46:59 PM (4 years ago)
Author:
MichaelRay
Comment:

minor fixes

Legend:

Unmodified
Added
Removed
Modified
  • MuttFaq/Sendmail

    v1 v2  
    11=== "Error sending message, child exited", what's the deal? ===
    22
    3 Mutt passes the mail to <tt>$sendmail</tt> for delivery (see MailConcept),
     3Mutt passes the mail to '''$sendmail''' for delivery (see MailConcept),
    44but this time the MTA refused to accept it from the MUA, or
    5 while processing it some error occured.
     5while processing it some error occurred.
    66
    7 Make sure you have <tt>/usr/lib/sendmail or
    8 /usr/sbin/sendmail</tt> installed and your MTA properly configured
     7Make sure you have '''/usr/lib/sendmail or
     8/usr/sbin/sendmail''' installed and your MTA properly configured
    99(read the MTAs docs carefully). Make sure you get sendmail
    1010debug-information stored somewhere, for example via
    11 <tt>/etc/syslog</tt>. Try to call <tt>sendmail</tt> directly
    12 from cmd-line for more clues.
     11'''/etc/syslog'''. Try to call '''sendmail''' directly
     12from the command-line for more clues.
    1313
    1414And specify the '''correct''' path in muttrc.
    1515
    16 === Mail doesn't arrive/ bounces, how can I figure out why? ===
     16=== Mail doesn't arrive / bounces, how can I figure out why? ===
    1717
    1818First have a look at the logfiles of your
    1919[[MailConcept|sendmail-MTA]]. Normally, status msgs are logged via
    20 <tt>syslog</tt>, RTFM of "syslog" and your MTA to find the
    21 location and analyze potential error msgs.
     20'''syslog''', RTFM of "syslog" and your MTA to find the
     21location and analyze potential error messages.
    2222
    2323Another thing you can do is turn on DSN (delivery system
    24 notification) via the <tt>$dsn_*</tt> vars, and then check the
     24notification) via the '''$dsn_*''' vars, and then check the
    2525returned headers. When inspecting headers, always use the full
    2626headers, not the weeded (cleared by "ignore"s).
     
    4141understand why this won't change). You must specify a local
    4242MTA to do it. The MTA must have a sendmail compatible
    43 interface to be used with <tt>$sendmail</tt>.
     43interface to be used with '''$sendmail'''.
    4444See LightSMTPagents for which to use, configure, install.
    4545
     
    4848If the smtp option is enabled during the compilation, you just need to add the following lines in you ~/.muttrc or ~/.mutt/muttrc
    4949
    50 <pre>
     50{{{
    5151    set smtp_url="smtp://yourusername@smtp.example.com:587/"
    52     set smtp_pass="yourpassword"
    53 </pre>
     52    set smtp_pass="Your1!Really2@AweSome3#Password"
     53}}}
    5454If you omit the smtp_pass, Mutt will ask you to enter the password when sending mails.
    5555
    56 For older versions of mutt without smtp capability, one simple alternative is the sendmail.py script:
     56For older versions of mutt without SMTP capability, one simple alternative is the sendmail.py script:
    5757
    5858    http://www.ynform.org/w/Pub/SendmailPy
     
    6161
    6262As you've learned above, you must tell your local MTA which remote MTA/ SMTP server to use for relay.
    63 You can change the invocation of <tt>$sendmail</tt> "on the fly" by using "macros" and/ or
     63You can change the invocation of '''$sendmail''' "on the fly" by using "macros" and/ or
    6464the various hooks to specify a separate config-file per different SMTP server.
    6565 ... set sendmail="/usr/sbin/sendmail -oem -oi -C /etc/other/sendmail-config"
    66 Standard sendmail apparently doesn't allow to override only the SMART_HOST/ mailhub of a config on the cmd-line,
    67 so you have to use alternative config file with adjusted entries.
     66Standard sendmail apparently doesn't allow to override only the SMART_HOST / mailhub of a config on the command-line, so you have to use alternative config file with adjusted entries.
    6867More user-friendly solutions can be found on LightSMTPagents.
    6968
     
    7372Maybe you're more lucky with the new built-in SMTP service, otherwise check your MTA's docs.
    7473
    75 If you're confronted with frequent save-before-send operations to resend stuff after re-atuhing,
     74If you're confronted with frequent save-before-send operations to resend stuff after re-authing,
    7675then consider using the "postpone" feature: prepare and postpone them all, then when ready to send,
    7776simply recall one-by-one and fire them off. This should work fast enough to stay below even 1min timeouts.