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

Re: how to get rid of sendmail X-Authentication-Warning?



Hi Richard,

> Ack... don't hand edit sendmail.cf !
I did it just for this one quick test. :-)

> > And it _still_ generates the X-Authentication-Warning.  I don't get it.
> 
> Add this to /etc/mail/submit.mc and rebuild submit.cf (via make, or by
> hand):
> FEATURE(`use_ct_file')dnl              # trusted users

Hm, I've got this line in my sendmail.mc which should do the same, no?
I guess it's time that I post my sendmail.mc.  Please don't flame me for it.

owie:~#dpkg -s sendmail | grep -i version
Version: 8.12.1-2

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

define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/sendmail.cf/m4/cf.m4')dnl
VERSIONID(`@(#)sendmail.mc	8.9.3-21 (Debian) 20000309')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl

define(`confSAFE_FILE_ENV',             `/')dnl

LOCAL_CONFIG

define(`SMART_HOST', `SMTP:smtp.int.radiomaranon.org.pe')dnl

MASQUERADE_AS(radiomaranon.org.pe)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(always_add_domain)dnl
Cwowie.int.radiomaranon.org.pe
CGowie.int.radiomaranon.org.pe
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(`nouucp', `reject')dnl

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

FEATURE(nocanonify)dnl
define(`confSERVICE_SWITCH_FILE',/etc/mail/service.switch)dnl
define(`confBIND_OPTS',`-AAONLY -DNSRCH -DEFNAMES')dnl
dnl  see 'man resolver'
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`SMTP_MAILER_FLAGS',`e')dnl

define(`confTO_QUEUEWARN', `2d')dnl
dnl define(`confDIAL_DELAY', `0')dnl
define(`confCON_EXPENSIVE', `True')dnl

define(`confPRIVACY_FLAGS', `needmailhelo,novrfy,noexpn,noreceipts,noverb')dnl

MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
----sendmail.mc------------------------


----submit.mc------------------------
divert(-1)dnl
#-----------------------------------------------------------------------------
# $Sendmail: ./submit.mc.in,v 8.12.0 2001/05/29 12:00:00 cowboy Exp $
#
# Copyright (c) 2000-2001 Richard Nelson.  All Rights Reserved.
#
# Generated automatically from submit.mc.in by configure.
#
# submit.mc prototype config file for building Sendmail 8.12.1
#
# Note: the .in file supports 8.7.0 - 8.12.0, but the generated
#	file is customized to the version noted above.
#
# This file is used to configure Sendmail for use with Debian systems.
#
# If you modify this file, you will have to regenerate /etc/mail/submit.cf
# by running this file through the m4 preprocessor via one of the following:
#	* `sendmailconfig`
#	* `make`
#	* `m4 /etc/mail/submit.mc > /etc/mail/submit.cf`
# The first two options are preferred as they will also update other files
# that depend upon the contents of this file.
#
# The best documentation for this .mc file is:
# /usr/share/doc/sendmail-doc/cf.README.gz
#
#-----------------------------------------------------------------------------
divert(0)dnl
#
#   Copyright (c) 2000-2001 Richard Nelson.  All Rights Reserved.
#
#  This file is used to configure Sendmail for use with Debian systems.
#
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/sendmail.cf/m4/cf.m4')dnl
VERSIONID(`$Id: submit.mc, v 8.12.1-2 2001-10-10 13:35:53 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
dnl #
dnl #---------------------------------------------------------------------
dnl # Masquerading information, if needed, should go here
dnl # You likely will not need this, as the MTA will do it
dnl #---------------------------------------------------------------------
dnl MASQUERADE_AS()dnl
dnl FEATURE(`masquerade_envelope')dnl
dnl #
dnl #---------------------------------------------------------------------
dnl # The real reason we're here: the FEATURE(msp)
dnl #---------------------------------------------------------------------
FEATURE(`msp', `[127.0.0.1]', `MSA')dnl
dnl #
dnl #---------------------------------------------------------------------
dnl # Some minor cleanup from FEATURE(msp)
dnl #---------------------------------------------------------------------
define(`confRUN_AS_USER', `mail')dnl
define(`confTRUSTED_USER', `confRUN_AS_USER')dnl
dnl #
dnl #---------------------------------------------------------------------
----submit.mc------------------------

Thanks,
 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)
  ----- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/       /\\
  ---- (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_    _\_v
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Rich Cook: "Programming today is a race between software engineers 
 striving to build bigger and better idiot-proof programs, and the 
 Universe trying to produce bigger and better idiots. So far, the 
 Universe is winning."                    



Reply to: