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

2002-01-07 Thread Mark Ferlatte
On Fri, Jan 04, 2002 at 06:55:30PM -0500, Jeremy L. Gaddis wrote (1.00):
> What's wrong with editing sendmail.cf by hand?  I do it
> and have done it for years.  I initally generate one using
> m4 but usually modify it a bit to suit my needs.

You used to have to sometimes, but the newer sendmail versions make a
point of have all configuration in the .mc file...  The largest problem
with generating a .cf, and then editing it, is that you can't ever
rebuild it later safely.  If you keep all of your config in your .mc
file, then you are assured that you can always generate your current
working config if necessary.

In addition, after you upgrade sendmail versions, you can simply
regenerate the sendmail.cf and take advantage of any bug fixes or
improvements in the sendmail.cf macros that may have been added since
you last generated your config.

Of course, if you're the only person who's ever editing your config, you
can do whatever you want, but if you've got multiple admins managing
your sendmail installations, hand editing the .cf is a shooting offense.

M, who is starting to use postfix now.






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

2002-01-05 Thread Andy Spiegl
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) 2309')
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: [EMAIL PROTECTED], [EMAIL PROTECTED]
 URL: http://spiegl.de, http://radiomaranon.org.pe
 PGP/GPG: see headers
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 

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

2002-01-05 Thread Jeremy L. Gaddis
What's wrong with editing sendmail.cf by hand?  I do it
and have done it for years.  I initally generate one using
m4 but usually modify it a bit to suit my needs.

j.

--
Jeremy L. Gaddis <[EMAIL PROTECTED]>

-Original Message-
From: Mark Ferlatte [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2002 1:35 PM
To: debian-user@lists.debian.org
Subject: Re: how to get rid of sendmail X-Authentication-Warning?


On Fri, Jan 04, 2002 at 11:39:06AM -0500, Richard A Nelson wrote (0.50):
> It is a plain-text file.

Doh!  My apologies... I should have double checked before I mailed.

> Ack... don't hand edit sendmail.cf !

Double emphasis on this: _never_ hand edit the sendmail.cf... it's best
to think of it as the object form of the sendmail config (with the .mc
being the source form).

M


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



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

2002-01-04 Thread Mark Ferlatte
On Fri, Jan 04, 2002 at 11:39:06AM -0500, Richard A Nelson wrote (0.50):
> It is a plain-text file.

Doh!  My apologies... I should have double checked before I mailed.

> Ack... don't hand edit sendmail.cf !

Double emphasis on this: _never_ hand edit the sendmail.cf... it's best
to think of it as the object form of the sendmail config (with the .mc
being the source form).

M



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

2002-01-03 Thread Andy Spiegl
> >  O PrivacyOptions=needmailhelo,novrfy,noexpn,noreceipts,noverb
> > 
> > But it still generates these lines.
> 
> Are you sure that sendmail is reading /etc/mail/trusted-users.db?  Did
> you rebuild trusted-users.db after edited /etc/mail/trusted-users?

Hm, actually I thought that it's trusted-users is not a database but just a
plain text file.  But just to be sure, I edited my sendmail.cf:
 Ft/etc/mail/trusted-users %[^\#]
 Troot
 Tdaemon
 Tspiegl
 Tmail

And it _still_ generates the X-Authentication-Warning.  I don't get it.
 Andy.

-- 
 Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
 E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
 URL: http://spiegl.de, http://radiomaranon.org.pe
 PGP/GPG: see headers
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 War doesn't decide who is right, only who is left.



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

2002-01-03 Thread Mark Ferlatte
On Thu, Jan 03, 2002 at 04:23:26PM -0500, Andy Spiegl wrote (1.00):
> > my sendmail configs use these privacy options:
> > O PrivacyOptions=novrfy,noexpn
> And mine - as I already wrote :-)
>  # privacy flags
>  O PrivacyOptions=needmailhelo,novrfy,noexpn,noreceipts,noverb
> 
> But it still generates these lines.

Are you sure that sendmail is reading /etc/mail/trusted-users.db?  Did
you rebuild trusted-users.db after edited /etc/mail/trusted-users?

M



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

2002-01-03 Thread Andy Spiegl
> the fastest way would be to edit sendmail.cf and
> change
> O PrivacyOptions=authwarnings
> to
> O PrivacyOptions=
> or maybe
> #O PrivacyOptions=authwarnings
> 
> my sendmail configs use these privacy options:
> O PrivacyOptions=novrfy,noexpn
And mine - as I already wrote :-)
 # privacy flags
 O PrivacyOptions=needmailhelo,novrfy,noexpn,noreceipts,noverb

But it still generates these lines.
 Andy.

-- 
 Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
 E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
 URL: http://spiegl.de, http://radiomaranon.org.pe
 PGP/GPG: see headers
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 Q: How many McKinsey consultants does it take to change a light bulb? 
 A: How many can you afford?



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

2002-01-03 Thread nate

> Hi!
>

> Somewhere I read that "authwarnings" is on per default, but it
> didn't say how to turn it off.

the fastest way would be to edit sendmail.cf and
change
O PrivacyOptions=authwarnings
to
O PrivacyOptions=
or maybe
#O PrivacyOptions=authwarnings

my sendmail configs use these privacy options:
O PrivacyOptions=novrfy,noexpn

the better way would be to do this in sendmail.mc with
something like:
define(`confPRIVACY_FLAGS', `novrfy,noexpn')dnl

at the end of the file and run sendmailconfig
to re generate sendmail.cf

nate





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

2002-01-03 Thread Andy Spiegl
Hi!

I've been searching the docs and the list archives, but I just can't find
out why my sendmail (8.11.4+8.12.0.Beta12-4 and 8.12.1-2) still produce the

 X-Authentication-Warning: hamster.int.radiomaranon.org.pe: spiegl set sender 
to [EMAIL PROTECTED] using -f

/etc/mail/sendmail.mc contains:
 define(`confPRIVACY_FLAGS', `needmailhelo,novrfy,noexpn,noreceipts,noverb')dnl

Somewhere I read that "authwarnings" is on per default, but it didn't say
how to turn it off.

/etc/mail/trusted-users contains:
 mail
 root
 spiegl

Please help.  I'd appreciate any hint or pointer.
 Andy.

-- 
 Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
 E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
 URL: http://spiegl.de, http://radiomaranon.org.pe
 PGP/GPG: see headers
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\<,__`\<,__>(_) (_)/<_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 New Windows 2000 message:
   "This will end your Windows session. Do you want to play another game?"