Remove remote smtp server

klasje

Verified User
Joined
Jan 5, 2008
Messages
62
I installed a new server a month ago and decided to send all emails from Exim via that smtp server.
I followed these instructions:

However, now I want to go back to using the DA server itself to send emails.
I have removed the 3 files, restarted exim, but then mails aren't send anymore.
I don't see anything wrong in rejectlog, mainlog or paniclog.

I also tried removing /etc/exim.conf and using custombuild for a 'clean' install.
After this, still no emails are being sent and I still don't see any new lines appear in those 3 log files.

Any clues what else I could try?
 
Did you thick the option in Email settings that enable "this server handles the email" (or similar) box?
 
Last edited:
In the MX records there is such an option, but not server wide for all domains?
Also this is for incoming mail, not outgoing?
 
Hi this is per domain settings, yes its for incoming.
The idea is to do a test and, is that box active or not ?

Test your connection:

From your usershell:
  1. tell exim that we want to send a mail to an recipient and tell us about the details of the sending procedure
    $ exim -v [email protected]

  2. Tell exim about the sender, the subject and input some text.
    From: [email protected]
    Subject: Foobar
    Text Text Text

    I like Pie!

  3. Press Ctrl+d
  4. You should see the details about the SMTP connection. You can return to your shell with Ctrl+c
 
Last edited:
For some domains it's active, for some it's not.
It just won't send any mails for any domains, whether it's active or not.
 
Hi,
1.assume first that you made is an complete rebuild with custombuild of exim and exim.comf right ?
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set exim yes
./build set eximconf yes
./build set eximconf_release 4.5
./build set spamassassin yes
./build update
./build exim
./build exim_conf
2.I have just edit my post with an test example, did you see it ?
 
I did follow those steps for the rebuild. It didn't solve the issues.
I also tested sending a mail using commandline, this worked, but the mail was never sent (it never arrived in gmail).

Once I activated remote smtp again, he delivered all my emails I sent using the commandline.
So they were queued somewhere, but not sent using the local exim server.
 
Could you ensure, your Datacenter not blocked outgoing port 25 ?
 
Back
Top