Email not delivered after changing server's hostname

Bartas

Verified User
Joined
Apr 24, 2009
Messages
18
Hello,

After changing DA server's hostname from hp.olddomain.com to hp.newdomain.com - all newdomain.com mailboxes does not receive emails.

Senders does not receive any information about that.
Other domains are working perfectly on the same server.

Server's hostname was changed through "administrator settings". Isn't that enough?

Regards,
Bartas
 
Thanks for a comment, floyd.

1. Domain, which is not working correctly: reklamos4.lt
(this domain was temporary used as main in "Administrator settings").
Now mailboxes on this domain does not receive mail.
By the way - forwarders on this domain work correctly.

2. Other domain, which is working correctly on the same server (if needed for testing purposes): 366.lt

Thank you,
Bartas
 
Last edited:
reklamos4.lt appears to work.

Code:
Connecting to mail.reklamos4.lt [82.135.195.166]:25 ... connected
  SMTP<< 220 reklamos4.tylenis.lt ESMTP Exim 4.69 Mon, 01 Jun 2009 15:55:55 +0300
  SMTP>> EHLO server.newwebsite.com
  SMTP<< 250-reklamos4.tylenis.lt Hello server.newwebsite.com [12.238.72.10]
         250-SIZE 20971520
         250-PIPELINING
         250-AUTH PLAIN LOGIN
         250-STARTTLS
         250 HELP
  SMTP>> STARTTLS
  SMTP<< 220 TLS go ahead
  SMTP>> EHLO server.newwebsite.com
  SMTP<< 250-reklamos4.tylenis.lt Hello server.newwebsite.com [12.238.72.10]
         250-SIZE 20971520
         250-PIPELINING
         250-AUTH PLAIN LOGIN
         250 HELP
  SMTP>> MAIL FROM:<[email protected]> SIZE=1401
  SMTP>> RCPT TO:<[email protected]>
  SMTP>> DATA
  SMTP<< 250 OK
  SMTP<< 250 Accepted
  SMTP<< 354 Enter message, ending with "." on a line by itself
  SMTP>> writing message and terminating "."
  SMTP<< 250 OK id=1MB73Z-00026f-M0
  SMTP>> QUIT
LOG: MAIN
  => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=381 H=mail.reklamos4.lt [82.135.195.166] X=TLSv1:AES256-SHA:256 C="250 OK id=1MB73Z-00026f-M0"
LOG: MAIN
  Completed
 
Users does not receive messages to their mailboxes.
Tried Webmail, Pop3 - no messages.

But - I can see in DA, that usage of some mailboxes (column "usage Meg") are increasing. It seems like server is getting messages, but users can not access them.
 
I knew this would happen when you asked how to change your hostname. Check your logs and do a search in either help.directadmin.com or the forums. I'm sure the solution will pop up.
 
Set up an email box for me to send to and check. Send the info to me in a PM.
 
getUp, could you tell me some more, please?

I have already searched through directadmin and exim log files.
Among the issues was:

maillog: auth(default):shadow(info.reklamos4.lt......): unknown user

But, as I guess that's not the case.
 
Problem was solved simply by recreating user mailboxes.

By the way - it was not so obvious reading log files, getUP:)


Thanks for help, everyone.

Regards,
Bartas
 
That means likely the problem was a permissions problem and could have been solved with the set_permissions.sh script.

It also means that you deleted any mail that was in the user's mailboxes.

I take it you also deleted the test email box you gave me to test with and therefore wasting my time in trying to figure out why a non existent mailbox was not working.

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
SMTP error from remote mail server after RCPT TO:<[email protected]>:
host mail.reklamos4.lt [82.135.195.166]: 550 "Unknown User"

You will not get any personal help from me again.
 
I think you are not right, floyd.

1. After recreating a test mailbox I was able to receive all messages sent to it several hours ago. No messages has been lost.

2. I wrote you in private that I have managed to solve the problem as soon as I figured that out.

Sorry for wasting you time, I did not mean to do that for sure.

Anyway I am grateful you tried to help.

Regards,
Bartas
 
I think you are not right, floyd.

1. After recreating a test mailbox I was able to receive all messages sent to it several hours ago. No messages has been lost.

But any email in them from before you had the problem has been lost. Some people leave mail on the server for a few days.

2. I wrote you in private that I have managed to solve the problem as soon as I figured that out.

Still no PM received stating the problem has been resolved.
 
Back
Top