PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Sendmail maskiert nicht



hitazcl
25.02.10, 08:43
Hallo zusammen,

ich bin neu hier und habe gehört, dass in diesem Forum einem zu fast allem geholfen werden kann...

Ich habe Sendmail am laufen und das Problem, dass er nicht maskiert!
Einige Themen hier im Forum hatten schon ähnlichen Inhalt, nur die richtige Lösung fand ich noch nicht.

Meine .mc schau so aus:


divert(-1)dnl
#-----------------------------------------------------------------------------
# $Sendmail: debproto.mc,v 8.13.8 2010-01-30 17:15:05 cowboy Exp $ # # Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved.
#
# cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure.
#
# sendmail.mc prototype config file for building Sendmail 8.13.8 # # Note: the .in file supports 8.7.6 - 9.0.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/sendmail.cf # by running this file through the m4 preprocessor via one of the following:
# * `sendmailconfig`
# * `make`
# * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.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) 1998-2005 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/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.13.8-3+etch1 2010-01-30 17:15:05 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl

undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS=


FEATURE(`masquerade_entire_domain')
FEATURE(`allmasquerade')
FEATURE(`masquerade_envelope')
FEATURE(`nullclient', host-for-relay)
FEATURE(`mailertable')
dnl #
EXPOSED_USER(root uucp)
LOCAL_USER(root)
MASQUERADE_AS(`soll-hiermit-maskiert-werden.de')
MASQUERADE_DOMAIN(`zumaskieren.de')



Kann mir jemand helfen, dass mein Sendmail endlich wieder maskiert?

Dank

Gruß

hitazcl
25.02.10, 09:19
[solved] Habe es immer als "root" probiert.
Der wurde aber laut Konfiguration ausgeschlossen :S
Hätte sonst immer funktioniert.

Iluminat23
25.02.10, 10:31
Siehst du hier wird einem bei jedem problem geholfen, auch wenn man selber die lösung findet ;)

gruß iluminat23