Re: [qmailtoaster] Re: SpamDyke does not filter relayed messages

2013-05-05 Thread Amir Abbasi
I just want to use blacklist_recipients,blacklist_senders,header-blacklist 
features (for example I've put my gmail account in 
/etc/spamdyke/blacklist_recipients file but the server relayed the test 
message to that), so I commented out the others, here is the configuration:



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
#dns-blacklist-entry=zen.spamhaus.org
#dns-blacklist-entry=bl.spamcop.net
#graylist-dir=/var/spamdyke/graylist
#graylist-level=none
#graylist-max-secs=2678400
#graylist-min-secs=180
#greeting-delay-secs=6
#idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
#ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
#ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
local-domains-file=/var/qmail/control/rcpthosts
log-level=info
log-target=stderr
max-recipients=50
#policy-url=http://my.policy.explanation.url/
#rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
#rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
#reject-empty-rdns
#reject-ip-in-cc-rdns
#reject-missing-sender-mx
#reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
#tls-certificate-file=/var/qmail/control/servercert.pem
#tls-level=smtp
header-blacklist-file=/etc/spamdyke/header-blacklist


- Original Message - 
From: "Eric Shubert" 

To: 
Sent: Sunday, May 05, 2013 7:43 PM
Subject: [qmailtoaster] Re: SpamDyke does not filter relayed messages



On 05/05/2013 04:00 AM, Amir Abbasi wrote:

Hi,
I've insalled and configured SpamDyke recently, but it is not working on
relayed messages. (/etc/tcprules.d/tcp.smtp is as below)
xx.xx.xx.xx:allow,RELAYCLIENT="",SENDER_NOCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1"
shall I configure anything else? (Like Spamassassin).



The tcp.smtp file typically doesn't affect spamdyke.

Are you seeing spamdyke messages in your smtpd log at all?

You might want to post your spamdyke config.

Note, updating the qmail-toaster package will effectively disable 
spamdyke. Simply rerun qtp-install-spamdyke after installing 
qmail-toaster. Your spamdyke settings will be left intact.


--
-Eric 'shubes'

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




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



[qmailtoaster] SpamDyke does not filter relayed messages

2013-05-05 Thread Amir Abbasi
Hi,

I've insalled and configured SpamDyke recently, but it is not working on 
relayed messages. (/etc/tcprules.d/tcp.smtp is as below)

xx.xx.xx.xx:allow,RELAYCLIENT="",SENDER_NOCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1"

shall I configure anything else? (Like Spamassassin).

[qmailtoaster] SpamDyke configuration issue

2013-04-29 Thread Amir Abbasi
Hi,

I just use this qmail toaster server as mail server relay from a few known 
hosts, I just need sender/recipient blacklist feature and content filtering 
(header-blacklist-entry) for now, but it still does not work. Could you please 
take a look at the following configuration and help me in troubleshooting:

#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
#dns-blacklist-entry=zen.spamhaus.org
#dns-blacklist-entry=bl.spamcop.net
#graylist-dir=/var/spamdyke/graylist
#graylist-level=none
#graylist-max-secs=2678400
#graylist-min-secs=180
#greeting-delay-secs=6
#idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
#ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
#ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
local-domains-file=/var/qmail/control/rcpthosts
log-level=info
log-target=stderr
max-recipients=50
#policy-url=http://my.policy.explanation.url/
#rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
#rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
#reject-empty-rdns
#reject-ip-in-cc-rdns
#reject-missing-sender-mx
#reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
#tls-certificate-file=/var/qmail/control/servercert.pem
#tls-level=smtp
header-blacklist-entry=Subject: Cialis

Re: [qmailtoaster] Re: How to migrate from Mdaemon to QMT

2012-10-20 Thread Amir Abbasi

Maildir - both of IMAP and POP3.
- Original Message - 
From: "Eric Shubert" 

To: 
Sent: Wednesday, October 17, 2012 11:00 PM
Subject: [qmailtoaster] Re: How to migrate from Mdaemon to QMT



On 10/17/2012 11:29 AM, Am Am wrote:

Hi,

Could you please let me know what is the most reliable solution to
migrate Mailboxes (or even E-mail address) from Mdaemon to QMT?

Thanks



What format does Mdaemon use to store mail?
Are the accounts using IMAP or POP3?

--
-Eric 'shubes'

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



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



[qmailtoaster] re-installing vpopmail without Mysql integration

2012-07-29 Thread Amir Abbasi
Hello,

Is there anyway to remove Vpopmail (with Mysql) and install another one without 
Mysql integeration? 

Thanks

[qmailtoaster] Re: [?? Probable Spam] Re: [qmailtoaster] Outlook (Express or MS) stuck on authorizing

2012-05-03 Thread Amir Abbasi
Hi,

Average response time of our DNS is: 0.2466. 
  - Original Message - 
  From: Maxwell Smart 
  To: qmailtoaster-list@qmailtoaster.com 
  Sent: Tuesday, May 01, 2012 12:00 PM
  Subject: [?? Probable Spam] Re: [qmailtoaster] Outlook (Express or MS) stuck 
on authorizing


  Have you checked your DNS response time?

  On 05/01/2012 12:40 AM, Amir Abbasi wrote: 
Hi,

Sometimes I face this issue and if I stop send/receive and start again it 
will be OK. I found nothing in logs, also I don't think it is a network issue.

Thanks


  -- 
<>

[qmailtoaster] Outlook (Express or MS) stuck on authorizing

2012-05-01 Thread Amir Abbasi
Hi,

Sometimes I face this issue and if I stop send/receive and start again it will 
be OK. I found nothing in logs, also I don't think it is a network issue.

Thanks

[qmailtoaster] Brute Force Protection on Qmail

2012-04-24 Thread Amir Abbasi
Has anyone worked with Brute Force Protection tools like BFD? I need some 
information/tutorials about configuration of them?

Re: [qmailtoaster] Problem with qmHandle

2012-04-24 Thread Amir Abbasi
I installed an older version which is not using SVC to stop Qmail. That's OK 
now.
  - Original Message - 
  From: dhaval thakar 
  To: qmailtoaster-list@qmailtoaster.com 
  Sent: Tuesday, April 24, 2012 10:13 AM
  Subject: Re: [qmailtoaster] Problem with qmHandle


  /use/local/bin/svc is default path for qmailrocks installation, 
  I am not sure about qmailtoaster
  Try running which / locate svc to find exact path on your server
  Then create link 

  On 2012 4 24 09:49, "Amir Abbasi"  wrote:

Hi,

I've installed qmHandle recently, it is working properly but I get 
follwoing error message when I use "-D" to delete messages;

qmhandle-1.3.2]# ./qmHandle -D
Calling system script to terminate qmail...
Can't exec "/usr/local/bin/svc": No such file or directory at ./qmHandle 
line
192 (#1)
(W exec) A system(), exec(), or piped open call could not execute the
named program for the indicated reason.  Typical reasons include: the
permissions were wrong on the file, the file wasn't found in
$ENV{PATH}, the executable in question was compiled for another
architecture, or the #! line in a script points to an interpreter that
can't be run for similar reasons.  (Or maybe your system doesn't support
#! at all.)
  


It is on CentOS 6.2.

[qmailtoaster] Problem with qmHandle

2012-04-23 Thread Amir Abbasi
Hi,

I've installed qmHandle recently, it is working properly but I get follwoing 
error message when I use "-D" to delete messages;

qmhandle-1.3.2]# ./qmHandle -D
Calling system script to terminate qmail...
Can't exec "/usr/local/bin/svc": No such file or directory at ./qmHandle line
192 (#1)
(W exec) A system(), exec(), or piped open call could not execute the
named program for the indicated reason.  Typical reasons include: the
permissions were wrong on the file, the file wasn't found in
$ENV{PATH}, the executable in question was compiled for another
architecture, or the #! line in a script points to an interpreter that
can't be run for similar reasons.  (Or maybe your system doesn't support
#! at all.)
  


It is on CentOS 6.2.

[qmailtoaster] Problem with CATCH-ALL

2012-04-04 Thread Amir Abbasi
Hi,

This question is related to a customized Qmail (not Toaster) with a GUI panel 
but concepts are similar. When I want to disable catch-all (it is pointing to 
an e-mail address now), all e-mail will stuck in queue and what I see in 
maillog is as below:

 delivery 11163: deferral: 
Unable_to_switch_to_/usr/local/qmail/shared/mailnames/b/cb/642/CATCH-ALL/:_file_does_not_exist._(#4.3.0)/


I found that the catch-all user tried to move messages to CATCH-ALL directory 
(it's homedir), but it does not exist as I disabled catch-all in GUI panel. 
Previously, CATCH-ALL folder includes a .qmail file with the catch-all address:

&u...@domain.com

How can I force that to delete message? Can I enter a single "&" or "#"? What 
about "| /dev/null" pattern?

Thanks in advance.




[qmailtoaster] Qmail CLI cpmmands list and guid

2012-02-26 Thread Amir Abbasi

Hi,

Could some one please let me know if there is any list or tutorial for CLI 
Qmail commands?


Thanks 



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

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




[qmailtoaster] Re: How can I configure qmailtoaster to prevent outbound spamming/ set up throttling/filter inbound spam messages with keywords in subject, body, so on

2012-01-10 Thread Amir Abbasi
Yes, I meant a limitation on maximum e-mails each domain (or user) can send 
out per hour/day.


- Original Message - 
From: "Eric Shubert" 

To: 
Sent: Wednesday, January 11, 2012 3:08 AM
Subject: [qmailtoaster] Re: [?? Probable Spam] Re: [qmailtoaster] Re: 
[qmailtoaster] Re: How can I configure qmailtoaster to prevent outbound 
spamming/ set up throttling/filter inbound spam messages with keywords in 
subject, body, so on




On 01/10/2012 05:23 AM, Amir Abbasi wrote:

Thanks, is there any "throttling" feature for qmail-toaster?


While the other replies are interesting, I thought the question perhaps 
pertained to throttling *outbound* sessions. This can be an effective 
measure to keep your QMT off of blacklists. You can control the maximum 
number of remote sessions with the value in the
/var/qmail/concurrencyremote file, but that's about it, unfortunately. I'd 
set this value to something no higher than it really needs to be (10 or 
less in a relatively small installation).


It'd be nice to be able to throttle this by user, but there's not a way to 
do this that I'm aware of (short of writing some C code to implement the 
feature). This feature would go a long way in keeping QMT from sending out 
spam. Would someone like to look into this further?


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and 
packages.

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






-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

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




[qmailtoaster] Re: [?? Probable Spam] Re: [qmailtoaster] Re: [qmailtoaster] Re: How can I configure qmailtoaster to prevent outbound spamming/ set up throttling/filter inbound spam messages with keyw

2012-01-10 Thread Amir Abbasi

Thanks, is there any "throttling" feature for qmail-toaster?
- Original Message - 
From: "Peter Peltonen" 

To: 
Sent: Tuesday, January 10, 2012 3:08 PM
Subject: [?? Probable Spam] Re: [qmailtoaster] Re: [qmailtoaster] Re: How 
can I configure qmailtoaster to prevent outbound spamming/ set up 
throttling/filter inbound spam messages with keywords in subject, body, so 
on




On Tue, Jan 10, 2012 at 7:45 AM, Amir Abbasi  wrote:

Thanks. Could someone please let me know what I
have to do to prevent blacklisting the IP address of the server? Such as
domain keys, SPF record, so on.


I have found SPF and domain keys to be more trouble than they are
worth. Others might disagree, though?

These basic measures have worked for me at least for preventing
getting black listed:

* check that your server is not an open relay
* check your logs! if you see any anomalies in number of messages
delivered, its time to investigate whats going on
* monitor that your customers do not send spam via your server
(require authentication, do not just allow relaying for some IPs)
* do not run any web apps on your mail server that could be compromised
* if possible, do not relay email from your web servers, use your ISPs
smtp service for that
* if you do relay smtp traffic from other servers (like web servers),
be very careful with the security of those web apps
* if you relay emails from web servers, it is a good practice to set
sendmail_path for every virtual host to force a unique sender for all
emails sent via Apache, so you can match from your logs which email
was sent from which virtual host / website --> when hosting a lot of
web apps, this is quite important so you can quickly find possible
compromised servers / web apps so you can shut those down

Please contribute, if you have any other ideas / good practices?

Best,
Peter

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and 
packages.


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






-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

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




[qmailtoaster] Re: [?? Probable Spam] [qmailtoaster] Re: How can I configure qmailtoaster to prevent outbound spamming/ set up throttling/filter inbound spam messages with keywords in subject, body,

2012-01-09 Thread Amir Abbasi

Thanks. Could someone please let me know what I
have to do to prevent blacklisting the IP address of the server? Such as
domain keys, SPF record, so on.

- Original Message - 
From: "Eric Shubert" 

To: 
Sent: Monday, January 09, 2012 7:28 PM
Subject: [?? Probable Spam] [qmailtoaster] Re: How can I configure 
qmailtoaster to prevent outbound spamming/ set up throttling/filter inbound 
spam messages with keywords in subject, body, so on




On 01/09/2012 01:41 AM, Amir Abbasi wrote:

Thanks in advance for any assistanc.


Authenticated users are trusted to not send spam, so preventing outbound 
spam from QMT is limited to being sure that it's not configured to be an 
open relay (the default configuration), and protecting login credentials. 
The later can be difficult depending on users, but you should be ensure 
that no clients are configured to send passwords in clear text (TLS/SSL is 
recommended for all connections). This can be inforced with dovecot 
(recommended over the stock courier), but there is no enforcement 
mechanism for outbound connections.


Your best defense against inbound spam is to use spamdyke. After that, 
some tuning of spamassassin (adjusting scoring, etc) might be helpful. 
Keyword filtering is typically not an effective way to fight spam.


HTH.

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and 
packages.

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






-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

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




[qmailtoaster] How can I configure qmailtoaster to prevent outbound spamming/ set up throttling/filter inbound spam messages with keywords in subject, body, so on

2012-01-09 Thread Amir Abbasi
Thanks in advance for any assistanc.

[qmailtoaster] Problem with Clamav-toaster on Centos6

2011-12-26 Thread Amir Abbasi
but I face a problem with ClamAV-Toaster on CentOS6. Here is the error message:

rpmbuild --rebuild --with cnt5064 clamav-toaster-*.src.rpm
Installing clamav-toaster-0.97.3-1.3.44.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nI9zZQ
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clamav-0.97.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.97.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.97.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):'
Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.9x-qmailtoaster.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 7 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep)



Have you ever faced this error message? 
Thank you for your assistance.