Koozali.org: home of the SME Server

Restore Failed :(

miguelalbore

Restore Failed :(
« on: June 08, 2005, 09:43:51 PM »
Hi everyone!

I did backup from my mail server a few days ago. I want to change to another server, so i made a restore from the another server in a clean instalation with my smeserver.tgz

It seems that the another server is working perfectly, but when i try to send an email with the new server it fails (neither on webmail nor smtp).

The emails that i had on my inbox when i made the backup i can get this on my outlook, but i can't send. The error that Oulook says that the connection with the server mail was to interrupt. :(

Any Idea?
Thanks for all!
Miguel!

Offline raem

  • *
  • 3,972
  • +4/-0
Restore Failed :(
« Reply #1 on: June 09, 2005, 02:28:16 PM »
You don't say what version sme the backup is from and restored to.
If 6.0 or 6.0.1 read this for possible answer.
ftp://ftp.ibiblio.org/pub/linux/distributions/e-smith/releases/6.0/iso/RELEASE-NOTES.txt
...

miguelalbore

:(
« Reply #2 on: June 10, 2005, 06:30:28 PM »
My backup is from SME 6.0.1 and the new server is SME 6.0.1 only i want to change of server pc :(

I read about the article that  you told me but i can't find any information about this.

Any other idea?
Thanks a lot!!!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: :(
« Reply #3 on: June 11, 2005, 03:04:33 AM »
miguelalbore

> I read about the article that  you told me but i can't find any information about this.

I do not know how your system is configured ie are you sending via the servers smtp mail server or directly to your ISP's smtp server.

This is what I was referring to if you are sending direct to your ISP. You would not usually change this unless you send directly to your ISP from the workstation.
A transparent SMTP proxy has been added, to force all outgoing SMTP connections to go through the SME server. This feature enhances security with respect to viruses and worms that use SMTP to propagate themselves.

If you wish to disable this proxy, you can do so via:

/sbin/e-smith/config setprop smtpfront-qmail Proxy disabled
/sbin/e-smith/signal-event remoteaccess-update
...

miguelalbore

More information
« Reply #4 on: June 12, 2005, 12:12:32 AM »
My SME installation is only server, i use only this for email server. When i sent a mail is by smtp mail server SME.

I'm installing on a new computer, the old server works perfect, but in the new server where i have configure this with the backup of my last server, i received the error that the connection was lost whjen i try to send an email.

If in the old server was working perfect, why my backup is setting up bad my new server?. The only problem that have the new server is smtp, because pop is working perfectly.

Thanks for your help

Offline raem

  • *
  • 3,972
  • +4/-0
Re: More information
« Reply #5 on: June 12, 2005, 03:40:37 AM »
miguelalbore

> i received the error that the connection was lost > when i try to send an email.

Please quote the exact message you receive and which program you receive it from.
...

miguelalbore

Message
« Reply #6 on: June 15, 2005, 07:17:46 PM »
Outlook says:

The connection was closed unexpectedly by the server. Protocol: SMTP, Port:25 Secutiry (SSL): No, Error number: 0x800CCC0F.

This error only appears when i try to send a email.

Thanks,
Miguel!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Message
« Reply #7 on: June 16, 2005, 12:14:11 AM »
miguelalbore

>..Outlook says:

What settings are in your Outlook mail client for the mail account eg server names/IP, POP or IMAP, SSL or not, check/re-enter your account password ?

You mention earlier:
"The only problem that have the new server is smtp, because pop is working perfectly. "

Where are you using POP, eg are you downloading from server to workstation email client using POP or is the server collecting POP mail from external account(s) ?
...

miguelalbore

Restore Failed :(
« Reply #8 on: June 16, 2005, 12:24:51 AM »
Exactly, only problem is smtp, because i can receive email without problems.

My configuration is:
POP: IP Server E-Smith
SMTP: IP Server E-Smith

When i use pop, i downlod from e-smith server to my pc. This is the only account configured in outlook.

In my server original i don't have any problem, only this problem appears when i try to restore a backup from my original server. I installed both servers with the same cdrom (E-Smith 6.0.1) :(

Thanks for your help,
Miguel!

Offline raem

  • *
  • 3,972
  • +4/-0
Restore Failed :(
« Reply #9 on: June 16, 2005, 05:10:21 AM »
miguelalbore

> POP: IP Server E-Smith
> SMTP: IP Server E-Smith
> When i use pop, i downlod from e-smith server to my pc.

Can you use webmail to access the same user account email messages, does it work OK ? ie send yourself a message, do not read it using POP, but look at it with webmail/IMAP.

Perhaps your user permissions were altered during the restore, I have seen that myself and also read quiet a few reports of that happening. Check the ownership is correct:
cd /home/e-smith/files/users/username
ls -al

If required do (for each different user)
chown -R username:username /home/e-smith/files/users/username
...

miguelalbore

Restore Failed :(
« Reply #10 on: June 16, 2005, 08:41:28 PM »
Thanks RayMitchell and everyone who reads this question. I found the problem

I didn't tell you that i have installed a contrib of antivirus developed by Jesper Knudsen, and i had selectioned the option "Scan outgoing e-mail" it was obvius that when i bakup the server and i restore in another server, this configuration was saved and smpt was not unable to find the anvitirus closed the connection and couldn't send the email.

I disable this option "Scan outgoing email" from my server, i made a backup, restore in my another server and it works perfect. Thanks

thanks for your time,
Miguel!

Offline raem

  • *
  • 3,972
  • +4/-0
Restore Failed :(
« Reply #11 on: June 16, 2005, 11:03:49 PM »
miguelalbore

> I didn't tell you that i have installed a contrib > of antivirus developed by Jesper Knudsen....I had > selected the option "Scan outgoing e-mail"

It's probably good to tell us things like that in future !

Just for interest, did the new server have antivirus installed or not ? (It sounds like not installed)
If so, smtp send failure would make sense, as your new server's qmail-queue setting would be incorrect without av installed.
...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Restore Failed :(
« Reply #12 on: June 17, 2005, 04:56:09 AM »
Quote from: "RayMitchell"
miguelalbore

> I didn't tell you that i have installed a contrib > of antivirus developed by Jesper Knudsen....I had > selected the option "Scan outgoing e-mail"

It's probably good to tell us things like that in future !

Just for interest, did the new server have antivirus installed or not ? (It sounds like not installed)
If so, smtp send failure would make sense, as your new server's qmail-queue setting would be incorrect without av installed.


If he just did a re-install and restore, then no clam wouldn't be installed, but the templates would be expanded as he and we found out.  If that was revealed in the initial post, then this would have been a short thread.  Re-running Jesper's script would have fixed this issue as well.  I have ran into it myself.

JB
......

miguelalbore

Restore Failed :(
« Reply #13 on: June 17, 2005, 05:11:24 PM »
Exactly ClamAV was not installed, i was doing clean installation when i saw that smtp was not working,

Thanks a lot to everyone for help me and read this message!!!.
Miguel!