I have configured mailscanner and postfix to receive emails, scan it using clamAV and forward it to a mail server inside my network.
internet<---->mail.abc.com(MailScanner)<----->mail1.abc.com(Dest. Email Server)
Till now i'am able to receive email from outside to my antispam gateway, scan it and forward it to internal postfix server. But on internal postfix i'm getting an error.
**May 13 01:25:34 mail1 postfix/smtpd: connect from unknown[10.100.1.1] May 13 01:25:34 mail1 postfix/smtpd: NOQUEUE: reject: RCPT from unknown[10.100.1.1]: 454 4.7.1 : Relay access denied; from= to= proto=ESMTP helo= May 13 01:25:34 mail1 postfix/smtpd: disconnect from unknown[10.100.1.1] **
10.100.1.1 is the ip for gateway relay server and 10.100.1.100 is the internal email server i.e. destination mail server.
Also do i need to add smtp credentials on gateway server to able to forward all emails of abc.com to internal mail server? if yes.. how?