Koozali.org: home of the SME Server

Admin email forwarding address being rejected by BT [UK]

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Admin email forwarding address being rejected by BT [UK]
« 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!


"If you don't know what you want, you end up with a lot you don't."

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Admin email forwarding address being rejected by BT [UK]
« Reply #1 on: October 02, 2008, 05:50:44 PM »
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?
« Last Edit: October 02, 2008, 05:53:02 PM by mercyh »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Admin email forwarding address being rejected by BT [UK]
« Reply #2 on: October 02, 2008, 05:55:19 PM »
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).

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Admin email forwarding address being rejected by BT [UK]
« Reply #3 on: October 02, 2008, 06:06:00 PM »
wouldn't this?

Quote
# mail myname@mydomain.com

send the mail from servername.mydomain.com?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Admin email forwarding address being rejected by BT [UK]
« Reply #4 on: October 02, 2008, 06:09:05 PM »
wouldn't this?

send the mail from servername.mydomain.com?

Maybe. Anyway, the logs will tell.

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: Admin email forwarding address being rejected by BT [UK]
« Reply #5 on: October 02, 2008, 11:40:03 PM »
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?
« Last Edit: October 02, 2008, 11:42:46 PM by gbentley »
"If you don't know what you want, you end up with a lot you don't."

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Admin email forwarding address being rejected by BT [UK]
« Reply #6 on: October 03, 2008, 12:36:01 AM »
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.

Quote
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.


Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: Admin email forwarding address being rejected by BT [UK]
« Reply #7 on: October 03, 2008, 07:59:44 AM »
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.
"If you don't know what you want, you end up with a lot you don't."