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 > mailing.postfix.users > 2 domains
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
2 domains

Réponse
 
LinkBack Outils de la discussion
Vieux 29/03/2006, 19h40   #1 (permalink)
paolino@30gigs.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 2 domains

my postfix server should deliver mail for two domains: domainA.it and
domainA.com (yes, the domain name is the same, but the suffix change).
some site reports that the solution is in "relay_domains =
hash:/etc/postfix/relay_domains" and "transport_maps =
hash:/etc/postfix/transport" parameters in main.cf, using external text
files containing:

/etc/postfix/transport:
domainA.it smtp:x.x.x.x
domainA.com smtp:x.x.x.x

/etc/postfix/relay_domains
domainA.it OK
domainA.com OK

(x.x.x.x is the mailserver on the local network)

can anyone confirm this idea since i have found lots of different
solutions and i don't know which is the better and if this method is
correct.

Thanks,
paolino

  Réponse avec citation
Vieux 29/03/2006, 20h13   #2 (permalink)
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2 domains

Paolino,

Your concept looks okay to me, assuming that your host is acting as a relay
between the outside world and those 2 domain names and systems.

Also take a look at "mynetworks" in: man 5 postconf
You'll probably want make sure those 2 systems are in mynetworks if you
expect them to relay outgoing email via your site.

There's some documentation at http://www.postfix.org/documentation.html
under "SMTP Relay/access control".
--
Greg




paolino@30gigs.com wrote:
> my postfix server should deliver mail for two domains: domainA.it and
> domainA.com (yes, the domain name is the same, but the suffix change).
> some site reports that the solution is in "relay_domains =
> hash:/etc/postfix/relay_domains" and "transport_maps =
> hash:/etc/postfix/transport" parameters in main.cf, using external text
> files containing:
>
> /etc/postfix/transport:
> domainA.it smtp:x.x.x.x
> domainA.com smtp:x.x.x.x
>
> /etc/postfix/relay_domains
> domainA.it OK
> domainA.com OK
>
> (x.x.x.x is the mailserver on the local network)
>
> can anyone confirm this idea since i have found lots of different
> solutions and i don't know which is the better and if this method is
> correct.
>
> Thanks,
> paolino
>

  Réponse avec citation
Vieux 31/03/2006, 08h01   #3 (permalink)
paolino@30gigs.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2 domains

thank you, greg. it works.
the host i was talking about is a relay..

thanks again,
paolino

  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 14h47.


Édité par : vBulletin® version 3.7.2
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
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08887 seconds with 11 queries