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,


- Christian

--

Christian Aust
mailto:[EMAIL PROTECTED]
icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator
PGP: A073 F9CD 2F23 25D2 EB95 E7A3 B9B4 2AF3 E103 DB5A

--
[EMAIL PROTECTED] mailing list



Reply via email to