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 > fr.comp.os.unix > relay with PostFix (newbie)
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
fr.comp.os.unix Système UNIX.

relay with PostFix (newbie)

Réponse
 
LinkBack Outils de la discussion
Vieux 08/02/2007, 17h34   #1
Sylvain
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut relay with PostFix (newbie)

Hello,

I'd like to use the smtp server of a specific host instead of the one of
my ISP, of course, I have such a server (running Fedora core 3).

meantime, I want to avoid all unwanted relaying (so that my host is not
use to send spams), but I need to be able to send mails from individual
PC whose IP (coming from ISP) doesn't share the same range as my server.

let says my domain is named 'ABC', also note there are several domain
names pointing out to it

I have configured postfix, in /etc/postfix/main.cf as follows:

mydestination = www.ABC.fr,mail.ABC.fr,ABC.fr,
www.ABC.com,mail.ABC.com,ABC.com

and defined:

relay_domains = $mydestination

my understanding is that postfix will accept to relay all mails
(whatever IP of sender/poster) if the target email is one of the
$mydestination address - and indeed I want to send mail to, says,
alice@ABC.fr or bob@ABC.com

but it doesn't work, postfix log says:

Feb 8 18:08:08 flwb727 postfix/smtpd[13292]: connect from <ISP name>
Feb 8 18:08:08 flwb727 postfix/smtpd[13292]: NOQUEUE: reject: RCPT from
<ISP name>: 554 <bob@ABC.com>: Relay access denied; from=<alice@ABC.fr>
to=<bob@ABC.com> proto=ESMTP helo=<myPC.ABC.fr>
Feb 8 18:08:08 flwb727 postfix/smtpd[13292]: disconnect from <ISP name>

so I forgot something, but what ?? thanks for any .

(note that getting mails sent with my ISP smtp from that server works fine).

Sylvain.
  Réponse avec citation
Vieux 09/02/2007, 08h34   #2
batyann811
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay with PostFix (newbie)

Le Thu, 08 Feb 2007 18:34:56 +0100, Sylvain a écrit:

Я не понимаю ничего!
  Réponse avec citation
Vieux 09/02/2007, 08h58   #3
Sylvain
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: relay with PostFix (newbie)

batyann811 wrote on 09/02/2007 09:34:
> Le Thu, 08 Feb 2007 18:34:56 +0100, Sylvain a écrit:
>
> Я не понимаю ничего!


c'était pourtant (presque) de l'anglais courant.
mais ok, pour un groupe fr. c'était quand même raté.

Sylvain.
  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 03h17.


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