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 > [Q] Sendmail: add domain name to Mlocal
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

[Q] Sendmail: add domain name to Mlocal

Réponse
 
LinkBack Outils de la discussion
Vieux 22/01/2007, 08h08   #1
TT
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [Q] Sendmail: add domain name to Mlocal

Hi

I'm trying to set up sendmail for InterScan and other MTAs.

Mlocal part of sendmail.cf is as follows.
-------------------------------------------------
Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL,
R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=TCP another-host 25
-------------------------------------------------

This setting means that a local-delivery-mail is forwarded to
another-host.

I dumped packets and found that, forwarded e-mail address has no domain
name.

For example, a destination address <guest@mydomain.com> is converted
to <guest>
by sendmail when it is forwarded to another-host.

I want to add domain name "@mydomain.com" to <guest>.
Is it possible or not ?
Please me!
Thanks !

Tsuyoshi

  Réponse avec citation
Vieux 22/01/2007, 09h31   #2
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [Q] Sendmail: add domain name to Mlocal

"TT" <bz800k@hotmail.com> writes:

> I'm trying to set up sendmail for InterScan and other MTAs.
>
> Mlocal part of sendmail.cf is as follows.
> -------------------------------------------------
> Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL,
> R=EnvToL/HdrToL,
> T=DNS/RFC822/X-Unix,
> A=TCP another-host 25
> -------------------------------------------------
>
> This setting means that a local-delivery-mail is forwarded to
> another-host.
>
> I dumped packets and found that, forwarded e-mail address has no domain
> name.
>
> For example, a destination address <guest@mydomain.com> is converted
> to <guest>
> by sendmail when it is forwarded to another-host.
>
> I want to add domain name "@mydomain.com" to <guest>.
> Is it possible or not ?
> Please me!
> Thanks !
>
> Tsuyoshi


Instead of modifying local mailer define MAIL_HUB in sendmail.mc file:
define(`MAIL_HUB',`esmtp:another-host')

BTW Have you *intentionally* configured processing of aliases and
~/.forward files *before* forwarding messages to the scanner?

NO => add also FEATURE(`stickyhost') in sendmail.mc file

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html
http://anfi.homeunix.net/sendmail/
  Réponse avec citation
Vieux 27/01/2007, 12h31   #3
TT
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sendmail: add domain name to Mlocal

Sorry, I'm too late.

I could transfer e-mail by MAIL_HUB and stikyhost!

Thanks!

On 1$B7n(B22$BF|(B, $B8a8e(B6:31, Andrzej Adam Filip <a...@onet.eu> wrote:
> "TT" <bz8...@hotmail.com> writes:
> > I'm trying to set up sendmail for InterScan and other MTAs.

>
> > Mlocal part of sendmail.cf is as follows.
> > -------------------------------------------------
> > Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL,
> > R=EnvToL/HdrToL,
> > T=DNS/RFC822/X-Unix,
> > A=TCP another-host 25
> > -------------------------------------------------

>
> > This setting means that a local-delivery-mail is forwarded to
> > another-host.

>
> > I dumped packets and found that, forwarded e-mail address has no domain
> > name.

>
> > For example, a destination address <g...@mydomain.com> is converted
> > to <guest>
> > by sendmail when it is forwarded to another-host.

>
> > I want to add domain name "@mydomain.com" to <guest>.
> > Is it possible or not ?
> > Please me!
> > Thanks !

>
> > TsuyoshiInstead of modifying local mailer define MAIL_HUB in sendmail.mc file:

> define(`MAIL_HUB',`esmtp:another-host')
>
> BTW Have you *intentionally* configured processing of aliases and
> ~/.forward files *before* forwarding messages to the scanner?
>
> NO => add also FEATURE(`stickyhost') in sendmail.mc file
>
> --
> [pl>en: Andrew] Andrzej Adam Filip : a...@priv.onet.pl : a...@xl.wp.pl
> Before You Ask:http://anfi.homeunix.net/sendmail/B4....net/sendmail/


  Réponse avec citation
Vieux 27/01/2007, 15h58   #4
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Sendmail: add domain name to Mlocal

"TT" <bz800k@hotmail.com> writes:

Andrzej Adam Filip <a...@onet.eu> wrote:
>> "TT" <bz8...@hotmail.com> writes:
>> > I'm trying to set up sendmail for InterScan and other MTAs.

>>
>> > Mlocal part of sendmail.cf is as follows.
>> > -------------------------------------------------
>> > Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL,
>> > R=EnvToL/HdrToL,
>> > T=DNS/RFC822/X-Unix,
>> > A=TCP another-host 25
>> > -------------------------------------------------

>>
>> > This setting means that a local-delivery-mail is forwarded to
>> > another-host.

>>
>> > I dumped packets and found that, forwarded e-mail address has no domain
>> > name.

>>
>> > For example, a destination address <g...@mydomain.com> is converted
>> > to <guest>
>> > by sendmail when it is forwarded to another-host.

>>
>> > I want to add domain name "@mydomain.com" to <guest>.
>> > Is it possible or not ?
>> > Please me!
>> > Thanks !

>>
>> > TsuyoshiInstead of modifying local mailer define MAIL_HUB in sendmail.mc file:

>> define(`MAIL_HUB',`esmtp:another-host')
>>
>> BTW Have you *intentionally* configured processing of aliases and
>> ~/.forward files *before* forwarding messages to the scanner?
>>
>> NO => add also FEATURE(`stickyhost') in sendmail.mc file

>
> Sorry, I'm too late.
>
> I could transfer e-mail by MAIL_HUB and stikyhost!


1) Generate sendmail-test.cf from *.mc file with the above fixes
2) test it using
#v+
sendmail -C sendmail-test.cf -bv guest@mydomain.com
echo '3,0 guest@mydomain.com' | sendmail -C sendmail-test.cf -bt -d21.12
#v-

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html
http://anfi.homeunix.net/sendmail/ [orkut,linkedin,xing]
  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 13h29.


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