<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ITechLog &#187; SENDMAIL</title>
	<atom:link href="http://itechlog.com/tag/sendmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://itechlog.com</link>
	<description>Your source to IT solutions, interesting technology news and code snipets.</description>
	<lastBuildDate>Mon, 12 Jul 2010 16:42:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>SENDMAIL</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/sendmail/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/sendmail/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 13:42:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[SENDMAIL]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/sendmail/</guid>
		<description><![CDATA[SENDMAIL(1) SENDMAIL(1) NAME sendmail &#8211; Postfix to Sendmail compatibility interface SYNOPSIS sendmail [option ...] [recipient ...] mailq sendmail -bp newaliases sendmail -I DESCRIPTION The Postfix sendmail(1) command implements the Postfix to Sendmail com- patibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored. By default, Postfix [...]]]></description>
			<content:encoded><![CDATA[<p>SENDMAIL(1)                                                        SENDMAIL(1)</p>
<p>NAME<br />       sendmail &#8211; Postfix to Sendmail compatibility interface</p>
<p>SYNOPSIS<br />       sendmail [option ...] [recipient ...]</p>
<p>       mailq<br />       sendmail -bp</p>
<p>       newaliases<br />       sendmail -I</p>
<p>DESCRIPTION<br />       The Postfix sendmail(1) command implements the Postfix to Sendmail com-<br />       patibility interface.  For the  sake  of  compatibility  with  existing<br />       applications,  some  Sendmail  command-line  options are recognized but<br />       silently ignored.</p>
<p>       By default, Postfix sendmail(1) reads a  message  from  standard  input<br />       until  EOF  or  until  it  reads  a  line  with only a . character, and<br />       arranges for delivery.  Postfix sendmail(1) relies on  the  postdrop(1)<br />       command to create a queue file in the maildrop directory.</p>
<p>       Specific  command aliases are provided for other common modes of opera-<br />       tion:</p>
<p>       mailq  List the mail queue. Each entry shows the queue file ID, message<br />              size,  arrival  time, sender, and the recipients that still need<br />              to be delivered.  If mail could not be delivered upon  the  last<br />              attempt, the reason for failure is shown. This mode of operation<br />              is implemented by executing the postqueue(1) command.</p>
<p>       newaliases<br />              Initialize the alias database.  If no input  file  is  specified<br />              (with  the  -oA  option,  see  below), the program processes the<br />              file(s) specified with the alias_database configuration  parame-<br />              ter.   If  no alias database type is specified, the program uses<br />              the type specified with the default_database_type  configuration<br />              parameter.  This mode of operation is implemented by running the<br />              postalias(1) command.</p>
<p>              Note: it may take a minute or so before an alias database update<br />              becomes  visible.  Use the &#8220;postfix reload&#8221; command to eliminate<br />              this delay.</p>
<p>       These and other features can be selected by specifying the  appropriate<br />       combination  of  command-line  options. Some features are controlled by<br />       parameters in the <a target="_blank" href="http://main.cf/">main.cf</a> configuration file.</p>
<p>       The following options are recognized:</p>
<p>       -Am (ignored)</p>
<p>       -Ac (ignored)<br />              Postfix sendmail uses the same configuration file regardless  of<br />              whether or not a message is an initial submission.</p>
<p>       -B body_type<br />              The message body MIME type: 7BIT or 8BITMIME.</p>
<p>       -bd    Go  into  daemon  mode. This mode of operation is implemented by<br />              executing the &#8220;postfix start&#8221; command.</p>
<p>       -bh (ignored)</p>
<p>       -bH (ignored)<br />              Postfix has no persistent host status database.</p>
<p>       -bi    Initialize alias database. See the newaliases command above.</p>
<p>       -bm    Read mail from standard input and arrange for delivery.  This is<br />              the default mode of operation.</p>
<p>       -bp    List the mail queue. See the mailq command above.</p>
<p>       -bs    Stand-alone  SMTP  server mode. Read SMTP commands from standard<br />              input, and write responses to standard output.   In  stand-alone<br />              SMTP  server  mode,  mail relaying and other access controls are<br />              disabled by default. To enable them,  run  the  process  as  the<br />              mail_owner user.</p>
<p>              This  mode  of  operation is implemented by running the smtpd(8)<br />              daemon.</p>
<p>       -bv    Do not collect or deliver a  message.  Instead,  send  an  email<br />              report  after  verifying each recipient address.  This is useful<br />              for testing address rewriting and routing configurations.</p>
<p>              This feature is available in Postfix version 2.1 and later.</p>
<p>       -C config_file</p>
<p>       -C config_dir<br />              The path name of the Postfix <a target="_blank" href="http://main.cf/">main.cf</a>  file,  or  of  its  parent<br />              directory.  This  information  is  ignored with Postfix versions<br />              before 2.3.</p>
<p>              With all Postfix versions, you can specify a directory  pathname<br />              with  the MAIL_CONFIG environment variable to override the loca-<br />              tion of configuration files.</p>
<p>       -F full_name<br />              Set the sender full name. This overrides  the  NAME  environment<br />              variable, and is used only with messages that have no From: mes-<br />              sage header.</p>
<p>       -f sender<br />              Set the envelope sender  address.  This  is  the  address  where<br />              delivery problems are sent to. With Postfix versions before 2.1,<br />              the  Errors-To:  message  header  overrides  the  error   return<br />              address.</p>
<p>       -G     Gateway  (relay)  submission, as opposed to initial user submis-<br />              sion.  Either do not rewrite addresses at all, or update  incom-<br />              plete  addresses  with  the  domain  information  specified with<br />              remote_header_rewrite_domain.</p>
<p>              This option is ignored before Postfix version 2.3.</p>
<p>       -h hop_count (ignored)<br />              Hop count limit. Use the hopcount_limit configuration  parameter<br />              instead.</p>
<p>       -I     Initialize alias database. See the newaliases command above.</p>
<p>       -i     When  reading  a message from standard input, donÂ´t treat a line<br />              with only a . character as the end of input.</p>
<p>       -L label (ignored)<br />              The logging label. Use the syslog_name  configuration  parameter<br />              instead.</p>
<p>       -m (ignored)<br />              Backwards compatibility.</p>
<p>       -N dsn (default: &#8216;delay, failure&#8217;)<br />              Delivery  status  notification  control. Specify either a comma-<br />              separated list with one or more of  failure  (send  notification<br />              when  delivery fails), delay (send notification when delivery is<br />              delayed), or success (send  notification  when  the  message  is<br />              delivered);  or  specify  never (don&#8217;t send any notifications at<br />              all).</p>
<p>              This feature is available in Postfix 2.3 and later.</p>
<p>       -n (ignored)<br />              Backwards compatibility.</p>
<p>       -oAalias_database<br />              Non-default alias database. Specify pathname  or  type:pathname.<br />              See postalias(1) for details.</p>
<p>       -O option=value (ignored)<br />              Backwards compatibility.</p>
<p>       -o7 (ignored)</p>
<p>       -o8 (ignored)<br />              To  send 8-bit or binary content, use an appropriate MIME encap-<br />              sulation and specify the appropriate -B command-line option.</p>
<p>       -oi    When reading a message from standard input, donÂ´t treat  a  line<br />              with only a . character as the end of input.</p>
<p>       -om (ignored)<br />              The sender is never eliminated from alias etc. expansions.</p>
<p>       -o x value (ignored)<br />              Set  option x to value. Use the equivalent configuration parame-<br />              ter in <a target="_blank" href="http://main.cf/">main.cf</a> instead.</p>
<p>       -r sender<br />              Set the envelope sender  address.  This  is  the  address  where<br />              delivery problems are sent to. With Postfix versions before 2.1,<br />              the  Errors-To:  message  header  overrides  the  error   return<br />              address.</p>
<p>       -R return_limit (ignored)<br />              Limit  the  size of bounced mail. Use the bounce_size_limit con-<br />              figuration parameter instead.</p>
<p>       -q     Attempt to deliver all queued mail. This is implemented by  exe-<br />              cuting the postqueue(1) command.</p>
<p>              Warning:  flushing  undeliverable mail frequently will result in<br />              poor delivery performance of all other mail.</p>
<p>       -qinterval (ignored)<br />              The interval between queue runs. Use the queue_run_delay config-<br />              uration parameter instead.</p>
<p>       -qIqueueid<br />              Schedule immediate delivery of mail with the specified queue ID.<br />              This  option  is  implemented  by  executing  the   postqueue(1)<br />              command, and is available with Postfix version 2.4 and later.</p>
<p>       -qRsite<br />              Schedule  immediate  delivery of all mail that is queued for the<br />              named site. This option accepts only site names that are  eligi-<br />              ble  for the &#8220;fast flush&#8221; service, and is implemented by execut-<br />              ing the postqueue(1) command.  See flush(8) for more information<br />              about the &#8220;fast flush&#8221; service.</p>
<p>       -qSsite<br />              This  command  is  not implemented. Use the slower &#8220;sendmail -q&#8221;<br />              command instead.</p>
<p>       -t     Extract recipients from message headers. These are added to  any<br />              recipients specified on the command line.</p>
<p>              With Postfix versions prior to 2.1, this option requires that no<br />              recipient addresses are specified on the command line.</p>
<p>       -U (ignored)<br />              Initial user submission.</p>
<p>       -V envid<br />              Specify the envelope ID for notification by servers that support<br />              DSN.</p>
<p>              This feature is available in Postfix 2.3 and later.</p>
<p>       -XV (Postfix 2.2 and earlier: -V)<br />              Variable  Envelope Return Path. Given an envelope sender address<br />              of the form owner-listname@origin,  each  recipient  user@domain<br />              receives mail with a personalized envelope sender address.</p>
<p>              By  default,  the personalized envelope sender address is owner-<br />              listname+user=domain@origin. The default + and = characters  are<br />              configurable   with  the  default_verp_delimiters  configuration<br />              parameter.</p>
<p>       -XVxy (Postfix 2.2 and earlier: -Vxy)<br />              As -XV, but uses x and  y  as  the  VERP  delimiter  characters,<br />              instead of the characters specified with the default_verp_delim-<br />              iters configuration parameter.</p>
<p>       -v     Send an email report of the first delivery attempt (Postfix ver-<br />              sions  2.1 and later). Mail delivery always happens in the back-<br />              ground. When multiple -v options are given, enable verbose  log-<br />              ging for debugging purposes.</p>
<p>       -X log_file (ignored)<br />              Log mailer traffic. Use the debug_peer_list and debug_peer_level<br />              configuration parameters instead.</p>
<p>SECURITY<br />       By design, this program is not set-user (or group) id. However, it must<br />       handle  data  from  untrusted, possibly remote, users.  Thus, the usual<br />       precautions need to be taken against malicious inputs.</p>
<p>DIAGNOSTICS<br />       Problems are logged to syslogd(8) and to the standard error stream.</p>
<p>ENVIRONMENT<br />       MAIL_CONFIG<br />              Directory with Postfix configuration files.</p>
<p>       MAIL_VERBOSE (value does not matter)<br />              Enable verbose logging for debugging purposes.</p>
<p>       MAIL_DEBUG (value does not matter)<br />              Enable debugging with an external command, as specified with the<br />              debugger_command configuration parameter.</p>
<p>       NAME   The  sender full name. This is used only with messages that have<br />              no From: message header. See also the -F option above.</p>
<p>CONFIGURATION PARAMETERS<br />       The following <a target="_blank" href="http://main.cf/">main.cf</a> parameters are especially relevant to  this  pro-<br />       gram.   The  text  below  provides  only a parameter summary. See post-<br />       conf(5) for more details including examples.</p>
<p>TROUBLE SHOOTING CONTROLS<br />       The DEBUG_README file gives examples of how to trouble shoot a  Postfix<br />       system.</p>
<p>       debugger_command (empty)<br />              The external command to execute when a Postfix daemon program is<br />              invoked with the -D option.</p>
<p>       debug_peer_level (2)<br />              The increment in verbose logging level when a remote  client  or<br />              server matches a pattern in the debug_peer_list parameter.</p>
<p>       debug_peer_list (empty)<br />              Optional  list  of  remote  client or server hostname or network<br />              address  patterns  that  cause  the  verbose  logging  level  to<br />              increase by the amount specified in $debug_peer_level.</p>
<p>ACCESS CONTROLS<br />       Available in Postfix version 2.2 and later:</p>
<p>       authorized_flush_users (static:anyone)<br />              List of users who are authorized to flush the queue.</p>
<p>       authorized_mailq_users (static:anyone)<br />              List of users who are authorized to view the queue.</p>
<p>       authorized_submit_users (static:anyone)<br />              List  of  users who are authorized to submit mail with the send-<br />              mail(1) command (and with the privileged postdrop(1) helper com-<br />              mand).</p>
<p>RESOURCE AND RATE CONTROLS<br />       bounce_size_limit (50000)<br />              The  maximal  amount  of original message text that is sent in a<br />              non-delivery notification.</p>
<p>       fork_attempts (5)<br />              The maximal number of attempts to fork() a child process.</p>
<p>       fork_delay (1s)<br />              The delay between attempts to fork() a child process.</p>
<p>       hopcount_limit (50)<br />              The maximal number of Received:  message headers that is allowed<br />              in the primary message headers.</p>
<p>       queue_run_delay (300s)<br />              The  time  between  deferred  queue  scans by the queue manager;<br />              prior to Postfix 2.4 the default value was 1000s.</p>
<p>FAST FLUSH CONTROLS<br />       The ETRN_README file describes configuration and operation details  for<br />       the Postfix &#8220;fast flush&#8221; service.</p>
<p>       fast_flush_domains ($relay_domains)<br />              Optional list of destinations that are eligible for per-destina-<br />              tion logfiles with mail that is queued to those destinations.</p>
<p>VERP CONTROLS<br />       The VERP_README file describes configuration and operation  details  of<br />       Postfix support for variable envelope return path addresses.</p>
<p>       default_verp_delimiters (+=)<br />              The two default VERP delimiter characters.</p>
<p>       verp_delimiter_filter (-=+)<br />              The  characters  Postfix accepts as VERP delimiter characters on<br />              the Postfix sendmail(1) command line and in SMTP commands.</p>
<p>MISCELLANEOUS CONTROLS<br />       alias_database (see &#8216;postconf -d&#8217; output)<br />              The alias databases for local(8) delivery that are updated  with<br />              &#8220;newaliases&#8221; or with &#8220;sendmail -bi&#8221;.</p>
<p>       command_directory (see &#8216;postconf -d&#8217; output)<br />              The location of all postfix administrative commands.</p>
<p>       config_directory (see &#8216;postconf -d&#8217; output)<br />              The  default  location of the Postfix <a target="_blank" href="http://main.cf/">main.cf</a> and <a target="_blank" href="http://master.cf/">master.cf</a> con-<br />              figuration files.</p>
<p>       daemon_directory (see &#8216;postconf -d&#8217; output)<br />              The directory with Postfix support programs and daemon programs.</p>
<p>       default_database_type (see &#8216;postconf -d&#8217; output)<br />              The default database type for use in newaliases(1), postalias(1)<br />              and postmap(1) commands.</p>
<p>       delay_warning_time (0h)<br />              The time after which the sender receives the message headers  of<br />              mail that is still queued.</p>
<p>       enable_errors_to (no)<br />              Report  mail  delivery  errors to the address specified with the<br />              non-standard Errors-To: message header, instead of the  envelope<br />              sender  address  (this  feature  is removed with Postfix version<br />              2.2, is turned off by default with Postfix version 2.1,  and  is<br />              always turned on with older Postfix versions).</p>
<p>       mail_owner (postfix)<br />              The  UNIX  system  account  that owns the Postfix queue and most<br />              Postfix daemon processes.</p>
<p>       queue_directory (see &#8216;postconf -d&#8217; output)<br />              The location of the Postfix top-level queue directory.</p>
<p>       remote_header_rewrite_domain (empty)<br />              Don&#8217;t rewrite message headers from remote clients  at  all  when<br />              this  parameter is empty; otherwise, rewrite message headers and<br />              append the specified domain name to incomplete addresses.</p>
<p>       syslog_facility (mail)<br />              The syslog facility of Postfix logging.</p>
<p>       syslog_name (postfix)<br />              The mail system name that is prepended to the  process  name  in<br />              syslog  records,  so  that  &#8220;smtpd&#8221; becomes, for example, &#8220;post-<br />              fix/smtpd&#8221;.</p>
<p>FILES<br />       /var/spool/postfix, mail queue<br />       /etc/postfix, configuration files</p>
<p>SEE ALSO<br />       pickup(8), mail pickup daemon<br />       qmgr(8), queue manager<br />       smtpd(8), SMTP server<br />       flush(8), fast flush service<br />       postsuper(1), queue maintenance<br />       postalias(1), create/update/query alias database<br />       postdrop(1), mail posting utility<br />       postfix(1), mail system control<br />       postqueue(1), mail queue control<br />       syslogd(8), system logging</p>
<p>README_FILES<br />       Use &#8220;postconf readme_directory&#8221; or<br />       &#8220;postconf html_directory&#8221; to locate this information.<br />       DEBUG_README, Postfix debugging howto<br />       ETRN_README, Postfix ETRN howto<br />       VERP_README, Postfix VERP howto</p>
<p>LICENSE<br />       The Secure Mailer license must be distributed with this software.</p>
<p>AUTHOR(S)<br />       Wietse Venema<br />       IBM T.J. Watson Research<br />       P.O. Box 704<br />       Yorktown Heights, NY 10598, USA</p>
<p>                                                                   SENDMAIL(1)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=93af99eb-5f20-4af8-a140-0a5fcaf3c496" /></div>
</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F&amp;title=SENDMAIL" title="Bookmark this post : SENDMAIL on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F&amp;title=SENDMAIL&amp;bodytext=SENDMAIL%281%29++++++++++++++++++++++++++++++++++++++++++++++++++++++++SENDMAIL%281%29NAME+++++++sendmail+-+Postfix+to+Sendmail+compatibility+interfaceSYNOPSIS+++++++sendmail+%5Boption+...%5D+%5Brecipient+...%5D+++++++mailq+++++++sendmail+-bp+++++++newaliases+++++++sendmail+-IDESCRIPTION+++++++The+Postfix+sendmail%281%29+command+implement" title="Digg this post : SENDMAIL"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F&amp;t=SENDMAIL" title="Recommend this post : SENDMAIL on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="google_buzz" href="http://www.google.com/reader/link?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F&amp;title=SENDMAIL" title="Buzz up this post : SENDMAIL "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="yahoo_buzz" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F" title="Buzz up this post : SENDMAIL "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="orkut" href="http://promote.orkut.com/preview?nt=orkut.com&amp;du=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F&amp;tt=SENDMAIL" title="Share this post : SENDMAIL on Orkut"><span class="head">Share on Orkut</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F&amp;title=SENDMAIL" title="Share this post : SENDMAIL on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F&amp;title=SENDMAIL" title="Share this post : SENDMAIL with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail%2F" title="Tweet this post : SENDMAIL on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="rss" href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail/feed" title="Follow this post : SENDMAIL comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="_blank" class="email" href="mailto:?subject=ITechLog : SENDMAIL&#038;body=here is a link to a site I really like.   http://itechlog.com/linux-man-pages/2009/01/01/sendmail/" title="Tell a friend about this post : SENDMAIL "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a>, <a class='technorati-link' href='http://technorati.com/tag/SENDMAIL' rel='tag' target='_self'>SENDMAIL</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/" title="SENDMAIL">SENDMAIL</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/" title="SENDMAIL">SENDMAIL</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/sendmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SENDMAIL</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 13:35:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[SENDMAIL]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/</guid>
		<description><![CDATA[SENDMAIL(1) SENDMAIL(1) NAME sendmail &#8211; Postfix to Sendmail compatibility interface SYNOPSIS sendmail [option ...] [recipient ...] mailq sendmail -bp newaliases sendmail -I DESCRIPTION The Postfix sendmail(1) command implements the Postfix to Sendmail com- patibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored. By default, Postfix [...]]]></description>
			<content:encoded><![CDATA[<p>SENDMAIL(1)                                                        SENDMAIL(1)</p>
<p>NAME<br />       sendmail &#8211; Postfix to Sendmail compatibility interface</p>
<p>SYNOPSIS<br />       sendmail [option ...] [recipient ...]</p>
<p>       mailq<br />       sendmail -bp</p>
<p>       newaliases<br />       sendmail -I</p>
<p>DESCRIPTION<br />       The Postfix sendmail(1) command implements the Postfix to Sendmail com-<br />       patibility interface.  For the  sake  of  compatibility  with  existing<br />       applications,  some  Sendmail  command-line  options are recognized but<br />       silently ignored.</p>
<p>       By default, Postfix sendmail(1) reads a  message  from  standard  input<br />       until  EOF  or  until  it  reads  a  line  with only a . character, and<br />       arranges for delivery.  Postfix sendmail(1) relies on  the  postdrop(1)<br />       command to create a queue file in the maildrop directory.</p>
<p>       Specific  command aliases are provided for other common modes of opera-<br />       tion:</p>
<p>       mailq  List the mail queue. Each entry shows the queue file ID, message<br />              size,  arrival  time, sender, and the recipients that still need<br />              to be delivered.  If mail could not be delivered upon  the  last<br />              attempt, the reason for failure is shown. This mode of operation<br />              is implemented by executing the postqueue(1) command.</p>
<p>       newaliases<br />              Initialize the alias database.  If no input  file  is  specified<br />              (with  the  -oA  option,  see  below), the program processes the<br />              file(s) specified with the alias_database configuration  parame-<br />              ter.   If  no alias database type is specified, the program uses<br />              the type specified with the default_database_type  configuration<br />              parameter.  This mode of operation is implemented by running the<br />              postalias(1) command.</p>
<p>              Note: it may take a minute or so before an alias database update<br />              becomes  visible.  Use the &#8220;postfix reload&#8221; command to eliminate<br />              this delay.</p>
<p>       These and other features can be selected by specifying the  appropriate<br />       combination  of  command-line  options. Some features are controlled by<br />       parameters in the <a target="_blank" href="http://main.cf/">main.cf</a> configuration file.</p>
<p>       The following options are recognized:</p>
<p>       -Am (ignored)</p>
<p>       -Ac (ignored)<br />              Postfix sendmail uses the same configuration file regardless  of<br />              whether or not a message is an initial submission.</p>
<p>       -B body_type<br />              The message body MIME type: 7BIT or 8BITMIME.</p>
<p>       -bd    Go  into  daemon  mode. This mode of operation is implemented by<br />              executing the &#8220;postfix start&#8221; command.</p>
<p>       -bh (ignored)</p>
<p>       -bH (ignored)<br />              Postfix has no persistent host status database.</p>
<p>       -bi    Initialize alias database. See the newaliases command above.</p>
<p>       -bm    Read mail from standard input and arrange for delivery.  This is<br />              the default mode of operation.</p>
<p>       -bp    List the mail queue. See the mailq command above.</p>
<p>       -bs    Stand-alone  SMTP  server mode. Read SMTP commands from standard<br />              input, and write responses to standard output.   In  stand-alone<br />              SMTP  server  mode,  mail relaying and other access controls are<br />              disabled by default. To enable them,  run  the  process  as  the<br />              mail_owner user.</p>
<p>              This  mode  of  operation is implemented by running the smtpd(8)<br />              daemon.</p>
<p>       -bv    Do not collect or deliver a  message.  Instead,  send  an  email<br />              report  after  verifying each recipient address.  This is useful<br />              for testing address rewriting and routing configurations.</p>
<p>              This feature is available in Postfix version 2.1 and later.</p>
<p>       -C config_file</p>
<p>       -C config_dir<br />              The path name of the Postfix <a target="_blank" href="http://main.cf/">main.cf</a>  file,  or  of  its  parent<br />              directory.  This  information  is  ignored with Postfix versions<br />              before 2.3.</p>
<p>              With all Postfix versions, you can specify a directory  pathname<br />              with  the MAIL_CONFIG environment variable to override the loca-<br />              tion of configuration files.</p>
<p>       -F full_name<br />              Set the sender full name. This overrides  the  NAME  environment<br />              variable, and is used only with messages that have no From: mes-<br />              sage header.</p>
<p>       -f sender<br />              Set the envelope sender  address.  This  is  the  address  where<br />              delivery problems are sent to. With Postfix versions before 2.1,<br />              the  Errors-To:  message  header  overrides  the  error   return<br />              address.</p>
<p>       -G     Gateway  (relay)  submission, as opposed to initial user submis-<br />              sion.  Either do not rewrite addresses at all, or update  incom-<br />              plete  addresses  with  the  domain  information  specified with<br />              remote_header_rewrite_domain.</p>
<p>              This option is ignored before Postfix version 2.3.</p>
<p>       -h hop_count (ignored)<br />              Hop count limit. Use the hopcount_limit configuration  parameter<br />              instead.</p>
<p>       -I     Initialize alias database. See the newaliases command above.</p>
<p>       -i     When  reading  a message from standard input, donÂ´t treat a line<br />              with only a . character as the end of input.</p>
<p>       -L label (ignored)<br />              The logging label. Use the syslog_name  configuration  parameter<br />              instead.</p>
<p>       -m (ignored)<br />              Backwards compatibility.</p>
<p>       -N dsn (default: &#8216;delay, failure&#8217;)<br />              Delivery  status  notification  control. Specify either a comma-<br />              separated list with one or more of  failure  (send  notification<br />              when  delivery fails), delay (send notification when delivery is<br />              delayed), or success (send  notification  when  the  message  is<br />              delivered);  or  specify  never (don&#8217;t send any notifications at<br />              all).</p>
<p>              This feature is available in Postfix 2.3 and later.</p>
<p>       -n (ignored)<br />              Backwards compatibility.</p>
<p>       -oAalias_database<br />              Non-default alias database. Specify pathname  or  type:pathname.<br />              See postalias(1) for details.</p>
<p>       -O option=value (ignored)<br />              Backwards compatibility.</p>
<p>       -o7 (ignored)</p>
<p>       -o8 (ignored)<br />              To  send 8-bit or binary content, use an appropriate MIME encap-<br />              sulation and specify the appropriate -B command-line option.</p>
<p>       -oi    When reading a message from standard input, donÂ´t treat  a  line<br />              with only a . character as the end of input.</p>
<p>       -om (ignored)<br />              The sender is never eliminated from alias etc. expansions.</p>
<p>       -o x value (ignored)<br />              Set  option x to value. Use the equivalent configuration parame-<br />              ter in <a target="_blank" href="http://main.cf/">main.cf</a> instead.</p>
<p>       -r sender<br />              Set the envelope sender  address.  This  is  the  address  where<br />              delivery problems are sent to. With Postfix versions before 2.1,<br />              the  Errors-To:  message  header  overrides  the  error   return<br />              address.</p>
<p>       -R return_limit (ignored)<br />              Limit  the  size of bounced mail. Use the bounce_size_limit con-<br />              figuration parameter instead.</p>
<p>       -q     Attempt to deliver all queued mail. This is implemented by  exe-<br />              cuting the postqueue(1) command.</p>
<p>              Warning:  flushing  undeliverable mail frequently will result in<br />              poor delivery performance of all other mail.</p>
<p>       -qinterval (ignored)<br />              The interval between queue runs. Use the queue_run_delay config-<br />              uration parameter instead.</p>
<p>       -qIqueueid<br />              Schedule immediate delivery of mail with the specified queue ID.<br />              This  option  is  implemented  by  executing  the   postqueue(1)<br />              command, and is available with Postfix version 2.4 and later.</p>
<p>       -qRsite<br />              Schedule  immediate  delivery of all mail that is queued for the<br />              named site. This option accepts only site names that are  eligi-<br />              ble  for the &#8220;fast flush&#8221; service, and is implemented by execut-<br />              ing the postqueue(1) command.  See flush(8) for more information<br />              about the &#8220;fast flush&#8221; service.</p>
<p>       -qSsite<br />              This  command  is  not implemented. Use the slower &#8220;sendmail -q&#8221;<br />              command instead.</p>
<p>       -t     Extract recipients from message headers. These are added to  any<br />              recipients specified on the command line.</p>
<p>              With Postfix versions prior to 2.1, this option requires that no<br />              recipient addresses are specified on the command line.</p>
<p>       -U (ignored)<br />              Initial user submission.</p>
<p>       -V envid<br />              Specify the envelope ID for notification by servers that support<br />              DSN.</p>
<p>              This feature is available in Postfix 2.3 and later.</p>
<p>       -XV (Postfix 2.2 and earlier: -V)<br />              Variable  Envelope Return Path. Given an envelope sender address<br />              of the form owner-listname@origin,  each  recipient  user@domain<br />              receives mail with a personalized envelope sender address.</p>
<p>              By  default,  the personalized envelope sender address is owner-<br />              listname+user=domain@origin. The default + and = characters  are<br />              configurable   with  the  default_verp_delimiters  configuration<br />              parameter.</p>
<p>       -XVxy (Postfix 2.2 and earlier: -Vxy)<br />              As -XV, but uses x and  y  as  the  VERP  delimiter  characters,<br />              instead of the characters specified with the default_verp_delim-<br />              iters configuration parameter.</p>
<p>       -v     Send an email report of the first delivery attempt (Postfix ver-<br />              sions  2.1 and later). Mail delivery always happens in the back-<br />              ground. When multiple -v options are given, enable verbose  log-<br />              ging for debugging purposes.</p>
<p>       -X log_file (ignored)<br />              Log mailer traffic. Use the debug_peer_list and debug_peer_level<br />              configuration parameters instead.</p>
<p>SECURITY<br />       By design, this program is not set-user (or group) id. However, it must<br />       handle  data  from  untrusted, possibly remote, users.  Thus, the usual<br />       precautions need to be taken against malicious inputs.</p>
<p>DIAGNOSTICS<br />       Problems are logged to syslogd(8) and to the standard error stream.</p>
<p>ENVIRONMENT<br />       MAIL_CONFIG<br />              Directory with Postfix configuration files.</p>
<p>       MAIL_VERBOSE (value does not matter)<br />              Enable verbose logging for debugging purposes.</p>
<p>       MAIL_DEBUG (value does not matter)<br />              Enable debugging with an external command, as specified with the<br />              debugger_command configuration parameter.</p>
<p>       NAME   The  sender full name. This is used only with messages that have<br />              no From: message header. See also the -F option above.</p>
<p>CONFIGURATION PARAMETERS<br />       The following <a target="_blank" href="http://main.cf/">main.cf</a> parameters are especially relevant to  this  pro-<br />       gram.   The  text  below  provides  only a parameter summary. See post-<br />       conf(5) for more details including examples.</p>
<p>TROUBLE SHOOTING CONTROLS<br />       The DEBUG_README file gives examples of how to trouble shoot a  Postfix<br />       system.</p>
<p>       debugger_command (empty)<br />              The external command to execute when a Postfix daemon program is<br />              invoked with the -D option.</p>
<p>       debug_peer_level (2)<br />              The increment in verbose logging level when a remote  client  or<br />              server matches a pattern in the debug_peer_list parameter.</p>
<p>       debug_peer_list (empty)<br />              Optional  list  of  remote  client or server hostname or network<br />              address  patterns  that  cause  the  verbose  logging  level  to<br />              increase by the amount specified in $debug_peer_level.</p>
<p>ACCESS CONTROLS<br />       Available in Postfix version 2.2 and later:</p>
<p>       authorized_flush_users (static:anyone)<br />              List of users who are authorized to flush the queue.</p>
<p>       authorized_mailq_users (static:anyone)<br />              List of users who are authorized to view the queue.</p>
<p>       authorized_submit_users (static:anyone)<br />              List  of  users who are authorized to submit mail with the send-<br />              mail(1) command (and with the privileged postdrop(1) helper com-<br />              mand).</p>
<p>RESOURCE AND RATE CONTROLS<br />       bounce_size_limit (50000)<br />              The  maximal  amount  of original message text that is sent in a<br />              non-delivery notification.</p>
<p>       fork_attempts (5)<br />              The maximal number of attempts to fork() a child process.</p>
<p>       fork_delay (1s)<br />              The delay between attempts to fork() a child process.</p>
<p>       hopcount_limit (50)<br />              The maximal number of Received:  message headers that is allowed<br />              in the primary message headers.</p>
<p>       queue_run_delay (300s)<br />              The  time  between  deferred  queue  scans by the queue manager;<br />              prior to Postfix 2.4 the default value was 1000s.</p>
<p>FAST FLUSH CONTROLS<br />       The ETRN_README file describes configuration and operation details  for<br />       the Postfix &#8220;fast flush&#8221; service.</p>
<p>       fast_flush_domains ($relay_domains)<br />              Optional list of destinations that are eligible for per-destina-<br />              tion logfiles with mail that is queued to those destinations.</p>
<p>VERP CONTROLS<br />       The VERP_README file describes configuration and operation  details  of<br />       Postfix support for variable envelope return path addresses.</p>
<p>       default_verp_delimiters (+=)<br />              The two default VERP delimiter characters.</p>
<p>       verp_delimiter_filter (-=+)<br />              The  characters  Postfix accepts as VERP delimiter characters on<br />              the Postfix sendmail(1) command line and in SMTP commands.</p>
<p>MISCELLANEOUS CONTROLS<br />       alias_database (see &#8216;postconf -d&#8217; output)<br />              The alias databases for local(8) delivery that are updated  with<br />              &#8220;newaliases&#8221; or with &#8220;sendmail -bi&#8221;.</p>
<p>       command_directory (see &#8216;postconf -d&#8217; output)<br />              The location of all postfix administrative commands.</p>
<p>       config_directory (see &#8216;postconf -d&#8217; output)<br />              The  default  location of the Postfix <a target="_blank" href="http://main.cf/">main.cf</a> and <a target="_blank" href="http://master.cf/">master.cf</a> con-<br />              figuration files.</p>
<p>       daemon_directory (see &#8216;postconf -d&#8217; output)<br />              The directory with Postfix support programs and daemon programs.</p>
<p>       default_database_type (see &#8216;postconf -d&#8217; output)<br />              The default database type for use in newaliases(1), postalias(1)<br />              and postmap(1) commands.</p>
<p>       delay_warning_time (0h)<br />              The time after which the sender receives the message headers  of<br />              mail that is still queued.</p>
<p>       enable_errors_to (no)<br />              Report  mail  delivery  errors to the address specified with the<br />              non-standard Errors-To: message header, instead of the  envelope<br />              sender  address  (this  feature  is removed with Postfix version<br />              2.2, is turned off by default with Postfix version 2.1,  and  is<br />              always turned on with older Postfix versions).</p>
<p>       mail_owner (postfix)<br />              The  UNIX  system  account  that owns the Postfix queue and most<br />              Postfix daemon processes.</p>
<p>       queue_directory (see &#8216;postconf -d&#8217; output)<br />              The location of the Postfix top-level queue directory.</p>
<p>       remote_header_rewrite_domain (empty)<br />              Don&#8217;t rewrite message headers from remote clients  at  all  when<br />              this  parameter is empty; otherwise, rewrite message headers and<br />              append the specified domain name to incomplete addresses.</p>
<p>       syslog_facility (mail)<br />              The syslog facility of Postfix logging.</p>
<p>       syslog_name (postfix)<br />              The mail system name that is prepended to the  process  name  in<br />              syslog  records,  so  that  &#8220;smtpd&#8221; becomes, for example, &#8220;post-<br />              fix/smtpd&#8221;.</p>
<p>FILES<br />       /var/spool/postfix, mail queue<br />       /etc/postfix, configuration files</p>
<p>SEE ALSO<br />       pickup(8), mail pickup daemon<br />       qmgr(8), queue manager<br />       smtpd(8), SMTP server<br />       flush(8), fast flush service<br />       postsuper(1), queue maintenance<br />       postalias(1), create/update/query alias database<br />       postdrop(1), mail posting utility<br />       postfix(1), mail system control<br />       postqueue(1), mail queue control<br />       syslogd(8), system logging</p>
<p>README_FILES<br />       Use &#8220;postconf readme_directory&#8221; or<br />       &#8220;postconf html_directory&#8221; to locate this information.<br />       DEBUG_README, Postfix debugging howto<br />       ETRN_README, Postfix ETRN howto<br />       VERP_README, Postfix VERP howto</p>
<p>LICENSE<br />       The Secure Mailer license must be distributed with this software.</p>
<p>AUTHOR(S)<br />       Wietse Venema<br />       IBM T.J. Watson Research<br />       P.O. Box 704<br />       Yorktown Heights, NY 10598, USA</p>
<p>                                                                   SENDMAIL(1)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=a5cae77d-87f4-417d-841a-69d944b21cd1" /></div>
</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F&amp;title=SENDMAIL" title="Bookmark this post : SENDMAIL on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F&amp;title=SENDMAIL&amp;bodytext=SENDMAIL%281%29++++++++++++++++++++++++++++++++++++++++++++++++++++++++SENDMAIL%281%29NAME+++++++sendmail+-+Postfix+to+Sendmail+compatibility+interfaceSYNOPSIS+++++++sendmail+%5Boption+...%5D+%5Brecipient+...%5D+++++++mailq+++++++sendmail+-bp+++++++newaliases+++++++sendmail+-IDESCRIPTION+++++++The+Postfix+sendmail%281%29+command+implement" title="Digg this post : SENDMAIL"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F&amp;t=SENDMAIL" title="Recommend this post : SENDMAIL on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="google_buzz" href="http://www.google.com/reader/link?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F&amp;title=SENDMAIL" title="Buzz up this post : SENDMAIL "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="yahoo_buzz" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F" title="Buzz up this post : SENDMAIL "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="orkut" href="http://promote.orkut.com/preview?nt=orkut.com&amp;du=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F&amp;tt=SENDMAIL" title="Share this post : SENDMAIL on Orkut"><span class="head">Share on Orkut</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F&amp;title=SENDMAIL" title="Share this post : SENDMAIL on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F&amp;title=SENDMAIL" title="Share this post : SENDMAIL with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-2%2F" title="Tweet this post : SENDMAIL on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="rss" href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/feed" title="Follow this post : SENDMAIL comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="_blank" class="email" href="mailto:?subject=ITechLog : SENDMAIL&#038;body=here is a link to a site I really like.   http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/" title="Tell a friend about this post : SENDMAIL "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a>, <a class='technorati-link' href='http://technorati.com/tag/SENDMAIL' rel='tag' target='_self'>SENDMAIL</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail/" title="SENDMAIL">SENDMAIL</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/" title="SENDMAIL">SENDMAIL</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SENDMAIL</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 13:35:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[SENDMAIL]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/</guid>
		<description><![CDATA[SENDMAIL(1) SENDMAIL(1) NAME sendmail &#8211; Postfix to Sendmail compatibility interface SYNOPSIS sendmail [option ...] [recipient ...] mailq sendmail -bp newaliases sendmail -I DESCRIPTION The Postfix sendmail(1) command implements the Postfix to Sendmail com- patibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored. By default, Postfix [...]]]></description>
			<content:encoded><![CDATA[<p>SENDMAIL(1)                                                        SENDMAIL(1)</p>
<p>NAME<br />       sendmail &#8211; Postfix to Sendmail compatibility interface</p>
<p>SYNOPSIS<br />       sendmail [option ...] [recipient ...]</p>
<p>       mailq<br />       sendmail -bp</p>
<p>       newaliases<br />       sendmail -I</p>
<p>DESCRIPTION<br />       The Postfix sendmail(1) command implements the Postfix to Sendmail com-<br />       patibility interface.  For the  sake  of  compatibility  with  existing<br />       applications,  some  Sendmail  command-line  options are recognized but<br />       silently ignored.</p>
<p>       By default, Postfix sendmail(1) reads a  message  from  standard  input<br />       until  EOF  or  until  it  reads  a  line  with only a . character, and<br />       arranges for delivery.  Postfix sendmail(1) relies on  the  postdrop(1)<br />       command to create a queue file in the maildrop directory.</p>
<p>       Specific  command aliases are provided for other common modes of opera-<br />       tion:</p>
<p>       mailq  List the mail queue. Each entry shows the queue file ID, message<br />              size,  arrival  time, sender, and the recipients that still need<br />              to be delivered.  If mail could not be delivered upon  the  last<br />              attempt, the reason for failure is shown. This mode of operation<br />              is implemented by executing the postqueue(1) command.</p>
<p>       newaliases<br />              Initialize the alias database.  If no input  file  is  specified<br />              (with  the  -oA  option,  see  below), the program processes the<br />              file(s) specified with the alias_database configuration  parame-<br />              ter.   If  no alias database type is specified, the program uses<br />              the type specified with the default_database_type  configuration<br />              parameter.  This mode of operation is implemented by running the<br />              postalias(1) command.</p>
<p>              Note: it may take a minute or so before an alias database update<br />              becomes  visible.  Use the &#8220;postfix reload&#8221; command to eliminate<br />              this delay.</p>
<p>       These and other features can be selected by specifying the  appropriate<br />       combination  of  command-line  options. Some features are controlled by<br />       parameters in the <a target="_blank" href="http://main.cf/">main.cf</a> configuration file.</p>
<p>       The following options are recognized:</p>
<p>       -Am (ignored)</p>
<p>       -Ac (ignored)<br />              Postfix sendmail uses the same configuration file regardless  of<br />              whether or not a message is an initial submission.</p>
<p>       -B body_type<br />              The message body MIME type: 7BIT or 8BITMIME.</p>
<p>       -bd    Go  into  daemon  mode. This mode of operation is implemented by<br />              executing the &#8220;postfix start&#8221; command.</p>
<p>       -bh (ignored)</p>
<p>       -bH (ignored)<br />              Postfix has no persistent host status database.</p>
<p>       -bi    Initialize alias database. See the newaliases command above.</p>
<p>       -bm    Read mail from standard input and arrange for delivery.  This is<br />              the default mode of operation.</p>
<p>       -bp    List the mail queue. See the mailq command above.</p>
<p>       -bs    Stand-alone  SMTP  server mode. Read SMTP commands from standard<br />              input, and write responses to standard output.   In  stand-alone<br />              SMTP  server  mode,  mail relaying and other access controls are<br />              disabled by default. To enable them,  run  the  process  as  the<br />              mail_owner user.</p>
<p>              This  mode  of  operation is implemented by running the smtpd(8)<br />              daemon.</p>
<p>       -bv    Do not collect or deliver a  message.  Instead,  send  an  email<br />              report  after  verifying each recipient address.  This is useful<br />              for testing address rewriting and routing configurations.</p>
<p>              This feature is available in Postfix version 2.1 and later.</p>
<p>       -C config_file</p>
<p>       -C config_dir<br />              The path name of the Postfix <a target="_blank" href="http://main.cf/">main.cf</a>  file,  or  of  its  parent<br />              directory.  This  information  is  ignored with Postfix versions<br />              before 2.3.</p>
<p>              With all Postfix versions, you can specify a directory  pathname<br />              with  the MAIL_CONFIG environment variable to override the loca-<br />              tion of configuration files.</p>
<p>       -F full_name<br />              Set the sender full name. This overrides  the  NAME  environment<br />              variable, and is used only with messages that have no From: mes-<br />              sage header.</p>
<p>       -f sender<br />              Set the envelope sender  address.  This  is  the  address  where<br />              delivery problems are sent to. With Postfix versions before 2.1,<br />              the  Errors-To:  message  header  overrides  the  error   return<br />              address.</p>
<p>       -G     Gateway  (relay)  submission, as opposed to initial user submis-<br />              sion.  Either do not rewrite addresses at all, or update  incom-<br />              plete  addresses  with  the  domain  information  specified with<br />              remote_header_rewrite_domain.</p>
<p>              This option is ignored before Postfix version 2.3.</p>
<p>       -h hop_count (ignored)<br />              Hop count limit. Use the hopcount_limit configuration  parameter<br />              instead.</p>
<p>       -I     Initialize alias database. See the newaliases command above.</p>
<p>       -i     When  reading  a message from standard input, donÂ´t treat a line<br />              with only a . character as the end of input.</p>
<p>       -L label (ignored)<br />              The logging label. Use the syslog_name  configuration  parameter<br />              instead.</p>
<p>       -m (ignored)<br />              Backwards compatibility.</p>
<p>       -N dsn (default: &#8216;delay, failure&#8217;)<br />              Delivery  status  notification  control. Specify either a comma-<br />              separated list with one or more of  failure  (send  notification<br />              when  delivery fails), delay (send notification when delivery is<br />              delayed), or success (send  notification  when  the  message  is<br />              delivered);  or  specify  never (don&#8217;t send any notifications at<br />              all).</p>
<p>              This feature is available in Postfix 2.3 and later.</p>
<p>       -n (ignored)<br />              Backwards compatibility.</p>
<p>       -oAalias_database<br />              Non-default alias database. Specify pathname  or  type:pathname.<br />              See postalias(1) for details.</p>
<p>       -O option=value (ignored)<br />              Backwards compatibility.</p>
<p>       -o7 (ignored)</p>
<p>       -o8 (ignored)<br />              To  send 8-bit or binary content, use an appropriate MIME encap-<br />              sulation and specify the appropriate -B command-line option.</p>
<p>       -oi    When reading a message from standard input, donÂ´t treat  a  line<br />              with only a . character as the end of input.</p>
<p>       -om (ignored)<br />              The sender is never eliminated from alias etc. expansions.</p>
<p>       -o x value (ignored)<br />              Set  option x to value. Use the equivalent configuration parame-<br />              ter in <a target="_blank" href="http://main.cf/">main.cf</a> instead.</p>
<p>       -r sender<br />              Set the envelope sender  address.  This  is  the  address  where<br />              delivery problems are sent to. With Postfix versions before 2.1,<br />              the  Errors-To:  message  header  overrides  the  error   return<br />              address.</p>
<p>       -R return_limit (ignored)<br />              Limit  the  size of bounced mail. Use the bounce_size_limit con-<br />              figuration parameter instead.</p>
<p>       -q     Attempt to deliver all queued mail. This is implemented by  exe-<br />              cuting the postqueue(1) command.</p>
<p>              Warning:  flushing  undeliverable mail frequently will result in<br />              poor delivery performance of all other mail.</p>
<p>       -qinterval (ignored)<br />              The interval between queue runs. Use the queue_run_delay config-<br />              uration parameter instead.</p>
<p>       -qIqueueid<br />              Schedule immediate delivery of mail with the specified queue ID.<br />              This  option  is  implemented  by  executing  the   postqueue(1)<br />              command, and is available with Postfix version 2.4 and later.</p>
<p>       -qRsite<br />              Schedule  immediate  delivery of all mail that is queued for the<br />              named site. This option accepts only site names that are  eligi-<br />              ble  for the &#8220;fast flush&#8221; service, and is implemented by execut-<br />              ing the postqueue(1) command.  See flush(8) for more information<br />              about the &#8220;fast flush&#8221; service.</p>
<p>       -qSsite<br />              This  command  is  not implemented. Use the slower &#8220;sendmail -q&#8221;<br />              command instead.</p>
<p>       -t     Extract recipients from message headers. These are added to  any<br />              recipients specified on the command line.</p>
<p>              With Postfix versions prior to 2.1, this option requires that no<br />              recipient addresses are specified on the command line.</p>
<p>       -U (ignored)<br />              Initial user submission.</p>
<p>       -V envid<br />              Specify the envelope ID for notification by servers that support<br />              DSN.</p>
<p>              This feature is available in Postfix 2.3 and later.</p>
<p>       -XV (Postfix 2.2 and earlier: -V)<br />              Variable  Envelope Return Path. Given an envelope sender address<br />              of the form owner-listname@origin,  each  recipient  user@domain<br />              receives mail with a personalized envelope sender address.</p>
<p>              By  default,  the personalized envelope sender address is owner-<br />              listname+user=domain@origin. The default + and = characters  are<br />              configurable   with  the  default_verp_delimiters  configuration<br />              parameter.</p>
<p>       -XVxy (Postfix 2.2 and earlier: -Vxy)<br />              As -XV, but uses x and  y  as  the  VERP  delimiter  characters,<br />              instead of the characters specified with the default_verp_delim-<br />              iters configuration parameter.</p>
<p>       -v     Send an email report of the first delivery attempt (Postfix ver-<br />              sions  2.1 and later). Mail delivery always happens in the back-<br />              ground. When multiple -v options are given, enable verbose  log-<br />              ging for debugging purposes.</p>
<p>       -X log_file (ignored)<br />              Log mailer traffic. Use the debug_peer_list and debug_peer_level<br />              configuration parameters instead.</p>
<p>SECURITY<br />       By design, this program is not set-user (or group) id. However, it must<br />       handle  data  from  untrusted, possibly remote, users.  Thus, the usual<br />       precautions need to be taken against malicious inputs.</p>
<p>DIAGNOSTICS<br />       Problems are logged to syslogd(8) and to the standard error stream.</p>
<p>ENVIRONMENT<br />       MAIL_CONFIG<br />              Directory with Postfix configuration files.</p>
<p>       MAIL_VERBOSE (value does not matter)<br />              Enable verbose logging for debugging purposes.</p>
<p>       MAIL_DEBUG (value does not matter)<br />              Enable debugging with an external command, as specified with the<br />              debugger_command configuration parameter.</p>
<p>       NAME   The  sender full name. This is used only with messages that have<br />              no From: message header. See also the -F option above.</p>
<p>CONFIGURATION PARAMETERS<br />       The following <a target="_blank" href="http://main.cf/">main.cf</a> parameters are especially relevant to  this  pro-<br />       gram.   The  text  below  provides  only a parameter summary. See post-<br />       conf(5) for more details including examples.</p>
<p>TROUBLE SHOOTING CONTROLS<br />       The DEBUG_README file gives examples of how to trouble shoot a  Postfix<br />       system.</p>
<p>       debugger_command (empty)<br />              The external command to execute when a Postfix daemon program is<br />              invoked with the -D option.</p>
<p>       debug_peer_level (2)<br />              The increment in verbose logging level when a remote  client  or<br />              server matches a pattern in the debug_peer_list parameter.</p>
<p>       debug_peer_list (empty)<br />              Optional  list  of  remote  client or server hostname or network<br />              address  patterns  that  cause  the  verbose  logging  level  to<br />              increase by the amount specified in $debug_peer_level.</p>
<p>ACCESS CONTROLS<br />       Available in Postfix version 2.2 and later:</p>
<p>       authorized_flush_users (static:anyone)<br />              List of users who are authorized to flush the queue.</p>
<p>       authorized_mailq_users (static:anyone)<br />              List of users who are authorized to view the queue.</p>
<p>       authorized_submit_users (static:anyone)<br />              List  of  users who are authorized to submit mail with the send-<br />              mail(1) command (and with the privileged postdrop(1) helper com-<br />              mand).</p>
<p>RESOURCE AND RATE CONTROLS<br />       bounce_size_limit (50000)<br />              The  maximal  amount  of original message text that is sent in a<br />              non-delivery notification.</p>
<p>       fork_attempts (5)<br />              The maximal number of attempts to fork() a child process.</p>
<p>       fork_delay (1s)<br />              The delay between attempts to fork() a child process.</p>
<p>       hopcount_limit (50)<br />              The maximal number of Received:  message headers that is allowed<br />              in the primary message headers.</p>
<p>       queue_run_delay (300s)<br />              The  time  between  deferred  queue  scans by the queue manager;<br />              prior to Postfix 2.4 the default value was 1000s.</p>
<p>FAST FLUSH CONTROLS<br />       The ETRN_README file describes configuration and operation details  for<br />       the Postfix &#8220;fast flush&#8221; service.</p>
<p>       fast_flush_domains ($relay_domains)<br />              Optional list of destinations that are eligible for per-destina-<br />              tion logfiles with mail that is queued to those destinations.</p>
<p>VERP CONTROLS<br />       The VERP_README file describes configuration and operation  details  of<br />       Postfix support for variable envelope return path addresses.</p>
<p>       default_verp_delimiters (+=)<br />              The two default VERP delimiter characters.</p>
<p>       verp_delimiter_filter (-=+)<br />              The  characters  Postfix accepts as VERP delimiter characters on<br />              the Postfix sendmail(1) command line and in SMTP commands.</p>
<p>MISCELLANEOUS CONTROLS<br />       alias_database (see &#8216;postconf -d&#8217; output)<br />              The alias databases for local(8) delivery that are updated  with<br />              &#8220;newaliases&#8221; or with &#8220;sendmail -bi&#8221;.</p>
<p>       command_directory (see &#8216;postconf -d&#8217; output)<br />              The location of all postfix administrative commands.</p>
<p>       config_directory (see &#8216;postconf -d&#8217; output)<br />              The  default  location of the Postfix <a target="_blank" href="http://main.cf/">main.cf</a> and <a target="_blank" href="http://master.cf/">master.cf</a> con-<br />              figuration files.</p>
<p>       daemon_directory (see &#8216;postconf -d&#8217; output)<br />              The directory with Postfix support programs and daemon programs.</p>
<p>       default_database_type (see &#8216;postconf -d&#8217; output)<br />              The default database type for use in newaliases(1), postalias(1)<br />              and postmap(1) commands.</p>
<p>       delay_warning_time (0h)<br />              The time after which the sender receives the message headers  of<br />              mail that is still queued.</p>
<p>       enable_errors_to (no)<br />              Report  mail  delivery  errors to the address specified with the<br />              non-standard Errors-To: message header, instead of the  envelope<br />              sender  address  (this  feature  is removed with Postfix version<br />              2.2, is turned off by default with Postfix version 2.1,  and  is<br />              always turned on with older Postfix versions).</p>
<p>       mail_owner (postfix)<br />              The  UNIX  system  account  that owns the Postfix queue and most<br />              Postfix daemon processes.</p>
<p>       queue_directory (see &#8216;postconf -d&#8217; output)<br />              The location of the Postfix top-level queue directory.</p>
<p>       remote_header_rewrite_domain (empty)<br />              Don&#8217;t rewrite message headers from remote clients  at  all  when<br />              this  parameter is empty; otherwise, rewrite message headers and<br />              append the specified domain name to incomplete addresses.</p>
<p>       syslog_facility (mail)<br />              The syslog facility of Postfix logging.</p>
<p>       syslog_name (postfix)<br />              The mail system name that is prepended to the  process  name  in<br />              syslog  records,  so  that  &#8220;smtpd&#8221; becomes, for example, &#8220;post-<br />              fix/smtpd&#8221;.</p>
<p>FILES<br />       /var/spool/postfix, mail queue<br />       /etc/postfix, configuration files</p>
<p>SEE ALSO<br />       pickup(8), mail pickup daemon<br />       qmgr(8), queue manager<br />       smtpd(8), SMTP server<br />       flush(8), fast flush service<br />       postsuper(1), queue maintenance<br />       postalias(1), create/update/query alias database<br />       postdrop(1), mail posting utility<br />       postfix(1), mail system control<br />       postqueue(1), mail queue control<br />       syslogd(8), system logging</p>
<p>README_FILES<br />       Use &#8220;postconf readme_directory&#8221; or<br />       &#8220;postconf html_directory&#8221; to locate this information.<br />       DEBUG_README, Postfix debugging howto<br />       ETRN_README, Postfix ETRN howto<br />       VERP_README, Postfix VERP howto</p>
<p>LICENSE<br />       The Secure Mailer license must be distributed with this software.</p>
<p>AUTHOR(S)<br />       Wietse Venema<br />       IBM T.J. Watson Research<br />       P.O. Box 704<br />       Yorktown Heights, NY 10598, USA</p>
<p>                                                                   SENDMAIL(1)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=d4cd5158-492c-4ec2-b3c7-255e0513785c" /></div>
</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F&amp;title=SENDMAIL" title="Bookmark this post : SENDMAIL on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F&amp;title=SENDMAIL&amp;bodytext=SENDMAIL%281%29++++++++++++++++++++++++++++++++++++++++++++++++++++++++SENDMAIL%281%29NAME+++++++sendmail+-+Postfix+to+Sendmail+compatibility+interfaceSYNOPSIS+++++++sendmail+%5Boption+...%5D+%5Brecipient+...%5D+++++++mailq+++++++sendmail+-bp+++++++newaliases+++++++sendmail+-IDESCRIPTION+++++++The+Postfix+sendmail%281%29+command+implement" title="Digg this post : SENDMAIL"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F&amp;t=SENDMAIL" title="Recommend this post : SENDMAIL on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="google_buzz" href="http://www.google.com/reader/link?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F&amp;title=SENDMAIL" title="Buzz up this post : SENDMAIL "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="yahoo_buzz" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F" title="Buzz up this post : SENDMAIL "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="orkut" href="http://promote.orkut.com/preview?nt=orkut.com&amp;du=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F&amp;tt=SENDMAIL" title="Share this post : SENDMAIL on Orkut"><span class="head">Share on Orkut</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F&amp;title=SENDMAIL" title="Share this post : SENDMAIL on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F&amp;title=SENDMAIL" title="Share this post : SENDMAIL with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fitechlog.com%2Flinux-man-pages%2F2009%2F01%2F01%2Fsendmail-3%2F" title="Tweet this post : SENDMAIL on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="rss" href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/feed" title="Follow this post : SENDMAIL comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="_blank" class="email" href="mailto:?subject=ITechLog : SENDMAIL&#038;body=here is a link to a site I really like.   http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/" title="Tell a friend about this post : SENDMAIL "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a>, <a class='technorati-link' href='http://technorati.com/tag/SENDMAIL' rel='tag' target='_self'>SENDMAIL</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail/" title="SENDMAIL">SENDMAIL</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/sendmail-2/" title="SENDMAIL">SENDMAIL</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/sendmail-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
