1) Possèdant déjà un serveur smtp, autant l'utiliser comme relay que de configurer un nouveau serveur smtp ?
2) Les machines se sont deux serveurs : web et smtp qui se trouvent toutes les deux dans la DMZ. Le serveur arrive à pinger le serveur smtp, je me connecte en telnet dessus sur le port 25, j'arrive à envoyer un mail en telnet
3) : sendmail.mc
divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
#
# This is a generic configuration file for Linux.
# It has support for local and SMTP mail only. If you want to
# customize it, copy it to a name appropriate for your environment
# and do the modifications there.
#
access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
aliases
postmaster: root
MAILER-DAEMON: root
trusted-users
# trusted-users - users that can send mail as others without a warning
# apache, mailman, majordomo, uucp, are good candidates
mailertable n'existe pas et domaintable, virtuertable sont vides
Je m'aventure dans une application que je ne connais pas beaucoup, pourquoi mes tests via webmin et telnet marchent mais en ligne de commande, ca passe pas...
[^] # Re: Donne plus de précisions
Posté par mcgiant . En réponse au message Problème avec sendmail. Évalué à 1.
Voici un peu plus de précision :
1) Possèdant déjà un serveur smtp, autant l'utiliser comme relay que de configurer un nouveau serveur smtp ?
2) Les machines se sont deux serveurs : web et smtp qui se trouvent toutes les deux dans la DMZ. Le serveur arrive à pinger le serveur smtp, je me connecte en telnet dessus sur le port 25, j'arrive à envoyer un mail en telnet
3) :
sendmail.mc
divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
#
# This is a generic configuration file for Linux.
# It has support for local and SMTP mail only. If you want to
# customize it, copy it to a name appropriate for your environment
# and do the modifications there.
#
divert(0)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
MAILER(local)dnl
MAILER(smtp)dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(nocanonify)dnl
access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
aliases
postmaster: root
MAILER-DAEMON: root
trusted-users
# trusted-users - users that can send mail as others without a warning
# apache, mailman, majordomo, uucp, are good candidates
mailertable n'existe pas et domaintable, virtuertable sont vides
Je m'aventure dans une application que je ne connais pas beaucoup, pourquoi mes tests via webmin et telnet marchent mais en ligne de commande, ca passe pas...