docs/diploma

annotate docs/masqmail.cx/options.html @ 1:7b2a5fe2aedd

added old website masqmail.cx
author meillo@marmaro.de
date Thu, 18 Sep 2008 18:57:02 +0200
parents
children
rev   line source
meillo@1 1
meillo@1 2
meillo@1 3
meillo@1 4
meillo@1 5
meillo@1 6
meillo@1 7
meillo@1 8
meillo@1 9 <HTML>
meillo@1 10 <HEAD>
meillo@1 11 <TITLE>MasqMail - Manual
meillo@1 12 </TITLE>
meillo@1 13 </HEAD>
meillo@1 14 <BODY TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff">
meillo@1 15
meillo@1 16 <center>
meillo@1 17 <table width="80%">
meillo@1 18 <tr><td>
meillo@1 19 <table width="100%" bgcolor="#0000aa" cellspacing=0 cellpadding=0>
meillo@1 20 <tr>
meillo@1 21 <td>
meillo@1 22 <a href="manual.html">
meillo@1 23 <img width="20" src = "../images/u_arrow.gif" alt = "manual">
meillo@1 24 </a>
meillo@1 25 </td>
meillo@1 26 <td align=center width="100%"><font size="6" color = "#ffffff">Options</font></td>
meillo@1 27 <td>
meillo@1 28 <a href="install.html">
meillo@1 29 <img width="20" src = "../images/l_arrow.gif" alt = "Installation">
meillo@1 30 </a>
meillo@1 31 </td>
meillo@1 32 <td>
meillo@1 33 <a href="alias.html">
meillo@1 34 <img width="20" src = "../images/r_arrow.gif" alt = "Alias Format">
meillo@1 35 </a>
meillo@1 36 </td>
meillo@1 37 </tr>
meillo@1 38 </table>
meillo@1 39
meillo@1 40
meillo@1 41 <p>Since masqmail is intended to replace sendmail, it uses the same
meillo@1 42 command line options, but not all are implemented. There are also two
meillo@1 43 additional options, which are unique to masqmail (-qo
meillo@1 44 &lt;connection&gt; and -g) </p>
meillo@1 45
meillo@1 46 <b>-- </b>option:<br>
meillo@1 47
meillo@1 48 <p>Not a 'real' option, it means that all following arguments are to
meillo@1 49 be understood as arguments and not as options even if they begin with a
meillo@1 50 leading dash '-'. Mutt is known to call sendmail with this option.</p>
meillo@1 51
meillo@1 52 <b>-bd </b>option (daemon):<br>
meillo@1 53
meillo@1 54 <p>Run as daemon, accepting connections, usually on port 25 if not
meillo@1 55 configured differently. This is usually used in the startup script and
meillo@1 56 together with the -q option (see below).</p>
meillo@1 57
meillo@1 58 <b>-bi </b>option:<br>
meillo@1 59
meillo@1 60 <p>Old sendmail rebuilds its alias database when invoked with this
meillo@1 61 option. Masqmail ignores it. Masqmail reads directly from the file
meillo@1 62 given with <b>alias_file</b> in the config file.</p>
meillo@1 63
meillo@1 64 <b>-bp </b>option:<br>
meillo@1 65
meillo@1 66 <p>Show the messages in the queue. Same as calling masqmail as
meillo@1 67 'mailq'.</p>
meillo@1 68
meillo@1 69 <b>-bs </b>option:<br>
meillo@1 70
meillo@1 71 <p>Accept SMTP commands from stdin. Some mailers (eg pine) use this
meillo@1 72 option as an interface. It can also be used to call masqmail from
meillo@1 73 inetd, according to Tomislav Filipcic this works.</p>
meillo@1 74
meillo@1 75 <b>-B&lt;arg&gt;</b>option:<br>
meillo@1 76
meillo@1 77 <p>arg is usually 8BITMIME. Some mailers use this to indicate that the
meillo@1 78 message contains characters &gt; 127. Masqmail is 8-bit clean and
meillo@1 79 ignores this, so you do not have to recompile elm, which is very
meillo@1 80 painful ;-). Note though that this violates some conventions: masqmail
meillo@1 81 <em>does not</em> convert 8 bit messages to any MIME format if it
meillo@1 82 encounters a mail server which does not advertise its 8BITMIME capability,
meillo@1 83 masqmail does not advertise this itself. This is the same practice as
meillo@1 84 that of exim (but different to sendmail).</p>
meillo@1 85
meillo@1 86 <p>This <em>may</em> change in the future, but do not rely on it.</p>
meillo@1 87
meillo@1 88 <b>-C&lt;filename&gt;</b>option:<br>
meillo@1 89
meillo@1 90 <p>Use another configuration than /etc/masqmail.conf. Useful for
meillo@1 91 debugging purposes.</p>
meillo@1 92
meillo@1 93 <b>-d &lt;number&gt; </b>option:<br>
meillo@1 94
meillo@1 95 <p>Set the debug level. This takes precedence before the value of
meillo@1 96 <b>debug_level</b> in the configuration file. Read the warning in the
meillo@1 97 description of the latter.</p>
meillo@1 98
meillo@1 99 <b>-g </b>option:<br>
meillo@1 100
meillo@1 101 <p>Get mail, using the configurations given with
meillo@1 102 <b>get.&lt;name&gt;</b> in the main configuration.</p>
meillo@1 103
meillo@1 104 <b>-i </b>option:<br>
meillo@1 105
meillo@1 106 <p>Same as <b>-oi</b>, see below.</p>
meillo@1 107
meillo@1 108 <b>-oem </b>option:<br>
meillo@1 109
meillo@1 110 <p>If the <b>-oi</b> ist not also given, always return with a non zero
meillo@1 111 return code. Maybe someone tells me what this is good for... </p>
meillo@1 112
meillo@1 113 <b>-odb </b>option:<br>
meillo@1 114
meillo@1 115 <p>Deliver in background. Masqmail always does this.</p>
meillo@1 116
meillo@1 117 <b>-odq </b>option:<br>
meillo@1 118
meillo@1 119 <p>Do not attempt to deliver immediately. Any messages will be queued
meillo@1 120 until the next queue running process picks them up and delivers
meillo@1 121 them. You get the same effect by setting the <i>do_queue</i> option in
meillo@1 122 /etc/masqmail.conf.</p>
meillo@1 123
meillo@1 124 <b>-oi </b>option:<br>
meillo@1 125
meillo@1 126 <p>A dot as a single character in a line does <em>not</em> terminate
meillo@1 127 the message.</p>
meillo@1 128
meillo@1 129 <b>-q </b>option:<br>
meillo@1 130
meillo@1 131 <p>If not given with an argument, run a queue process, ie. try to
meillo@1 132 deliver all messages in the queue. Masqmail sends only to those
meillo@1 133 addresses that are on the <em>local</em> net, not to those that are
meillo@1 134 outside. Use -qo &lt;connection&gt; for those.</p>
meillo@1 135
meillo@1 136 <p>If you have configured inetd to start masqmail, you can use this
meillo@1 137 option in a cron job which starts in regular time intervals, to mimic
meillo@1 138 the same effect as starting masqmail with -bd -q30m.</p>
meillo@1 139
meillo@1 140 <p>An argument may be a time interval ie. a numerical value followed
meillo@1 141 by one of the letters. s,m,h,d,w which are interpreted as seconds,
meillo@1 142 minutes, hours, days or weeks respectively. Example: -q30m. Masqmail
meillo@1 143 starts as a daemon and a queue runner process will be started
meillo@1 144 automatically once in this time interval. This is usually used
meillo@1 145 together with -bd (see above).</p>
meillo@1 146
meillo@1 147 <b>-qo&lt;name&gt; </b>option:<br>
meillo@1 148
meillo@1 149 <p>Can be followed by a connection name. Use this option in your
meillo@1 150 script which starts as soon as a link to the internet has been set up
meillo@1 151 (usually ip-up). When masqmail is called with this option, the
meillo@1 152 specified route configuration is read and the queued mail with
meillo@1 153 destinations on the internet will be sent. The <b>name</b> is defined
meillo@1 154 in the configuration (see <b>connect_route.&lt;name&gt;</b>).</p>
meillo@1 155
meillo@1 156 <p>If called without &lt;name&gt, the online status is determined with
meillo@1 157 the configured method (see <b>online_detect</b> in <a
meillo@1 158 href="config.html">config.html</a>)</p>
meillo@1 159
meillo@1 160 <b>-t </b>option:<br>
meillo@1 161
meillo@1 162 <p>Read recipients from headers. Delete 'Bcc:' headers. If any
meillo@1 163 arguments are given, these are interpreted as recipient addresses and
meillo@1 164 the message will <em>not</em> be sent to these.</p>
meillo@1 165 </td></tr>
meillo@1 166
meillo@1 167 <tr><td>
meillo@1 168 <p>
meillo@1 169 <hr>
meillo@1 170 <address><a href = "mailto:kurth@innominate.de">Oliver Kurth</a></address>
meillo@1 171 Last modified: Tue May 30 15:19:56 CEST 2000
meillo@1 172 <br>
meillo@1 173 This page was created using <a href="http://www.freddyfrog.com/hacks/genpage/">Genpage</a> - Version: 1.0.6
meillo@1 174 </p>
meillo@1 175
meillo@1 176 </table>
meillo@1 177 </center>
meillo@1 178
meillo@1 179 </BODY>
meillo@1 180 </HEAD>
meillo@1 181