On Thursday 28 August 2003 21:44, Christian Aust wrote:
> Jason Stubbs <[EMAIL PROTECTED]> wrote on Thu, 28 Aug 2003 
21:23:01 +0900:
> > On Thursday 28 August 2003 21:06, Christian Aust wrote:
> > > Hi all,
> > >
> > > I'd like to set up a smtp server on system1 that will forward all mail
> > > onto system2. That is, mail to [EMAIL PROTECTED] should go to
> > > [EMAIL PROTECTED] Shuold I do this with postfix? Can somebody
> > > please help me with the config as this is fairly urgent... Best
> > > regards,
> >
> > In /etc/postfix/main.conf on system1, you want:
> > local_recipient_maps =
> > relayhost = system2.com
> >
> > In /etc/postfix/main.conf on system2, you want:
> > mydestination = system1.com
> >
> > From what you've described, that should do it. Any mail going to
> > <user>@system1.com (actually any mail at all) will be forwarded to
> > system2.com and delivered locally to <user> on that system.
>
> Thanks Jason, I did as advised but get this error message from postfix:
>
> Failed to deliver to '[EMAIL PROTECTED]'
> SMTP module(domain arinso.de) reports:
>   host arinso.de says:
>   554 <[EMAIL PROTECTED]>: Relay access denied
>
> The postfix log on system1 reads:
>
> Aug 28 14:35:28 [postfix/smtpd] connect from jworld.info[217.160.222.67]
> Aug 28 14:35:28 [postfix/smtpd] 2E0092959E:
> client=jworld.info[217.160.222.67] Aug 28 14:35:28 [postfix/smtpd]
> 2E0092959E: reject: RCPT from
> jworld.info[217.160.222.67]: 554 <[EMAIL PROTECTED]>: Relay access
> denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]>
> proto=ESMTP helo=<kdmail.aixsequo.de>
> Aug 28 14:35:29 [postfix/smtpd] disconnect from jworld.info[217.160.222.67]
>
> Obviously postfix doesn't accept arinso.de adresses. In
> /etc/postfix/main.cf I have:
>
> myhostname = arinso.de
> mydomain = arinso.de
>
>
> Could you think of anything else that I did wrong? Best regards,

Yes, I've realised what is wrong. System1 doesn't accept the mail because the 
the relay restrictions are too tight. Hmmm, the default should be fine for 
this parameter but try "adding relay_domains = system1" to system1's main.cf.

Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to