Results 1 to 6 of 6
Thread: Exim Fallback
-
11-28-2004, 02:34 PM #1Newbie
- Join Date
- Nov 2004
- Location
- Castricum, The Netherlands
- Posts
- 5
Exim Fallback
Hello,
Usually I don't have much problems configuring applications etc, but this time I'm totally out of ideas, so I hope anyone here could help.
The problem: A customer is running his own server, we provide domain+dns. The A records all point to his own server, except for one subdomain: backupmail.clientdomain.ext, which points to our server. The DNS zone has two mx records, MX 10 clientdomain.ext and MX 20 backupmail.clientdomain.ext. So we are the customer's fallback.
Now we seems to have a small problem: our server is rejecting mail pointed to clientdomain.ext. Sending a test email trough telnet on port 25 shows us this:
Code:no4xs@xs3:~% telnet backupmail.clientdomain.ext 25 Trying 67.18.000.00... Connected to backupmail.clientdomain.ext. Escape character is '^]'. 220-hostname.ourdomain.ext ESMTP Exim 4.43 #0 Sun, 28 Nov 2004 11:49:57 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. helo xs4all.nl 250 hostname.ourdomain.ext Hello no4xs at xs4all.nl [194.109.21.4] mail from: ***@otherdomain.ext 250 OK rcpt to: ***@clientdomain.ext 550-xs3.xs4all.nl (xs4all.nl) [194.109.21.4] is currently not permitted to 550-relay through this server. Perhaps you have not logged into the pop/imap 550-server in the last 30 minutes or do not have SMTP Authentication turned on 550 in your email client. quit 221 hostname.ourdomain.ext closing connection Connection closed by foreign host.
Now I hope someone dealt with this before and can tell me how to fix this.
Thank you!
Jochem
-
11-28-2004, 05:06 PM #2Aspiring Evangelist
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 419
Hey mate,
Open up /etc/mail/relay_hosts and add the ip address
-
11-29-2004, 02:24 AM #3Newbie
- Join Date
- Nov 2004
- Location
- Castricum, The Netherlands
- Posts
- 5
Hm... Isn't /etc/mail/ ment for the sendmail config? We have Exim =). And even if you should put the config for exim in /etc/mail/: the file relay_hosts doesn't exist, and I doubt that exim will use it. Correct me if I'm wrong!
Thanks!
Jochem
-
11-29-2004, 04:49 AM #4Web Hosting Master
- Join Date
- Nov 2004
- Location
- India
- Posts
- 1,104
Remove the client's domin name from /etc/localdomains and add it in the /etc/remotedomains. Normally the /etc/remotedomains file will not be there, create one it will work.
-
11-29-2004, 01:28 PM #5Newbie
- Join Date
- Nov 2004
- Location
- Castricum, The Netherlands
- Posts
- 5
Hm... the file /etc/remotedomains already exists and the domain is in that file.
Strange. Anything else?
Jochem
-
11-30-2004, 04:44 PM #6Newbie
- Join Date
- Nov 2004
- Location
- Castricum, The Netherlands
- Posts
- 5
Bumper?
Jochem