PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > masquerade problem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

masquerade problem

Réponse
 
LinkBack Outils de la discussion
Vieux 07/09/2006, 21h20   #1
Faouzi Gassemi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut masquerade problem

Hi guys !

I have a masquerade problem from my workstations to my server .
I use Fedora core 4 .Here is my mc file

define(`SMART_HOST',`smtp.DMS.UMontreal.CA')
define(`LOCAL_RELAY',`smtp.DMS.UMontreal.CA')
define(`MAIL_HUB',`smtp.DMS.UMontreal.CA')

This is for email traffic and

MASQUERADE_AS(`DMS.UMontreal.CA')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com
as well
dnl #
FEATURE(masquerade_entire_domain)dnl
dnl #
MASQUERADE_DOMAIN(DMS.UMontreal.CA)dnl
MASQUERADE_DOMAIN(dms.umontreal.ca)dnl
MASQUERADE_DOMAIN(dms)dnl
MASQUERADE_DOMAIN(DMS)dnl
MAILER(smtp)dnl

for masquerading

But when i send mail to local personn

penguin [/etc/mail] >mail francis
Subject: this is a test
Cc: Null message body; hope that's ok.


Here is the log

Sep 7 16:16:56 penguin sendmail[27878]: k87KGudn027878: from=faouzi,
size=37, class=0, nrcpts=1,
msgid=<200609072016.k87KGudn027878@penguin.DMS.UMo ntreal.CA>,
relay=faouzi@localhost
Sep 7 16:16:56 penguin sendmail[27879]: k87KGuav027879:
from=<faouzi@penguin.DMS.UMontreal.CA>, size=370, class=0, nrcpts=1,
msgid=<200609072016.k87KGudn027878@penguin.DMS.UMo ntreal.CA>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 7 16:16:56 penguin sendmail[27878]: k87KGudn027878: to=francis,
ctladdr=faouzi (5574/600), delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0,
stat=Sent (k87KGuav027879 Message accepted for delivery)
Sep 7 16:16:56 penguin sendmail[27881]: k87KGuav027879:
to=<francis@penguin.DMS.UMontreal.CA>,
ctladdr=<faouzi@penguin.DMS.UMontreal.CA> (5574/600), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=120370, relay=smtp.dms.umontreal.ca
[132.204.53.113], dsn=5.1.1, stat=User unknown
Sep 7 16:16:56 penguin sendmail[27881]: k87KGuav027879: k87KGuav027881:
DSN: User unknown
Sep 7 16:16:56 penguin sendmail[27881]: k87KGuav027881:
to=<faouzi@penguin.DMS.UMontreal.CA>, delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=31652, relay=smtp.dms.umontreal.ca [132.204.53.113],
dsn=5.1.1, stat=User unknown
Sep 7 16:16:56 penguin sendmail[27881]: k87KGuav027881: k87KGuaw027881:
return to sender: User unknown
Sep 7 16:16:57 penguin sendmail[27881]: k87KGuaw027881: to=root,
delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=32676,
relay=smtp.dms.umontreal.ca [132.204.53.113], dsn=2.0.0, stat=Sent
(k87KFDdU011141 Message accepted for delivery)

I have no sender sender masquerading (faouzi ) , no recipient
masquerading (francis) .




Thanks for anyone that will !
Faouzi
  Réponse avec citation
Vieux 08/09/2006, 09h35   #2
Michael Heiming
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: masquerade problem

In comp.mail.sendmail Faouzi Gassemi <faouzi@dms.umontreal.ca>:
> Hi guys !


> I have a masquerade problem from my workstations to my server .
> I use Fedora core 4 .Here is my mc file


[..]
> MASQUERADE_AS(`DMS.UMontreal.CA')dnl
> dnl #
> dnl # masquerade not just the headers, but the envelope as well
> dnl #
> FEATURE(masquerade_envelope)dnl
> dnl #
> dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com
> as well
> dnl #
> FEATURE(masquerade_entire_domain)dnl
> dnl #
> MASQUERADE_DOMAIN(DMS.UMontreal.CA)dnl
> MASQUERADE_DOMAIN(dms.umontreal.ca)dnl
> MASQUERADE_DOMAIN(dms)dnl
> MASQUERADE_DOMAIN(DMS)dnl

[..]

> I have no sender sender masquerading (faouzi ) , no recipient
> masquerading (francis) .


Iirc masquerading is done through submit.cf on recent RH sendmail
versions, you need to modify submit.mc and generate submit.cf as
with sendmail.mc/cf with of m4.

Check the sendmail docs on your box for more info.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 316: Elves on strike. (Why do they call EMAG
Elf Magic)
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h04.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09483 seconds with 10 queries