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 > Relaying all local mail to another server.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Relaying all local mail to another server.

Réponse
 
LinkBack Outils de la discussion
Vieux 14/05/2007, 23h35   #1
hdbarrera@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Relaying all local mail to another server.

Hi,

I've configured sendmail to relay all local and remote e-mail to an
exchange server for distribution.

The relay to remote address is working just fine.

The only problem I have is with the relaying of the local e-mail.

Name of my machine: my_local
Name of our exchange server: my_exchg
Name of our domain: my_domain.com

When my machine relays the e-mail to the exchange server, this is what
happens:

MAIL From:<root@my_domain.com>
root@my_domain.com....Sender OK
RCPT To:<hector@my.exchg.my_domain.com>
Sent.

The e-mail gets received by the exchange server just fine, but why is
sendmail changing my address to hector@my.exchg.my_domain.com ?

What I want is for sendmail just to say: hector@my_domain.com .

Now, this only happens when the cron job sends an e-mail to hector
(local address) without specifying the address, just to "hector".
If the cron job sends it to "hector@hotmail.com", the exchange server
gets the correct addres.

Any ideas?

Thanks for your .

Hector B.

  Réponse avec citation
Vieux 15/05/2007, 06h20   #2
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Relaying all local mail to another server.

On May 14, 6:35 pm, hdbarr...@hotmail.com wrote:
> Hi,
>
> I've configured sendmail to relay all local and remote e-mail to an
> exchange server for distribution.
>
> The relay to remote address is working just fine.
>
> The only problem I have is with the relaying of the local e-mail.
>
> Name of my machine: my_local
> Name of our exchange server: my_exchg
> Name of our domain: my_domain.com
>
> When my machine relays the e-mail to the exchange server, this is what
> happens:
>
> MAIL From:<root@my_domain.com>
> root@my_domain.com....Sender OK
> RCPT To:<hec...@my.exchg.my_domain.com>
> Sent.
>
> The e-mail gets received by the exchange server just fine, but why is
> sendmail changing my address to hec...@my.exchg.my_domain.com ?
>
> What I want is for sendmail just to say: hector@my_domain.com .
>
> Now, this only happens when the cron job sends an e-mail to hector
> (local address) without specifying the address, just to "hector".
> If the cron job sends it to "hec...@hotmail.com", the exchange server
> gets the correct addres.
>
> Any ideas?


Perhaps you could post the output of

grep -v '^dnl' < sendmail.mc
grep -v '^dnl' < submit.mc




>
> Thanks for your .
>
> Hector B.



  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 03h55.


É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,08433 seconds with 10 queries