PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > No auth and nonauth sendmail in same config.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

No auth and nonauth sendmail in same config.

Réponse
 
LinkBack Outils de la discussion
Vieux 16/08/2007, 13h20   #1
Sergio Belkin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut No auth and nonauth sendmail in same config.

Hi community
I have an authenticated sendmail. I want to modifiy it in order to:
*All mail sent to mydomain.com is not authenticated
*All mail sent to any domain different as mydomain.com be authenticated
(TLS included).

How can I do that? (I don't refer to complete procedure, but how can I do
to "separate" mail by destination) I was looking at access and mailtertable
but it
seems that those don't me.

Thanks in advance!

--
Sergio Belkin
Community Site http://www.openkairos.com
----------------------------------------


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 01h00   #2
Richard A Nelson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: No auth and nonauth sendmail in same config.

On Thu, 16 Aug 2007, Sergio Belkin wrote:

> Hi community


ehlo

> I have an authenticated sendmail. I want to modifiy it in order to:
> *All mail sent to mydomain.com is not authenticated
> *All mail sent to any domain different as mydomain.com be authenticated
> (TLS included).


Is that what you really need, or is this a way to accomplish some other
goal?

SMTP AUTH/TLS is to the server, and the server cares not if it is the
destination, or simply a hop along the way.

For testing and boredom relief, I setup
* My laptop uses TLS/AUTH betwixt the MSP and MTA on localhost
which then uses TLS/AUTH to connect my home server and
TLS to talk to other MTAs
* My home server accepts, but does not require TLS/AUTH for
local lan connections, but requires TLS/AUTH for port 587
and uses TLS/AUTH to talk to my ISP, but only TLS when
talking to other MTAs.
Add dk/dkim to the mix, and it easy to have most of your mails wind up
with more headers than body

> How can I do that? (I don't refer to complete procedure, but how can I do
> to "separate" mail by destination) I was looking at access and mailtertable
> but it seems that those don't me.


You can control what the MTA requires and/or allows for each connection
it answers, or it originates (based on DNS fqdn, IP, CN, etc.)

You can do all of this with the access and/or authinfo databases
just make sure you have FEATURE(`authinfo')dnl in sendmail.mc

install, if you've not already, sendmail-doc and peruse
/usr/share/doc/sendmail/cf.README.gz, especially the section
'SMTP AUTHENTICATION'

http://www.sendmail.org/~ca/email/auth.html has a decent walk-through
on setting this up and debugging it.

> Thanks in advance!


Good luck, and fee free to ping me if you need more

--
Rick Nelson
<lilo> it's weird, when you go on a safari to Africa to catch a lion, you
find it alive and it charges, and then you kill it
<lilo> when you go on a safari to South Bay to find a Palm Vx, you find
it dead and take it home and it charges after it arrives


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  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 04h30.


Édité par : vBulletin®
Copyright ©2000 - 2009, 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,07977 seconds with 10 queries