sendmail + masquerade ???

Post Reply
Message
Author
deepabyss
Posts: 8
Joined: 05. Jul 2001 6:41
Location: lennestadt

sendmail + masquerade ???

#1 Post by deepabyss »

hallo profis

seht euch bitte mal diese konfiguration an.
irgendwo habe ich da einen fehler drin,finde den aber nicht! sendmail maskiert den from_header nicht.habe schon einige std mit der fehlersuche zugebracht.ohne erfolg!
vielen dank fuer eure hilfe.
bis dann
deepabyss
#
# do you want to generate a sendmail-configuration /etc/sendmail.cf from
# parameters given in /etc/rc.config.d/sendmail.rc.config ("yes") or
# do you want to generate your /etc/sendmail.cf yourself ("no") ?
# (you could also use /etc/mail/linux.mc to do so.)
#

#
SMTP="yes"
FROM_HEADER="gmx.net"
#maskiert alle ausgehenden Mails

#
SENDMAIL_TYPE="yes"
#die /etc/sendmail.cf wird aus diesen Angaben erzeugt

#
# smarthost - this host gets all outgoing email from us
# normally used for uucp-connected sites or for dialup connections
# use "uucp-dom:server.uucp.com" to deliver all email to "server.uucp.com"
#
SENDMAIL_SMARTHOST="mail.gmx.net"

#
# sendmail assumes the following space-separated host-names to be
# the local host (this must just be used for names differrent to the
# hostname, for e.g. aliases like www.nowhere.com)
#
SENDMAIL_LOCALHOST="localhost alois@nettime:~>"

#
# do not deliver any email locally, but send all email to another host
# this can just be used with another system that has the same users on it
# and you probably also want to set the FROM_HEADER to the other host
#
SENDMAIL_RELAY=""

#
# with what parameters should sendmail be started?
# normal sites use "-bd -q30m -om". if you set SENDMAIL_EXPENSIVE and you
# have a dialup ISDN connection, you probably want to set this to
# "-bd -om" and run "sendmail -q" from your crontab.
#
SENDMAIL_ARGS="-bd -om"

#
# sendmail will only queue email in /var/spool/mqueue and will only start
# to deliver it if "sendmail -q" is run
#
SENDMAIL_EXPENSIVE="yes"

#
# sendmail will not try to canonify hostnames in your email
# so much less DNS-queries are send
# you probably want to enable this on a SENDMAIL_EXPENSIVE system.
# Don't forget to add the local, the mail hub, smart, and mail relay host
# with their IP addresses and the corresponding Full Qualified Domain Names
# to /etc/hosts
#
SENDMAIL_NOCANONIFY="yes"

#
# this option forbids DNS-queries. It requires a well configured
# /etc/hosts as described for SENDMAIL_NOCANONIFY. For most
# people using dial on demand SENDMAIL_NOCANONIFY should work.
#
SENDMAIL_NODNS="no"

#
# let sendmail deliver local mails in defer (postpone) mode.
# This also sets some entries to avoid dialups. A correct
# FQHOSTNAME for the local host is required.
#
SENDMAIL_DIALUP="no"

#
# these domains can additional to the local domains be changed
# in /etc/mail/genericstable
#
SENDMAIL_GENERICS_DOMAIN="alois@nettime:~>"

#
# this is useful if you have several domains with disjoint namespaces
# hosted on the same machine.
#
MASQUERADE_DOMAINS="alois@nettime:~>"

biber
Posts: 34
Joined: 29. Mar 2002 19:44
Location: Reutlingen

Re: sendmail + masquerade ???

#2 Post by biber »

Hallo ahagem,

ich glaube es müsste SENDMAIL_SMARTHOST="smtp:mail.gmx.net" heißen, statt SENDMAIL_SMARTHOST="mail.gmx.net".

bye
Steffen

biber
Posts: 34
Joined: 29. Mar 2002 19:44
Location: Reutlingen

Re: sendmail + masquerade ???

#3 Post by biber »

Oder, habe ich da was falsch verstanden?

deepabyss
Posts: 8
Joined: 05. Jul 2001 6:41
Location: lennestadt

Re: sendmail + masquerade ???

#4 Post by deepabyss »

hallo steffen
das problem ist anstatt alois@nettime:~> muesste sendmail im from_header ahagem@gmx.net einsetzen,da ich ja sonst auf die falsche e-mail adresse keine antwort erhalten kann.
bis dann
ahagem

Post Reply