[qmailtoaster] Re: Beta testing progress

2013-12-27 Thread Eric Shubert

On 12/26/2013 09:52 PM, L. A. wrote:

Hi.

Centos 6.5 x64 minimal.
First oa all need make yum clean all.
Right after install in vm enviroment it was broken and yum update won't work.


Hmmm. I don't expect this had anything to do with being a VM, but it's a 
good thing to do. I'll put that in the qt-bootstrap-1 script before the 
update.



In your instruction:
rpm -ivh 
http://mirrors.qmailtoaster.com/current/nodist/qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm
Downloading 
http://mirrors.qmailtoaster.com/current/nodist/qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
Error: skipping 
http://mirrors.qmailtoaster.com/current/nodist/qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm
 - transfer failed

Need place it in appropriate place. Or change part of url: current to testing.


The later. For now it should be 'testing'. Once testing is complete, 
packages will be migrated to the 'current' branch. You can think of 
'current' as 'stable' or 'production'.





Even i install appropriate repo, it say:

yum -y install qmailtoaster-util
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
  * base: mirror.logol.ru
  * current-nodist: mirror5.qmailtoaster.com
  * extras: mirror.logol.ru
  * qmailtoaster-current: mirror5.qmailtoaster.com
  * updates: mirror.logol.ru
current-nodist  

| 2.9 kB 00:00
current-nodist/primary_db   

| 1.2 kB 00:00
qmailtoaster-current

| 2.9 kB 00:00
qmailtoaster-current/primary_db 

| 1.2 kB 00:00
Setting up Install Process
No package qmailtoaster-util available.
Error: Nothing to do


The testing repo is not enabled by default. You need to either edit the 
.repo file(s) to enable it, or use the --enablerepo= argument to yum.



After doing some more by hands and installing repoforge:

yum install simscan
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
  * base: mirror.logol.ru
  * current-nodist: mirror6.qmailtoaster.com
  * extras: mirror.logol.ru
  * qmailtoaster-current: mirror6.qmailtoaster.com
  * rpmforge: mirror.awanti.com
  * updates: mirror.logol.ru
rpmforge

| 1.9 kB 00:00
rpmforge/primary_db 

| 2.7 MB 00:00
Setting up Install Process
No package simscan available.
Error: Nothing to do

Also we need at least mysql install before in vpopmail script i suppose.


Yum will pick up mysql-server (and mysql) as dependencies when it 
installs vpopmail. It gets configured by a script after vpopmail is 
installed.


Sorry for the confusion with repos.

Thanks for testing!

--
-Eric 'shubes'


26.12.2013, 21:59, Eric Shubert e...@shubes.net:

All packages in the testing repo should install cleanly now. At least
they do for me.

Need to do some real testing now to verify that things (still) work as
they should.

Please report any problems here or on the devel list.

FWIW, here is the present procedure for building a QMT host:
.) install CentOS minimal
.) download qt-bootstrap-1,2 scripts from github
.) run qt-bootstrap-1:
.) disable SELINUX
.) yum update
.) reboot
.) run qt-bootstrap-2:
.) yum install yum-priorities
.) rpm -ivh
http://mirrors.qmailtoaster.com/current/nodist/qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm
.) yum install qmailtoaster-util
.) run qt-install:
.) yum install man
.) qt-install-repoforge
.) yum install simscan dovecot vqadmin qmailadmin (etc)
.) qt-mysql-secure-vpopmail
.) qt-install-dns-resolver

Note, the qt-bootstrap-N, qt-install and qt-install-dns-resolver scripts
are yet to be written. Simply do what's indicated as appropriate in the
meantime.

Thanks.

--
-Eric 'shubes'

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: 

[qmailtoaster] Disclaimer to outgoing mail

2013-12-27 Thread Amit Dalia
Hi,

I know this query has been raised many times till know but unable to get it on 
QMT as it was not that priority. But now this got me a bit top priority as I'm 
about to loose 1 of my biggest client for the same. 
I got some useful resources over the internet but yet unsuccessful. If any one 
else can give small thought on the same may be we can have disclaimer 
functionality in our QMT.

Below are certain URLs on how they have integrate disclaimer with qmail

https://www.mail-archive.com/linuxvadapav@yahoogroups.com/msg02449.html
http://forums.gentoo.org/viewtopic-t-147469-start-0.html

Regards,
Amit


[qmailtoaster] Re: Disclaimer to outgoing mail

2013-12-27 Thread Eric Shubert

On 12/27/2013 08:47 AM, Amit Dalia wrote:

Hi,

I know this query has been raised many times till know but unable to get
it on QMT as it was not that priority. But now this got me a bit top
priority as I'm about to loose 1 of my biggest client for the same.
I got some useful resources over the internet but yet unsuccessful. If
any one else can give small thought on the same may be we can have
disclaimer functionality in our QMT.

Below are certain URLs on how they have integrate disclaimer with qmail

https://www.mail-archive.com/linuxvadapav@yahoogroups.com/msg02449.html
http://forums.gentoo.org/viewtopic-t-147469-start-0.html

Regards,
Amit


If it were me, I'd use the second link's approach, as it appears to 
allow for multiple domains. I'm not sure how or where the QMAILHOST 
variable gets set with the domain name though, so this may or may not 
work as it appears.


There's a bit of a problem you may or may not come across, depending on 
your requirements and how you've set things up. That problem is, how do 
determine which messages get tagged.


The first link uses the tcp.smtp file to plug in the qmail-disclaimer 
script into the QMAILQUEUE based on a local subnet. This is fine so long 
as everyone who submits messages is doing so from the specified LAN. The 
same could be be achieved with webmail clients. This approach falls 
apart though if there are road warriors (people submitting messages from 
the internet or mobile devices).


It's also unclear to me what this process does after appending the 
disclaimer, so scanning messages for viruses may or may not be done.


The second link sets the QMAILQUEUE variable in the run script for the 
qmail-smtpd process. This is fine so long as it's done in the 
submission/run file, and all users use port 587 for submission. The way 
it's written up though, it appears to me that all incoming messages for 
the domain would be tagged with the disclaimer as well. This may be what 
was intended, but I would think this would only be appropriate for 
outbound messages.


Also keep in mind that any disclaimer will affect the DomainKey or DKIM 
signature, so if you're using either of these for the domain in 
question, you need to be careful to have the disclaimer done first.


If I were attempting this, I'd set up a dedicated VM for this customer 
that handles submissions for this domain. That way you'll be able to 
more easily isolate the impact of this, as well as controlling the 
process (tagging only outbound messages). This host would need a 
dedicated IP address of course. Note, having a separate submission 
server isn't a bad idea in any case.


Again, I don't see this feature being included in the stock QMT for 
quite some time. Please contact me off list though if you'd like to 
contract me to develop this for you. I can probably find some time to do 
it in the next month.


--
-Eric 'shubes'


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] unison

2013-12-27 Thread Dave MacDonald
hi Eric,

I did the setup with my 2 main email servers, ( 4 in all )
using unison with the instructions from Jakes Videos ( purchased )
the setup and install are very straight forward,
Once setup, it takes care of its self.

I did have server go down , and because of replication, I was back up in 2
minutes, Just had to change the IP of my backup, to be the main.
Then rebuilt the faulty server, and ran the replication again, no probs.

Thanks agin to Jake Vickers for all that.

Dave M
On Dec 26, 2013 10:12 PM, Eric Broch ebr...@whitehorsetc.com wrote:

 Hi List,

 Is anyone using Unison to replicate their Qmail installation? If so any
 comments +/- about it?

 Eric

 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Beta testing progress

2013-12-27 Thread Dave MacDonald
got them ,

Thanks
On Dec 26, 2013 9:36 PM, Eric Broch ebr...@whitehorsetc.com wrote:

  Dave,

 1) Go to www.github.com
 2) search with 'qmailtoaster'
 3) go to 'QMailToaster https://github.com/QMailToaster / *qmailtoaster-util
 https://github.com/QMailToaster/qmailtoaster-util*
 4) you'll see the scripts. If you don't you may have eggnogged yourself
 blind. ;-)

 EB

 On 12/26/2013 9:16 PM, Dave M wrote:

 Hi Eric,
 Maybe I am blind or had to much eggnogg,
 ( fyi,  I am a tea totteler )
 still dot see this?
 download


 *qt-bootstrap-1,2 scripts from github *Thanks
 Dave M

  On 12/26/2013 10:59 AM, Eric Shubert wrote:

 All packages in the testing repo should install cleanly now. At least they
 do for me.

 Need to do some real testing now to verify that things (still) work as
 they should.

 Please report any problems here or on the devel list.

 FWIW, here is the present procedure for building a QMT host:
 .) install CentOS minimal
 .) download qt-bootstrap-1,2 scripts from github
 .) run qt-bootstrap-1:
   .) disable SELINUX
   .) yum update
   .) reboot
 .) run qt-bootstrap-2:
   .) yum install yum-priorities
   .) rpm -ivh
 http://mirrors.qmailtoaster.com/current/nodist/qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm
   .) yum install qmailtoaster-util
 .) run qt-install:
   .) yum install man
   .) qt-install-repoforge
   .) yum install simscan dovecot vqadmin qmailadmin (etc)
   .) qt-mysql-secure-vpopmail
   .) qt-install-dns-resolver

 Note, the qt-bootstrap-N, qt-install and qt-install-dns-resolver scripts
 are yet to be written. Simply do what's indicated as appropriate in the
 meantime.

 Thanks.






Re: [qmailtoaster] Beta testing progress

2013-12-27 Thread Dave M

first issue:
 # ./qt-bootstrap-1
Gives
qt-bootstrap-1 -
qt-bootstrap-1 - disabling SELINUX ...
*/root/bin/qt-bootstrap-1: line 42: unexpected EOF while looking for 
matching `'**

**/root/bin/qt-bootstrap-1: line 45: syntax error: unexpected end of file*

Figured it was minor so continued with qt-bootstrap-2
More errors:

qt-bootstrap-2 -
qt-bootstrap-2 - installing yum-priorities (plugin) ...
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.its.sfu.ca
 * extras: mirror.agmn.ca
 * updates: mirror.its.sfu.ca
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:02
extras | 3.4 kB 00:00
extras/primary_db |  19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 826 kB 00:00
Setting up Install Process
Resolving Dependencies
-- Running transaction check
--- Package yum-plugin-priorities.noarch 0:1.1.30-14.el6 will be installed
-- Finished Dependency Resolution

Dependencies Resolved


 PackageArch 
Version Repository Size


Installing:
 yum-plugin-priorities  noarch 
1.1.30-14.el6   base   22 k


Transaction Summary

Install   1 Package(s)

Total download size: 22 k
Installed size: 28 k
Downloading Packages:
yum-plugin-priorities-1.1.30-14.el6.noarch.rpm |  22 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : yum-plugin-priorities-1.1.30-14.el6.noarch 1/1
  Verifying  : yum-plugin-priorities-1.1.30-14.el6.noarch 1/1

Installed:
  yum-plugin-priorities.noarch 0:1.1.30-14.el6

Complete!
./qt-bootstrap-2: line 22: 
qmt-release-pkg=qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm: command 
not found

qt-bootstrap-2 - installing -release-pkg (repo) ...
Retrieving http://mirrors.qmailtoaster.com/current/nodist/-release-pkg
curl: (22) The requested URL returned error: 404 Not Found
error: skipping 
http://mirrors.qmailtoaster.com/current/nodist/-release-pkg - transfer 
failed

./qt-bootstrap-2: line 30: unexpected EOF while looking for matching `'
./qt-bootstrap-2: line 32: syntax error: unexpected end of file

Dave M


Re: [qmailtoaster] Beta testing progress

2013-12-27 Thread Dave M

Also:
 qt-install
*-bash: qt-install: command not found*

On 12/27/2013 8:16 PM, Dave M wrote:

first issue:
 # ./qt-bootstrap-1
Gives
qt-bootstrap-1 -
qt-bootstrap-1 - disabling SELINUX ...
*/root/bin/qt-bootstrap-1: line 42: unexpected EOF while looking for 
matching `'**

**/root/bin/qt-bootstrap-1: line 45: syntax error: unexpected end of file*

Figured it was minor so continued with qt-bootstrap-2
More errors:

qt-bootstrap-2 -
qt-bootstrap-2 - installing yum-priorities (plugin) ...
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.its.sfu.ca
 * extras: mirror.agmn.ca
 * updates: mirror.its.sfu.ca
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:02
extras | 3.4 kB 00:00
extras/primary_db |  19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 826 kB 00:00
Setting up Install Process
Resolving Dependencies
-- Running transaction check
--- Package yum-plugin-priorities.noarch 0:1.1.30-14.el6 will be 
installed

-- Finished Dependency Resolution

Dependencies Resolved


 PackageArch 
Version Repository Size


Installing:
 yum-plugin-priorities  noarch 
1.1.30-14.el6   base   22 k


Transaction Summary

Install   1 Package(s)

Total download size: 22 k
Installed size: 28 k
Downloading Packages:
yum-plugin-priorities-1.1.30-14.el6.noarch.rpm |  22 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : yum-plugin-priorities-1.1.30-14.el6.noarch 1/1
  Verifying  : yum-plugin-priorities-1.1.30-14.el6.noarch 1/1

Installed:
  yum-plugin-priorities.noarch 0:1.1.30-14.el6

Complete!
./qt-bootstrap-2: line 22: 
qmt-release-pkg=qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm: 
command not found

qt-bootstrap-2 - installing -release-pkg (repo) ...
Retrieving http://mirrors.qmailtoaster.com/current/nodist/-release-pkg
curl: (22) The requested URL returned error: 404 Not Found
error: skipping 
http://mirrors.qmailtoaster.com/current/nodist/-release-pkg - transfer 
failed

./qt-bootstrap-2: line 30: unexpected EOF while looking for matching `'
./qt-bootstrap-2: line 32: syntax error: unexpected end of file

Dave M




[qmailtoaster] Re: Beta testing progress

2013-12-27 Thread Eric Shubert

Scripts are fixed.

qt-install is being written. Should have a version, and its sub-scripts 
available tomorrow.


Thanks Dave.

--
-Eric 'shubes'

On 12/27/2013 08:52 PM, Dave M wrote:

Also:
  qt-install
*-bash: qt-install: command not found*

On 12/27/2013 8:16 PM, Dave M wrote:

first issue:
 # ./qt-bootstrap-1
Gives
qt-bootstrap-1 -
qt-bootstrap-1 - disabling SELINUX ...
*/root/bin/qt-bootstrap-1: line 42: unexpected EOF while looking for
matching `'**
**/root/bin/qt-bootstrap-1: line 45: syntax error: unexpected end of file*

Figured it was minor so continued with qt-bootstrap-2
More errors:

qt-bootstrap-2 -
qt-bootstrap-2 - installing yum-priorities (plugin) ...
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.its.sfu.ca
 * extras: mirror.agmn.ca
 * updates: mirror.its.sfu.ca
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:02
extras | 3.4 kB 00:00
extras/primary_db |  19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 826 kB 00:00
Setting up Install Process
Resolving Dependencies
-- Running transaction check
--- Package yum-plugin-priorities.noarch 0:1.1.30-14.el6 will be
installed
-- Finished Dependency Resolution

Dependencies Resolved


 PackageArch
Version Repository Size

Installing:
 yum-plugin-priorities  noarch
1.1.30-14.el6   base   22 k

Transaction Summary

Install   1 Package(s)

Total download size: 22 k
Installed size: 28 k
Downloading Packages:
yum-plugin-priorities-1.1.30-14.el6.noarch.rpm |  22 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : yum-plugin-priorities-1.1.30-14.el6.noarch 1/1
  Verifying  : yum-plugin-priorities-1.1.30-14.el6.noarch 1/1

Installed:
  yum-plugin-priorities.noarch 0:1.1.30-14.el6

Complete!
./qt-bootstrap-2: line 22:
qmt-release-pkg=qmailtoaster-release-2.0-1.qt.nodist.noarch.rpm:
command not found
qt-bootstrap-2 - installing -release-pkg (repo) ...
Retrieving http://mirrors.qmailtoaster.com/current/nodist/-release-pkg
curl: (22) The requested URL returned error: 404 Not Found
error: skipping
http://mirrors.qmailtoaster.com/current/nodist/-release-pkg - transfer
failed
./qt-bootstrap-2: line 30: unexpected EOF while looking for matching `'
./qt-bootstrap-2: line 32: syntax error: unexpected end of file

Dave M







-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com