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 |
hschneider |
Posted: Nov 3 2002, 10:50 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Scenario:
You want to run a public SMTP with a secured relay. Solutions: Generally: - For your LAN users you CAN (if you want) set smtprelay.tab to the scope of your subnet. Members of that subnet are then able to relay without authentication. - Domain members outside that scope MUST HAVE a valid user account in the XMail domain. - Do NOT use mail-auth in your server.tab. This blocks all mails from other SMTPs, because they cannot authenticate with your system. This authentication scheme is meant for private or complex public infrastructures. So make sure #"SmtpConfig" "mail-auth" remains commented out in your server.tab. Pop_before_SMTP: - When your users poll mail, they do a POP_before_SMTP, which authenticates them as valid users. - XMail then opens the SMTP relay for a short time frame (900 sec by default) and only for that user. - Make sure that #"EnableAuthSMTP-POP3"[TAB]0 is commented out with a # in your server.tab. SMTP AUTH: - Set "SMTP Server requires authentication" on your mail client. - XMail automatically handles that client request and sends mail only to authenticated users. - Make sure that "EnableAuthSMTP-POP3"[TAB]0 is NOT commented out with a # in your server.tab. You can also allow both: Pop_before_SMTP and SMTP Auth for a more loose security policy. If possible, you should prefer SMTP Auth only, since it is more secure. Conclusion: A spammer can only use the server's relay, if he has the username and password of a valid domain account or another backdoor. To check your relay: Use the following services: http://mail-abuse.org/tsi/ar-test.html (just telnet to relay-test.mail-abuse.org from your server) or if you want to test any other server go to: http://www.antispam-ufrj.pads.ufrj.br/test-relay.html -------------------- 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 |
Bhozar |
Posted: Apr 11 2003, 12:05 PM
|
Royal XQM Beta Tester Group: Members Posts: 148 Member No.: 481 Joined: 5-March 03 |
Useful guide. I just set smtp.ipmap.tab as
"0.0.0.0" "0.0.0.0" "ALLOW" 1 I make all internal network users authenticate to send email. It alows me to make a virus checking gateway on the internal network. If I was to allow relay for the internal network all spammers could send through the Sophos virus gateway. |
hschneider |
Posted: Apr 11 2003, 12:26 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Sorry -- this shot was too quick. Mistake by me.
If you deny this, you forbid access for other SMTPs. Then they might blacklist you. So please leave "0.0.0.0" "0.0.0.0" "ALLOW" 1 If smtprelay.tab is cleared and your clients use SMTP auth, everything is OK. To veryfy, you can use the relay test under "usefule links" -------------------- 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 |
vld |
Posted: Apr 30 2003, 04:26 PM
|
Junior Member Group: Members Posts: 34 Member No.: 561 Joined: 30-April 03 |
If I leave smtp.ipmap.tab totally blank (empty file) is the same as "0.0.0.0" "0.0.0.0" "ALLOW" 1 ?
Thanks. |
hschneider |
Posted: Apr 30 2003, 06:33 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Yes, and this is OK for a public SMTP server.
If you limit this to e.g. the scope of your LAN, then XMail will deny mails from other SMTP servers and clients (it sends "Server doesn't like your IP" then). Since that point it's only a matter of time until you get blacklisted. -------------------- 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 |
vld |
Posted: Apr 30 2003, 10:16 PM
|
Junior Member Group: Members Posts: 34 Member No.: 561 Joined: 30-April 03 |
thanks!
|
blackz |
Posted: May 29 2003, 02:33 AM
|
Newbie Group: Members Posts: 2 Member No.: 601 Joined: 29-May 03 |
I want that who have our mail server account to use the smtp server, and don't want to change their email client setting(maybe there are 1000+ users). So I do with the pop-before-smtp. But I found that everyone can use our mail server to send mail. Do you have some suggest?
THX!!! -------------------- Hei, I like Xmail server.
0=====)=======================> |
dfitch |
Posted: May 29 2003, 05:00 AM
|
Advanced Member Group: Members Posts: 117 Member No.: 475 Joined: 28-February 03 |
Clear the smtprelay.tab
D |
blackz |
Posted: May 29 2003, 05:08 AM
|
Newbie Group: Members Posts: 2 Member No.: 601 Joined: 29-May 03 |
ok, it's work.
Thank you! -------------------- Hei, I like Xmail server.
0=====)=======================> |
Jordan |
Posted: Dec 6 2003, 01:23 AM
|
Newbie Group: Members Posts: 13 Member No.: 833 Joined: 4-December 03 |
I've got the server set up how it was explained in the first post of this message, however when i try to log-in to send mail it doesnt seem to work. my client just hangs until it gives me an error without and error message. Am i missing something?
|
hschneider |
Posted: Dec 6 2003, 09:14 AM
|
||
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Do a telnet client_ip 25 then cut and paste the following:
Just replace sender and recipient, but leave all <> intact. What does the server reply ? -------------------- 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 |
||