LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus (https://www.linuxquestions.org/questions/linux-general-1/relay-server-gatewayserver-filtering-server-postfix-amavis-spamassassin-cyrus-250187/)

admore 11-02-2004 08:46 AM

Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus
 
Please help: l have the following problem to deal with:

My boss wants the following setup for the mail servers:
Mail comes through to Comp1.domain.com, and these mails must be forwarded to Comp2.domain.com for filtering (spamassasin and amavis), then Comp2 must relay the mails back to Comp1.domain.com so that the users can download the mails from there. Comp1.domain.com and Comp2.domain.com use Redhat 9, and l have installed the filters fine on Comp2.domain.com and they run smoothly. Comp1.domain.com is the one that has the cyrus delivery and the mysql accounts for users. Get the picture?

Now, my boss does not want to change anything on the current setup, just forward all mails to the filter (Comp2.domain1.com) and have them back to Comp1.domain.com with the headers added (X-spam-Status and X-virus-Status).

What is the best way to implememt this? How can you avoid the loops? Can you use procmail. Can postfix handle it alone or l need some other tool, please include details because l have just started using Linux 1 month ago. Please dont try to make me change my bosses mind because l have tried to do so but failed.

Also is it possible to forward all mails that come through tto another computer, using procmail (please provide the code).

Another quick one: l have reinstalled Win on my machine and it boots starigt to wqindows, it does not offer me the options to choose the OS. HOWTO solve thtat is also required/


All times are GMT -5. The time now is 11:24 AM.