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 > relay-based routing
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

relay-based routing

Réponse
 
LinkBack Outils de la discussion
Vieux 28/08/2007, 03h12   #1
dp
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut relay-based routing

We're outsourcing some of our domains to a commercial house and now we'd
like to be able to accept mail to those domains but only if that mail is
relayed by the new provider. I don't know that I've seen any such config
before but here's the logical view of it in tortured access_db speak:

To:mytestdomain.com but only if relay==postini OK

Anyone have an idea?

dp
  Réponse avec citation
Vieux 28/08/2007, 06h16   #2
Victor Sudakov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay-based routing

dp wrote:
> We're outsourcing some of our domains to a commercial house and now we'd
> like to be able to accept mail to those domains but only if that mail is
> relayed by the new provider. I don't know that I've seen any such config
> before but here's the logical view of it in tortured access_db speak:


> To:mytestdomain.com but only if relay==postini OK


> Anyone have an idea?


In exim, you could use something like

acl_check_rcpt:
accept domains = mytestdomain.com
hosts = postini
deny message = relay not permitted

Yet another reason to migrate from sendmail.

--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/
  Réponse avec citation
Vieux 28/08/2007, 06h16   #3
Victor Sudakov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay-based routing

dp wrote:
> We're outsourcing some of our domains to a commercial house and now we'd
> like to be able to accept mail to those domains but only if that mail is
> relayed by the new provider. I don't know that I've seen any such config
> before but here's the logical view of it in tortured access_db speak:


> To:mytestdomain.com but only if relay==postini OK


> Anyone have an idea?


In exim, you could use something like

acl_check_rcpt:
accept domains = mytestdomain.com
hosts = postini
deny message = relay not permitted

Yet another reason to migrate from sendmail.

--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/
  Réponse avec citation
Vieux 28/08/2007, 08h03   #4
Sean Straw (to email, replace lutefisk with mail)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay-based routing

On Mon, 27 Aug 2007 19:12:51 -0700, dp <dp@urflink.net> wrote:

>We're outsourcing some of our domains to a commercial house and now we'd
>like to be able to accept mail to those domains but only if that mail is
>relayed by the new provider. I don't know that I've seen any such config
>before but here's the logical view of it in tortured access_db speak:
>
>To:mytestdomain.com but only if relay==postini OK


Well, if postini is some trusted relay, you can expressly accept mail
from it (note that this will accept all mail from it, not just stuff
for your specific domain - but this doesn't allow them to RELAY
thorugh your host, only mail to locally handled domains):

Connect:ip_address OK

then otherwise deny mail to the domain:

To:somedomain.tld REJECT


(a similar technique is used to safeguard listname-out aliases from
access by external users - expressly OK the localhost, then otherwise
refuse mail to the address - by allowing the host to mail, it doesn't
run afoul of the block on the address)


  Réponse avec citation
Vieux 28/08/2007, 08h03   #5
Sean Straw (to email, replace lutefisk with mail)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay-based routing

On Mon, 27 Aug 2007 19:12:51 -0700, dp <dp@urflink.net> wrote:

>We're outsourcing some of our domains to a commercial house and now we'd
>like to be able to accept mail to those domains but only if that mail is
>relayed by the new provider. I don't know that I've seen any such config
>before but here's the logical view of it in tortured access_db speak:
>
>To:mytestdomain.com but only if relay==postini OK


Well, if postini is some trusted relay, you can expressly accept mail
from it (note that this will accept all mail from it, not just stuff
for your specific domain - but this doesn't allow them to RELAY
thorugh your host, only mail to locally handled domains):

Connect:ip_address OK

then otherwise deny mail to the domain:

To:somedomain.tld REJECT


(a similar technique is used to safeguard listname-out aliases from
access by external users - expressly OK the localhost, then otherwise
refuse mail to the address - by allowing the host to mail, it doesn't
run afoul of the block on the address)


  Réponse avec citation
Vieux 29/08/2007, 03h15   #6
dp
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay-based routing

Victor Sudakov wrote:
> dp wrote:
>> We're outsourcing some of our domains to a commercial house and now we'd
>> like to be able to accept mail to those domains but only if that mail is
>> relayed by the new provider. I don't know that I've seen any such config
>> before but here's the logical view of it in tortured access_db speak:

>
>> To:mytestdomain.com but only if relay==postini OK

>
>> Anyone have an idea?

>
> In exim, you could use something like
>
> acl_check_rcpt:
> accept domains = mytestdomain.com
> hosts = postini
> deny message = relay not permitted
>
> Yet another reason to migrate from sendmail.
>


When pigs fly out of my ass.

dp
  Réponse avec citation
Vieux 29/08/2007, 06h07   #7
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay-based routing

On 8/27/2007 9:12 PM, dp wrote:
> We're outsourcing some of our domains to a commercial house and now
> we'd like to be able to accept mail to those domains but only if that
> mail is relayed by the new provider. I don't know that I've seen any
> such config before but here's the logical view of it in tortured
> access_db speak:
>
> To:mytestdomain.com but only if relay==postini OK
>
> Anyone have an idea?


You might try some derivative of "Protected Recipients" where you would
consider the out sourced party an internal sender. Just a thought.



Grant. . . .

  Réponse avec citation
Vieux 29/08/2007, 15h54   #8
Victor Sudakov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay-based routing

dp wrote:
> >> We're outsourcing some of our domains to a commercial house and now we'd
> >> like to be able to accept mail to those domains but only if that mail is
> >> relayed by the new provider. I don't know that I've seen any such config
> >> before but here's the logical view of it in tortured access_db speak:

> >
> >> To:mytestdomain.com but only if relay==postini OK

> >
> >> Anyone have an idea?

> >
> > In exim, you could use something like
> >
> > acl_check_rcpt:
> > accept domains = mytestdomain.com
> > hosts = postini
> > deny message = relay not permitted
> >
> > Yet another reason to migrate from sendmail.
> >


> When pigs fly out of my ass.


I respect your right to be a masochist.

--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/
  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 03h07.


É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,17475 seconds with 16 queries