Here is a follow up on the discussion. To ensure that exchange is successfully using spam.domain.tld as SMTP server and not directly to mx1.domain.tld I blocked all access with iptables from exchange to mx1 on port 25, allowed only connections from spam.domain.tld on port 25 on mx1, and I've managed to successfully send e-mails. By this means, exchange must use spam.domain.tld as smtp server? Or will it use "its own build in" smtp server, thereby I need to block all outgoing connections on port 25 on exchange, except the ones going to spam.domain.tld?
My setup is as following: Exchange connects to spam.domain.tld which further connects to mx1.domain.tld to send emails. Pop3 clients connects directly to spam.domain.tld to send email (which is working fine). To receive emails, mails are gathered by spam.domain.tld. It then uses RCPT TO / Verify to validate the recipient (this passes the request for validation to mx1.domain.tld). If passed. The mail is transferred to mx1.ugplus.dk, where postfix is then looking up the user in its tables. If it is an exchange server, the email is transported to mx2.domain.tld instead of being delivered locally on mx1.domain.tld. Everything is working fine, except that exchange is not sending through assp OR assp is directly proxying everything without processing it. To verify that the spam mail is delivered to assp, I've tried sending an email to [email protected] from exchange. This results in an error report returning 5.4.6 X-Postfix; mail for spam.domain.tld loops back to myself -----Oprindelig meddelelse----- Fra: GrayHat [mailto:[email protected]] Sendt: 27. november 2009 10:03 Til: For Users of ASSP Emne: Re: [Assp-user] Email interface problems > It did remove it (at least, I didn't see the image). > Using something like imageshack.us instead is an idea :-) here http://i47.tinypic.com/oi574w.jpg notice that in the above case 10.100.100.11 is both the smtpdestination AND the relayhost this means that incoming external emails will be proxied by ASSP to such a host (your postfix) which in turn will route them to the email server (your exchange); outgoing emails will flow from the mailserver (exchange) to 10.100.100.10:25 (ASSP relayport) and ASSP will proxy them to the defined relayhost (postfix again) which in turn will route them to their external destination also notice that recipient checking is performed directly by ASSP using either LDAP lookups or VRFY/RCPT checks (in your case you may use LDAP) ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
