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 > local-host-names per interface / sasl users per interface
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

local-host-names per interface / sasl users per interface

Réponse
 
LinkBack Outils de la discussion
Vieux 13/05/2007, 17h24   #1
andi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut local-host-names per interface / sasl users per interface

Hello,
i'm running sendmail on a machine with multiple ip-addresses.

Is it possible to map a local-host-name to a specific ip-address? if
the mail is delivered to a different ip-address "relaying denied"
should be returned if the user is not authenticated.

Example:
IP-Adresses: IP-1, IP-2
local-host-names: domain-1, domain-2

Sendmail should only accept mails for domain-1 on IP-1 and for
domain-2 on IP-2 when the sending client is not authenticed.

Connection on IP-1:
TO xy@domain-1 -> accept message
To xy@domain-2 -> relaying denied

Connection on IP-2:
TO xy@domain-2-> accept message
To xy@domain-1 -> relaying denied

(on 127.0.0.1 the message should be accepted)

Is it possible to map SMTP-users (authenticated with sasl) to a
specific ip-address?
Exmaple:
IP-Addresses: IP-1, IP-2
Users: user1-ip-1, user2-ip-1, user1-ip-2, user2-ip-2

User1-ip-1 should not be able to authenticate on IP-2


The reason for this:
We do traffic accounting based on ip-addresses. Some customers use the
ip-address of a different customer to reduce their traffic.

Thanks
Andreas

  Réponse avec citation
Vieux 14/05/2007, 15h39   #2
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: local-host-names per interface / sasl users per interface

On May 13, 12:24 pm, andi <andreas.sa...@gmail.com> wrote:
> Hello,
> i'm running sendmail on a machine with multiple ip-addresses.
>
> Is it possible to map a local-host-name to a specific ip-address? if
> the mail is delivered to a different ip-address "relaying denied"
> should be returned if the user is not authenticated.
>
> Example:
> IP-Adresses: IP-1, IP-2
> local-host-names: domain-1, domain-2
>
> Sendmail should only accept mails for domain-1 on IP-1 and for
> domain-2 on IP-2 when the sending client is not authenticed.
>
> Connection on IP-1:
> TO xy@domain-1 -> accept message
> To xy@domain-2 -> relaying denied
>
> Connection on IP-2:
> TO xy@domain-2-> accept message
> To xy@domain-1 -> relaying denied
>
> (on 127.0.0.1 the message should be accepted)
>
> Is it possible to map SMTP-users (authenticated with sasl) to a
> specific ip-address?
> Exmaple:
> IP-Addresses: IP-1, IP-2
> Users: user1-ip-1, user2-ip-1, user1-ip-2, user2-ip-2
>
> User1-ip-1 should not be able to authenticate on IP-2
>
> The reason for this:
> We do traffic accounting based on ip-addresses. Some customers use the
> ip-address of a different customer to reduce their traffic.
>
> Thanks
> Andreas



sendmail rulesets can have available the daemon name utilized by the
connection.

However, I think your model is possibly broken.

  Réponse avec citation
Vieux 15/05/2007, 08h57   #3
ska
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: local-host-names per interface / sasl users per interface

As far as I see it, you'll need one sendmail process per IP, esp. as
you want to have different SASL configuration per IP.

-ska

  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 22h39.


É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,10451 seconds with 11 queries