Results 1 to 6 of 6

Thread: Exim Fallback

  1. #1
    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.
    To fix this, I have to add clientdomain.ext to the ACL config, I think (true?), but I have no clue how to add it. The explanation on exim.org made me even more clueless and I couldn't fin how to's/config examples anywhere.

    Now I hope someone dealt with this before and can tell me how to fix this.

    Thank you!

    Jochem

  2. #2
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    419
    Hey mate,
    Open up /etc/mail/relay_hosts and add the ip address

  3. #3
    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

  4. #4
    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.

  5. #5
    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

  6. #6
    Join Date
    Nov 2004
    Location
    Castricum, The Netherlands
    Posts
    5
    Bumper?

    Jochem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •