Need suggestions for a strange configuration...

Discussion in 'Server Operation' started by voltron81, Nov 11, 2009.

  1. voltron81

    voltron81 New Member

    Hi to everybody.
    I've to realize a small mailserver(in the location B) that collect all the emails to be sent and send it to the main mailserver(in the location A). And the opposite for the email received.
    This transfer of data must be compressed.

    The problem is that the location B has a very slow and expensive connection, so the idea is: I'll collect all the email of the location B in a small mailserver, that will comunicate with the main mailserver in the location A.
    This communication must me setup for example every 2 hours. So every 2 hours the two mail server will communicate each other and, if there are some emails, they will be sent compressed, using in this way less bandwidth possible...

    I hope I was clear in this explaination.

    Do you have any suggestion that can help me to realize this configuration?

    PS: I was thinking to use the queues of postfix:

    What do you think?

  2. topdog

    topdog Active Member

    UUCP will do the job perfectly. It supports both gzip and compress compression.
  3. voltron81

    voltron81 New Member

    Ho topdog,
    thanks for your answer.

    I don't know at all this program... I'm reading on the web and it's look like nice.
    My idea is to create this kind of scenario:
    exchange server --> mailserverB(on the location B)
    internet..................mailserverA(on the location A)

    Of course the main mailserver is the mailserverA. In the location B I want to be able to decide when I want to check the mailserverA for send and receive the email. I want for example send just email if they are less than 100KB, or I want compress the attached files...

    May you suggest me some documents or howto that can help me to create this system?
  4. topdog

    topdog Active Member

    as long as mailserverA and mailserverB are running linux, you should be able to set this up.

    The best documentation is to read the program's man pages and the examples, as UUCP is not widely deployed anymore due to the fact that most people now have always on broadband connections.

    For you to send based on size can be done using scripting to check the queue size before running the uucp commands.
  5. voltron81

    voltron81 New Member

    Yes both servers are running linux debian.

    I got it... I'll study a bit this case...

Share This Page