Koozali.org: home of the SME Server

Backup from 7.6 and Restore concepts 9 64b

Offline mgb

  • ****
  • 558
  • +0/-0
Backup from 7.6 and Restore concepts 9 64b
« on: September 18, 2014, 03:33:50 PM »
to Backup from 7.6 to Restore sme 9 64b  user and mail ?
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #1 on: September 18, 2014, 04:02:26 PM »
mgb:

1) you should try to improve your english: I know it can be difficult, but we can't help you if we don't understand you
2) you must start reading the wiki: http://wiki.contribs.org/SME_Server:9.0#Upgrading

I'm doing an upgrade from SME7.6 to SME9 using this: http://wiki.contribs.org/SME_Server:9.0#Upgrade_using_command_line_restore_via_ssh_or_USB

HTH

N.B. before playing with your production server, test the procedure and the backup using a virtual machine..

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #2 on: September 18, 2014, 04:20:58 PM »
reading the wiki: http://wiki.contribs.org/SME_Server:9.0#Upgrading
install new sme  9 test ok yum update ok
is send mail ok
is get mail ok
restore
config delete PasswordSet
config setprop bootstrap-console Run Yes
signal-event reboot


i use usb  is ok
cp /smeserver.tgz /
is work restore ok

the sme 9 is work
is not get mail
is not send mail
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #3 on: September 18, 2014, 04:25:12 PM »
so the issue is with your setup and, likely, with the way you send email..

in any case "doesn't work" is USELESS..

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #4 on: September 18, 2014, 04:37:51 PM »
i send mail from my usera@walla.com  to my server admin@mydomain.k12.il
 is not get my mail
in walla log
    Transcript of session follows -----
... while talking to  mydomain.k12.il.:
>>> DATA
<<< 550 Net 192.118.71.0/24 is UCEPROTECT-Level2 listed because 16 abusers are hosted by TELETEL-AS Teletel Communication Channels/AS13074 there. See: http://www.uceprotect.net/rblcheck.php?ipr=192.118.71.106
550 5.1.1 <admin@mydomain.k12.il>... User unknown
451 4.4.1 reply: read error from .mydomin.k12.il.

Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #5 on: September 18, 2014, 04:45:51 PM »
the error message is self explanatory.. your (sending) ip is in a black list..

[Off Topic]8000th post here :wink: [/Off Topic]

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #6 on: September 18, 2014, 04:52:05 PM »
is work good  before restore
i test the myserver is work good
i send from walla an i send from myserver to walla is work ok.
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #7 on: September 18, 2014, 04:59:11 PM »
I have no idea who's/what's walla..

you should always remember we are not beside you in front of your server and we don't see anything.. All we know is what you say/write here..

the facts are:
- you have a BL problem
- this is not a SME problem
- in the error message you have a link to know more about the issue

there are other topics with BL issues, so, first of all, search and read them, use google, read the linked page..
these are routinary (almost trivial) activities if you are a system administrator; if not, trust me, you should really think about hiring and paying someone

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #8 on: September 18, 2014, 05:14:28 PM »
Very ensures support
But I believe
I checked
I build the server re-
I would be very happy if you send me mail
And you'll see that it works
After the restore does not work
E admin@ .k12.il
« Last Edit: September 18, 2014, 05:29:29 PM by mgb »
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #9 on: September 18, 2014, 05:18:37 PM »
ok..

if before upgrading everything worked and now it has stopped, you MUST investigate on the reason.. and the tools are there:
cat
grep

applied on logs file

in any case, being in BL is not (strictly) a SME's problem.. and, again, you MUST understand what's going wrong.. it's up to you to give us as much details as you can and we'll try to help you

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #10 on: September 18, 2014, 05:27:29 PM »
ok is work
new sme server
test
Thanks all for helping
Skype yosii2009

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #11 on: September 18, 2014, 05:32:41 PM »
That's why I asked for backup
Users and E "
Only
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #12 on: September 18, 2014, 05:39:14 PM »
you can't "simply" backup users and email..
you have to find the reason why you (sender) are in BL

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #13 on: September 19, 2014, 08:08:31 AM »
mgb

Your need to improve your understanding of sme server.

Probably/possibly this is the issue.
The sme 9 RBL lists are different (less block lists) than your earlier sme7.6 installation, that's why the restored server is blocking some mail & the newly installed sme9 is letting mail get through. The old sme7.6 RBL settings are transferred to the new sme9 server via the backup & restore.

This should fix the restored server

check settings first with
config show qpsmtpd

and make a note of those settings.
Many of the lists used in sme7.x are defunct

Then do
config setprop qpsmtpd DNSBL enabled RHSBL enabled
signal-event email-update

config setprop qpsmtpd RBLList zen.spamhaus.org
signal-event email-update

config setprop qpsmtpd SBLList ''
signal-event email-update


Here is the output from my sme8.1

config show qpsmtpd

qpsmtpd=service
    Authentication=disabled
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    Instances=5
    LogLevel=8
    MaxScannerSize=250000000
    RBLList=zen.spamhaus.org
    RHSBL=enabled
    RelayRequiresAuth=enabled
    SBLList=
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled

Here is the output from my (default settings) sme9.0

config show qpsmtpd
qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=disabled
    LogLevel=6
    MaxScannerSize=25000000
    RBLList=bl.spamcop.net:dnsbl-1.uceprotect.net:dnsbl-2.uceprotect.net:psbl.surriel.com:zen.spamhaus.org
    RHSBL=disabled
    RelayRequiresAuth=enabled
    SBLList=multi.surbl.org:black.uribl.com:rhsbl.sorbs.net
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled


The default settings in sme9.0 are too aggressive in my opinion, & the settings in MY sme8.1 are far more real world realistic.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #14 on: September 21, 2014, 09:50:14 AM »
sme 9
config show qpsmtpd
qpsmtpd=service
    Authentication=enabled
    Bcc=enabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    LogLevel=6
    MaxScannerSize=25000000
    RBLList=bl.spamcop.net:dnsbl-1.uceprotect.net:dnsbl-2.uceprotect.net:psbl.surriel.com:zen.spamhaus.org
    RHSBL=enabled
    RelayRequiresAuth=enabled
    SBLList=multi.surbl.org:black.uribl.com:rhsbl.sorbs.net
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled

Then do
config setprop qpsmtpd DNSBL enabled RHSBL enabled
signal-event email-update

config setprop qpsmtpd RBLList zen.spamhaus.org
signal-event email-update

config setprop qpsmtpd SBLList ''
signal-event email-update

config show qpsmtpd
qpsmtpd=service
    Authentication=enabled
    Bcc=enabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    LogLevel=6
    MaxScannerSize=25000000
    RBLList=zen.spamhaus.org
    RHSBL=enabled
    RelayRequiresAuth=enabled
    SBLList=
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled
[root@mail ~]#
is not work send get mail
Thanks all for helping
Skype yosii2009

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #15 on: September 21, 2014, 11:46:25 AM »
mgb

Well at least incoming mail will no longer be blocked by aggressive RBL lists.
eg
uceprotect.net
« Last Edit: September 21, 2014, 11:48:00 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #16 on: September 21, 2014, 01:20:04 PM »
mgb
Quote
is not work send get mail

What does that mean ?

Let's try to find out by a process of elimination.

1) Can you send an email message from a email client (as user1) on a work station attached to your LAN (behind the sme9 server), to another user2 on an email client on a different workstation attached to your LAN ? (where user1 & user2 are valid user accounts on the sme server)

2)  Can you send an email message using webmail as user1 (connected via a browser) on a work station attached to your LAN (behind the sme9 server), to another user2 using webmail on a different workstation attached to your LAN ? (where user1 & user2 are valid user accounts on the sme server)

3) From a web browser on the LAN behind your sme9 server, can you do a port scan at grc.com & post the results here. This will check to see physically what ports are open from the outside to your Internet connection/WAN/server

4) What mode is your sme9 server in, gateway server or server only ?

5) If your sme9 server is in server gateway mode, is it connected directly to the Internet via a bridged modem or is there some other modem or router in front of your server ? Please describe in detail how your server is connected to the Internet.
« Last Edit: September 21, 2014, 10:59:50 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #17 on: September 22, 2014, 10:18:52 AM »
Thanks for the help. It was repaired.
Solution.
After the restore the server stopped working properly.
Another operation to restore an older server that was available.
The condition for success is it that the old backing existing users.
The result all the new data updated by the new backup.

I think the problems created
 mrtg
Sme-unjunkmgr
Thanks all for helping
Skype yosii2009

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #18 on: September 22, 2014, 10:22:55 AM »
 mgb  config my sme
Everything works in this answer to the previous state
Quote
 What does that mean ?

Let's try to find out by a process of elimination.

1) Can you send an email message from a email client (as user1) on a work station attached to your LAN (behind the sme9 server), to another user2 on an email client on a different workstation attached to your LAN ? (where user1 & user2 are valid user accounts on the sme server)  no

2)  Can you send an email message using webmail as user1 (connected via a browser) on a work station attached to your LAN (behind the sme9 server), to another user2 using webmail on a different workstation attached to your LAN ? (where user1 & user2 are valid user accounts on the sme server) no

3) From a web browser on the LAN behind your sme9 server, can you do a port scan at grc.com & post the results here. This will check to see physically what ports are open from the outside to your Internet connection/WAN/server

4) What mode is your sme9 server in, gateway server or server only ? server only

5) If your sme9 server is in server gateway mode, is it connected directly to the Internet via a bridged modem or is there some other modem or router in front of your server ? Please describe in detail how your server is connected to the Internet. yes

« Last Edit: September 22, 2014, 10:25:22 AM by mgb »
Thanks all for helping
Skype yosii2009

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #19 on: September 22, 2014, 05:58:23 PM »
is not work send get mail

This makes no sense. Getting mail and sending mail are two different processes. If they both don't work, then you need to diagnose and fix at least two different problems.

When you say "is not work", you need to provide more details. When you provide the details, do not modify the log messages. When you change them  (e.g. to say "mydomain" rather than your real domain name, and "admin@.k12.il" rather than a real valid email address) you make it impossible for others to investigate your problem.

Do you have a friend who can help you write better English? Your posts are very difficult to understand.

Offline mgb

  • ****
  • 558
  • +0/-0
Re: Backup from 7.6 and Restore concepts 9 64b
« Reply #20 on: September 23, 2014, 11:40:03 AM »
I thank for the help
The fault has been corrected

With
2 Recovery
First Last backup file created by a server failure
Restoring two old backup file with no problems right the old server

Server upgrade was carried out due to server failure the old 7.6
Upgraded 9
1
Restore on initial reboot after fresh OS install - How to Reset option
config delete PasswordSet
config setprop bootstrap-console Run Yes
signal-event reboot
A full Restore from a backup file (eg located on a USB drive =smeserver.tgz 08-09-2014

2
Restore on initial reboot after fresh OS install - How to Reset option
config delete PasswordSet
config setprop bootstrap-console Run Yes
signal-event reboot
A full Restore from a backup file (eg located on a USB drive =smeserver.tgz 08-08-2014

is fix sme 9 

* By the way
fix problems in Hebrew
« Last Edit: September 23, 2014, 11:42:46 AM by mgb »
Thanks all for helping
Skype yosii2009