MTA/Perl script for relaying only to Exchange-users

Chris Stone axisml at gmail.com
Mon Nov 26 02:10:12 GMT 2012


No mail is bounced when the backend server is unavailable. Wiith
milter-ahead, I use it with the backup-mx switch. If the backend mail
server (be it exchange or any other) is unavailable for any reason, mail
will be accepted and good mail queued for later delivery. The domain mail
would still be received on the filtering server, although all addresses
would be then accepted and processed normally. You'd not be able to receive
email as a client, but that would be a problem with the Exchange server to
be resolved. With this setup, no 5xx series errors are returned by the
filtering server then the backend server is unavailable.


Chris


On Sun, Nov 25, 2012 at 6:40 PM, Brian McKerr <bmckerr at gmail.com> wrote:

> Correct me if I'm wrong, but thing you have to consider with the
> 'milterahead' approach is that if the downstream exchange server is
> unavailable for some reason, you will not be able to receive any mail and
> emails will bounce with invalid user or some such error ?
>
> I have a shell script sitting in front of my zimbra server, this script is
> run from cron and currently it runs every hour primarily because I rarely
> add new email addresses or domains. It uses ldapsearch against the zimbra
> server and could easily be adopted to suit AD/Exchange. It generates
> postfix map files for virtual_mailbox and virtual_domains.
>
> Happy to share if anyone wants to help me debug it  ;)
>
>
>
>
> On Sat, Nov 24, 2012 at 8:05 AM, Peter Bonivart <bonivart at opencsw.org>wrote:
>
>> On Fri, Nov 23, 2012 at 10:17 PM, Chris Stone <axisml at gmail.com> wrote:
>> > But, that would mean though that any changes to accounts on the Exchange
>> > server(s) would not be reflected until the next time the script runs.
>>
>> Yes, but it also means it will be more robust.
>>
>> /peter
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>


-- 
Chris Stone
AxisInternet, Inc.
www.axint.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20121125/91b3ae5a/attachment.html 


More information about the MailScanner mailing list