On Wednesday, January 26, 2005 9:04 PM [GMT+1=CET], Alex Young <[EMAIL PROTECTED]> wrote:
> Would I not get the exact same results if a spammer attacked my > primary mail server with 10000 emails too? Nope, because the primary mail server sends the message directly to the spammer in smtp stage and no bounce-mail is created. On a bad administraed fallback the mail is accepted at the first stage and the primary server rejects it, so the fallback creates a bounce message. > > I cant create .tab file for every user. We do some forwarding for = > customers > that ends up being <anything>@domain.com goes to > <anything>@mail.somewhere.com or we just have all email forwarded to = > their > SMTP server in case theirs fails. Either way we have no way of > knowing = who > the accounts are to create the .tab files. I wanted something similar > = for > our mail server. Correct me if I'm wrong: Your customers have own mail servers and you should provide backup MX for them? As I said, if you want to do it nicely, you'll have to setup a cmdalias file for each user. I think your customers can provide lists with their users. > I just want it to hold onto mail until our primary xmail server comes > up while doing the 'custdomain' stuff on the secondary mail server > too. Yes for that you have to set a high numer of delivery retries and and a high ratio for delivery time retrieng (see the command line options of XMail). > > Thanks, > Alex > >> I know this is an old topic but I have been holding onto the >> emails=20 about it until I came to set it up myself. >> >> I would like to set up a secondary Xmail server that forwards all=20 >> email to the primary Xmail server. I don't want to keep setting up=20 >> domains in the 'custdomains' folder each time we add a new domain, >> but = > >> there are a few entries in 'custdomains' for customers who have us >> do=20 secondary MX for them or domain redirection for them. >> >> Can I just specify the primary Xmail server as the default place >> to=20 send all email to unless there is a 'custdomains' entry? > > You really don't want that! > > Imagine if a spammer attacks you and sends 10000 mails to your backup > mx (and he will choose the backup mx because he knows that it's often > not = that > good protected as the main server). If the mails are getting > forwarded = to > the main server, it rejects them because the users are unknown / = > relaying > denied etc. Now your backup MX produces 10000 bounce mails and sends = > them to > the faked originally senders. That is somehow a horror but it's > reality, = too > - with all those lame mailserver administrators in the world. > > That happens in both cases - redirecting all incoming mail to the main > server _AND_ using custom domains. > > What you want, is CMDALIASES. Create real domains on the backup MX as > = you > did on the main server. Then add a file > cmdaliases/<domain>/<user>.tab = for > each user with content: > > smtprelay<tab><ip of main server> > > That is the only way to have a real nice backup mx. Of course, if > your = user > amount is bigger you want to automate it, but it's no problem with > the = CTRL > protocol to write a little sync script. I prefer tunneling the CTRL > connection to the remote XMail server via SSH. That is quick, nice and > secure. > > I hope that helped you.=20 > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the = body > of a message to [EMAIL PROTECTED] For general help: send the > line "help" in the body of a message to [EMAIL PROTECTED] > > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]