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 > Sendmail, Exchange smart host, and local mail
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Sendmail, Exchange smart host, and local mail

Réponse
 
LinkBack Outils de la discussion
Vieux 26/09/2006, 21h22   #1
dadoo3002@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Sendmail, Exchange smart host, and local mail

I have a machine running Sendmail and I'd like it to use an Exchange
server for a smart host. It's an AIX machine, but I had the same
problem on a Tru64 machine, about a year or two ago, and I never got it
resolved.

I'd like *all* email to go through the Exchange server - local or not.
I have the following lines in my sendmail.cf:

DSsmtp:mail.mydomain.com
DRsmtp:mail.mydomain.com
DHsmtp:mail.mydomain.com

For outgoing mail, this works fine. However, when I use the command:

mailx -v -s Testing me@mydomain.com

I see that sendmail rewrites the address as:

me@mail.mydomain.com

Apparently, Exchange doesn't like that. Is it possible to get sendmail
to leave the address completely alone and just make the Exchange server
handle it?

Thanks

  Réponse avec citation
Vieux 27/09/2006, 05h54   #2
Alton Yu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sendmail, Exchange smart host, and local mail

dadoo3002@gmail.com wrote:
> I have a machine running Sendmail and I'd like it to use an Exchange
> server for a smart host. It's an AIX machine, but I had the same
> problem on a Tru64 machine, about a year or two ago, and I never got it
> resolved.
>
> I'd like *all* email to go through the Exchange server - local or not.
> I have the following lines in my sendmail.cf:
>
> DSsmtp:mail.mydomain.com
> DRsmtp:mail.mydomain.com
> DHsmtp:mail.mydomain.com
>
> For outgoing mail, this works fine. However, when I use the command:
>
> mailx -v -s Testing me@mydomain.com
>
> I see that sendmail rewrites the address as:
>
> me@mail.mydomain.com
>
> Apparently, Exchange doesn't like that. Is it possible to get sendmail
> to leave the address completely alone and just make the Exchange server
> handle it?
>
> Thanks
>



use masquerade and masquerade_envelope.
  Réponse avec citation
Vieux 29/09/2006, 04h24   #3
dadoo3002@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sendmail, Exchange smart host, and local mail


Alton Yu wrote:
>
> use masquerade and masquerade_envelope.


That worked, thanks, but it wasn't easy. AIX doesn't have sendmail.mc
and all the other stuff to build a cf file. I had to go to a Linux
machine, set up the sendmail.mc there, "make" it, then transfer
sendmail.cf to the AIX machine.

There was one problem: apparently, AIX wanted a version 9 sendmail.cf
file, while Linux produced a version 10 file. Initially sendmail on AIX
choked on the file, so I went in and changed the "V10/Berkeley" line to
"V9/Berkeley". I know it's a total kluge, but all I really want is for
the machine to email me its logs.

Is there any reason that shouldn't work, for my limited purposes?

Thanks for your

  Réponse avec citation
Vieux 29/09/2006, 05h44   #4
Alton Yu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sendmail, Exchange smart host, and local mail

dadoo3002@gmail.com wrote:
> Alton Yu wrote:
>> use masquerade and masquerade_envelope.

>
> That worked, thanks, but it wasn't easy. AIX doesn't have sendmail.mc
> and all the other stuff to build a cf file. I had to go to a Linux
> machine, set up the sendmail.mc there, "make" it, then transfer
> sendmail.cf to the AIX machine.
>
> There was one problem: apparently, AIX wanted a version 9 sendmail.cf
> file, while Linux produced a version 10 file. Initially sendmail on AIX
> choked on the file, so I went in and changed the "V10/Berkeley" line to
> "V9/Berkeley". I know it's a total kluge, but all I really want is for
> the machine to email me its logs.
>
> Is there any reason that shouldn't work, for my limited purposes?
>
> Thanks for your
>


Download the source and use that.

Good luck.
  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 17h50.


É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,09877 seconds with 12 queries