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 > Enabling a domain to send email from all their ISP ip range
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Enabling a domain to send email from all their ISP ip range

Réponse
 
LinkBack Outils de la discussion
Vieux 30/10/2006, 10h02   #1
Bumo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Enabling a domain to send email from all their ISP ip range

Hi I've just configured sendmail to use blacklists, as they are too strict
and I would like to enable some users to send email to me even from their
home using their provider connection, I would like to know how to do I
enable the range of addresses of the ISP.

this is a part of my sendmail.mc

(...FEATURE enabling 4 black lists)
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`delay_checks', `friend')

i.e.
in order to enable all addresses like "84-123-175-15.onocable.ono.com" in
access file I thought to use this
Spam:.onocable.ono.com FRIEND

Is this correct? it seems it doesn't work!

Thanks,

Leonardo.



  Réponse avec citation
Vieux 31/10/2006, 13h00   #2
drfremove@nber.org
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Enabling a domain to send email from all their ISP ip range

Bumo wrote:
> Hi I've just configured sendmail to use blacklists, as they are too strict
> and I would like to enable some users to send email to me even from their
> home using their provider connection, I would like to know how to do I
> enable the range of addresses of the ISP.
>
> this is a part of my sendmail.mc
>
> (...FEATURE enabling 4 black lists)
> FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
> FEATURE(`delay_checks', `friend')
>
> i.e.
> in order to enable all addresses like "84-123-175-15.onocable.ono.com" in
> access file I thought to use this
> Spam:.onocable.ono.com FRIEND
>
> Is this correct? it seems it doesn't work!
>
> Thanks,
>
> Leonardo.


The access value you want is "RELAY", not "FRIEND". I don't know what
the "Spam:" tag is related to - I don't think that is a valid tag for
an access table entry. I am not sure if the leading dot will cause any
problem - the examples I have seen of access entries don't have that.
See, for example:


http://www.freebsd.org/doc/en_US.ISO.../sendmail.html

Daniel Feenberg
feenberg isat nber dotte org

  Réponse avec citation
Vieux 31/10/2006, 22h56   #3
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Enabling a domain to send email from all their ISP ip range

In article <1162299600.178816.246680@i42g2000cwa.googlegroups .com>
"drfremove@nber.org" <feenberg@gmail.com> writes:
>Bumo wrote:
>> Hi I've just configured sendmail to use blacklists, as they are too strict
>> and I would like to enable some users to send email to me even from their
>> home using their provider connection, I would like to know how to do I
>> enable the range of addresses of the ISP.
>>
>> this is a part of my sendmail.mc
>>
>> (...FEATURE enabling 4 black lists)
>> FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl


That's a mangled version of the default (see cf/README) - I suggest that
you just use FEATURE(`access_db') instead.

>> FEATURE(`delay_checks', `friend')
>>
>> i.e.
>> in order to enable all addresses like "84-123-175-15.onocable.ono.com" in
>> access file I thought to use this
>> Spam:.onocable.ono.com FRIEND
>>
>> Is this correct? it seems it doesn't work!


No, the usage of `friend' with the Spam: tags is for identifiying
*recipients* that should be exempted from the anti-spam checks - see
cf/README. The whole point of this arrangement is to hold off on
sender-{host,user}-based blocking until the SMTP RCPT command is given
(and skip the blocks if the recipient is a FRIEND) - otherwise they will
hit before we know who the recipient(s) is/are.

If you just want to exempt some sender hosts from the blacklists (which
isn't the same thing as "enable some users to send email to me", but
anyway...), there is no need for delay_checks etc - just put them in
access db with an RHS of OK:

Connectnocable.ono.com OK

Note, no leading dot unless you are also using "lookupdotdomain" (which
changes leading-dot entries from being totally ignored to being
considered, but with a slightly different meaning than no-leading-dot
ones). And yes, all of this is explained in cf/README.

>The access value you want is "RELAY", not "FRIEND". I don't know what
>the "Spam:" tag is related to - I don't think that is a valid tag for
>an access table entry.


No, it's fine (in that context), just doesn't do what he wants.:-)

> I am not sure if the leading dot will cause any
>problem - the examples I have seen of access entries don't have that.


Yes, see above.

>See, for example:
>
>
>http://www.freebsd.org/doc/en_US.ISO.../sendmail.html


Well, the FreeBSD handbook is a fine document for general FreeBSD admin,
but for obvious reasons it just scrapes the surface of the possibilities
when it comes to configuring sendmail (or any other "3rd party" package
of significant complexity).

--Per Hedeland
per@hedeland.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 02h19.


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