[qmailtoaster] {Disarmed} Re: [qmailtoaster] Blocking Top Level Domains

2017-12-19 Thread Remo Mattei
What will be the best option to implement this file Tony?

Ciao

> On Dec 19, 2017, at 1:09 AM, Tony White  wrote:
> 
> Found it...
> 
> # Version 2017121800, Last Updated Mon Dec 18 07:07:01 2017 UTC
> http://data.iana.org/TLD/tlds-alpha-by-domain.txt
> 
> Worth a look see...
> 
> best wishes
>  Tony White
> 
> On 19/12/2017 09:52, Tony White wrote:
> 
>> Thank you Sean.
>> Now I remember seeing a website somewhere that had all these new
>> tld's in a file.
>> If I find it I will let you all know.
>> 
>> best wishes
>>  Tony White
>> 
>> On 19/12/2017 06:43, Sean Murphy wrote:
>> 
>>> Eric,
>>> 
>>> I just watched qmail reject a new address from the date domain.
>>> 
>>> The syntax is indeed .@*\.date$ in badmailfrom.
>>> 
>>> I'm still running an older version of the toaster on a CentOS 5.11 machine. 
>>>  I have a CentOS 7 box up and ready for a migration, but I'm loathe to move 
>>> over from a machine that's working well even though it's past its date.  I 
>>> suppose the time draws nigh, anyway.
>>> 
>>> And, for what it's worth, the latest rash of spam seems to be from IPs in 
>>> Italy.
>>> 
>>> Thanks!
>>> 
>>> -Sean
>>> 
>>> On 12/18/2017 2:25 PM, Eric Broch wrote:
 I put in a spam gateway, specifically, a Sonicwall device because I could 
 never control spam using stock qmailtoaster stuff until Dspam (to much 
 fiddling), but to your question:
 
 It'd be preferable to put an entry in /etc/spamdyke/blacklist_senders file 
 '@domain.tld' so email would never reach the smtp daemon.
 
 Here's the badmailfrom wiki anyway: 
 http://wiki.qmailtoaster.com/index.php/Badmailfrom
 
 
 On 12/18/2017 11:27 AM, Sean Murphy wrote:
> Greetings all,
> 
> We are seeing a boatload of spammy mail from new top level domains,  
> date in particular.  Spamassassin is catching most of them and flagging 
> them as spam, but I'd like to block the domain entirely.  Is this 
> possible in badmailfrom? Will it support a wildcard such as .@*\.date$, 
> or is the syntax different?  I realize there may be legitimate businesses 
> emailing from that domain at some point in the future, but that future is 
> certainly not now.
> 
> Also, if there is a better way of doing this, I am open to suggestions.
> 
> Best,
> 
> Sean P. Murphy
> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 
 
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>> 
>>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
>> 
> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 



signature.asc
Description: Message signed with OpenPGP


[qmailtoaster] {Disarmed} Re: [qmailtoaster] Blocking Top Level Domains

2017-12-18 Thread Remo Mattei
Well I have to say it’s working really well the 5.11 and only doing qmail with 
the web for qmailadmin ..
So not sure to move things over yet..

However I have my personal one on qmailtoaster cents 7 super good! But the auth 
has changed so moving people because of tither security on the imap .. will 
require a little bit of training for them.. or I need to see how to adopt the 
dovecot 1.x auth into the new one .. but again.. that’s not the plan!



> On Dec 18, 2017, at 12:08 PM, Sean Murphy  wrote:
> 
> I know, it's nerve-wracking, isn't it?
> 
> 
> On 12/18/2017 3:04 PM, Remo Mattei wrote:
>> I do have that too not sure to move them over yet!
>> 
>> Il giorno 18 dic 2017, alle ore 11:43, Sean Murphy 
>>  ha scritto:
>> 
>> Eric,
>> 
>> I just watched qmail reject a new address from the date domain.
>> 
>> The syntax is indeed .@*\.date$ in badmailfrom.
>> 
>> I'm still running an older version of the toaster on a CentOS 5.11 machine.  
>> I have a CentOS 7 box up and ready for a migration, but I'm loathe to move 
>> over from a machine that's working well even though it's past its date.  I 
>> suppose the time draws nigh, anyway.
>> 
>> And, for what it's worth, the latest rash of spam seems to be from IPs in 
>> Italy.
>> 
>> Thanks!
>> 
>> -Sean
>> 
>>> On 12/18/2017 2:25 PM, Eric Broch wrote:
>>> I put in a spam gateway, specifically, a Sonicwall device because I could 
>>> never control spam using stock qmailtoaster stuff until Dspam (to much 
>>> fiddling), but to your question:
>>> 
>>> It'd be preferable to put an entry in /etc/spamdyke/blacklist_senders file 
>>> '@domain.tld' so email would never reach the smtp daemon.
>>> 
>>> Here's the badmailfrom wiki anyway: 
>>> http://wiki.qmailtoaster.com/index.php/Badmailfrom
>>> 
>>> 
>>>> On 12/18/2017 11:27 AM, Sean Murphy wrote:
>>>> Greetings all,
>>>> 
>>>> We are seeing a boatload of spammy mail from new top level domains,  
>>>> date in particular.  Spamassassin is catching most of them and flagging 
>>>> them as spam, but I'd like to block the domain entirely.  Is this possible 
>>>> in badmailfrom? Will it support a wildcard such as .@*\.date$, or is the 
>>>> syntax different?  I realize there may be legitimate businesses emailing 
>>>> from that domain at some point in the future, but that future is certainly 
>>>> not now.
>>>> 
>>>> Also, if there is a better way of doing this, I am open to suggestions.
>>>> 
>>>> Best,
>>>> 
>>>> Sean P. Murphy
>>>> 
>>>> 
>>>> -
>>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>>> 
>> 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 



signature.asc
Description: Message signed with OpenPGP


Re: [qmailtoaster] Blocking Top Level Domains

2017-12-18 Thread Remo Mattei
I do have that too not sure to move them over yet! 

Il giorno 18 dic 2017, alle ore 11:43, Sean Murphy  
ha scritto:

Eric,

I just watched qmail reject a new address from the date domain.

The syntax is indeed .@*\.date$ in badmailfrom.

I'm still running an older version of the toaster on a CentOS 5.11 machine.  I 
have a CentOS 7 box up and ready for a migration, but I'm loathe to move over 
from a machine that's working well even though it's past its date.  I suppose 
the time draws nigh, anyway.

And, for what it's worth, the latest rash of spam seems to be from IPs in Italy.

Thanks!

-Sean

> On 12/18/2017 2:25 PM, Eric Broch wrote:
> I put in a spam gateway, specifically, a Sonicwall device because I could 
> never control spam using stock qmailtoaster stuff until Dspam (to much 
> fiddling), but to your question:
> 
> It'd be preferable to put an entry in /etc/spamdyke/blacklist_senders file 
> '@domain.tld' so email would never reach the smtp daemon.
> 
> Here's the badmailfrom wiki anyway: 
> http://wiki.qmailtoaster.com/index.php/Badmailfrom
> 
> 
>> On 12/18/2017 11:27 AM, Sean Murphy wrote:
>> Greetings all,
>> 
>> We are seeing a boatload of spammy mail from new top level domains,  
>> date in particular.  Spamassassin is catching most of them and flagging them 
>> as spam, but I'd like to block the domain entirely.  Is this possible in 
>> badmailfrom? Will it support a wildcard such as .@*\.date$, or is the syntax 
>> different?  I realize there may be legitimate businesses emailing from that 
>> domain at some point in the future, but that future is certainly not now.
>> 
>> Also, if there is a better way of doing this, I am open to suggestions.
>> 
>> Best,
>> 
>> Sean P. Murphy
>> 
>> 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
> 


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



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



Re: [qmailtoaster] How to increase email attachment size

2017-12-12 Thread Remo Mattei
You have to set that manually and try like vmoduser for those people. 

Remo

Il giorno 12 dic 2017, alle ore 06:57, Tony White  ha scritto:

You are correct Eric.
Read to quickly.

If it was me I would have two vm servers
one for business and one for everyone else.



best wishes
  Tony White

On 13/12/2017 01:19, Eric Broch wrote:
> Tony,
> 
> I think he wanted per user control. That's a global control.
> 
> Eric
> 
> 
>> On 12/12/2017 7:12 AM, Tony White wrote:
>> In the /var/qmail/control folder edit the 
>> databytes file to match the require 
>> attachment size ie 1000 is ~10MB.
>> 
>> Dont forget to adjust your php setup to match
>> or squirrelmail etc will only allow the size in php.ini
>> 
>> best wishes
>>   Tony White
>> 
>> On 13/12/2017 00:55, Eric Broch wrote:
>>> Chandran,
>>> 
>>> I don't think per user attachment size control is possible. If someone 
>>> knows for sure please let us know.
>>> 
>>> Eric
>>> 
>>>> On 12/12/2017 1:04 AM, Chandran Manikandan wrote:
>>>> Dear Friends,
>>>> 
>>>> I am using Qmailtoaster on centos 6.5 machine and currently having 200 
>>>> email accounts.
>>>> 
>>>> I want to increase email attachment size like 20 MB for particular email 
>>>> account only like Business and management people.
>>>> 
>>>> Currently provided only 7 MB in databytes file.
>>>> 
>>>> If possible to provide 20 MB in webmail for those accounts only.
>>>> 
>>>> Thanks in advance.
>>>> 
>>>> -- 
>>>> Thanks,
>>>> Manikandan.C
>>>> System Administrator
>>> 
>>> -- 
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
>> 
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] Missing domain

2017-11-20 Thread Remo Mattei
Missing a single domain from the assign file? That sounds really
strange. I would check history I personally think it was executed
accidentally.
 

On 11/20/17 6:39 AM, Eric Broch wrote:
> Hmmm...
>
> not sure how a domain would be removed from assign db on a php upgrade,
> but did you rebuild the assign db (the cdb file)?
>
> # qmailctl stop
>
> # qmailctl cdb
>
> # qmailctl start
>
>
>
> On 11/20/2017 7:12 AM, Tony White wrote:
>> Hi Eric,
>>
>> 1) What OS?
>> COS 5.11
>>
>> 2) Is this happening through squirrelmail, or other clients?
>> Squirrelmail and pop3
>>
>> 3) Is this an IMAP issue or also a submission issue
>> It seesm to be across the board.
>>
>> 4) What errors are you getting and where (logs and programs)?
>> No errors, not even vqadmin sees the domain.
>> I have a Your email address is blacklisted.
>>
>> 5) Have you looked at your log files for dovecot '/var/log/dovecot.log',
>> for Courier I'm not sure where it goes.
>>
>>
>> 6) I think (can't remember off the top of my head) for authentication
>> the domain must be in the mysql db, vpopmail directory, and
>> /var/qmail/users/assign
>>
>> Wow had forgotten that one and yes it was not in there. Added it now
>> but now I am getting errors.
>> Now vqadmin sees the domain but it cannot find users. All directories
>> are present.
>>
>> FYI - I am backing up using qtp-backup then going to restore to a vm
>> that is the last backup we have using qtp-restore.
>>
>> Thank Eric, any more tips ideas gratefully accepted.
>>
>> best wishes
>>   Tony White
>>
>> On 21/11/2017 00:38, Eric Broch wrote:
>>
>>> Some questions:
>>>
>>> 1) What OS?
>>>
>>> 2) Is this happening through squirrelmail, or other clients?
>>>
>>> 3) Is this an IMAP issue or also a submission issue
>>>
>>> 4) What errors are you getting and where (logs and programs)?
>>>
>>> 5) Have you looked at your log files for dovecot
>>> '/var/log/dovecot.log',
>>> for Courier I'm not sure where it goes.
>>>
>>> 6) I think (can't remember off the top of my head) for authentication
>>> the domain must be in the mysql db, vpopmail directory, and
>>> /var/qmail/users/assign
>>>
>>> Eric
>>>
>>>
>>>
>>> On 11/20/2017 12:32 AM, Tony White wrote:
 Hi folks,
   I am at a loss with this issue and hope someone has seen it before
 and can illuminate my life for me.
   A recent php upgrade failed and I had to reinstall php from the
 ground up. After all said an done we are missing a single domain
 and it is in the mysql database, it is in the vpopmail directory but
 noone can login on that domain. All other domains are intact and
 operational.

 TIA

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


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



Re: [qmailtoaster] logging subjects of sent / received email

2017-11-13 Thread Remo Mattei
I use the files since I have issues with vpopaliases!!!

Just my 2 cents

On 11/13/17 6:33 PM, Eric Broch wrote:
> Hi Peter,
>
> The way that vpopmail is compiled the alias stuff is in the maria/mysql
> db, but I THINK you can put the same entries that go into the alias
> files into one of the fields of the mysql/maria vpopmail alias db.
>
> Eric
>
>
> On 11/13/2017 6:08 AM, Peter Peltonen wrote:
>> Hi,
>>
>> I would need to gather a log of dates and subjects of sent + reiceived
>> emails for one domain.
>>
>> Can that be done with our toaster?
>>
>> Googling I found this advice for stock Qmail:
>>
>> "
>> Just rebuild qmail with QUEUE_EXTRA set[1], install DJB's
>> mess822 package[2], and put the following line in ~alias/.qmail-log:
>>
>> |/usr/local/bin/822field subject || echo "no subject"
>>
>>
>> Footnotes:
>> [1] http://lifewithqmail.org/lwq.html#queue_extra
>>
>> [2] http://lifewithqmail.org/lwq.html#mess822
>> "
>>
>> I am unsure if this relates to our version of Qmail?
>>
>> Best,
>> Peter
>>
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>
>


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



Re: [qmailtoaster] Migrating a large server to the new QMT

2017-10-26 Thread Remo Mattei
the other is learn password if they use pop but not sure if even they
want to consider that.

Remo

On 10/26/17 10:06 AM, Eric Broch wrote:
>
> Is there a plain text vpasswd file?
>
> In my mind 1 and 2 could easily be scripted and 3 copied (rsync'ed)
> into place.
>
>
>
> On 10/26/2017 7:51 AM, Jeff Koch wrote:
>>
>> I have a fairly big mailserver (over 1,000 domains) built with Bill's
>> Toaster. It uses vpasswd.cdb files rather than a mysql table. What's
>> the best way to migrate to the QMT toaster?
>>
>> I see the issues as:
>>
>> 1. converting the vpasswd text and cdb files to the vpopmail mysql tables
>>
>> 2. converting the 'forwards' to the mysql alias table
>>
>> 3. editing the '.qmail' maildrop filters to look for the filter files
>> in a different location. (This probably can be handled via symlink)
>>
>> 1 & 2 above are the biggest concern. There's no way we're manually
>> migrating running a SED and mysql vpopmail table load for each of
>> 1,000 domains.   
>>
>> Any thoughts or recommendations? I'd like to hear from someone that's
>> actually done a large migration.
>>
>> Regards, Jeff Koch
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] add user default quota setting

2017-09-29 Thread Remo Mattei
I use this file and it's easy to move around!


>>> more .qmailadmin-limits
maxpopaccounts: 50
maxaliases: -1
maxforwards: -1
maxautoresponders: -1
maxmailinglists: -1
quota: 10
maxmsgcount: 18446744073709551615
default_quota: 11441943040
default_maxmsgcount: 18446744073709551615
perm_account: 0
perm_alias: 0
perm_forward: 0
perm_autoresponder: 0
perm_maillist: 0
perm_quota: 0
perm_defaultquota: 0



On 9/29/17 7:11 AM, Eric Broch wrote:
>
> http://wiki.qmailtoaster.com/index.php/Domains
>
>
> On 9/29/2017 1:36 AM, Giuseppe Perna wrote:
>>
>> Hello to all,
>> I have this version of qmailtiaster working.
>> I would like to change the default quota that is assigned to a newly
>> created user.
>> where to set this parameter globally and per domain?
>>
>> thank you
>>
>>
>> qmailtoaster-plus.repo-0.2-2
>> qmailmrtg-toaster-4.2-1.3.3
>> qmail-toaster-1.03-1.3.15
>> qmailadmin-toaster-1.2.11-1.3.4
>> qmail-pop3d-toaster-1.03-1.3.15
>> qmailtoaster-plus-0.3.2-1.4.21
>>
>>
>>
>>
>> -- 
>>
>>
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] simcan on ramdisk

2017-09-20 Thread Remo Mattei
here is my fstab


simscan-disk         /var/qmail/simscan  tmpfs
size=5100M,nodev,noexec,noatime,uid=46,gid=46,mode=2750 0 0



On 9/20/17 9:41 PM, Eric Broch wrote:
>
> Hi Rajesh (and others),
>
> I just implemented ramdisk for simscan on my business server. Haven't
> put the entry in the /etc/fstab file yet but did it on the command
> line for testing. Here's my procedure:
>
> 1) # qmailctl stop
>
> 2) # mount -t tmpfs -o
> size=1024m,nodev,noexec,noatime,uid=46,gid=0,mode=0750 myramdisk
> /var/qmail/simscan
>
> 3) # qmailctl start
>
> 4) # [root@~]# df -h /var/qmail/simscan
>     Filesystem  Size  Used Avail Use% Mounted on
>     myramdisk   1.0G 0  1.0G   0% /var/qmail/simscan
>
> Of course you may set 'size=' to an amount appropriate for you. I did
> find write performance quit a bit better in my testing and read
> performance better but not by a whole lot.
>
> Eric
>
>
> On 9/19/2017 8:42 AM, Rajesh M wrote:
>> hi all,
>>
>> has anyone tried putting the 
>>
>> /var/qmail/simscan folder on ramdisk
>>
>> how do i do it incase of centos 6
>>
>> i was checking out this page and found that it significantly increases 
>> performance
>> https://qmail.jms1.net/simscan/
>>
>> if anyone has done it could you please share the details of how to do it and 
>> the performance improvement.
>>
>> thanks
>> rajesh
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>



Re: [qmailtoaster] simcan on ramdisk

2017-09-20 Thread Remo Mattei
just sent a test

Sep 20 22:12:06 qmail7 clamd:
/var/qmail/simscan/1505970720.743939.2533/addr.1505970720.743939.2533: OK
Sep 20 22:12:06 qmail7 clamd:
/var/qmail/simscan/1505970720.743939.2533/textfile0: OK
Sep 20 22:12:06 qmail7 clamd:
/var/qmail/simscan/1505970720.743939.2533/textfile1: OK
Sep 20 22:12:06 qmail7 clamd:
/var/qmail/simscan/1505970720.743939.2533/encrypted.asc: OK
Sep 20 22:12:08 qmail7 clamd:
/var/qmail/simscan/1505970720.743939.2533/msg.1505970720.743939.2533: OK
Sep 20 22:12:44 qmail7 clamd: SelfCheck: Database status OK.
Sep 20 22:12:44 qmail7 clamd:
/var/qmail/simscan/1505970764.439682.2573/msg.1505970764.439682.2573: OK
Sep 20 22:12:44 qmail7 clamd:
/var/qmail/simscan/1505970764.439682.2573/addr.1505970764.439682.2573: OK
Sep 20 22:12:44 qmail7 clamd:
/var/qmail/simscan/1505970764.439682.2573/textfile0: OK
Sep 20 22:12:44 qmail7 clamd:
/var/qmail/simscan/1505970764.439682.2573/textfile1: OK
Sep 20 22:12:44 qmail7 clamd:
/var/qmail/simscan/1505970764.439682.2573/textfile2: OK
Waiting for data... (interrupt to abort)


On 9/20/17 9:41 PM, Eric Broch wrote:
>
> Hi Rajesh (and others),
>
> I just implemented ramdisk for simscan on my business server. Haven't
> put the entry in the /etc/fstab file yet but did it on the command
> line for testing. Here's my procedure:
>
> 1) # qmailctl stop
>
> 2) # mount -t tmpfs -o
> size=1024m,nodev,noexec,noatime,uid=46,gid=0,mode=0750 myramdisk
> /var/qmail/simscan
>
> 3) # qmailctl start
>
> 4) # [root@~]# df -h /var/qmail/simscan
>     Filesystem  Size  Used Avail Use% Mounted on
>     myramdisk   1.0G 0  1.0G   0% /var/qmail/simscan
>
> Of course you may set 'size=' to an amount appropriate for you. I did
> find write performance quit a bit better in my testing and read
> performance better but not by a whole lot.
>
> Eric
>
>
> On 9/19/2017 8:42 AM, Rajesh M wrote:
>> hi all,
>>
>> has anyone tried putting the 
>>
>> /var/qmail/simscan folder on ramdisk
>>
>> how do i do it incase of centos 6
>>
>> i was checking out this page and found that it significantly increases 
>> performance
>> https://qmail.jms1.net/simscan/
>>
>> if anyone has done it could you please share the details of how to do it and 
>> the performance improvement.
>>
>> thanks
>> rajesh
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>



Re: [qmailtoaster] simcan on ramdisk

2017-09-20 Thread Remo Mattei
Good I tried up to 4 gb and that was huge diff

Remo

Il giorno 20 set 2017, alle ore 18:29, Eric Broch  ha 
scritto:

Not yet, I'll get around to it tomorrow; although, I did create a ramdisk not 
using qmail and the i/o is below...ramdisk and regular disk:
# mount -t tmpfs -o size=1024m myramdisk /root/test
Tests:



[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.137311 s, 298 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0830357 s, 493 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.127313 s, 322 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0831524 s, 493 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0971883 s, 421 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0582312 s, 703 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0823376 s, 497 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0476335 s, 860 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0958023 s, 428 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0577131 s, 710 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0953467 s, 430 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0550215 s, 744 MB/s





[root@pet105 ~]# umount /root/test
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.173289 s, 236 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0778732 s, 526 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.445783 s, 91.9 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0888948 s, 461 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.300269 s, 136 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.077496 s, 529 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.651333 s, 62.9 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0792704 s, 517 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.336917 s, 122 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0509368 s, 804 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.300024 s, 137 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (41 MB) copied, 0.0865258 s, 473 MB/s


> On 9/20/2017 7:08 PM, Remo Mattei wrote:
> Hi Eric, 
> did you try the config of the ramdisk? I was doing some testing and in the 
> small file it's not a big change but when you go up in size it does make a 
> diff.. I wonder if you configured it to use it with qmail.. I notice that the 
> tmfs is going to change the permissions so not sure without checking out how 
> the permissions will apply since now the simscan folder has 4750 on it. 
> 
> Ciao 
> 
>> On 9/19/17 8:42 AM, Eric Broch wrote:
>> Hi Rajesh,
>> 
>> It looks straight forward:
>> https://www.linuxbabe.com/command-line/create-ramdisk-linux
&

Re: [qmailtoaster] chkusr settings

2017-09-18 Thread Remo Mattei
if you are in any sort going to use chkuser you want the
chkuser_users_dash otherwise mailing list will not work.. I remember I
worked with Tonix to have that implemented.

Remo

On 9/18/17 7:52 AM, Rajesh M wrote:
> hi eric
>
> i wished to disable chkusr mx check, format check etc .. and turn off chkuser 
> using CHKUSER_START="NONE"
>
> the default installation of qmail always keeps chkuser on with no control
> so i rebuild chkuser from source
>
> CHANGES FOR CHK USER
> EXTRA SOURCE FROM RPM
> rpm -Uvh qmail-1.03-1.qt.src.rpm
> nano /root/rpmbuild/SPECS/qmail.spec
> put a sleep in this for 120 seconds
>
> open 2nd window of ssh
> service qmail stop
>
> in first window run
> rpmbuild -bb --define "dist .qt.el6" qmail.spec
> the process will now for halt for 180 seconds which gives us time to modify 
> chkuser_settings.h settings
>
> in second window go to
> cd /root/rpmbuild/BUILD/qmail-1.03
> nano chkuser_settings.h
>
> UNCOMMENT THIS
> #define CHKUSER_STARTING_VARIABLE "CHKUSER_START" 
>
> comment out the following
> /* #define CHKUSER_RCPT_MX */
> /* #define CHKUSER_ENABLE_USERS_EXTENSIONS */
> /* #define CHKUSER_USERS_DASH '-' */
>
>
> now the problem is that even if I set CHKUSER_START="NONE" i get errors
>
> here is my tcp.smtp file for submission port (i use separate tcp.smtp files 
> for 25 and 587)
>
> :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_START="NONE"
>
> i still get errors as such
>
> 2017-09-18 11:48:08.810159500 CHKUSER rejected rcpt: from 
>  remote 
>  rcpt  : max number 
> of recipients
> 2017-09-18 11:48:09.894092500 CHKUSER rejected intrusion: from 
>  remote 
>  rcpt  : rcpt 
> ignored, session over intrusion threshold 
> 2017-09-18 11:48:11.226284500 CHKUSER rejected intrusion: from 
>  remote 
>  rcpt  : rcpt 
> ignored, session over intrusion threshold
>
> help required please
>
> rajesh
>
>
>
>
>
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] chkusr and spamdyke

2017-09-14 Thread Remo Mattei
My personal guess is that removing the tcp.smtp will be fine  but I have
not tested. I know personally Tonix  so I have been using his script for
many years now. 

Remo
On 9/14/17 11:06 AM, Eric Broch wrote:
>
> No, haven't gotten to that yet. Any suggestions?
>
>
> On 9/14/2017 11:44 AM, Remo Mattei wrote:
>> Hi Eric,
>> did you remove the info in the (/etc/tcprules.d/tcp.smtp) for the smtp?
>>
>>
>> Thanks,
>> Remo
>> On 9/14/17 10:19 AM, Eric Broch wrote:
>>>
>>> Rajesh,
>>>
>>> I got this working, here's how:
>>>
>>> 1) # wget https://www.spamdyke.org/releases/spamdyke-5.0.1.tgz
>>>
>>> 2) # tar zxvf spamdyke-5.0.1.tgz
>>>
>>> 3) # cd spamdyke-5.0.1/spamdyke-qrv
>>>
>>> 4) # VALIAS_PATH=/home/vpopmail/bin/valias
>>> VUSERINFO_PATH=/home/vpopmail/bin/vuserinfo ./configure
>>> --with-vpopmail-support --with-excessive-output
>>>
>>> 5) # make install
>>>
>>> 6) # mv  /usr/local/bin/spamdyke-qrv /opt/spamdyke/bin
>>>
>>> 7) # chmod u+s /opt/spamdyke/bin/spamdyke-qrv
>>>
>>> 8) # ln -s /opt/spamdyke/bin/spamdyke-qrv /usr/bin/spamdyke-qrv
>>>
>>> 9) vi /etc/spamdyke/spamdyke.conf (Add settings)
>>>
>>>     a) reject-recipient=unavailable
>>>     b) recipient-validation-command=/usr/bin/spamdyke-qrv -v -d
>>>
>>> 10) Since spamdyke-qrv is so thorough I had to change the line in
>>> /home/vpopmail/domains/mydomain.com/.qmail-default from "|
>>> /home/vpopmail/bin/vdelivermail ' ' postmas...@mydomain.com" to "|
>>> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
>>>
>>> Eric
>>>
>>>
>>>    
>>>
>>>
>>> On 9/14/2017 12:06 AM, Rajesh M wrote:
>>>> thanks eric
>>>>
>>>> rajesh
>>>>
>>>>
>>>> - Original Message -
>>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>>> To: qmailtoaster-list@qmailtoaster.com
>>>> Sent: Thu, 14 Sep 2017 00:04:55 -0600
>>>> Subject: 
>>>>
>>>> It looks like you'll need to download the spamdyke source and compile it 
>>>> as follows:
>>>>
>>>> 1) ./configure --with-vpopmail-support VALIAS_PATH=/path/to/valias 
>>>> VUSERINFO_PATH=/path/to/vuserinfo
>>>>
>>>> 2) make
>>>>
>>>> 3) make install
>>>>
>>>> 4) vi /etc/spamdyke/spamdyke.conf (Add) 
>>>> recipient-validation-command=/path/to/spamdyke-qrv
>>>>
>>>> I'd ask on the spamdyke mailing list to make sure.
>>>>
>>>> Also, qmail needs to be recompiled to disable chkuser.
>>>>
>>>>
>>>> On 9/13/2017 9:59 PM, Rajesh M wrote:
>>>>> Hi
>>>>>
>>>>> noted that spamdyke is checking port 25 for the number of emails in one 
>>>>> session, mx dns, etc
>>>>>
>>>>> lot of duplicate functions between spamdyke and chkusr
>>>>>
>>>>> is there any reason to continue keeping chkusr ?
>>>>>
>>>>> can spamdyke also handle cases when emails from outside are sent to 
>>>>> non-exiting recipients ?
>>>>>
>>>>> thanks
>>>>> rajesh
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -
>>>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>>>
>>>>
>>>> -
>>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>>
>>> -- 
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
>>
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] chkusr and spamdyke

2017-09-14 Thread Remo Mattei
Hi Eric,
did you remove the info in the (/etc/tcprules.d/tcp.smtp) for the smtp?


Thanks,
Remo
On 9/14/17 10:19 AM, Eric Broch wrote:
>
> Rajesh,
>
> I got this working, here's how:
>
> 1) # wget https://www.spamdyke.org/releases/spamdyke-5.0.1.tgz
>
> 2) # tar zxvf spamdyke-5.0.1.tgz
>
> 3) # cd spamdyke-5.0.1/spamdyke-qrv
>
> 4) # VALIAS_PATH=/home/vpopmail/bin/valias
> VUSERINFO_PATH=/home/vpopmail/bin/vuserinfo ./configure
> --with-vpopmail-support --with-excessive-output
>
> 5) # make install
>
> 6) # mv  /usr/local/bin/spamdyke-qrv /opt/spamdyke/bin
>
> 7) # chmod u+s /opt/spamdyke/bin/spamdyke-qrv
>
> 8) # ln -s /opt/spamdyke/bin/spamdyke-qrv /usr/bin/spamdyke-qrv
>
> 9) vi /etc/spamdyke/spamdyke.conf (Add settings)
>
>     a) reject-recipient=unavailable
>     b) recipient-validation-command=/usr/bin/spamdyke-qrv -v -d
>
> 10) Since spamdyke-qrv is so thorough I had to change the line in
> /home/vpopmail/domains/mydomain.com/.qmail-default from "|
> /home/vpopmail/bin/vdelivermail ' ' postmas...@mydomain.com" to "|
> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
>
> Eric
>
>
>    
>
>
> On 9/14/2017 12:06 AM, Rajesh M wrote:
>> thanks eric
>>
>> rajesh
>>
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Thu, 14 Sep 2017 00:04:55 -0600
>> Subject: 
>>
>> It looks like you'll need to download the spamdyke source and compile it 
>> as follows:
>>
>> 1) ./configure --with-vpopmail-support VALIAS_PATH=/path/to/valias 
>> VUSERINFO_PATH=/path/to/vuserinfo
>>
>> 2) make
>>
>> 3) make install
>>
>> 4) vi /etc/spamdyke/spamdyke.conf (Add) 
>> recipient-validation-command=/path/to/spamdyke-qrv
>>
>> I'd ask on the spamdyke mailing list to make sure.
>>
>> Also, qmail needs to be recompiled to disable chkuser.
>>
>>
>> On 9/13/2017 9:59 PM, Rajesh M wrote:
>>> Hi
>>>
>>> noted that spamdyke is checking port 25 for the number of emails in one 
>>> session, mx dns, etc
>>>
>>> lot of duplicate functions between spamdyke and chkusr
>>>
>>> is there any reason to continue keeping chkusr ?
>>>
>>> can spamdyke also handle cases when emails from outside are sent to 
>>> non-exiting recipients ?
>>>
>>> thanks
>>> rajesh
>>>
>>>
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>
>>
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] install/update webmail responsive roudcube??

2017-09-04 Thread Remo Mattei
Qmail does not care about roundcube!

Sent from my iPad

> On Sep 4, 2017, at 2:05 PM, Giuseppe Perna  wrote:
> 
> Hello, i have this pakage installed and work fine.
> 
>  #rpm -qa qmail*
> qmail-toaster-1.03-1.3.15
> qmailadmin-toaster-1.2.11-1.3.4
> qmailtoaster-plus-0.3.0-1.4.4
> qmail-pop3d-toaster-1.03-1.3.15
> qmailmrtg-toaster-4.2-1.3.3
> 
> i wont upgrade my roundcube webmail for responsive feauter, is it possible?
> 
> thanks
> 
> 

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



Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
btw I just enable debug and tune it a little so I added the following
line in bold since it was complaining and also the default maildir  both
in the toaster.conf


mail_location = maildir:~/Maildir




plugin {
  quota = maildir:ignore=Trash
  quota_rule = ?:storage=0
  *sieve_global_dir=/etc/dovecot/sieve/*

On 9/3/17 9:16 PM, Remo Mattei wrote:
> Super!
>
> On 9/3/17 8:30 PM, Rajesh M wrote:
>> remo
>>
>> everything is working fine, thanks
>>
>> there was no error only some fine tuning
>>
>> since the mail_location was not specified dovecot was searching for various 
>> types of locations in a sequence
>> https://wiki.dovecot.org/MailLocation
>>
>> once we specified the same then dovecot directly looked into the Maildir only
>>
>> rajesh
>>
>>
>> - Original Message -
>> From: Remo Mattei [mailto:r...@mattei.org]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Sun, 3 Sep 2017 20:26:04 -0700
>> Subject: 
>>
>> I thought you had it working. What’s happening now ? 
>>
>> Inviato da iPhone 
>>
>> Il giorno 03 set 2017, alle ore 19:46, Eric Broch  
>> ha scritto:
>>
>> Rajesh,
>>
>> I don't touch anything in conf.d. All my settings are in 
>> /etc/dovecot/toaster.conf and /etc/dovecot/local.conf. Anything in these 
>> files overrides anything in /etc/dovecot/conf.d.
>>
>> I put mail_location in the local.conf file.
>>
>> # 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf
>> # Pigeonhole version 0.4.18 (29cc74d)
>> # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)
>> auth_cache_size = 32 M
>> auth_debug = yes
>> auth_debug_passwords = yes
>> auth_mechanisms = plain login
>> auth_verbose = yes
>> disable_plaintext_auth = no
>> first_valid_uid = 89
>> listen = *
>> log_path = /var/log/dovecot.log
>> login_greeting = Dovecot toaster ready.
>> mail_location = maildir:~/Maildir
>> mail_max_userip_connections = 20
>> managesieve_notify_capability = mailto
>> managesieve_sieve_capability = fileinto reject envelope encoded-character 
>> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
>> copy include variables body enotify environment mailbox date index ihave 
>> duplicate mime foreverypart extracttext
>> namespace {
>>   inbox = yes
>>   location =
>>   mailbox Drafts {
>> auto = subscribe
>> special_use = \Drafts
>>   }
>>   mailbox Junk {
>> auto = create
>> special_use = \Junk
>>   }
>>   mailbox Sent {
>> auto = create
>> special_use = \Sent
>>   }
>>   mailbox "Sent Items" {
>> auto = subscribe
>> special_use = \Sent
>>   }
>>   mailbox Trash {
>> auto = subscribe
>> special_use = \Trash
>>   }
>>   mailbox spam {
>> auto = subscribe
>> special_use = \Junk
>>   }
>>   prefix =
>>   separator = .
>>   type = private
>> }
>> passdb {
>>   args = cache_key=%u%r webmail=127.0.0.1
>>   driver = vpopmail
>> }
>> plugin {
>>   quota = maildir
>>   sieve = ~/.dovecot.sieve
>>   sieve_dir = ~/.sieve
>> }
>> protocols = imap pop3 sieve
>> service imap-login {
>>   service_count = 0
>> }
>> service managesieve-login {
>>   inet_listener sieve {
>> port = 4190
>>   }
>> }
>> ssl_cert = > ssl_key =  # hidden, use -P to show it
>> userdb {
>>   args = cache_key=%u quota_template=quota_rule=*:backend=%q
>>   driver = vpopmail
>> }
>> protocol imap {
>>   imap_client_workarounds = delay-newmail
>> }
>> protocol lda {
>>   deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: 
>> MsgID:<%m> :: Size<%p> :: vSize<%w>
>>   info_log_path = /var/log/dovecot-lda/lda.log
>>   log_path = /var/log/dovecot-lda/lda-err.log
>>   mail_debug = yes
>>   mail_plugins = " sieve"
>> }
>> Eric
>>
>>> On 9/3/2017 8:37 PM, Rajesh M wrote:
>>> eric
>>>
>>> could you please let me know where you specified the mail_location
>>>
>>> i am using the configurations as specified by remo, excepting that i have 
>>> added the debugging for lda
>>>
>>> if you could send me your dovecot -n it would be great.
>>>
>>> thanks
>>> rajesh
>>>
>>>
>>>
>>> - Original Message -
>>> Fro

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
Super!

On 9/3/17 8:30 PM, Rajesh M wrote:
> remo
>
> everything is working fine, thanks
>
> there was no error only some fine tuning
>
> since the mail_location was not specified dovecot was searching for various 
> types of locations in a sequence
> https://wiki.dovecot.org/MailLocation
>
> once we specified the same then dovecot directly looked into the Maildir only
>
> rajesh
>
>
> - Original Message -
> From: Remo Mattei [mailto:r...@mattei.org]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sun, 3 Sep 2017 20:26:04 -0700
> Subject: 
>
> I thought you had it working. What’s happening now ? 
>
> Inviato da iPhone 
>
> Il giorno 03 set 2017, alle ore 19:46, Eric Broch  
> ha scritto:
>
> Rajesh,
>
> I don't touch anything in conf.d. All my settings are in 
> /etc/dovecot/toaster.conf and /etc/dovecot/local.conf. Anything in these 
> files overrides anything in /etc/dovecot/conf.d.
>
> I put mail_location in the local.conf file.
>
> # 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.18 (29cc74d)
> # OS: Linux 2.6.32-642.13.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)
> auth_cache_size = 32 M
> auth_debug = yes
> auth_debug_passwords = yes
> auth_mechanisms = plain login
> auth_verbose = yes
> disable_plaintext_auth = no
> first_valid_uid = 89
> listen = *
> log_path = /var/log/dovecot.log
> login_greeting = Dovecot toaster ready.
> mail_location = maildir:~/Maildir
> mail_max_userip_connections = 20
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character 
> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
> copy include variables body enotify environment mailbox date index ihave 
> duplicate mime foreverypart extracttext
> namespace {
>   inbox = yes
>   location =
>   mailbox Drafts {
> auto = subscribe
> special_use = \Drafts
>   }
>   mailbox Junk {
> auto = create
> special_use = \Junk
>   }
>   mailbox Sent {
> auto = create
> special_use = \Sent
>   }
>   mailbox "Sent Items" {
> auto = subscribe
> special_use = \Sent
>   }
>   mailbox Trash {
> auto = subscribe
> special_use = \Trash
>   }
>   mailbox spam {
> auto = subscribe
> special_use = \Junk
>   }
>   prefix =
>   separator = .
>   type = private
> }
> passdb {
>   args = cache_key=%u%r webmail=127.0.0.1
>   driver = vpopmail
> }
> plugin {
>   quota = maildir
>   sieve = ~/.dovecot.sieve
>   sieve_dir = ~/.sieve
> }
> protocols = imap pop3 sieve
> service imap-login {
>   service_count = 0
> }
> service managesieve-login {
>   inet_listener sieve {
> port = 4190
>   }
> }
> ssl_cert =  ssl_key =  # hidden, use -P to show it
> userdb {
>   args = cache_key=%u quota_template=quota_rule=*:backend=%q
>   driver = vpopmail
> }
> protocol imap {
>   imap_client_workarounds = delay-newmail
> }
> protocol lda {
>   deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: 
> MsgID:<%m> :: Size<%p> :: vSize<%w>
>   info_log_path = /var/log/dovecot-lda/lda.log
>   log_path = /var/log/dovecot-lda/lda-err.log
>   mail_debug = yes
>   mail_plugins = " sieve"
> }
> Eric
>
>> On 9/3/2017 8:37 PM, Rajesh M wrote:
>> eric
>>
>> could you please let me know where you specified the mail_location
>>
>> i am using the configurations as specified by remo, excepting that i have 
>> added the debugging for lda
>>
>> if you could send me your dovecot -n it would be great.
>>
>> thanks
>> rajesh
>>
>>
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Sun, 3 Sep 2017 16:14:59 -0600
>> Subject: 
>>
>> It worked for me, and ended the sdbox and mdbox failed access errors.
>>
>> On 9/3/2017 1:40 PM, Rajesh M wrote:
>>> eric
>>>
>>> i got the dovecot lda working in production. i saw this in the log files
>>>
>>> as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then 
>>> Maildir (as per lda logs below)
>>>
>>> so should i specify the mail_location ?
>>> mail_location = maildir:~/Maildir
>>>
>>> https://wiki2.dovecot.org/MailLocation/Maildir
>>>
>>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash 
>>> bytes=0 (10%)
>>> Sep 04 00:01:28 lda(n...@xxx.com

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
here is the sieve.tar.gz

https://q7.itay1.com/emai/sieve.tar.gz

tar zxvf sieve.tar.gz

then you can do a diff -y and compare what's in the /etc/dovecot/conf.d

Remo

On 9/3/17 3:14 PM, Eric Broch wrote:
>
> It worked for me, and ended the sdbox and mdbox failed access errors.
>
> On 9/3/2017 1:40 PM, Rajesh M wrote:
>> eric
>>
>> i got the dovecot lda working in production. i saw this in the log files
>>
>> as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then 
>> Maildir (as per lda logs below)
>>
>> so should i specify the mail_location ?
>> mail_location = maildir:~/Maildir
>>
>> https://wiki2.dovecot.org/MailLocation/Maildir
>>
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash 
>> bytes=0 (10%)
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, 
>> sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: 
>> access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file 
>> or directory
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: 
>> access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file 
>> or directory
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists 
>> (/home/vpopmail/domains/xxx.com/noc/Maildir)
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: 
>> root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, 
>> control=, inbox=/home/v$
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash 
>> backend=maildir args=
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash 
>> mailbox=? bytes=0 messages=0
>> Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash 
>> bytes=0 (10%)
>>
>> rajesh
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Thu, 31 Aug 2017 19:35:30 -0600
>> Subject: 
>>
>> Hi Rajesh,
>>
>> I'm not sure if you've gotten this working yet. I tried some 
>> experimentation and I got this working on my host albeit that roundcube 
>> created my files and directories under the user.
>>
>> Notice especially the 'tmp' directory under ~/.sieve, you may need 
>> it...not sure. Anyway here's everything I did.
>>
>> # ls -la /home/vpopmail/domains/mydomain.com/user/
>> total 24
>> drwx--  4 vpopmail vchkpw 4096 Aug 31 19:11 .
>> drwx--  5 vpopmail vchkpw 4096 Aug 31 19:06 ..
>> -rw---  1 vpopmail vchkpw  300 Aug 31 19:11 .dovecot.lda-dupes
>> lrwxrwxrwx  1 vpopmail vchkpw   22 Aug 31 07:16 .dovecot.sieve -> 
>> .sieve/roundcube.sieve
>> -rw---  1 vpopmail vchkpw  278 Aug 31 19:09 .dovecot.svbin
>> drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir
>> drwx--  3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve
>>
>> --
>>
>> # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve
>> total 16
>> drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .
>> drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 ..
>> -rw--- 1 vpopmail vchkpw  120 Aug 31 19:08 roundcube.sieve
>> drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp
>>
>> --
>>
>> # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve
>> # rule:[ToUserOtherDomain]
>> if header :contains "from" "u...@mydomain2.com"
>> {
>>          redirect "u...@myotherdomain.com";
>> }
>>
>> --
>>
>> It all came out in the log file /var/log/dovecot-lda/lda.log correctly
>>
>> --
>>
>> Dovecot settings: /etc/dovecot/local.conf :
>>
>> protocol lda {
>>    mail_debug=yes
>>    mail_plugins = $mail_plugins sieve
>>    deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: 
>> MsgID:<%m> :: Size<%p> :: vSize<%w>
>>    

Re: [qmailtoaster] using dovecot seive

2017-09-03 Thread Remo Mattei
Did you check my config file I remember I set that. 

I will resend the config as soon as I am at the computer 

Remo


Il giorno 03 set 2017, alle ore 12:40, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

i got the dovecot lda working in production. i saw this in the log files

as per the dovecot docs dovecot searchs in a sequence mdbox, sdbox and then 
Maildir (as per lda logs below)

so should i specify the mail_location ?
mail_location = maildir:~/Maildir

https://wiki2.dovecot.org/MailLocation/Maildir

Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash 
bytes=0 (10%)
Sep 04 00:01:28 lda(n...@xxx.com): Debug: Namespace : type=private, prefix=, 
sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=
Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: 
access(/home/vpopmail/domains/xxx.com/noc/mdbox, rwx): failed: No such file or 
directory
Sep 04 00:01:28 lda(n...@xxx.com): Debug: mdbox: couldn't find root dir
Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: 
access(/home/vpopmail/domains/xxx.com/noc/sdbox, rwx): failed: No such file or 
directory
Sep 04 00:01:28 lda(n...@xxx.com): Debug: sdbox: couldn't find root dir
Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir: root exists 
(/home/vpopmail/domains/xxx.com/noc/Maildir)
Sep 04 00:01:28 lda(n...@xxx.com): Debug: maildir++: 
root=/home/vpopmail/domains/xxx.com/noc/Maildir, index=, indexpvt=, control=, 
inbox=/home/v$
Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota root: name=ignore=Trash 
backend=maildir args=
Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota rule: root=ignore=Trash 
mailbox=? bytes=0 messages=0
Sep 04 00:01:28 lda(n...@xxx.com): Debug: Quota grace: root=ignore=Trash 
bytes=0 (10%)

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Thu, 31 Aug 2017 19:35:30 -0600
Subject: 

Hi Rajesh,

I'm not sure if you've gotten this working yet. I tried some 
experimentation and I got this working on my host albeit that roundcube 
created my files and directories under the user.

Notice especially the 'tmp' directory under ~/.sieve, you may need 
it...not sure. Anyway here's everything I did.

# ls -la /home/vpopmail/domains/mydomain.com/user/
total 24
drwx--Â  4 vpopmail vchkpw 4096 Aug 31 19:11 .
drwx--Â  5 vpopmail vchkpw 4096 Aug 31 19:06 ..
-rw---  1 vpopmail vchkpw  300 Aug 31 19:11 .dovecot.lda-dupes
lrwxrwxrwx  1 vpopmail vchkpw   22 Aug 31 07:16 .dovecot.sieve -> 
.sieve/roundcube.sieve
-rw---  1 vpopmail vchkpw  278 Aug 31 19:09 .dovecot.svbin
drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir
drwx--Â  3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve

--

# ls -la /home/vpopmail/domains/mydomain.com/user/.sieve
total 16
drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .
drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 ..
-rw--- 1 vpopmail vchkpw  120 Aug 31 19:08 roundcube.sieve
drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp

--

# cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve
# rule:[ToUserOtherDomain]
if header :contains "from" "u...@mydomain2.com"
{
        redirect "u...@myotherdomain.com";
}

--

It all came out in the log file /var/log/dovecot-lda/lda.log correctly

--

Dovecot settings: /etc/dovecot/local.conf :

protocol lda {
  mail_debug=yes
  mail_plugins = $mail_plugins sieve
  deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: 
MsgID:<%m> :: Size<%p> :: vSize<%w>
  log_path = /var/log/dovecot-lda/lda-err.log
  info_log_path = /var/log/dovecot-lda/lda.log
  #postmaster_address = postmaster@
}
plugin {
      sieve = ~/.dovecot.sieve
      sieve_dir = ~/.sieve
}

--

Dovecot settings: /etc/dovecot/toaster.conf

protocols = imap pop3 sieve

service managesieve-login {
   inet_listener sieve {
   port = 4190
   }
}

--

# ls -ld /var/log/dov*lda*
drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10Â  2016 /var/log/dovecot-lda

--

# ls -l /var/log/dov*lda*
total 136
-rw--- 1 vpopmail vchkpw    418 Nov 12  2016 lda-err.log
-rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log

--

# cat /home/vpopmail/domains/mydomain.com/.qmail-default


Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Remo Mattei
1gb is not very much! 

Il giorno 03 set 2017, alle ore 11:54, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject: 

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
> On 9/3/2017 12:19 AM, Rajesh M wrote:
> eric
> 
> i would like to conduct more load intensive tests.
> 
> is it possible to provide me the shell script that you use for this purpose.
> 
> rajesh


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


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

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



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Remo Mattei
interesting...

mine was an easy fix by changing the owner and permissions so underline
has some other triggering to the kernel and how it reads those layers.

On 9/1/17 11:18 AM, Eric Broch wrote:
>
> 1)  Problem forking
>
> vfork() is used to execute qmail-queue
>
> The error 'simscan: error forking qmail-queue' will happen for either
> of the following reasons:
>
> a) [EAGAIN]
> The system-wide limit on the total number of processes under
> execution would be exceeded, or the system-imposed limit on the
> total number of processes under execution by a single user would
> be exceeded. 
> b) [ENOMEM]
> There is insufficient swap space for the new process. 
>
>
> On 9/1/2017 11:53 AM, Eric Broch wrote:
>>
>> Are there any errors in /var/log/messages that correspond?
>>
>>
>> On 9/1/2017 11:39 AM, Jeff Koch wrote:
>>>
>>> Eric / Remo / Rajesh - we reported this same problem a number of
>>> months ago and thought we had fixed it. But alas, it's still with
>>> us. The good news is that we haven't had any customer complaints.
>>> I'll be very interested if it can be resolved.
>>>
>>> Jeff Koch
>>>
>>>
>>> On 9/1/2017 12:01 PM, Eric Broch wrote:
>>>>
>>>> I'm not sure what's going on here. Is this a relatively new
>>>> phenomenon?
>>>>
>>>> I wonder if it's a memory, or even a disk speed, issue since it
>>>> only happens at peak hours?
>>>>
>>>> I think I'll appy Johannes Weberhofer's patch and put it out there
>>>> for you...and cross or fingers.
>>>>
>>>>
>>>> On 9/1/2017 6:28 AM, Rajesh M wrote:
>>>>> remo / eric
>>>>>
>>>>> i have still not being able to resolve the qq soft reject error.
>>>>>
>>>>> these are my findings 
>>>>>
>>>>> 1) the errors i see are "error forking qmail-queue" and "ripmime error" 
>>>>> which causes the qq soft reject.
>>>>>
>>>>> 2) the max concurrent connections in the logs is around 35.
>>>>>
>>>>> 3)  These errors come up during peak working hours when the server is 
>>>>> under a  load of 4 - 8, and they increase the load even more to over 
>>>>> 10-15.
>>>>>
>>>>> 4) i came across this link (not sure if this is related)
>>>>> https://github.com/qmail/simscan/blob/master/simscan.c
>>>>>
>>>>> 5) i can share with you my live smtp logs with simscan debug.
>>>>>
>>>>> have extracted some lines below 
>>>>>
>>>>>
>>>>> Error forking qmail-queue
>>>>>
>>>>> @400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
>>>>> @400059a8fa7b13162584 simscan: cdb looking up version spam
>>>>> @400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 
>>>>> clamav: 0.98.6/m: spam: 3.3.2
>>>>> @400059a8fa7b13166fbc simscan: found 3.3.2
>>>>> @400059a8fa7b13168efc simscan:[10757]:CLEAN 
>>>>> (5.00/30.00):9.7712s:-Possible Spam- RE_ REQUIRE BOOKING // 1X20  //
>>>>> ICD TKD TO BANDAR 
>>>>> ABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
>>>>> @400059a8fa7b1316cd7c simscan: done, execing qmail-queue
>>>>> @400059a8fa7b1316fc5c simscan: error forking qmail-queue
>>>>> @400059a8fa7b13199854 simscan: exit error code: 71
>>>>> @400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server 
>>>>> temporarily rejected message (#4.3.0)): MAILFROM:
>>>>> RCPTTO:rathe...@y.net
>>>>>
>>>>>
>>>>> Error in ripmime
>>>>>
>>>>> @400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
>>>>> @400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
>>>>> @400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
>>>>> @400059a8fa98045a4fac simscan: lpart: local part is **
>>>>> @400059a8fa98045a5394 simscan: cdb looking up 
>>>>> shailesh_k_...@aissamaritime.in
>>>>> @400059a8fa98045a5394 simscan: ripmime error
>>>>> @400059a8fa98045a6334 simscan: exit error code: 71
>>>>> @400059a8fa98045a95fc qmail-smtpd: 

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
I send him my config wonder :) 

Ciao

Inviato da iPhone

> Il giorno 31 ago 2017, alle ore 18:35, Eric Broch  
> ha scritto:
> 
> Hi Rajesh,
> 
> I'm not sure if you've gotten this working yet. I tried some experimentation 
> and I got this working on my host albeit that roundcube created my files and 
> directories under the user.
> 
> Notice especially the 'tmp' directory under ~/.sieve, you may need it...not 
> sure. Anyway here's everything I did.
> # ls -la /home/vpopmail/domains/mydomain.com/user/
> total 24
> drwx--  4 vpopmail vchkpw 4096 Aug 31 19:11 .
> drwx--  5 vpopmail vchkpw 4096 Aug 31 19:06 ..
> -rw---  1 vpopmail vchkpw  300 Aug 31 19:11 .dovecot.lda-dupes
> lrwxrwxrwx  1 vpopmail vchkpw   22 Aug 31 07:16 .dovecot.sieve -> 
> .sieve/roundcube.sieve
> -rw---  1 vpopmail vchkpw  278 Aug 31 19:09 .dovecot.svbin
> drwx-- 14 vpopmail vchkpw 4096 Aug 31 19:13 Maildir
> drwx--  3 vpopmail vchkpw 4096 Aug 31 19:08 .sieve
> 
> --
> # ls -la /home/vpopmail/domains/mydomain.com/user/.sieve
> total 16
> drwx-- 3 vpopmail vchkpw 4096 Aug 31 19:08 .
> drwx-- 4 vpopmail vchkpw 4096 Aug 31 19:11 ..
> -rw--- 1 vpopmail vchkpw  120 Aug 31 19:08 roundcube.sieve
> drwx-- 2 vpopmail vchkpw 4096 Aug 31 19:08 tmp
> 
> --
> 
> # cat /home/vpopmail/domains/mydomain.com/user/.dovecot.sieve
> # rule:[ToUserOtherDomain]
> if header :contains "from" "u...@mydomain2.com"
> {
> redirect "u...@myotherdomain.com";
> }
> 
> --
> 
> It all came out in the log file /var/log/dovecot-lda/lda.log correctly
> --
> 
> Dovecot settings: /etc/dovecot/local.conf :
> 
> protocol lda {
>   mail_debug=yes
>   mail_plugins = $mail_plugins sieve
>   deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: 
> MsgID:<%m> :: Size<%p> :: vSize<%w>
>   log_path = /var/log/dovecot-lda/lda-err.log
>   info_log_path = /var/log/dovecot-lda/lda.log
>   #postmaster_address = postmaster@
> }
> plugin {
>   sieve = ~/.dovecot.sieve
>   sieve_dir = ~/.sieve
> }
> 
> --
> 
> Dovecot settings: /etc/dovecot/toaster.conf
> 
> protocols = imap pop3 sieve
> service managesieve-login {
>inet_listener sieve {
>port = 4190
>}
> }
> --
> 
> # ls -ld /var/log/dov*lda*
> drwxrwx--- 2 vpopmail vchkpw 4096 Nov 10  2016 /var/log/dovecot-lda
> 
> --
> 
> # ls -l /var/log/dov*lda*
> total 136
> -rw--- 1 vpopmail vchkpw418 Nov 12  2016 lda-err.log
> -rw--- 1 vpopmail vchkpw 129882 Aug 31 19:12 lda.log
> 
> --
> 
> # cat /home/vpopmail/domains/mydomain.com/.qmail-default 
> |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 
> postmaster_address=postmas...@mydomain.com
> 
> --
> 
> Hope this helps!
> 
> Eric
> 
> 
>> On 8/31/2017 12:12 PM, Rajesh M wrote:
>> eric / remo
>> 
>> do we need to make any changes to the files inside conf.d ?
>> 
>> rajesh
>> 
>> - Original Message -
>> From: Rajesh M [mailto:24x7ser...@24x7server.net]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Thu, 31 Aug 2017 23:33:59 +0530
>> Subject: 
>> 
>> nothing at all in /var/log/dovecot-lda/dovecot-lda.log
>> 
>> looks like i am missing something crucial.
>> 
>> rajesh
>> 
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Thu, 31 Aug 2017 11:55:28 -0600
>> Subject: 
>> 
>> Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ???
>> 
>> 
>> On 8/31/2017 11:50 AM, Rajesh M wrote:
>>> this is what i have done
>>> 
>>> 2a) Add the following lines to /etc/dovecot/local.conf:
>>>  protocol lda {
>>>log_path = /var/log/dovecot-lda/dovecot-lda-errors.log
>>>  

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
Yes there are changes applied.. Eric did posted them.

Remo

On 8/31/17 11:12 AM, Rajesh M wrote:
> eric / remo
>
> do we need to make any changes to the files inside conf.d ?
>
> rajesh
>
> - Original Message -
> From: Rajesh M [mailto:24x7ser...@24x7server.net]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Thu, 31 Aug 2017 23:33:59 +0530
> Subject: 
>
> nothing at all in /var/log/dovecot-lda/dovecot-lda.log
>
> looks like i am missing something crucial.
>
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Thu, 31 Aug 2017 11:55:28 -0600
> Subject: 
>
> Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ???
>
>
> On 8/31/2017 11:50 AM, Rajesh M wrote:
>> this is what i have done
>>
>> 2a) Add the following lines to /etc/dovecot/local.conf:
>>  protocol lda {
>>log_path = /var/log/dovecot-lda/dovecot-lda-errors.log
>>info_log_path = /var/log/dovecot-lda/dovecot-lda.log
>> }
>> Create and change the permissions on the directory /var/log/dovecot-lda
>> # mkdir /var/log/dovecot-lda
>> # chmod 770 /var/log/dovecot-lda
>> # chown vpopmail.vchkpw /var/log/dovecot-lda
>> Add /etc/logrotate.d/dovecot-lda and settings appropriate
>>
>> i am sending email from host...@.com to raj...@.com and a there is a 
>> sieve rule to forward the email to ad...@.com
>> email is being correctly delivered to raj...@.com but not being 
>> forwarded to ad...@.com
>>
>> [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log
>> Aug 31 21:46:56 lda(raj...@.com): Info: 
>> msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX
>> Aug 31 21:50:54 lda(raj...@.com): Info: 
>> msgid=: saved mail to INBOX
>> Aug 31 22:19:26 lda(raj...@.com): Info: 
>> msgid=: saved mail to INBOX
>> Aug 31 22:22:59 lda(raj...@.com): Info: 
>> msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX
>> Aug 31 23:03:15 lda(raj...@.com): Info: 
>> msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX
>>
>> rajesh
>>
>>
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Thu, 31 Aug 2017 11:41:00 -0600
>> Subject:
>>
>> Rajesh,
>>
>> Have a look at my notes, are you looking in the correct log file and/or
>> how do you have logging set up for Dovecot LDA
>>
>> http://www.qmailtoaster.org/notes.html
>>
>> Eric
>>
>>
>> On 8/31/2017 11:37 AM, Rajesh M wrote:
>>> eric
>>>
>>> what is puzzling is that there is nothing in the dovecot error log
>>>
>>> [root@ns1 rajesh]# doveconf -n | grep sieve
>>> managesieve_notify_capability = mailto
>>> managesieve_sieve_capability = fileinto reject envelope encoded-character 
>>> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
>>> copy include variables body enotify environment mailbox date index ihave 
>>> duplicate mime foreverypart extracttext spamtest spamtestplus imapflags 
>>> notify vnd.dovecot.duplicate
>>> sieve = ~/.sieve/dovecot.sieve
>>> sieve_before = /etc/dovecot/sieve/
>>> sieve_dir = ~/.sieve
>>> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest 
>>> +spamtestplus +relational +comparator-i;ascii-numeric
>>> protocols = imap pop3 sieve
>>> service managesieve-login {
>>> inet_listener sieve {
>>>
>>> rajesh
>>>
>>> - Original Message -
>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>> To: qmailtoaster-list@qmailtoaster.com
>>> Sent: Thu, 31 Aug 2017 11:33:45 -0600
>>> Subject:
>>>
>>> Can you dump dovecot
>>>
>>> #  doveconf -n | grep sieve
>>>
>>> And post?
>>>
>>>
>>> On 8/31/2017 11:16 AM, Rajesh M wrote:
>>>> eric / remo
>>>>
>>>> still not getting dovecot lda to forward emails based on rules. have 
>>>> copied below my configurations.
>>>>
>>>> /home/vpopmail/domains/x.com/rajesh
>>>> [root@ns1 rajesh]# ls -la
>>>> total 20
>>>> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .
>>>> drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 ..

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
during my config here is a log I got

Jul 23 22:20:58 lda(u...@domain.com): Error: sieve:
msgid=: failed to store into mailbox 'Junk':
Mailbox doesn't exist: Junk

On 8/31/17 11:03 AM, Rajesh M wrote:
> nothing at all in /var/log/dovecot-lda/dovecot-lda.log
>
> looks like i am missing something crucial.
>
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Thu, 31 Aug 2017 11:55:28 -0600
> Subject: 
>
> Nothing/Anything in /var/log/dovecot-lda/dovecot-lda-errors.log ???
>
>
> On 8/31/2017 11:50 AM, Rajesh M wrote:
>> this is what i have done
>>
>> 2a) Add the following lines to /etc/dovecot/local.conf:
>>  protocol lda {
>>log_path = /var/log/dovecot-lda/dovecot-lda-errors.log
>>info_log_path = /var/log/dovecot-lda/dovecot-lda.log
>> }
>> Create and change the permissions on the directory /var/log/dovecot-lda
>> # mkdir /var/log/dovecot-lda
>> # chmod 770 /var/log/dovecot-lda
>> # chown vpopmail.vchkpw /var/log/dovecot-lda
>> Add /etc/logrotate.d/dovecot-lda and settings appropriate
>>
>> i am sending email from host...@.com to raj...@.com and a there is a 
>> sieve rule to forward the email to ad...@.com
>> email is being correctly delivered to raj...@.com but not being 
>> forwarded to ad...@.com
>>
>> [root@ns1 rajesh]# tail -f /var/log/dovecot-lda/dovecot-lda.log
>> Aug 31 21:46:56 lda(raj...@.com): Info: 
>> msgid=<8d066ea0-cea3-c45d-1899-39e36e6a4...@.com>: saved mail to INBOX
>> Aug 31 21:50:54 lda(raj...@.com): Info: 
>> msgid=: saved mail to INBOX
>> Aug 31 22:19:26 lda(raj...@.com): Info: 
>> msgid=: saved mail to INBOX
>> Aug 31 22:22:59 lda(raj...@.com): Info: 
>> msgid=<356e1818-2a24-6402-0e20-ddcf03325...@.com>: saved mail to INBOX
>> Aug 31 23:03:15 lda(raj...@.com): Info: 
>> msgid=<83df1f93-fe93-fbd4-c079-1dd319a98...@.com>: saved mail to INBOX
>>
>> rajesh
>>
>>
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Thu, 31 Aug 2017 11:41:00 -0600
>> Subject:
>>
>> Rajesh,
>>
>> Have a look at my notes, are you looking in the correct log file and/or
>> how do you have logging set up for Dovecot LDA
>>
>> http://www.qmailtoaster.org/notes.html
>>
>> Eric
>>
>>
>> On 8/31/2017 11:37 AM, Rajesh M wrote:
>>> eric
>>>
>>> what is puzzling is that there is nothing in the dovecot error log
>>>
>>> [root@ns1 rajesh]# doveconf -n | grep sieve
>>> managesieve_notify_capability = mailto
>>> managesieve_sieve_capability = fileinto reject envelope encoded-character 
>>> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
>>> copy include variables body enotify environment mailbox date index ihave 
>>> duplicate mime foreverypart extracttext spamtest spamtestplus imapflags 
>>> notify vnd.dovecot.duplicate
>>> sieve = ~/.sieve/dovecot.sieve
>>> sieve_before = /etc/dovecot/sieve/
>>> sieve_dir = ~/.sieve
>>> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest 
>>> +spamtestplus +relational +comparator-i;ascii-numeric
>>> protocols = imap pop3 sieve
>>> service managesieve-login {
>>> inet_listener sieve {
>>>
>>> rajesh
>>>
>>> - Original Message -
>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>> To: qmailtoaster-list@qmailtoaster.com
>>> Sent: Thu, 31 Aug 2017 11:33:45 -0600
>>> Subject:
>>>
>>> Can you dump dovecot
>>>
>>> #  doveconf -n | grep sieve
>>>
>>> And post?
>>>
>>>
>>> On 8/31/2017 11:16 AM, Rajesh M wrote:
>>>> eric / remo
>>>>
>>>> still not getting dovecot lda to forward emails based on rules. have 
>>>> copied below my configurations.
>>>>
>>>> /home/vpopmail/domains/x.com/rajesh
>>>> [root@ns1 rajesh]# ls -la
>>>> total 20
>>>> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .
>>>> drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 ..
>>>> lrwxrwxrwx 1 vpopmail vchkpw   20 Aug 31 21:45 .dovecot.sieve -> 
>>>> .sieve/dovecot.sieve
>>>> drwx-- 8 vpopmail vchkpw 4096 Aug 31

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
Qmail7 .sieve q7>> netstat -nat|grep 4190
tcp    0  0 0.0.0.0:4190    0.0.0.0:*   LISTEN
tcp6   0  0 :::4190 :::*    LISTEN



On 8/31/17 10:37 AM, Rajesh M wrote:
> doveconf -n | grep sieve


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



Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
my user

Qmail7 remo q7>> ls -al
total 20
drwx--  4 vpopmail vchkpw 4096 Aug 31 06:33 .
drwx--  4 vpopmail vchkpw 4096 Aug 26 08:24 ..
-rw---  1 vpopmail vchkpw  133 Aug 31 06:33 .dovecot.lda-dupes
drwx-- 10 vpopmail vchkpw 4096 Aug 31 07:46 Maildir
drwx--  3 vpopmail vchkpw 4096 Aug 26 08:28 .sieve


Qmail7 .sieve q7>> ls -al
total 20
drwx-- 3 vpopmail vchkpw 4096 Aug 26 08:28 .
drwx-- 4 vpopmail vchkpw 4096 Aug 31 06:33 ..
lrwxrwxrwx 1 vpopmail vchkpw   15 Aug 26 08:27 dovecot.sieve ->
roundcube.sieve
-rw--- 1 vpopmail vchkpw  281 Aug 26 08:28 dovecot.svbin
-rw--- 1 vpopmail vchkpw  184 Aug 26 08:27 roundcube.sieve
drwx-- 2 vpopmail vchkpw 4096 Aug 26 08:27 tmp
Qmail7 .sieve q7>>

Qmail7 .sieve q7>> more roundcube.sieve
## Generated by Roundcube Webmail SieveRules Plugin ##
require ["copy"];

# rule:[Remo]
if anyof (header :is "To" "r...@myotheremail.com")
{
    redirect :copy "r...@mainemail.com";
}


hopefully this helps!

On 8/31/17 10:16 AM, Rajesh M wrote:
> eric / remo
>
> still not getting dovecot lda to forward emails based on rules. have copied 
> below my configurations.
>
> /home/vpopmail/domains/x.com/rajesh
> [root@ns1 rajesh]# ls -la
> total 20
> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .
> drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 ..
> lrwxrwxrwx 1 vpopmail vchkpw   20 Aug 31 21:45 .dovecot.sieve -> 
> .sieve/dovecot.sieve
> drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir
> -rw--- 1 vpopmail vchkpw   85 Aug 30 23:47 .qmail
> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve
>
>
> [root@ns1 rajesh]# ls -la .sieve
> total 12
> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .
> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 ..
> -rw--- 1 vpopmail vchkpw  160 Aug 30 17:38 dovecot.sieve
>
>
> .dovecot.sieve
>
> # rule:[globalpay-forwarder - move]
> if anyof (header :contains "From" "host...@x.com") {
> redirect :copy "ad...@yy.com";
> stop;
> }
>
>
> i have not created any global sieve script, only personal.
>
> # A path to a global sieve script file, which gets executed ONLY
> # if user's private Sieve script doesn't exist. Be sure to
> # pre-compile this script manually using the sievec command line
> # tool.
> #sieve_global_path = /var/lib/dovecot/sieve/default.sieve
> #sieve_global_path = /etc/dovecot/globalsieverc
>
>
> ### in the toaster.conf file under plugin
>
> plugin {
>   quota = maildir:ignore=Trash
>   quota_rule = ?:storage=0
> sieve_global_path = /etc/dovecot/globalsieverc
> # Directory for :personal include scripts for the include extension.
> sieve = ~/.sieve/dovecot.sieve
> sieve_before = /etc/dovecot/sieve/
> sieve_dir = ~/.sieve
> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest 
> +spamtestplus +relational +comparator-i;ascii-numeric
> }
>
> had a question -- how does dovecot know that ~/.sieve is the 
> /home/vpopmail/domains/x.com/rajesh directory
>
> thanks
> rajesh
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Thu, 31 Aug 2017 07:25:50 -0600
> Subject: 
>
> Hi Rajesh,
>
> I use roundcube and it automatically creates the stuff, hopefully 
> correctly, when you open the Settings->Filters in the same with a 
> roundcube filter file. Here's what it looks like permissions and all:
>
> # ls -la /home/vpopmail/domains/domain.tld/user
> total 16
> drwx--  4 vpopmail vchkpw 4096 Aug 31 07:16 .
> drwx--  5 vpopmail vchkpw 4096 Feb  8  2017 ..
> lrwxrwxrwx  1 vpopmail vchkpw   22 Aug 31 07:16 .dovecot.sieve -> 
> .sieve/roundcube.sieve
> drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir
> drwx--  3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve
>
> # ls -la /home/vpopmail/domains/domain.tld/user/.sieve
> total 16
> drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .
> drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 ..
> -rw--- 1 vpopmail vchkpw   18 Aug 31 07:16 roundcube.sieve
> drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp
>
>
> I imagine you could rename the filter file whatever you wanted (other 
> than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to 
> point to the same.
>
> Hopefully this works for you else you'll need to experiment or invoke 
> Remo for help.
>
> Eric
>
>
>
>
>
> On 8/31/2017 6:52 AM, Rajesh M wrote:
>> eric
>>
>> yes, that is correct. that is how i set up. sorry typo in my email ... ie 
>> basically along with the .qmail file

Re: [qmailtoaster] using dovecot seive

2017-08-31 Thread Remo Mattei
let me check my .sieve..
one sec

On 8/31/17 10:16 AM, Rajesh M wrote:
> eric / remo
>
> still not getting dovecot lda to forward emails based on rules. have copied 
> below my configurations.
>
> /home/vpopmail/domains/x.com/rajesh
> [root@ns1 rajesh]# ls -la
> total 20
> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 .
> drwx-- 5 vpopmail vchkpw 4096 Aug 30 23:37 ..
> lrwxrwxrwx 1 vpopmail vchkpw   20 Aug 31 21:45 .dovecot.sieve -> 
> .sieve/dovecot.sieve
> drwx-- 8 vpopmail vchkpw 4096 Aug 31 22:23 Maildir
> -rw--- 1 vpopmail vchkpw   85 Aug 30 23:47 .qmail
> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .sieve
>
>
> [root@ns1 rajesh]# ls -la .sieve
> total 12
> drwx-- 2 vpopmail vchkpw 4096 Aug 30 17:38 .
> drwx-- 4 vpopmail vchkpw 4096 Aug 31 21:45 ..
> -rw--- 1 vpopmail vchkpw  160 Aug 30 17:38 dovecot.sieve
>
>
> .dovecot.sieve
>
> # rule:[globalpay-forwarder - move]
> if anyof (header :contains "From" "host...@x.com") {
> redirect :copy "ad...@yy.com";
> stop;
> }
>
>
> i have not created any global sieve script, only personal.
>
> # A path to a global sieve script file, which gets executed ONLY
> # if user's private Sieve script doesn't exist. Be sure to
> # pre-compile this script manually using the sievec command line
> # tool.
> #sieve_global_path = /var/lib/dovecot/sieve/default.sieve
> #sieve_global_path = /etc/dovecot/globalsieverc
>
>
> ### in the toaster.conf file under plugin
>
> plugin {
>   quota = maildir:ignore=Trash
>   quota_rule = ?:storage=0
> sieve_global_path = /etc/dovecot/globalsieverc
> # Directory for :personal include scripts for the include extension.
> sieve = ~/.sieve/dovecot.sieve
> sieve_before = /etc/dovecot/sieve/
> sieve_dir = ~/.sieve
> sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest 
> +spamtestplus +relational +comparator-i;ascii-numeric
> }
>
> had a question -- how does dovecot know that ~/.sieve is the 
> /home/vpopmail/domains/x.com/rajesh directory
>
> thanks
> rajesh
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Thu, 31 Aug 2017 07:25:50 -0600
> Subject: 
>
> Hi Rajesh,
>
> I use roundcube and it automatically creates the stuff, hopefully 
> correctly, when you open the Settings->Filters in the same with a 
> roundcube filter file. Here's what it looks like permissions and all:
>
> # ls -la /home/vpopmail/domains/domain.tld/user
> total 16
> drwx--  4 vpopmail vchkpw 4096 Aug 31 07:16 .
> drwx--  5 vpopmail vchkpw 4096 Feb  8  2017 ..
> lrwxrwxrwx  1 vpopmail vchkpw   22 Aug 31 07:16 .dovecot.sieve -> 
> .sieve/roundcube.sieve
> drwx-- 14 vpopmail vchkpw 4096 Aug 31 07:14 Maildir
> drwx--  3 vpopmail vchkpw 4096 Aug 31 07:16 .sieve
>
> # ls -la /home/vpopmail/domains/domain.tld/user/.sieve
> total 16
> drwx-- 3 vpopmail vchkpw 4096 Aug 31 07:16 .
> drwx-- 4 vpopmail vchkpw 4096 Aug 31 07:16 ..
> -rw--- 1 vpopmail vchkpw   18 Aug 31 07:16 roundcube.sieve
> drwx-- 2 vpopmail vchkpw 4096 Aug 31 07:16 tmp
>
>
> I imagine you could rename the filter file whatever you wanted (other 
> than .sieve/roundcube.sieve) and change the symlink (.dovecot.sieve) to 
> point to the same.
>
> Hopefully this works for you else you'll need to experiment or invoke 
> Remo for help.
>
> Eric
>
>
>
>
>
> On 8/31/2017 6:52 AM, Rajesh M wrote:
>> eric
>>
>> yes, that is correct. that is how i set up. sorry typo in my email ... ie 
>> basically along with the .qmail file
>>
>> /home/vpopmail/domains/domain.tld/user/.sieve/
>> /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve
>>
>> rajesh
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To: 24x7ser...@24x7server.net
>> Sent: Thu, 31 Aug 2017 06:45:59 -0600
>> Subject:
>>
>> Rajesh,
>>
>> shouldn't the folder and file be
>>
>> /home/vpopmail/domains/domain.tld/user/.sieve/
>> /home/vpopmail/domains/domain.tld/user/.sieve/dovecot.sieve
>>
>> not
>>
>>
>> /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/
>> /home/vpopmail/domains/domain.tld/user/Maildir/.sieve/dovecot.sieve
>>
>> Eric
>>
>>
>>
>> On 8/31/2017 5:12 AM, Rajesh M wrote:
>>> eric /
>>>
>>> still not able to get the routing done
>>>
>>> i don't use roundcube
>>>
>

Re: [qmailtoaster] qq soft reject errors on high load

2017-08-31 Thread Remo Mattei
I had the same issue with qq.

I changed the permissions and all good. I also raised the value of the
softlimits exec /usr/bin/softlimit -m 104000

and my permissions are drwxr-s---   2 clamav clamav 4096 Aug 31 07:19
simscan

So hopefully this helps.

Remo


On 8/31/17 6:51 AM, Rajesh M wrote:
> eric
>
> on my qmailtoaster server (centos 6 64 bit)  there are several domains --- 
> high traffic
>
> about 80 percent of them are routed via the sophos antispam filter and then 
> passed on to the mailserver with spamassassin/clam disabled by adding the ip 
> of the sophos server to the tcp.smtp file to exclude the line 
> /var/qmail/bin/simscan
>
> the balance 20 are directly reaching the mailserver ie mx pointed to 
> mailserver instead of sophos server and are scanned with clam / spamassassin.
>
> today i turned on the spamassassin / clam for the above 80 percent domains 
> too and this started throwing qq reject errors on  a large scale but randomly.
>
> spamassassin child-processes was set to 20 to handle the load
>
> i checked the log files for the last 30 days till yesterday and found that 
> the same qq reject errors were present but very rarely ie 3 to 4 times on a 
> single day (occasional high load ??)
> so it seems that this error comes up only when the load on the server is 
> high, all take place when there are attachments.
>
> reading the thread you sent me, i am not sure whether it applies to my case 
> but i can try out.
>
> #
> drwxr-x---  2 clamav root 6 May  6 17:57 simscan/
>
> changing this to the following fixed the problem:
> drwxr-s---  2 clamav clamav 6 May  6 17:57 simscan/
> ###
>
> should i just 
> chown clamav.clamav simscan
>
>
> thanks
> rajesh
>
>
>
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: 24x7ser...@24x7server.net
> Sent: Thu, 31 Aug 2017 06:42:08 -0600
> Subject: 
>
> Have a look here, Rajesh, I'm not sure if it will help:
>
> https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40456.html
>
>
> On 8/31/2017 4:51 AM, Rajesh M wrote:
>> hi
>>
>> centos 6 64 bit
>> SpamAssassin version 3.3.2
>> ClamAV 0.98.6/23745/Thu Aug 31 14:07:08 2017
>>
>> we have a sophos antispam firewall which receives our emails and then routes 
>> them to our mail server (qmailtoaster, dovecot, spamassassin, clam)
>>
>> in the mail server we had stopped spamassassin
>>
>> however due to some custom requirements by our clients we enabled the same
>>
>> however we get the following error when the load on the server is high on a 
>> random basis.
>>
>> 2017-08-31 14:48:05.753994500 simscan: calling spamc
>> 2017-08-31 14:48:05.754001500 simscan: calling /usr/bin/spamc  spamc
>> 2017-08-31 14:48:05.754010500 simscan: check_spam had an error ret: -1
>> 2017-08-31 14:48:05.754101500 simscan: exit error code: 71
>> 2017-08-31 14:48:05.754220500 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:c...@.com
>>
>>
>> 2017-08-31 14:48:05.956137500 simscan: ripmime error
>> qmail-smtpd: qq soft reject (mail server temporarily rejected message
>>
>>
>>
>> if i disable simscan in tcp.smtp then errors do not take place.
>>
>> i enabled simscan debug and this is the result.
>>
>> 2017-08-31 14:48:05.956144500 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:inv1...@.net
>>
>>
>> clam=yes,spam=yes,spam_hits=30,spam_passthru=yes,attach=.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
>> 2017-08-31 14:48:05.746592500 simscan: pelookup clam = yes
>> 2017-08-31 14:48:05.746593500 simscan: pelookup spam = yes
>> 2017-08-31 14:48:05.746593500 simscan: pelookup spam_hits = 30
>> 2017-08-31 14:48:05.746595500 simscan: Per Domain Hits set to : 30.00
>> 2017-08-31 14:48:05.746595500 simscan: pelookup spam_passthru = yes
>> 2017-08-31 14:48:05.746596500 simscan: unimplemented flag spam_passthru = yes
>> 2017-08-31 14:48:05.746596500 simscan: pelookup attach = 
>> .ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
>> 2017-08-31 14:48:05.746599500 simscan: attachment 

Re: [qmailtoaster] using dovecot seive

2017-08-30 Thread Remo Mattei
Correct Eric and this is automatically gen. 

Inviato da iPhone

> Il giorno 30 ago 2017, alle ore 14:39, Eric Broch  
> ha scritto:
> 
> Rajesh,
> 
> Not to but in, but it looks like with Remo's configuration
> 
>   sieve = ~/.sieve/dovecot.sieve
>   sieve_dir = ~/.sieve
> 
> you'll put your rule in
> 
> /home/vpopmail/domains/your.domain/your.user/.sieve/dovecot.sieve
> 
> Please correct if mistaken
> 
> Eric
> 
>> On 8/30/2017 1:09 PM, Rajesh M wrote:
>> Hi remo
>> 
>> i have dovecot lda working. i could see from the log files that email is 
>> being delivered.
>> 
>> now the next step is configuring custom delivery rules per user ie if email 
>> is from a specific email id then copy to another email id.
>> 
>> i have the following in the dovecot.sieve file.
>> 
>> # rule:[globalpay-forwarder - move]
>> if anyof (header :contains "From" "u...@xyz.com") {
>> redirect :copy "ad...@pqr.com";
>> stop;
>> }
>> 
>> question is where do i copy this file for every user who requires custom 
>> rules.
>> 
>> i read thru the https://wiki1.dovecot.org/LDA/Sieve/Dovecot
>> but found a bit confusing
>> 
>> what changes do i need to make in the dovecot,conf file
>> 
>> what should the permissions be for the per user script file
>> 
>> thanks
>> rajesh
>> 
>> 
>> 
>> 
>> 
>> - Original Message -
>> From: Remo Mattei [mailto:r...@mattei.org]
>> To: 24x7ser...@24x7server.net
>> Sent: Tue, 29 Aug 2017 10:37:43 -0700
>> Subject: 
>> 
>> # 2.2.24 (a82c823): /etc/dovecot/dovecot.conf
>> # Pigeonhole version 0.4.14 (099a97c)
>> # OS: Linux 3.10.0-514.26.2.el7.x86_64 x86_64 CentOS Linux release
>> 7.3.1611 (Core)
>> auth_cache_size = 64 M
>> auth_mechanisms = plain login digest-md5 cram-md5
>> default_client_limit = 100
>> first_valid_gid = 89
>> first_valid_uid = 89
>> hostname = qmail7.italy1.com
>> log_path = /var/log/dovecot.log
>> login_greeting = Italy1 Mail ready.
>> mail_plugins = " quota"
>> managesieve_notify_capability = mailto
>> managesieve_sieve_capability = fileinto reject envelope
>> encoded-character vacation subaddress comparator-i;ascii-numeric
>> relational regex imap4flags copy include variables body enotify
>> environment mailbox date index ihave duplicate mime foreverypart
>> extracttext spamtest spamtestplus imapflags notify vnd.dovecot.duplicate
>> namespace {
>>   inbox = yes
>>   location =
>>   prefix =
>>   separator = .
>>   type = private
>> }
>> passdb {
>>   args = cache_key=%u webmail=127.0.0.1
>>   driver = vpopmail
>> }
>> plugin {
>>   quota = maildir:ignore=Trash
>>   quota_rule = ?:storage=0
>>   sieve = ~/.sieve/dovecot.sieve
>>   sieve_before = /etc/dovecot/sieve/
>>   sieve_dir = ~/.sieve
>>   sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest
>> +spamtestplus +relational +comparator-i;ascii-numeric
>> }
>> protocols = imap pop3 sieve
>> sendmail_path = /var/qmail/bin/sendmail
>> service managesieve-login {
>>   inet_listener sieve {
>> port = 4190
>>   }
>>   service_count = 1
>>   vsz_limit = 64 M
>> }
>> ssl_cert = > ssl_dh_parameters_length = 2048
>> ssl_key = > userdb {
>>   args = cache_key=%u quota_template=quota_rule=*:backend=%q
>>   driver = vpopmail
>> }
>> protocol imap {
>>   imap_client_workarounds = delay-newmail
>>   mail_max_userip_connections = 35
>>   mail_plugins = " quota imap_quota"
>> }
>> protocol pop3 {
>>   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
>>   pop3_fast_size_lookups = yes
>>   pop3_lock_session = yes
>> }
>> protocol lda {
>>   info_log_path = /var/log/dovecot-lda/dovecot-lda.log
>>   log_path = /var/log/dovecot-lda/dovecot-lda-errors.log
>>   mail_plugins = " quota sieve"
>> }
>> 
>> 
>> On 8/29/17 10:35 AM, Rajesh M wrote:
>>> could you please share the dovecot -n
>>> 
>>> rajesh
>>> 
>>> - Original Message -
>>> From: Remo Mattei [mailto:r...@mattei.org]
>>> To: qmailtoaster-list@qmailtoaster.com,24x7ser...@24x7server.net
>>> Sent: Tue, 29 Aug 2017 09:42:37 -0700
>>> Subject: 
>>> 
>>> Hello Rajesh,
>>> I have it running and it works fine. let me know if you have questions.
>>> I 

Re: [qmailtoaster] using dovecot seive

2017-08-30 Thread Remo Mattei
NOPE!! I do not write those by hand.. I use roundcube and add the
plugins. here is a screenshot.



https://pasteboard.co/GI6qGbP.png

plugins installed

$config['plugins'] = array(
'archive',
'zipdownload',
'quickrules',
'contextmenu',
'jqueryui',
'legacy_browser',
'cloud_button',
'image_paster',
'sieverules',
'contextmenu',
'attachment_position',
'image_paster',
'contextmenu_folder',
'hotkeys',
'sauserprefs',
'ident_switch',
'message_highlight',
'markasjunk2',
);




On 8/30/17 12:09 PM, Rajesh M wrote:
> Hi remo
>
> i have dovecot lda working. i could see from the log files that email is 
> being delivered.
>
> now the next step is configuring custom delivery rules per user ie if email 
> is from a specific email id then copy to another email id.
>
> i have the following in the dovecot.sieve file.
>
> # rule:[globalpay-forwarder - move]
> if anyof (header :contains "From" "u...@xyz.com") {
> redirect :copy "ad...@pqr.com";
> stop;
> }
>
> question is where do i copy this file for every user who requires custom 
> rules.
>
> i read thru the https://wiki1.dovecot.org/LDA/Sieve/Dovecot
> but found a bit confusing
>
> what changes do i need to make in the dovecot,conf file
>
> what should the permissions be for the per user script file
>
> thanks
> rajesh
>
>
>
>
>
> - Original Message -
> From: Remo Mattei [mailto:r...@mattei.org]
> To: 24x7ser...@24x7server.net
> Sent: Tue, 29 Aug 2017 10:37:43 -0700
> Subject: 
>
> # 2.2.24 (a82c823): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.14 (099a97c)
> # OS: Linux 3.10.0-514.26.2.el7.x86_64 x86_64 CentOS Linux release
> 7.3.1611 (Core)
> auth_cache_size = 64 M
> auth_mechanisms = plain login digest-md5 cram-md5
> default_client_limit = 100
> first_valid_gid = 89
> first_valid_uid = 89
> hostname = qmail7.italy1.com
> log_path = /var/log/dovecot.log
> login_greeting = Italy1 Mail ready.
> mail_plugins = " quota"
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope
> encoded-character vacation subaddress comparator-i;ascii-numeric
> relational regex imap4flags copy include variables body enotify
> environment mailbox date index ihave duplicate mime foreverypart
> extracttext spamtest spamtestplus imapflags notify vnd.dovecot.duplicate
> namespace {
>   inbox = yes
>   location =
>   prefix =
>   separator = .
>   type = private
> }
> passdb {
>   args = cache_key=%u webmail=127.0.0.1
>   driver = vpopmail
> }
> plugin {
>   quota = maildir:ignore=Trash
>   quota_rule = ?:storage=0
>   sieve = ~/.sieve/dovecot.sieve
>   sieve_before = /etc/dovecot/sieve/
>   sieve_dir = ~/.sieve
>   sieve_extensions = +notify +imapflags +vnd.dovecot.duplicate +spamtest
> +spamtestplus +relational +comparator-i;ascii-numeric
> }
> protocols = imap pop3 sieve
> sendmail_path = /var/qmail/bin/sendmail
> service managesieve-login {
>   inet_listener sieve {
>     port = 4190
>   }
>   service_count = 1
>   vsz_limit = 64 M
> }
> ssl_cert =  ssl_dh_parameters_length = 2048
> ssl_key =  userdb {
>   args = cache_key=%u quota_template=quota_rule=*:backend=%q
>   driver = vpopmail
> }
> protocol imap {
>   imap_client_workarounds = delay-newmail
>   mail_max_userip_connections = 35
>   mail_plugins = " quota imap_quota"
> }
> protocol pop3 {
>   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
>   pop3_fast_size_lookups = yes
>   pop3_lock_session = yes
> }
> protocol lda {
>   info_log_path = /var/log/dovecot-lda/dovecot-lda.log
>   log_path = /var/log/dovecot-lda/dovecot-lda-errors.log
>   mail_plugins = " quota sieve"
> }
>
>
> On 8/29/17 10:35 AM, Rajesh M wrote:
>> could you please share the dovecot -n
>>
>> rajesh
>>
>> - Original Message -
>> From: Remo Mattei [mailto:r...@mattei.org]
>> To: qmailtoaster-list@qmailtoaster.com,24x7ser...@24x7server.net
>> Sent: Tue, 29 Aug 2017 09:42:37 -0700
>> Subject: 
>>
>> Hello Rajesh,
>> I have it running and it works fine. let me know if you have questions.
>> I am swamped  but I will try to help.
>>
>> Remo
>>
>> On 8/29/17 9:38 AM, Rajesh M wrote:
>>> hi
>>>
>>> are there any step by step instructions for using dovecot sieve.
>>>
>>> i require this for conditiona

Re: [qmailtoaster] Change Default folder vpopmail

2017-08-29 Thread Remo Mattei
Hello I used the --bind which is better in my opinion than the symlink :)

just my 2 cents!

On 8/29/17 10:59 AM, Eric Broch wrote:
>
> Thanks, Rajesh.
>
> I didn't know about this 'mount --bind'
>
> You could also do a symlink.
>
> # qmailctl stop
>
> # systemctl stop dovecot
>
> # cp -p /home/vpopmail/domains /highcapacity
>
> # mv /home/vpopmail/domains /home/vpopmail/domains.bak
>
> # ln -s /highcapacity /home/vpopmail/domains
>
> Something like that.
>
> ...
>
> I think you can change the default home directory for vpopmail as
> well, but it involves more.
>
> Eric
>
>
>
> On 8/29/2017 10:21 AM, Rajesh M wrote:
>> stop qmail mysql dovecot spamassassin clam etc
>>
>> /bin/mount --bind/highcapacity/home/vpopmail/domains
>>
>> restart the above services
>>
>> create a sample domain ; testdomain.com  and then check if folder is 
>> correctly created by 
>> dir /highcapacity
>>
>> dir /home/vpopmail/domains will also show the same folder.
>>
>> this is how we use
>>
>> you can even mount a one or more domain to another drive by
>>
>> /bin/mount --bind /highcapacity/largesizedomain.com 
>> /home/vpopmail/domains/largesizedomain.com
>>
>> we use in the above manner
>>
>> rajesh
>>
>> - Original Message -
>> From: Agni Isador H [mailto:agniisa...@gmail.com]
>> To: qmailtoaster-list@qmailtoaster.com
>> Sent: Tue, 29 Aug 2017 23:10:37 +0700
>> Subject: 
>>
>> Dear All,
>>
>> Need your help, how to change default folder vpopmail to the other 
>> folder, because
>> i want to use the other centos with high capacity disk.
>> Thanks.
>>
>> regards,
>>
>> Agni Isador H
>>
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] using dovecot seive

2017-08-29 Thread Remo Mattei
Hello Rajesh,
I have it running and it works fine. let me know if you have questions.
I am swamped  but I will try to help.

Remo

On 8/29/17 9:38 AM, Rajesh M wrote:
> hi
>
> are there any step by step instructions for using dovecot sieve.
>
> i require this for conditional forwarding rules like if email is from user 
> a...@domain.com then forward email to specific email id.
>
> i checked out a few messages on the forum and also followed instructions here
> https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40536.html
>
> but am still not successful.
>
> rajesh
>
>
>
>
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Qmailtoaster smtproutes

2017-08-04 Thread Remo Mattei
Use vaddaliasdomain for that..

so main domain main.com and alias junk.com all the mail going to junk
will be delivered on main.com and vice versa.

I think that's what you are looking for.

Remo
> Kan Teruo <mailto:teruo1...@gmail.com>
> August 4, 2017 at 4:40 PM
>
> Dear Eric,
>
>  
>
> Sorry for my pool explanation.
>
> I studied http://wiki.qmailtoaster.com/index.php/Smtproutes before.
>
> If my understanding is right, domaina.com:smarthost1.xxx.com means
> when send email to domaina.com then use smarthost1.xxx.com.
>
> In my case, domaina.com, domainb.com and domainc.com are in my
> qmailtoaster box (not the destination).
>
> If email send from domaina.com to outside, use smarthost1.xxx.com.
>
> If email send from domainb.com to outside, use smarthost2.xxx.com.
>
> If email send from domainc.com to outside, use smarthost3.xxx.com.
>
> For email from others domains, send directly from qmailtoaster box.
>
>  
>
> Is there any ways to do like that in qmailtoaster?
>
>  
>
> Teruo
>
>  
>
>  
>
> Sensitivity: Internal
>
> *From:*Eric Broch [mailto:ebr...@whitehorsetc.com]
> *Sent:* Friday, August 4, 2017 8:22 PM
> *To:* qmailtoaster-list@qmailtoaster.com
> *Subject:* Re: [qmailtoaster] Qmailtoaster smtproutes
>
>  
>
> Sorry,
>
> domaina.com:smarthost1.xxx.com
> domainb.com:smarthost2.xxx.com
> domainc.com:smarthost3.xxx.com
> qmailctl stop
> qmailctl start
>
> On 8/4/2017 6:19 AM, Eric Broch wrote:
>
>  
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)
> Eric Broch <mailto:ebr...@whitehorsetc.com>
> August 4, 2017 at 5:21 AM
>
> Sorry,
>
> domaina.com:smarthost1.xxx.com
> domainb.com:smarthost2.xxx.com
> domainc.com:smarthost3.xxx.com
> qmailctl stop
> qmailctl start
>
> On 8/4/2017 6:19 AM, Eric Broch wrote:
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)
> Eric Broch <mailto:ebr...@whitehorsetc.com>
> August 4, 2017 at 5:19 AM
>
> In /var/qmail/control/smtproutes
>
> domaina.com: smarthost1.xxx.com
>
> domainb.com:marthost2.xxx.com
>
> domainc.com:marthost3.xxx.com
>
> qmailctl stop
>
> qmailctl start
>
>
> http://wiki.qmailtoaster.com/index.php/Smtproutes
>
>
> On 8/4/2017 4:34 AM, Kan Teruo wrote:
>
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)
> Kan Teruo <mailto:teruo1...@gmail.com>
> August 4, 2017 at 3:34 AM
>
> Dear All,
>
>  
>
> I have few domains in qmailtoaster and want to use different smart host.
>
>  
>
> For example
>
>  1. domaina.com route to smarthost1.xxx.com
>  2. domainb.com route to smarthost2.xxx.com
>  3. domainc.com route to smarthost3.xxx.com
>  4. rest of the domains directly send out from the qmailtoaster box
>
>  
>
> I checked /var/qmail/control/smtproutes but it just can route to
> different smart hosts by destination.
>
> Is it possible to use different smart hosts based on sender domain
> inside qmailtoaster?
>
>  
>
> Thanks & best regards,
>
> Teruo
>
>
>
> Sensitivity: Internal
>



Re: [qmailtoaster] DomainKeys error rejecting mail

2017-07-26 Thread Remo Mattei
I remember I did do the link as Eric ‘s suggested 

Inviato da iPhone

> Il giorno 26 lug 2017, alle ore 17:59, Eric Broch  
> ha scritto:
> 
> What's in your /etc/tcprules/tcp.smtp file?
> 
> Also, can you do a directory listing of /var/qmail/bin?
> 
> Since Domain Keys is deprecated in favor of DKIM you could link
> /var/qmail/bin/qmail-queue to /var/qmail/bin/qmail-queue.orig instead of
> /var/qmail/bin/qmail-dk.
> In other words in /var/qmail/bin change
> 
> lrwxrwxrwx 1 root   root  23 Apr 20 12:58 qmail-queue ->
> /var/qmail/bin/qmail-dk
> to
> lrwxrwxrwx 1 root   root  23 Apr 20 12:58 qmail-queue ->
> /var/qmail/bin/qmail-queue.orig
> 
> Also, remove DKQUEUE and DKVERIFY from tcp.smtp.
> 
> Eric
> 
>> On 7/26/2017 5:03 PM, Roxanne Sandesara wrote:
>> I have a user trying to send emails to my server from their ISP to go 
>> through a mailing list my server is hosting. I have previously added the 
>> user’s email address to spamdyke’s whitelist. However, that no longer seems 
>> sufficient to deal with this problem.
>> 
>> From /var/log/qmail/smtp/current:
>> 
>> 2017-07-26 18:02:53.023764500 policy_check: policy allows transmission
>> 2017-07-26 18:02:53.377824500 simscan:[10795]:CLEAN 
>> (1.20/12.00):0.3534s::209.86.89.65:@earthlink.net:gvmi...@golem-computing.com
>> 2017-07-26 18:02:53.379325500 qmail-smtpd: qq hard reject (DomainKeys verify 
>> status: bad format   (#5.3.0)): MAILFROM: 
>> RCPTTO:gvmi...@golem-computing.com
>> 
>> 
>> Pursuant to emails recently to the list, here’s what I can find in 
>> /var/log/maillog:
>> 
>> Jul 26 18:02:53 mail clamd[3341]: 
>> /var/qmail/simscan/1501106573.24430.10797/msg.1501106573.24430.10797: OK
>> Jul 26 18:02:53 mail clamd[3341]: 
>> /var/qmail/simscan/1501106573.24430.10797/addr.1501106573.24430.10797: OK
>> Jul 26 18:02:53 mail clamd[3341]: 
>> /var/qmail/simscan/1501106573.24430.10797/text file0: OK
>> Jul 26 18:02:53 mail clamd[3341]: 
>> /var/qmail/simscan/1501106573.24430.10797/text file1: OK
>> Jul 26 18:02:53 mail clamd[3341]: 
>> /var/qmail/simscan/1501106573.24430.10797/text file2: OK
>> Jul 26 18:02:53 mail spamd[14603]: spamd: connection from localhost 
>> [::1]:35784 to port 783, fd 5
>> Jul 26 18:02:53 mail spamd[14603]: spamd: processing message 
>> <000b01d3065a$e66cf540$b346dfc0$@earthlink.net> for clamav:89
>> Jul 26 18:02:53 mail spamd[14603]: spamd: clean message (1.2/5.0) for 
>> clamav:89 in 0.2 seconds, 10946 bytes.
>> Jul 26 18:02:53 mail spamd[14603]: spamd: result: . 1 - 
>> AWL,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RDNS_NONE 
>> scantime=0.2,size=10946,user=clamav,uid=
>> 89,required_score=5.0,rhost=localhost,raddr=::1,rport=35784,mid=<000b01d3065a$e66cf540$b346dfc0$@earthlink.net>,autolearn=no
>>  autolearn_force=no
>> Jul 26 18:02:53 mail spamdyke[10791]: DENIED_OTHER from: 
>> @earthlink.net to: gvmi...@golem-computing.com origin_ip: 
>> 209.86.89.65 origin_rdns: elasmtp-kukur.atl.sa.earthlink.net auth: (unknown) 
>> encryption: TLS reason: 554_DomainKeys_verify_status:_bad_format___(#5.3.0)
>> Jul 26 18:02:53 mail spamd[14603]: spamd: processing message 
>> <000b01d3065a$e66cf540$b346dfc0$@earthlink.net> for clamav:89
>> Jul 26 18:02:53 mail spamd[14603]: spamd: clean message (1.2/5.0) for 
>> clamav:89in 0.2 seconds, 10946 bytes.
>> Jul 26 18:02:53 mail spamd[14603]: spamd: result: . 1 - 
>> AWL,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RDNS_NONE 
>> scantime=0.2,size=10946,user=clamav,uid=89,required_score=5.0,rhost=localhost,raddr=::1,rport=35784,mid=<000b01d3065a$e66cf540$b346dfc0$@earthlink.net>,autolearn=no
>>  autolearn_force=no
>> Jul 26 18:02:53 mail spamdyke[10791]: DENIED_OTHER from: 
>> @earthlink.net to: gvmi...@golem-computing.com origin_ip: 
>> 209.86.89.65 origin_rdns: elasmtp-kukur.atl.sa.earthlink.net auth: (unknown) 
>> encryption: TLS reason: 554_DomainKeys_verify_status:_bad_format___(#5.3.0)
>> Jul 26 18:02:53 mail spamd[14575]: prefork: child states: II
>> 
>> 
>> Obviously, I would prefer to keep Spamdyke in place if possible to cut down 
>> on the veritable torrent of spam going on out there. What can I do to bypass 
>> this so that my user can properly send out their messages? As it is, the 
>> server rejects their original send, so the mailing list never sends back the 
>> confirmation, and the message thusly never goes out.
>> 
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)
> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 


-
To unsubscribe, e-mail: qmailtoaster-list-unsub

Re: [qmailtoaster] DomainKeys error rejecting mail

2017-07-26 Thread Remo Mattei
Hello Rox,
I have just rebuild the box on my end and if you follow the steps as
referred by Eric it will work well.

I will to find them but I know it should work with Spamdyke.

Remo


> Roxanne Sandesara <mailto:roxie.sil...@gmail.com>
> July 26, 2017 at 4:03 PM
> I have a user trying to send emails to my server from their ISP to go
> through a mailing list my server is hosting. I have previously added
> the user’s email address to spamdyke’s whitelist. However, that no
> longer seems sufficient to deal with this problem.
>
> From /var/log/qmail/smtp/current:
>
> 2017-07-26 18:02:53.023764500 policy_check: policy allows transmission
> 2017-07-26 18:02:53.377824500 simscan:[10795]:CLEAN
> (1.20/12.00):0.3534s::209.86.89.65:@earthlink.net:gvmi...@golem-computing.com
> 2017-07-26 18:02:53.379325500 qmail-smtpd: qq hard reject (DomainKeys
> verify status: bad format (#5.3.0)):
> MAILFROM: RCPTTO:gvmi...@golem-computing.com
>
>
> Pursuant to emails recently to the list, here’s what I can find in
> /var/log/maillog:
>
> Jul 26 18:02:53 mail clamd[3341]:
> /var/qmail/simscan/1501106573.24430.10797/msg.1501106573.24430.10797: OK
> Jul 26 18:02:53 mail clamd[3341]:
> /var/qmail/simscan/1501106573.24430.10797/addr.1501106573.24430.10797: OK
> Jul 26 18:02:53 mail clamd[3341]:
> /var/qmail/simscan/1501106573.24430.10797/text file0: OK
> Jul 26 18:02:53 mail clamd[3341]:
> /var/qmail/simscan/1501106573.24430.10797/text file1: OK
> Jul 26 18:02:53 mail clamd[3341]:
> /var/qmail/simscan/1501106573.24430.10797/text file2: OK
> Jul 26 18:02:53 mail spamd[14603]: spamd: connection from localhost
> [::1]:35784 to port 783, fd 5
> Jul 26 18:02:53 mail spamd[14603]: spamd: processing message
> <000b01d3065a$e66cf540$b346dfc0$@earthlink.net> for clamav:89
> Jul 26 18:02:53 mail spamd[14603]: spamd: clean message (1.2/5.0) for
> clamav:89 in 0.2 seconds, 10946 bytes.
> Jul 26 18:02:53 mail spamd[14603]: spamd: result: . 1 -
> AWL,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RDNS_NONE
> scantime=0.2,size=10946,user=clamav,uid=
> 89,required_score=5.0,rhost=localhost,raddr=::1,rport=35784,mid=<000b01d3065a$e66cf540$b346dfc0$@earthlink.net>,autolearn=no
> autolearn_force=no
> Jul 26 18:02:53 mail spamdyke[10791]: DENIED_OTHER from:
> @earthlink.net to: gvmi...@golem-computing.com origin_ip:
> 209.86.89.65 origin_rdns: elasmtp-kukur.atl.sa.earthlink.net auth:
> (unknown) encryption: TLS reason:
> 554_DomainKeys_verify_status:_bad_format___(#5.3.0)
> Jul 26 18:02:53 mail spamd[14603]: spamd: processing message
> <000b01d3065a$e66cf540$b346dfc0$@earthlink.net> for clamav:89
> Jul 26 18:02:53 mail spamd[14603]: spamd: clean message (1.2/5.0) for
> clamav:89in 0.2 seconds, 10946 bytes.
> Jul 26 18:02:53 mail spamd[14603]: spamd: result: . 1 -
> AWL,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RDNS_NONE
> scantime=0.2,size=10946,user=clamav,uid=89,required_score=5.0,rhost=localhost,raddr=::1,rport=35784,mid=<000b01d3065a$e66cf540$b346dfc0$@earthlink.net>,autolearn=no
> autolearn_force=no
> Jul 26 18:02:53 mail spamdyke[10791]: DENIED_OTHER from:
> @earthlink.net to: gvmi...@golem-computing.com origin_ip:
> 209.86.89.65 origin_rdns: elasmtp-kukur.atl.sa.earthlink.net auth:
> (unknown) encryption: TLS reason:
> 554_DomainKeys_verify_status:_bad_format___(#5.3.0)
> Jul 26 18:02:53 mail spamd[14575]: prefork: child states: II
>
>
> Obviously, I would prefer to keep Spamdyke in place if possible to cut
> down on the veritable torrent of spam going on out there. What can I
> do to bypass this so that my user can properly send out their
> messages? As it is, the server rejects their original send, so the
> mailing list never sends back the confirmation, and the message thusly
> never goes out.
>
>
>
>
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>



Re: [qmailtoaster] qmail-smtpd: qq soft reject

2017-07-23 Thread Remo Mattei
I changed the permissions now to 2750 and chown to clamav the simscan dir.

Shell see.

Remo



> Eric Broch <mailto:ebr...@whitehorsetc.com>
> July 23, 2017 at 10:27 PM
> Are there any errors in /var/log/maillog as well?
>
> Have a look at this thread:
>
> https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40456.html
>
>
>
>
>
> Remo Mattei <mailto:r...@mattei.org>
> July 23, 2017 at 10:12 PM
> What's the best fix to have this not happing?
>
> Remo
>
>
>



[qmailtoaster] qmail-smtpd: qq soft reject

2017-07-23 Thread Remo Mattei
What's the best fix to have this not happing?

Remo




[qmailtoaster] Valias login

2017-07-22 Thread Remo Mattei
Hello all, 
In my old qmail I was able to login with the alias that I gen with the valias 
looks like this is not possible anymore.. Is there any options I need to enable 
?

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



Re: [qmailtoaster] Hello question about QMT sieve integration

2017-07-21 Thread Remo Mattei
Sure let me know if you need my help. 

Btw the dspam ui needed some tweaks to get it to work since it did not like the 
8009 port. 

I can share how I did it. 

Sent from my iPad

> On Jul 21, 2017, at 1:50 PM, Eric Broch  wrote:
> 
> I haven't got it set up yet. I'll have to do it at some point.
> 
> Can I put them on the qmailtoaster.com site?
> 
>> On 7/21/2017 2:46 PM, Remo Mattei wrote:
>> Is there a git repo I could push up some of those changes 
>> 
>> Inviato da iPhone
>> 
>> Il giorno 21 lug 2017, alle ore 13:17, Eric Broch  
>> ha scritto:
>> 
>>> Thanks, Remo!!!
>>> 
>>>> On 7/21/2017 2:13 PM, Remo Mattei wrote:
>>>> http://italy1.com/qmail/
>>>> 
>>>> Has the steps.
>>>> 
>>>> Remo 
>>>> 
>>>> 
>>>> 
>>>>> On Jul 19, 2017, at 12:31 AM, Remo Mattei  wrote:
>>>>> 
>>>>> The only thing now is push notifications 
>>>>> 
>>>>> Inviato da iPhone
>>>>> 
>>>>> Il giorno 19 lug 2017, alle ore 00:23, Remo Mattei  ha 
>>>>> scritto:
>>>>> 
>>>>>> I have it working..
>>>>>> 
>>>>>> I let you know tomorrow.
>>>>>> 
>>>>>> Ciao 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>> On Jul 17, 2017, at 11:13 PM, Eric Broch  
>>>>>>> wrote:
>>>>>>> 
>>>>>>> Sieve:
>>>>>>> 1) Install dovecot-pigeonhole in qmt repository which provides Sieve.
>>>>>>> 2) You must use dovecot LDA the configuration of which is shown at the 
>>>>>>> bottom of this page, http://www.qmailtoaster.org/notes.html
>>>>>>> 
>>>>>>> 3) Implement 'sieve' in 'protocol lda {}' of dovecot configuration file 
>>>>>>> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration)
>>>>>>> 4) Write sieve rules 
>>>>>>> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples).
>>>>>>> 
>>>>>>> 5) Tell dovecot where sieve rules are located in 'plugin {}' section of 
>>>>>>> dovecot configuration file. 
>>>>>>> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration)
>>>>>>> 6) Set proper permissions on sieve rules files and directory.
>>>>>>> 
>>>>>>> 
>>>>>>> Dspam:
>>>>>>> In  /home/vpopmail/domains/domain.tld/.qmail-default
>>>>>>> 
>>>>>>> OLD line:
>>>>>>> | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
>>>>>>> 
>>>>>>> NEW line:
>>>>>>> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
>>>>>>> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
>>>>>>> 
>>>>>>> Dspam w/dovecot-lda: 
>>>>>>> '.qmail-default' might look like this
>>>>>>> 
>>>>>>> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
>>>>>>> /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 
>>>>>>> postmaster_address=postmas...@yourdomain.tld
>>>>>>> 
>>>>>>> Eric
>>>>>>> 
>>>>>>>> On 7/17/2017 10:26 PM, Remo Mattei wrote:
>>>>>>>> Hello I just installed the great qmt all working I wonder if there are 
>>>>>>>> some options to integrate the sieve plugin with Dovecot. I also notice 
>>>>>>>> that when I create a domain it does not all anything about the DSPAM. 
>>>>>>>> I did it manually to a user and that works.. what’s the best option to 
>>>>>>>> enable it for the entire domain?
>>>>>>>> 
>>>>>>>> Thanks 
>>>>>>>> -
>>>>>>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>>>>>>> For additional commands, e-mail: 
>>>>>>>> qmailtoaster-list-h...@qmailtoaster.com
>>>>>>>> 
>>>>>>> 
>>>>>>> -- 
>>>>>>> Eric Broch
>>>>>>> White Horse Technical Consulting (WHTC)
>>>>>> 
>>>> 
>>> 
>>> -- 
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)


Re: [qmailtoaster] Hello question about QMT sieve integration

2017-07-21 Thread Remo Mattei
http://italy1.com/qmail/ <http://italy1.com/qmail/>

Has the steps.

Remo 



> On Jul 19, 2017, at 12:31 AM, Remo Mattei  wrote:
> 
> The only thing now is push notifications 
> 
> Inviato da iPhone
> 
> Il giorno 19 lug 2017, alle ore 00:23, Remo Mattei  <mailto:r...@mattei.org>> ha scritto:
> 
>> I have it working..
>> 
>> I let you know tomorrow.
>> 
>> Ciao 
>> 
>> 
>> 
>>> On Jul 17, 2017, at 11:13 PM, Eric Broch >> <mailto:ebr...@whitehorsetc.com>> wrote:
>>> 
>>> Sieve:
>>> 1) Install dovecot-pigeonhole in qmt repository which provides Sieve.
>>> 2) You must use dovecot LDA the configuration of which is shown at the 
>>> bottom of this page, http://www.qmailtoaster.org/notes.html 
>>> <http://www.qmailtoaster.org/notes.html>
>>> 3) Implement 'sieve' in 'protocol lda {}' of dovecot configuration file 
>>> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
>>> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
>>> 4) Write sieve rules (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples 
>>> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples>).
>>> 
>>> 5) Tell dovecot where sieve rules are located in 'plugin {}' section of 
>>> dovecot configuration file. 
>>> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
>>> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
>>> 6) Set proper permissions on sieve rules files and directory.
>>> 
>>> 
>>> Dspam:
>>> In  /home/vpopmail/domains/domain.tld/.qmail-default
>>> 
>>> OLD line:
>>> | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
>>> 
>>> NEW line:
>>> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
>>> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
>>> 
>>> Dspam w/dovecot-lda: 
>>> '.qmail-default' might look like this
>>> 
>>> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
>>> /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 
>>> postmaster_address=postmas...@yourdomain.tld 
>>> <mailto:postmaster_address=postmas...@yourdomain.tld>
>>> Eric
>>> 
>>> On 7/17/2017 10:26 PM, Remo Mattei wrote:
>>>> Hello I just installed the great qmt all working I wonder if there are 
>>>> some options to integrate the sieve plugin with Dovecot. I also notice 
>>>> that when I create a domain it does not all anything about the DSPAM. I 
>>>> did it manually to a user and that works.. what’s the best option to 
>>>> enable it for the entire domain?
>>>> 
>>>> Thanks 
>>>> -
>>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
>>>> <mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
>>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
>>>> <mailto:qmailtoaster-list-h...@qmailtoaster.com>
>>>> 
>>> 
>>> -- 
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
>> 



Re: [qmailtoaster] {Disarmed} Re: [qmailtoaster] I am seeing this in my send..

2017-07-20 Thread Remo Mattei
Very cool I do not have it installed yet I have a qmail server but it’s running 
CentOS 5 so need to move even though mail is good. 

Inviato da iPhone

> Il giorno 19 lug 2017, alle ore 23:25, Peter Peltonen 
>  ha scritto:
> 
> I tried z-push on CentOS6. My toaster was running CentOS5 on another server. 
> But that was long ago, so I was wondering how it behaves nowadays. I was 
> actually using it with SOGo to sync calendar events as well, don't remember 
> if it was email or calendar related. 
> 
>> On Wed, Jul 19, 2017 at 10:34 PM, Remo Mattei  wrote:
>> Centos 7
>> 
>> TY
>> 
>>> On Jul 19, 2017, at 12:25 PM, Eric Broch  wrote:
>>> 
>>> Hi Peter,
>>> 
>>> What OS were you using?
>>> 
>>> 
>>>> On 7/19/2017 12:49 PM, Peter Peltonen wrote:
>>>> How are you finding z-push resource wise?
>>>> 
>>>> When I tried it couple of years ago I found it eating memory like a 
>>>> monster...
>>>> 
>>>> Regards,
>>>> Peter
>>>> 
>>>>> On Wed, Jul 19, 2017 at 9:05 PM, Eric Broch  
>>>>> wrote:
>>>>> Z-push:
>>>>> 
>>>>> http://www.qmailtoaster.org/msas.html
>>>>> 
>>>>> 
>>>>> On 7/19/2017 11:53 AM, Remo Mattei wrote:
>>>>> 
>>>>> I have sieve working and moves msg .. roundcube has the great plugin which
>>>>> creates the rules for your in a human way..
>>>>> 
>>>>> I will have to write up what I have done so we can post it.
>>>>> 
>>>>> Remo
>>>>> 
>>>>> PS. Did anyone implement z-push and what’s the setting going to be in the
>>>>> iPhone to get mail? Just wonder.
>>>>> 
>>>>> TY
>>>>> 
>>>>> On Jul 19, 2017, at 10:04 AM, Eric Broch  wrote:
>>>>> 
>>>>> For sending messages this is fine.
>>>>> 
>>>>> What about your original questions about Sieve, is that working?
>>>>> 
>>>>> 
>>>>> On 7/19/2017 10:51 AM, Remo Mattei wrote:
>>>>> 
>>>>> Hello all
>>>>> 
>>>>> I see this in my send message any suggestions on where to look for?
>>>>> 
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> 
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> 
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> 
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> 
>>>>>  success:
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> success:
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> 
>>>>>  3: success:
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>>>> 
>>>>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>>>>> @4000596f89a105d5c064 delivery 3: success:
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>>>> @4000596f89a105d5d004 end msg 10356912
>>>>> 
>>>>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>>>>> @4000596f89a105d5c064 delivery 3: success:
>>>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>>>> @4000596f89a105d5d004 end msg 10356912
>>>>> 
>>>>> 
>>>>> --
>>>>> Eric Broch
>>>>> White Horse Technical Consulting (WHTC)
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Eric Broch
>>>>> White Horse Technical Consulting (WHTC)
>>>> -
>>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>>> 
>>> 
>>> -- 
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>> 
>> 
> 


Re: [qmailtoaster] UI for DSPAM

2017-07-19 Thread Remo Mattei
Thanks but the port 8009 is not open and the web is not even running .. I will 
have do debug it..

Remo 



> On Jul 19, 2017, at 4:05 PM, Eric Broch  wrote:
> 
> yum install dspam-web



[qmailtoaster] UI for DSPAM

2017-07-19 Thread Remo Mattei
Hello all, 
Does the QMT have implemented the UI for DSPAM, also I do not see the user in 
the mysql user table, since I want to change the default 

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



[qmailtoaster] {Disarmed} Re: [qmailtoaster] I am seeing this in my send..

2017-07-19 Thread Remo Mattei
Centos 7

TY

> On Jul 19, 2017, at 12:25 PM, Eric Broch  wrote:
> 
> Hi Peter,
> 
> What OS were you using?
> 
> 
> On 7/19/2017 12:49 PM, Peter Peltonen wrote:
>> How are you finding z-push resource wise?
>> 
>> When I tried it couple of years ago I found it eating memory like a 
>> monster...
>> 
>> Regards,
>> Peter
>> 
>> On Wed, Jul 19, 2017 at 9:05 PM, Eric Broch  wrote:
>>> Z-push:
>>> 
>>> http://www.qmailtoaster.org/msas.html
>>> 
>>> 
>>> On 7/19/2017 11:53 AM, Remo Mattei wrote:
>>> 
>>> I have sieve working and moves msg .. roundcube has the great plugin which
>>> creates the rules for your in a human way..
>>> 
>>> I will have to write up what I have done so we can post it.
>>> 
>>> Remo
>>> 
>>> PS. Did anyone implement z-push and what’s the setting going to be in the
>>> iPhone to get mail? Just wonder.
>>> 
>>> TY
>>> 
>>> On Jul 19, 2017, at 10:04 AM, Eric Broch  wrote:
>>> 
>>> For sending messages this is fine.
>>> 
>>> What about your original questions about Sieve, is that working?
>>> 
>>> 
>>> On 7/19/2017 10:51 AM, Remo Mattei wrote:
>>> 
>>> Hello all
>>> 
>>> I see this in my send message any suggestions on where to look for?
>>> 
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> 
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> 
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> 
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> 
>>>  success:
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> success:
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> 
>>>  3: success:
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>> 
>>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>>> @4000596f89a105d5c064 delivery 3: success:
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>> @4000596f89a105d5d004 end msg 10356912
>>> 
>>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>>> @4000596f89a105d5c064 delivery 3: success:
>>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>> @4000596f89a105d5d004 end msg 10356912
>>> 
>>> 
>>> --
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
>>> 
>>> 
>>> 
>>> --
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)
> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 



Re: [qmailtoaster] I am seeing this in my send..

2017-07-19 Thread Remo Mattei
I have not config it yet.. any tips will be super good! 

Thanks

> On Jul 19, 2017, at 11:49 AM, Peter Peltonen  wrote:
> 
> How are you finding z-push resource wise?
> 
> When I tried it couple of years ago I found it eating memory like a monster...
> 
> Regards,
> Peter
> 
> On Wed, Jul 19, 2017 at 9:05 PM, Eric Broch  wrote:
>> Z-push:
>> 
>> http://www.qmailtoaster.org/msas.html
>> 
>> 
>> On 7/19/2017 11:53 AM, Remo Mattei wrote:
>> 
>> I have sieve working and moves msg .. roundcube has the great plugin which
>> creates the rules for your in a human way..
>> 
>> I will have to write up what I have done so we can post it.
>> 
>> Remo
>> 
>> PS. Did anyone implement z-push and what’s the setting going to be in the
>> iPhone to get mail? Just wonder.
>> 
>> TY
>> 
>> On Jul 19, 2017, at 10:04 AM, Eric Broch  wrote:
>> 
>> For sending messages this is fine.
>> 
>> What about your original questions about Sieve, is that working?
>> 
>> 
>> On 7/19/2017 10:51 AM, Remo Mattei wrote:
>> 
>> Hello all
>> 
>> I see this in my send message any suggestions on where to look for?
>> 
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> 
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> 
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> 
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> 
>> success:
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> success:
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> 
>> 3: success:
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>> 
>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>> @4000596f89a105d5c064 delivery 3: success:
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>> @4000596f89a105d5d004 end msg 10356912
>> 
>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>> @4000596f89a105d5c064 delivery 3: success:
>> User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>> @4000596f89a105d5d004 end msg 10356912
>> 
>> 
>> --
>> Eric Broch
>> White Horse Technical Consulting (WHTC)
>> 
>> 
>> 
>> --
>> Eric Broch
>> White Horse Technical Consulting (WHTC)
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 


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



Re: [qmailtoaster] I am seeing this in my send..

2017-07-19 Thread Remo Mattei
Sure thing to do.. :) 

> On Jul 19, 2017, at 11:06 AM, Eric Broch  wrote:
> 
> A write up would be great. Maybe show all dovecot configurations and sieve 
> files location and permissions.
> 
> On 7/19/2017 11:53 AM, Remo Mattei wrote:
>> I have sieve working and moves msg .. roundcube has the great plugin which 
>> creates the rules for your in a human way..
>> 
>> I will have to write up what I have done so we can post it.
>> 
>> Remo 
>> 
>> PS. Did anyone implement z-push and what’s the setting going to be in the 
>> iPhone to get mail? Just wonder. 
>> 
>> TY
>> 
>>> On Jul 19, 2017, at 10:04 AM, Eric Broch >> <mailto:ebr...@whitehorsetc.com>> wrote:
>>> 
>>> For sending messages this is fine.
>>> 
>>> What about your original questions about Sieve, is that working?
>>> 
>>> On 7/19/2017 10:51 AM, Remo Mattei wrote:
>>>> Hello all 
>>>> 
>>>> I see this in my send message any suggestions on where to look for?
>>>> 
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>  success: 
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>  success: 
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>>  3: success: 
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>>>> @4000596f89a105d5c064 delivery 3: success: 
>>>> User_and_password_not_set,_continuing_without_authentication./>>>  
>>>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>>> @4000596f89a105d5d004 end msg 10356912
>>>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>>>> @4000596f89a105d5c064 delivery 3: success: 
>>>> User_and_password_not_set,_continuing_without_authentication./>>> <mailto:x...@xxx.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>>>> @4000596f89a105d5d004 end msg 10356912
>>> 
>>> -- 
>>> Eric Broch
>>> White Horse Technical Consulting (WHTC)
>> 
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] I am seeing this in my send..

2017-07-19 Thread Remo Mattei
I have sieve working and moves msg .. roundcube has the great plugin which 
creates the rules for your in a human way..

I will have to write up what I have done so we can post it.

Remo 

PS. Did anyone implement z-push and what’s the setting going to be in the 
iPhone to get mail? Just wonder. 

TY

> On Jul 19, 2017, at 10:04 AM, Eric Broch  wrote:
> 
> For sending messages this is fine.
> 
> What about your original questions about Sieve, is that working?
> 
> On 7/19/2017 10:51 AM, Remo Mattei wrote:
>> Hello all 
>> 
>> I see this in my send message any suggestions on where to look for?
>> 
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>  success: 
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>  success: 
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>>  3: success: 
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>> @4000596f89a105d5c064 delivery 3: success: 
>> User_and_password_not_set,_continuing_without_authentication./>  
>> <mailto:itli...@virgilio.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>> @4000596f89a105d5d004 end msg 10356912
>> @4000596f899f08ab7d74 status: local 0/10 remote 1/60
>> @4000596f89a105d5c064 delivery 3: success: 
>> User_and_password_not_set,_continuing_without_authentication./> <mailto:x...@xxx.it>>_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
>> @4000596f89a105d5cc1c status: local 0/10 remote 0/60
>> @4000596f89a105d5d004 end msg 10356912
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



[qmailtoaster] I am seeing this in my send..

2017-07-19 Thread Remo Mattei
Hello all 

I see this in my send message any suggestions on where to look for?

User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
 success: 
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
 success: 
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
 3: success: 
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
@4000596f89a105d5cc1c status: local 0/10 remote 0/60
@4000596f899f08ab7d74 status: local 0/10 remote 1/60
@4000596f89a105d5c064 delivery 3: success: 
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
@4000596f89a105d5cc1c status: local 0/10 remote 0/60
@4000596f89a105d5d004 end msg 10356912
@4000596f899f08ab7d74 status: local 0/10 remote 1/60
@4000596f89a105d5c064 delivery 3: success: 
User_and_password_not_set,_continuing_without_authentication./_212.48.24.40_accepted_message./Remote_host_said:_250_Xrtddxo6Gl3EvXrtedKDg4_mail_accepted_for_delivery/
@4000596f89a105d5cc1c status: local 0/10 remote 0/60
@4000596f89a105d5d004 end msg 10356912

Re: [qmailtoaster] Hello question about QMT sieve integration

2017-07-19 Thread Remo Mattei
The only thing now is push notifications 

Inviato da iPhone

> Il giorno 19 lug 2017, alle ore 00:23, Remo Mattei  ha 
> scritto:
> 
> I have it working..
> 
> I let you know tomorrow.
> 
> Ciao 
> 
> 
> 
>> On Jul 17, 2017, at 11:13 PM, Eric Broch  wrote:
>> 
>> Sieve:
>> 1) Install dovecot-pigeonhole in qmt repository which provides Sieve.
>> 2) You must use dovecot LDA the configuration of which is shown at the 
>> bottom of this page, http://www.qmailtoaster.org/notes.html
>> 
>> 3) Implement 'sieve' in 'protocol lda {}' of dovecot configuration file 
>> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration)
>> 4) Write sieve rules (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples).
>> 
>> 5) Tell dovecot where sieve rules are located in 'plugin {}' section of 
>> dovecot configuration file. 
>> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration)
>> 6) Set proper permissions on sieve rules files and directory.
>> 
>> 
>> Dspam:
>> In  /home/vpopmail/domains/domain.tld/.qmail-default
>> 
>> OLD line:
>> | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
>> 
>> NEW line:
>> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
>> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
>> 
>> Dspam w/dovecot-lda: 
>> '.qmail-default' might look like this
>> 
>> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
>> /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 
>> postmaster_address=postmas...@yourdomain.tld
>> 
>> Eric
>> 
>>> On 7/17/2017 10:26 PM, Remo Mattei wrote:
>>> Hello I just installed the great qmt all working I wonder if there are some 
>>> options to integrate the sieve plugin with Dovecot. I also notice that when 
>>> I create a domain it does not all anything about the DSPAM. I did it 
>>> manually to a user and that works.. what’s the best option to enable it for 
>>> the entire domain?
>>> 
>>> Thanks 
>>> -
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>> 
>> 
>> -- 
>> Eric Broch
>> White Horse Technical Consulting (WHTC)
> 


Re: [qmailtoaster] Hello question about QMT sieve integration

2017-07-19 Thread Remo Mattei
I have it working..

I let you know tomorrow.

Ciao 



> On Jul 17, 2017, at 11:13 PM, Eric Broch  wrote:
> 
> Sieve:
> 1) Install dovecot-pigeonhole in qmt repository which provides Sieve.
> 2) You must use dovecot LDA the configuration of which is shown at the bottom 
> of this page, http://www.qmailtoaster.org/notes.html 
> <http://www.qmailtoaster.org/notes.html>
> 3) Implement 'sieve' in 'protocol lda {}' of dovecot configuration file 
> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
> 4) Write sieve rules (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples>).
> 
> 5) Tell dovecot where sieve rules are located in 'plugin {}' section of 
> dovecot configuration file. 
> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
> 6) Set proper permissions on sieve rules files and directory.
> 
> 
> Dspam:
> In  /home/vpopmail/domains/domain.tld/.qmail-default
> 
> OLD line:
> | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
> 
> NEW line:
> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
> 
> Dspam w/dovecot-lda: 
> '.qmail-default' might look like this
> 
> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
> /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 
> postmaster_address=postmas...@yourdomain.tld 
> <mailto:postmaster_address=postmas...@yourdomain.tld>
> Eric
> 
> On 7/17/2017 10:26 PM, Remo Mattei wrote:
>> Hello I just installed the great qmt all working I wonder if there are some 
>> options to integrate the sieve plugin with Dovecot. I also notice that when 
>> I create a domain it does not all anything about the DSPAM. I did it 
>> manually to a user and that works.. what’s the best option to enable it for 
>> the entire domain?
>> 
>> Thanks 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
>> <mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
>> <mailto:qmailtoaster-list-h...@qmailtoaster.com>
>> 
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] Hello question about QMT sieve integration

2017-07-18 Thread Remo Mattei
Here is my toaster

auth_cache_size = 32M
auth_mechanisms = plain login digest-md5 cram-md5
auth_username_format = %Lu
first_valid_uid = 89
first_valid_gid = 89
log_path = /var/log/dovecot.log
login_greeting = Dovecot toaster ready.
mail_plugins = $mail_plugins quota
plugin/quota = maildir
protocols = imap pop3  sieve lmtp
ssl_cert =  On Jul 17, 2017, at 11:13 PM, Eric Broch  wrote:
> 
> Sieve:
> 1) Install dovecot-pigeonhole in qmt repository which provides Sieve.
> 2) You must use dovecot LDA the configuration of which is shown at the bottom 
> of this page, http://www.qmailtoaster.org/notes.html 
> <http://www.qmailtoaster.org/notes.html>
> 3) Implement 'sieve' in 'protocol lda {}' of dovecot configuration file 
> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
> 4) Write sieve rules (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples>).
> 
> 5) Tell dovecot where sieve rules are located in 'plugin {}' section of 
> dovecot configuration file. 
> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
> 6) Set proper permissions on sieve rules files and directory.
> 
> 
> Dspam:
> In  /home/vpopmail/domains/domain.tld/.qmail-default
> 
> OLD line:
> | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
> 
> NEW line:
> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
> 
> Dspam w/dovecot-lda: 
> '.qmail-default' might look like this
> 
> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
> /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 
> postmaster_address=postmas...@yourdomain.tld 
> <mailto:postmaster_address=postmas...@yourdomain.tld>
> Eric
> 
> On 7/17/2017 10:26 PM, Remo Mattei wrote:
>> Hello I just installed the great qmt all working I wonder if there are some 
>> options to integrate the sieve plugin with Dovecot. I also notice that when 
>> I create a domain it does not all anything about the DSPAM. I did it 
>> manually to a user and that works.. what’s the best option to enable it for 
>> the entire domain?
>> 
>> Thanks 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
>> <mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
>> <mailto:qmailtoaster-list-h...@qmailtoaster.com>
>> 
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] Hello question about QMT sieve integration

2017-07-18 Thread Remo Mattei
Hello Eric, 

Any suggestion on this.. why it would not move the message ?

## Generated by Roundcube Webmail SieveRules Plugin ##
require ["fileinto"];

# rule:[Virgilio]
if anyof (header :contains "From" "iyoum...@virgilio.it")
{
fileinto "IT";
}

> On Jul 17, 2017, at 11:13 PM, Eric Broch  wrote:
> 
> Sieve:
> 1) Install dovecot-pigeonhole in qmt repository which provides Sieve.
> 2) You must use dovecot LDA the configuration of which is shown at the bottom 
> of this page, http://www.qmailtoaster.org/notes.html 
> <http://www.qmailtoaster.org/notes.html>
> 3) Implement 'sieve' in 'protocol lda {}' of dovecot configuration file 
> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
> 4) Write sieve rules (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples>).
> 
> 5) Tell dovecot where sieve rules are located in 'plugin {}' section of 
> dovecot configuration file. 
> (https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration 
> <https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration>)
> 6) Set proper permissions on sieve rules files and directory.
> 
> 
> Dspam:
> In  /home/vpopmail/domains/domain.tld/.qmail-default
> 
> OLD line:
> | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
> 
> NEW line:
> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
> 
> Dspam w/dovecot-lda: 
> '.qmail-default' might look like this
> 
> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
> /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 
> postmaster_address=postmas...@yourdomain.tld 
> <mailto:postmaster_address=postmas...@yourdomain.tld>
> Eric
> 
> On 7/17/2017 10:26 PM, Remo Mattei wrote:
>> Hello I just installed the great qmt all working I wonder if there are some 
>> options to integrate the sieve plugin with Dovecot. I also notice that when 
>> I create a domain it does not all anything about the DSPAM. I did it 
>> manually to a user and that works.. what’s the best option to enable it for 
>> the entire domain?
>> 
>> Thanks 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
>> <mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
>> <mailto:qmailtoaster-list-h...@qmailtoaster.com>
>> 
> 
> -- 
> Eric Broch
> White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] Hello question about QMT sieve integration

2017-07-18 Thread Remo Mattei
Thanks, 
I am trying to get the round cube sieve plugin to work which want the 4190 port 
open.. the info you pass are great I need to see how to use them for the final 
steps 

Remo 


> On Jul 17, 2017, at 11:13 PM, Eric Broch  wrote:
> 
> | /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | 
> /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER -o



[qmailtoaster] Hello question about QMT sieve integration

2017-07-17 Thread Remo Mattei
Hello I just installed the great qmt all working I wonder if there are some 
options to integrate the sieve plugin with Dovecot. I also notice that when I 
create a domain it does not all anything about the DSPAM. I did it manually to 
a user and that works.. what’s the best option to enable it for the entire 
domain?

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



<    1   2   3   4   5   6