Problem with exim / syncmail
I am trying to do the following:
I have a domain name (coffeebreaks.org), and a server serving pages for
that domain (coffeebreak). I've set up several tools on the machine,
including syncmail, for CVS commit messages.
Exim has been configured to send my email to my ISP, and I've changed
driver = domainlist
transport = remote_smtp
route_list = * <ISP.SMTP.SERVER> byname
# driver = lookuphost
# transport = remote_smtp
Now I have 2 problems:
- my local email is being sent to my SMTP server. This is probably a
problem with hostname config. I can live with that for now, but would be
happy if that could be fixed as well.
Some relevant bits of the exim config:
# this should perhaps be coffeebreak.coffeebreaks.org?
qualify_domain = coffeebreaks.org
# this should probably be localhost:coffeebreak.localnet
local_domains = localhost:CoffeeBreak
host_lookup = *
- syncmail emails are refused due to non existing originating domain:
SMTP error from remote mailer after MAIL
host <ISP.SMTP.SERVER> [xxx.xxx.xxx.xxx]: 553 5.1.8
<email@example.com>... Domain of sender address
firstname.lastname@example.org does not exist
But mail works from the command line:
Received: from coffeebreak.coffeebreaks.org (xxxx.xx.xxxxx.xx
[xxxxxxxxxx]) by mailxx.xxx.xx (8.12.11/8.12.11) with ESMTP id
i7BLGKjD004259; Wed, 11 Aug 2004 23:16:21 +0200 (CEST)
Received: from jerome by coffeebreak.coffeebreaks.org with local (Exim
3.36 #1 (Debian)) id 1Bv0SK-0005r1-00; Wed, 11 Aug 2004 23:16:20 +0200
Subject: test sending email with exim
Note: the headers for the accepted mail I don't see <ISP.SMTP.SERVER>,
but another server, probably the one that takes care of handling the
mail, being after <ISP.SMTP.SERVER>.
Another solution which I haven't tried would be to mess with /etc/mail-
addresses but I would really like to fix it cleanly.
Any idea to help me solve the problem would be greatly appreciated.