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 > Forward mail for a virtuald omain to other port in the same host using sendmail/qmail
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Forward mail for a virtuald omain to other port in the same host using sendmail/qmail

Réponse
 
LinkBack Outils de la discussion
Vieux 11/09/2006, 15h29   #1
darth timeus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Forward mail for a virtuald omain to other port in the same host using sendmail/qmail

Hello because my antispam need to work with sendmail i have installed
sendmail/qmail in the same linux CentOS 4.4 Box.

I have then box working sendmail is listening to port 25 and qmail is
listening to port 2525. I have changed the mailer table to look like
this.

acelerate.net RELAY:[200.105.128.220]
..acelerate.net RELAY:[200.105.128.220]

But when I try to send an email i get this error:

Sep 11 10:26:52 mail sendmail[7334]: k8BEQfWI006074: SYSERR(root):
[200.105.128.131] config error: mail loops back to me (MX problem?)
Sep 11 10:26:52 mail sendmail[7334]: k8BEQfWI006074:
to=<uiimiy@acelerate.net>, delay=00:00:09, xdelay=00:00:00,
mailer=relay, pri=151746, relay=[200.105.128.131] [200.105.128.131],
dsn=5.3.5, stat=Local configuration error.

I have changed the sendmail.mc to look like this:

define(`confRELAY_MAILER', `esmtp')
define(`RELAY_MAILER_ARGS', `TCP $h 2525')

Any will be appreciate it, because i'm new to sendmail but i can
migrate from qmail to sendmail because of internal Policies.

Thanks in advance

  Réponse avec citation
Vieux 11/09/2006, 22h36   #2
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Forward mail for a virtuald omain to other port in the same host using sendmail/qmail

In article <1157984975.873186.58190@d34g2000cwd.googlegroups. com> "darth
timeus" <darth.timeus@gmail.com> writes:
>
>I have then box working sendmail is listening to port 25 and qmail is
>listening to port 2525. I have changed the mailer table to look like
>this.
>
>acelerate.net RELAY:[200.105.128.220]
>.acelerate.net RELAY:[200.105.128.220]
>
>But when I try to send an email i get this error:
>
>Sep 11 10:26:52 mail sendmail[7334]: k8BEQfWI006074: SYSERR(root):
>[200.105.128.131] config error: mail loops back to me (MX problem?)
>Sep 11 10:26:52 mail sendmail[7334]: k8BEQfWI006074:
>to=<uiimiy@acelerate.net>, delay=00:00:09, xdelay=00:00:00,
>mailer=relay, pri=151746, relay=[200.105.128.131] [200.105.128.131],
>dsn=5.3.5, stat=Local configuration error.


Assuming you actually managed to get sendmail to connect to qmail on the
same host (the IP address doesn't match what you have above), this
happens because sendmail sees its own host name in the SMTP greeting
message and assumes that there is a loop that needs to be broken.

>I have changed the sendmail.mc to look like this:
>
>define(`confRELAY_MAILER', `esmtp')
>define(`RELAY_MAILER_ARGS', `TCP $h 2525')


From doc/op/op.* in the distribution, section "Define Mailer":

k Normally when sendmail connects to a host via
SMTP, it checks to make sure that this isn't acci-
dently the same host name as might happen if send-
mail is misconfigured or if a long-haul network
interface is set in loopback mode. This flag dis-
ables the loopback check. It should only be used
under very unusual circumstances.

To set this for the relay mailer from the .mc file:

MODIFY_MAILER_FLAGS(`RELAY', `+k')

--Per Hedeland
per@hedeland.org
  Réponse avec citation
Vieux 02/10/2006, 15h42   #3
darth timeus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Forward mail for a virtuald omain to other port in the same host using sendmail/qmail

Thank you very much, now it is working
Per Hedeland wrote:
> In article <1157984975.873186.58190@d34g2000cwd.googlegroups. com> "darth
> timeus" <darth.timeus@gmail.com> writes:
> >
> >I have then box working sendmail is listening to port 25 and qmail is
> >listening to port 2525. I have changed the mailer table to look like
> >this.
> >
> >acelerate.net RELAY:[200.105.128.220]
> >.acelerate.net RELAY:[200.105.128.220]
> >
> >But when I try to send an email i get this error:
> >
> >Sep 11 10:26:52 mail sendmail[7334]: k8BEQfWI006074: SYSERR(root):
> >[200.105.128.131] config error: mail loops back to me (MX problem?)
> >Sep 11 10:26:52 mail sendmail[7334]: k8BEQfWI006074:
> >to=<uiimiy@acelerate.net>, delay=00:00:09, xdelay=00:00:00,
> >mailer=relay, pri=151746, relay=[200.105.128.131] [200.105.128.131],
> >dsn=5.3.5, stat=Local configuration error.

>
> Assuming you actually managed to get sendmail to connect to qmail on the
> same host (the IP address doesn't match what you have above), this
> happens because sendmail sees its own host name in the SMTP greeting
> message and assumes that there is a loop that needs to be broken.
>
> >I have changed the sendmail.mc to look like this:
> >
> >define(`confRELAY_MAILER', `esmtp')
> >define(`RELAY_MAILER_ARGS', `TCP $h 2525')

>
> From doc/op/op.* in the distribution, section "Define Mailer":
>
> k Normally when sendmail connects to a host via
> SMTP, it checks to make sure that this isn't acci-
> dently the same host name as might happen if send-
> mail is misconfigured or if a long-haul network
> interface is set in loopback mode. This flag dis-
> ables the loopback check. It should only be used
> under very unusual circumstances.
>
> To set this for the relay mailer from the .mc file:
>
> MODIFY_MAILER_FLAGS(`RELAY', `+k')
>
> --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 02h59.


Édité par : vBulletin® version 3.7.2
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,09490 seconds with 11 queries