Moderators: ScalixSupport, admin

JaimeCode: Select all
Nov 1 14:04:08 mars sendmail[9003]: lA1I489d009003: ruleset=check_rcpt, arg1=<Davi@email.com>, relay=www.mailserver.net [xx2.x0.x.xx], reject=550 5.7.1 <Davi@email.com>... Relaying denied. Proper authentication required.
Nov 1 14:04:08 mars sendmail[9003]: lA1I489d009003: from=<email@xxx.net>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=www..net [xx2.x0.x.xx]Code: Select all
RELAY accept 127.0.0.1
RELAY accept .blueslate.net
RELAY accept WWW (I put the ip instead of WWW)
RELAY Log_Reject ALL

If your www apps are talking directly with the host in which the scalix server is installed, for extenal users it just means that scalix is not even part of the equation. In fact you can even completely remove/disable scalix. That is an obscure part of the whole mechanics of how SMPT/Scalix works that most people don't realize. Scalix does not send emails, sendmail does!After making the changes- it is still denying messages to external users.
Jaimeadhodgson wrote:I have found the best way of ensuring everything works is to put all the relevant domains into /etc/mail/local-host-names, then add the domains to smtpd.cfg in the form:

Why is this a bug? And why is this dangerous? That's exactly how it should be.This one is somewhat dangerous, because it does the following:
If the reverse lookup of the senders IP resolves into one of the allowed domain names, it will be able to relay via your server.
The business of relaying is entirely and *exclusively* dependent on the relaying server and it's relationship with the authoritative DNS servers. The client has absolutely no say on this mechanics, or whichever domain it claims to be from. All the relaying server cares about is the legitimate IP the client comes from (spammer or not). Spammers can not change this previous mechanics on the relaying server unless they hack into your system as a privileged user. This is an issue completely different and unrelated to scalix or sendmail. Lets not get confused.Of course dialup users usually can't modify the reverse lookup, but there are spammer who can...
Jaimejaime.pinto wrote:You always, forever and ever need to put all your RELAY entries in /etc/mail/access regardless, because that is what sendmail uses. By the same token, you always, forever and ever need to put all your recognizable email domains in /etc/mail/local-host-names because that is also what sendmail uses.
As soon as a *client* sends an SMTP inquire to the scalix server (port 25/465), and that scalix determines it's not an "internal" scalix user or domain, it passes the ball to sendmail.
Please revise both /etc/mail/access and /etc/mail/local-host-names. Don't forget to type *make* inside /etc/mail after any changes and reload sendmail services.
jaime.pinto wrote:As a side note, on the bug description it's cited "we have no control over the reverse lookups for external IP ranges." So, why is this a bug? Why should you have any control over the reverse lookups for external IP ranges? Furthermore, why would one include a domain on the relay list if one doesn't want to relay that domain or doesn't trust whoever comes from that domain. Bottom line, this "bug" is bogus!
Users browsing this forum: No registered users and 3 guests