Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: mgb on September 18, 2014, 03:33:50 PM
-
to Backup from 7.6 to Restore sme 9 64b user and mail ?
-
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..
-
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
-
so the issue is with your setup and, likely, with the way you send email..
in any case "doesn't work" is USELESS..
-
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.
-
the error message is self explanatory.. your (sending) ip is in a black list..
[Off Topic]8000th post here :wink: [/Off Topic]
-
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.
-
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
-
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
-
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
-
ok is work
new sme server
test
-
That's why I asked for backup
Users and E "
Only
-
you can't "simply" backup users and email..
you have to find the reason why you (sender) are in BL
-
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.
-
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
-
mgb
Well at least incoming mail will no longer be blocked by aggressive RBL lists.
eg
uceprotect.net
-
mgb
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.
-
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
-
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
-
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.
-
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