|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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) |
|
![]() |
| Outils de la discussion | |
|
|