2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
randal |
Posted: Jun 26 2003, 06:51 PM
|
Newbie Group: Members Posts: 2 Member No.: 632 Joined: 26-June 03 |
I am really considering using XMail as our externail mailgateway at the ISP I work for, particularly because it's one of the few windows solutions that can utilize spamassassin. We currently host email for about 140 domains, and I would like email to flow as follows:
internet.host --> xmailgateway.hpi.net --> mail.hpi.net when our customers send mail, it will go ... our.customer --> mail.hpi.net --> internet mail.hpi.net is our existing Mailsite Server, with about 2500 mail boxes on it. *None* of those 2500 mail accounts will send mail through xmail -- the xmail server is going to be used as just an incoming spam filter. I figured that I should setup the smtpfwd.tab to be "domain.tld" "mail.hpi.net" 140 lines of that, with each of our domains in the domain.tld spot, and that would work. I tried this, and it gave me relaying denied errors (sort expected this). I then put in all of our domains in the domains.tab file, but it gives mailbox unavailable errors (as I have not put all of our users into the mailusers.tab file). If I open up relaying via the smtprelay.tab file, everything works as planned, but then I'm open for relaying. The only thing I have not tested is opening up the relay for everybody, and then setting the smtpgw.tab file to forward all mail to our internal mail server. Is there a "correct" way to setup XMail as an external mail gateway? I *REALLY* don't want to put a list of all our users on the xmail server (huge PITA to keep up to date), but really want to use xmail. thanks, randal |
hschneider |
Posted: Jun 26 2003, 09:49 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Hi,
- clear smtpfwd.tab and smtpgw.tab - Create a file named xmailgateway.hpi.net.tab inside MailRoot/custdomains - Inside that file enter "smtprelay"[TAB]"mail.hpi.net"[NEWLINE] So mails addressed to xmailgateway are forwarded to mail.hpi.net -- this should do that job. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
randal |
Posted: Jun 26 2003, 09:55 PM
|
Newbie Group: Members Posts: 2 Member No.: 632 Joined: 26-June 03 |
Yea, I found something in a mailing list thread somewhere that said to use domain.tab files ... so I looked that up and found out that if you put in a domain.tld.tab in the /mailroot/custdomains directory, it'll process those files -- which allows you to do an smtprelay.
So now, I just build a file (domain.tld.tab) in that directory for each domain, and put in the single line: "smtprelay" "mail.hpi.net" and it works -- and it's even easy to script! thank you for the prompt response -- on to conquering spamassassin! randal |
hschneider |
Posted: Jun 26 2003, 11:17 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Fine!
-------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |