[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sendmail: extra from line



Dear Debian fans,

there is something which has been bothering me about sendmail for a long
time.  In every mail that I write on this machine there is an extra "From " 
header line.  And because there can't be two one is quoted with ">".

Therefore a simple "echo hello | mail spiegl" reaches my mailbox like this:

=================================================================
 From spiegl@radiomaranon.org.pe  Tue Mar 13 22:43:42 2001
 >From spiegl  Tue Mar 13 22:43:42 2001
 Return-Path: <spiegl>
 Received: (from spiegl@localhost)
         by hamster.int.radiomaranon.org.pe (8.9.3/8.9.3/Debian 8.9.3-21) id WAA10024
         for andy; Tue, 13 Mar 2001 22:43:42 -0500
 Date: Tue, 13 Mar 2001 22:43:42 -0500
 From: Andy Spiegl <spiegl@radiomaranon.org.pe>
 Message-Id: <200103140343.WAA10024@hamster.int.radiomaranon.org.pe>
 To: andy@hamster.int.radiomaranon.org.pe

 hi
=================================================================

Does anyone understand this?  This also confuses other software!

I am using sendmail 8.9.3-23.
My sendmail.mc looks like this:

==========================
divert(-1)
#
# This file is used to configure sendmail for use with Debian systems.
#

divert(0)
VERSIONID(`@(#)sendmail.mc	8.9.3-23 (Debian) 20000309')
OSTYPE(debian)dnl
LOCAL_CONFIG
FEATURE(nocanonify)dnl
define(`SMART_HOST', `SMTP:pop.radiomaranon.org.pe')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(always_add_domain)dnl
Cwradiomaranon.org.pe
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(nouucp)dnl
MAILER_DEFINITIONS
MAILER(local)dnl
define(`SMTP_MAILER_FLAGS',`e')dnl
MAILER(smtp)dnl

LOCAL_CONFIG
dnl FEATURE(local_procmail)dnl
MAILER(procmail)dnl
MASQUERADE_AS(radiomaranon.org.pe)dnl
dnl ## Custom configurations below (will be preserved)

define(`confTO_QUEUEWARN', `1d')dnl
dnl define(`confDIAL_DELAY', `0')dnl
define(`confCON_EXPENSIVE', `True')dnl
define(`confSERVICE_SWITCH_FILE',/etc/mail/service.switch)dnl
define(`confBIND_OPTS',`-AAONLY -DNSRCH -DEFNAMES')dnl
dnl  see 'man resolver'
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn')dnl
dnl delivery mode (queue or better defer)
dnl define(`confDELIVERY_MODE', `q')dnl
dnl define(`confDELIVERY_MODE', `d')dnl

dnl define hosts we relay for
FEATURE(`access_db', `hash -o /etc/mail/access.db')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
FEATURE(accept_unresolvable_domains)
==========================

Thanks so much for any hint!
 Andy.

-- 
 Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
 E-Mail: Andy@spiegl.de, Andy@radiomaranon.org.pe
 URL: http://spiegl.de, http://radiomaranon.org.pe
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Reply to: