Afficher un message
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
 
Page generated in 0,06092 seconds with 9 queries