That authentication line is for the development
<ftp://ftp.qmailtoaster.com/pub/repo/qmt/CentOS/7/development/x86_64/>
version of qmail (1.03-3.1) which utilizes the
qmail-authentication-0.8.3 <https://www.fehcom.de/qmail/smtpauth.html>
patch (old patch: 0.5.7). I haven't compiled it yet for the qmail cdb
which, I think, you use.
On 1/29/2019 8:57 AM, Jeff Koch wrote:
Eric - where does that line go? In the
/var/qmail/supervise/submission/run file? I currently have:
I just noticed HOSTNAME is not set - what should it be?
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
export REQUIRE_AUTH=1
exec /usr/bin/softlimit -m 128000000 \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 587 \
$SMTPD $VCHKPW /bin/true 2>&1
Jeff
On 1/29/2019 10:21 AM, Eric Broch wrote:
It has to do with a recent past issue "!+cram" forces encrypted
passwords in submission and make sure qmail-queue is not pointing to
qmail-dk...it shouldn't be.
On 1/29/2019 8:05 AM, Jeff Koch wrote:
Hi Eric:
Great summary of the tasks but I don't understand item 7 - can you
please explain ?
Jeff
On 1/29/2019 8:29 AM, Eric Broch wrote:
Hi Chandran,
Here's what I do:
1) Install Qmail according to link update from testing &
development as you see fit (https://www.qmailtoaster.org)
2) Dump mysql database on old machine and copy to new machine
mysql_file=/home/vpopmail/etc/vpopmail.mysql
if [ -f $mysql_file ]; then
mysql_host=`cut -d\| -f1 < $mysql_file`
mysql_port=`cut -d\| -f2 < $mysql_file`
mysql_user=`cut -d\| -f3 < $mysql_file`
mysql_password=`cut -d\| -f4 < $mysql_file`
mysql_database=`cut -d\| -f5 < $mysql_file`
fi
mysqldump -u $mysql_user -p$mysql_password -h $mysql_host
$mysql_portparm $mysql_database > ./vpopmail.sql
3) rsync the following directories old server to new
server...squirrelmail, spamassassin, tcprules.d if you need them.
/home/vpopmail/domains
/var/lib/squirrelmail
/usr/share/squirrelmail
/etc/spamassassin/*.cf
/etc/spamassassin/.spamassassin
/etc/tcprules.d
/var/qmail/users
4) Import mysql database in new machine
mysql -uroot -p vpopmail < ./vpopmail.sql
5) Copy any file in /var/qmail/control/ that you want. (usually not
necessary)
6) Copy any run setting that you want. (usually not necessary)
7) Make sure if you use testing and development repos (DomainKeys
dropped in development) to check run authentication run settings
(export SMTPAUTH="!+cram")
8) stop and start qmail
On 1/28/2019 9:24 PM, Chandran Manikandan wrote:
Hi Biju,
Thanks for your help and steps.
Can i use the qt-backup script to take all the backup in old server?
Then move this compress file into new server to qt-restore command.
Anyone have any idea about this?
And one more doubt.
Can i use the same procedure for Hard disk upgrade from old hard
disk to new hard disk in the same machine or any other simple step
there?
Thanks in advance.
On Fri, Jan 25, 2019 at 6:18 PM Biju Jose <[email protected]
<mailto:[email protected]>> wrote:
1. Setup new server
2. Create a new domain ( vadddomain) and import the MySQL
table of that domain from the old server.
3. RSync the mail folder from the old to the new
rsync -arvz -e 'ssh -p 8022' –progress
[email protected]:/home/vpopmail/domains/domain1.com/
<http://domain1.com/> /home/vpopmail/domains/domain1com
4. Change the DNS for domain1 to point to the new server.
5. Repeat for the other domains.
Best Regards
Biju
*From:*Chandran Manikandan [mailto:[email protected]
<mailto:[email protected]>]
*Sent:* 25 January 2019 15:32
*To:* [email protected]
<mailto:[email protected]>;
[email protected]
<mailto:[email protected]>
*Subject:* [qmailtoaster] Re: Email server migration
Hi Friends,
Could anyone help me the server migration.
On Thu, Jan 17, 2019 at 11:27 AM Chandran Manikandan
<[email protected] <mailto:[email protected]>> wrote:
Hi Folks,
I am planning to migrate email and web server from one
machine to another machine.
I have installed qmailtoaster and web server on COS6.6
64 bit server machine.
And configure 4 domains email accounts, alias and 4 domain
web server with virtual host.
I have installed letsencrypt self-signed certificate for
email and web server on COS 6.6.4 machine.
I am planning to migrate the email and web server with
https on COS 7 64 bit server latest version.
Could any one help me the steps for the new machine.
1. COS 7 latest version installation steps
2. Qmailtoaster installation steps
3. web server installation steps with virtual host
4. multiple domain, email accounts,alias migrate to new
server(Backup and restore)
5. multiple domain websites migrate to new server
Appreciate any one help me.
Thanks in advance
--
*Thanks,*
*Manikandan.C*
*System Administrator*
--
*Thanks,*
*Manikandan.C*
*System Administrator*
--
*Thanks,*
*Manikandan.C*
*System Administrator*
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)