Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: gbentley on October 02, 2008, 05:42:49 PM
-
Hi All,
Can anyone help with this one?
I can send mail to my own address by remotely logging into SME via SSH and doing
# mail myname@mydomain.com
This works prefectly. The SME is using SMTPAuth and generally works fine apart
from one scenario ;
I have the admin account set to forward mail direct to my own address and it is always
rejected ;
Connected to 127.0.0.1 but sender was rejected.
Remote host said: 550 <myname@mydomain.com>... Not permitted
Is there anyway round this?
Thanks!
-
I think the user in this thread had the same problem as you. He never did get it working but did find a work around.
http://forums.contribs.org/index.php?topic=42005.0
Wouldn't your problem be that the user "root" is not setup on your forwarding smtp server and therefore will not Authorize?
-
I have the admin account set to forward mail direct to my own address and it is always
rejected ;
Connected to 127.0.0.1 but sender was rejected.
Remote host said: 550 <myname@mydomain.com>... Not permitted
Is there anyway round this?
You need to know what sender address was rejected, and then work out why it was rejected (which is at the whim of BT, who might not tell you).
If you wanted me to guess, I'd say that it was because servername.mydomain.com is not a valid hostname in DNS (on the Internet - it will be on your LAN).
-
wouldn't this?
# mail myname@mydomain.com
send the mail from servername.mydomain.com?
-
wouldn't this?
send the mail from servername.mydomain.com?
Maybe. Anyway, the logs will tell.
-
You need to know what sender address was rejected, and then work out why it was rejected (which is at the whim of BT, who might not tell you).
I have now tried 3 different addresses as the forwarding addreses for admin.
All of the senders addresses are rejected!
I have also noticed that if I set one of the users mail account to forwarding only and send mail to that users account it also gets rejected. There must be something in the headers of the mail that is forwarded by SME that the ISPs mail relay is objecting to that doesnt happen when you send mail from the CLI.
I am looking at /val/log/qmail for clues - is there any logs I should check?
-
I have now tried 3 different addresses as the forwarding addreses for admin.
All of the senders addresses are rejected!
That's not surprising, if the sender address and the BT mail server was the same each time. Changing the recipient address wouldn't make any difference. I would guess that the BT mail server isn't even seeing the destination address - that comes later in the SMTP transaction.
There must be something in the headers of the mail that is forwarded by SME that the ISPs mail relay is objecting to that doesnt happen when you send mail from the CLI.
No, I don't think the BT mail server is seeing any of the content of the message. The envelope sender address is likely what it is objecting to, which it sees before the list of recipients or the content of the message.
-
Interesting. Is it possible to pipe the output somehwere local of one of these messages
to take a look?
Or should I be mailing BT support rather than bothering the forum [guessing the latter?]
What I dont understand is that if BT are authorising my SMTP traffic, surely they have a
good idea whether I am a spammer or not, so whatever restriction is causing this seems
a little paranoid / limiting.