[qmailtoaster] How to configure spamdyke for a Mail Relay server

2013-04-17 Thread Am Am
Hi,

I just use a qmail toaster server as a mail relay server from particular web 
servers, only important thing for me is ability to filter "from" addresses and 
content (body, subject) and greylisting/rdns check or other options will not be 
used. What minimal configuration is recommended?

Thanks


Re: [qmailtoaster] Re: how to block a user in relayclients

2013-03-30 Thread Am Am
Is there any way to do that by Spamassassin?




 From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Saturday, 30 March 2013, 21:06:07
Subject: [qmailtoaster] Re: how to block a user in relayclients
 

On 03/30/2013 01:59 AM, Am Am wrote:

> I have configured an open relay with a line like below in

> /etc/tcprules.d/tcp.smtp:

>

> 88.88.88.88:allow,RELAYCLIENT="",SENDER_NOCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1"

>

>

> I've re-compiled simscan for spamassassin check on relayed messages, is

> there any way to block a particular e-mail address to relay messages

> (not only domain name, an e-mail address like u...@domain.com should be

> blocked which is hosted on 88.88.88.88)?


I believe spamdyke can do this if you blacklist the sender address. Note 

that this would be a global block, not specific to an IP address.


-- 

-Eric 'shubes'


-

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

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

[qmailtoaster] how to block a user in relayclients

2013-03-30 Thread Am Am
I have configured an open relay with a line like below in 
/etc/tcprules.d/tcp.smtp:

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


I've re-compiled simscan for spamassassin check on relayed messages, is there 
any way to block a particular e-mail address to relay messages (not only domain 
name, an e-mail address like u...@domain.com should be blocked which is hosted 
on 88.88.88.88)?

Re: [qmailtoaster] Re: How to use qmail toaster as a Mail Filter Layer

2013-03-11 Thread Am Am
Thanks Eric, it uses Xinetd. FYI, it is a very old version of parallels 
automation qmail which has been customized, also it is distributed. It is very 
risky if I install a third-party application and this is why I decided to have 
a mail filter layer. 




 From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Sunday, 10 March 2013, 22:23:42
Subject: [qmailtoaster] Re: How to use qmail toaster as a Mail Filter Layer
 

On 03/10/2013 07:30 AM, Eric Broch wrote:

> On 3/10/2013 1:46 AM, Am Am wrote:

>> Hi,

>> 

>> We are using an old customized qmail but receiving too many spam

>> messages recently, I hope to find a way to use a Mail Filter Layer

>> with qmailtoaster with spamdyke and other spam filtering services.

>> 

>> Thnaks

> Point all incoming mail from your firewall to the new qmail filter layer

> server and add the proper setting in it's /var/qmail/control/smtproutes

> file. Something like:

> 

> mydomain.com:X.X.X.X where X.X.X.X is the ip of your customized qmail server

> 

> Make sure your rcpthosts file doesn't have mydomain.com in it.


Correct me if I'm wrong, but I think you *do* want mydomain.com in the 
rcpthosts file for both servers. If you didn't have mydomain.com in your 
filtering server, the only way it could receive email is from authenticated 
connections. No?


> http://wiki.qmailtoaster.com/index.php/Smtproutes

> 

> 


Am, while a separate filtering host is possible, I wouldn't go that route. A 
somewhat unusual aspect of spamdyke is that it will actually *reduce* the load 
on your qmail host, so adding more processing capacity would be a waste. 
Spamdyke integrates rather seamlessly with qmail, and should easily work with 
any ol' version/configuration of qmail.


You could even give the qtp-install-spamdyke script a try. (Note, many other 
tools in the qmailtoaster-plus package will work with non-QMT hosts as well). 
The only thing you'll likely need to adjust a bit is the run file for 
qmail-smtpd, presuming your qmail configuration uses supervise and ucspi-tcp 
which most do. Even if you use xinetd though, spamdyke can be used directly on 
your qmail host.


If you have a run file, you can post it here and we'll help you get it fitted 
for spamdyke.


-- -Eric 'shubes'


-

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

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

[qmailtoaster] How to use qmail toaster as a Mail Filter Layer

2013-03-10 Thread Am Am
Hi,

We are using an old customized qmail but receiving too many spam messages 
recently, I hope to find a way to use a Mail Filter Layer with qmailtoaster 
with spamdyke and other spam filtering services. 


Thnaks  

Re: [qmailtoaster] Re: How to enable spamassassin scan on RELAYCLIENT

2013-01-15 Thread Am Am
What other feature or application is recommended for content filtering on 
relayed messages, does apamdyke works on them?




 From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Monday, 14 January 2013, 21:37:39
Subject: [qmailtoaster] Re: How to enable spamassassin scan on RELAYCLIENT
 

On 01/14/2013 12:29 AM, Am Am wrote:

> Hi,

> 

> I just want to use a qmt server to relay messages from a web-server with

> the following config in /etc/tcprules.d/tcp.smtp

> 

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

> 

> When I check header of a relayed message, clamd scanned it but there is

> spamassassin flag. Is there any way to enable spamassassin scan on

> RELAYCLIENT?


I think you'll need to do a custom build.


Having a look at the simscan source code 
(http://www.inter7.com/simscan/simscan.c), it looks as though if you build with 
ENABLE_SPAM_AUTH_USER set, it will scan authenticated/relay connections for 
spam.


-- -Eric 'shubes'


-

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

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

[qmailtoaster] How to enable spamassassin scan on RELAYCLIENT

2013-01-13 Thread Am Am
Hi,

I just want to use a qmt server to relay messages from a web-server with the 
following config in /etc/tcprules.d/tcp.smtp

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

When I check header of a relayedmessage, clamd scanned it but there is 
spamassassin flag. Is there any way to enable spamassassin scan on RELAYCLIENT?


Re: [qmailtoaster] Re: How to force enabling "My server requires authentication"

2012-11-16 Thread Am Am
There is no tcpserver command, here is the content of the file 
"/etc/xinetd.d/qmail". Where can I find value of RELAYCLIENT? 


service smtp
{
    disable = no
    socket_type = stream
    protocol = tcp
    wait = no
    user = qmaild
    group = qmail
    server = /usr/local/qmail/bin/tcp-env
    server_args = /usr/local/qmail/bin/qmail-smtpd 
/usr/local/qmail/bin/cmd5checkpw
    cps = 0 0
}

service submission
{
    disable = no
    socket_type = stream
    protocol = tcp
    wait = no
    user = qmaild
    group = qmail
    server = /usr/local/qmail/bin/tcp-env
    server_args = /usr/local/qmail/bin/qmail-smtpd -s 
/usr/local/qmail/bin/cmd5checkpw
    cps = 0 0
}



 From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Thursday, 15 November 2012, 18:22:14
Subject: [qmailtoaster] Re: How to force enabling "My server requires 
authentication"
 

How are smtp connections managed? If ucspi-tcp is installed then there 

has to be a tcp.smtp file somewhere which would control this. Is your 

host using daemontools? If so, find the "run" file for smtp. In there, 

you'll see the tcpserver command, with an -x option. This option points 

to the cdb equivalent of your tcp.smtp file.


It's possible that xinetd is controlling smtp connections. If so, check 

that configuration instead of the tcp.smtp file.


BL, you're looking for something which sets the RELAYCLIENT environment 

variable, which when set (to any value) allows the client to send with 

no authentication required.


HTH.


-- 

-Eric 'shubes'


On 11/15/2012 03:49 AM, Am Am wrote:

> Hi,

>

> I already asked the admin to check that but he said there is no

> /etc/tcprules.d/tcp.smtp file. What are other methods?

>

> 

> *From:* Eric Shubert 

> *To:* qmailtoaster-list@qmailtoaster.com

> *Sent:* Thursday, 15 November 2012, 6:24:54

> *Subject:* [qmailtoaster] Re: How to force enabling "My server requires

> authentication"

>

> On 11/14/2012 01:55 PM, Am Am wrote:

>  > Hi,

>  >

>  > I have a user which can send out e-mail from outlook with wrong password

>  > when  "My server requires authentication"  is not checked, that is a

>  > customized qmail not 'Toaster' but it could be similar on most settings,

>  > as I checked the server is not openrelay (checked by

>  > http://www.mailradar.com/openrelay/). Does someone have any idea?

>  >

>  > Thanks

>

> Is the user's IP address in /etc/tcprules.d/tcp.smtp file? That's the

> most common way.

>

> --

> -Eric 'shubes'

>

> -

> 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>

>

>

>




-

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

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

Re: [qmailtoaster] Re: How to force enabling "My server requires authentication"

2012-11-15 Thread Am Am
Hi,

I already asked the admin to check that but he said there is no 
/etc/tcprules.d/tcp.smtp file. What are other methods?




 From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Thursday, 15 November 2012, 6:24:54
Subject: [qmailtoaster] Re: How to force enabling "My server requires 
authentication"
 

On 11/14/2012 01:55 PM, Am Am wrote:

> Hi,

>

> I have a user which can send out e-mail from outlook with wrong password

> when  "My server requires authentication"  is not checked, that is a

> customized qmail not 'Toaster' but it could be similar on most settings,

> as I checked the server is not openrelay (checked by

> http://www.mailradar.com/openrelay/). Does someone have any idea?

>

> Thanks


Is the user's IP address in /etc/tcprules.d/tcp.smtp file? That's the 

most common way.


-- 

-Eric 'shubes'


-

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

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

[qmailtoaster] How to force enabling "My server requires authentication"

2012-11-14 Thread Am Am
Hi,

I have a user which can send out e-mail from outlook with wrong password when  
"My server requires authentication"  is not checked, that is a customized qmail 
not 'Toaster' but it could be similar on most settings, as I checked the server 
is not openrelay (checked by http://www.mailradar.com/openrelay/). Does someone 
have any idea?

Thanks


[qmailtoaster] How to migrate from Mdaemon to QMT

2012-10-17 Thread Am Am
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

Re: [qmailtoaster] Re: re-installing vpopmail without Mysql integration

2012-07-29 Thread Am Am
That is the recommendation of HC:

http://portal.hostingcontroller.com/KB/a166/recommended-qmail-installation-for-hc.aspx




 From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Sunday, 29 July 2012, 18:24:55
Subject: [qmailtoaster] Re: re-installing vpopmail without Mysql integration
 

On 07/29/2012 02:29 AM, Amir Abbasi wrote:

> Hello,

> Is there anyway to remove Vpopmail (with Mysql) and install another one

> without Mysql integeration?

> Thanks


TTBOMK, you'll need vpopmail with an authentication/backend module of some 
sort. See http://www.inter7.com/index.php?page=vpopmail for possible 
authentication modules.


What is your problem with Mysql?

Which alternative do you have in mind?


FWIW, once vpopmail 5.5 is stable with ldap, I'm hoping to develop an option 
with QMT to be able to use ldap in place of mysql. We'll be lucky to see this 
by sometime next year though (don't hold your breath).


-- -Eric 'shubes'





-

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

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

[qmailtoaster] Can't send e-mail to gmail.com addresses

2012-07-23 Thread Am Am
Also there is no bounce back message, is there anyway to trace the issue?


[qmailtoaster] How to remove/uninstall qmail toaster completely

2012-07-20 Thread Am Am
Hi,

Is there any tool to remove/uninstall qmail-toaster from centos5?


[qmailtoaster] error in installation qmail-toaster on Centos6

2012-07-18 Thread Am Am
Hi,

error: Failed build dependencies:
    vpopmail-toaster >= 5.4.17 is needed by qmail-toaster-1.03-1.3.22.i686
   1:qmail-toaster  warning: user shubes does not exist - using root

+

error: File not found by glob: /usr/src/redhat/RPMS/i686/qmail-pop3d*.rpm

also Qmail-newmodel is not supported.

Re: [qmailtoaster] allow a specific host to relay e-mails

2012-06-25 Thread Am Am
Thanks, the qmail-toaster will not generate any e-mail, it will just relay 
messages, what type of  spam protection do you recommend? We can assume it just 
receive spam messages and will be great if find a way to block most of them (on 
subject,body,spam score, so on). 




 From: Jens Galsgaard 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Sunday, 3 June 2012, 23:08:21
Subject: Re: [qmailtoaster] allow a specific host to relay e-mails
 

Add the IP in /etc/tcprules.d/tcp.smtp

Add line like:
1.1.1.1:allow,RELAYCLIENT="",SENDER_NOCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1"

Where 1.1.1.1 is the IP you want to relay for.

Then apply by running:
qmailctl cdb

//Jens

________

Fra: "Am Am" 
Til: qmailtoaster-list@qmailtoaster.com
Sendt: søndag, 3. juni 2012 19:53:37
Emne: [qmailtoaster] allow a specific host to relay e-mails


How to configure QMT to relay e-mails from specific host?

Thanks

Re: [qmailtoaster] Re: Problem with 'qtp-dependencies' on CentOS 5

2012-06-14 Thread Am Am
Hi,
Could you please provide me with steps to do that? 




 From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com 
Sent: Thursday, 14 June 2012, 3:20:14
Subject: [qmailtoaster] Re: Problem with 'qtp-dependencies' on CentOS 5
 

The rpmforge repo is now repoforge. The qtp-install-rpmforge script has been 
modified for this, but a new QTP package hasn't been released since. I hope to 
do that soon.


In the meantime, you can replace the 
/opt/qmailtoaster-plus/bin/qtp-install-rpmforge file with the one in the the 
subversion repo, available at the qtp site.


-- -Eric 'shubes'


On 06/13/2012 02:18 PM, Am Am wrote:

> 

> #qtp-dependencies

> qtp-dependencies v0.3.1

> qtp-install-rpmforge v0.3.2 - getting latest version of rpmforge-release ...

> qtp-install-rpmforge - rpmforge-release not installed, installing ...

> Retrieving

> http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release--.el5.rf.i386.rpm

> error: skipping

> http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release--.el5.rf.i386.rpm

> - transfer failed - Unknown or unexpected error

> warning: u 0x917a578 ctrl 0x917b408 nrefs != 0 (apt.sw.be http)

> qtp-install-rpmforge - install/upgrade failed, rc=1. Exiting.

> 

> qtp-dependencies - installing perl(Crypt::OpenSSL::Bignum)

> perl(Encode::Detect) perl(IP::Country::Fast) perl(Mail::DKIM)

> perl(Mail::DomainKeys) perl(Mail::SPF) perl(Net::Ident)

> perl(Razor2::Client::Agent) ...

> Loaded plugins: downloadonly, fastestmirror, security

> Loading mirror speeds from cached hostfile

> * base: less.cogeco.net

> * extras: less.cogeco.net

> * updates: less.cogeco.net

> Setting up Install Process

> No package perl(Crypt::OpenSSL::Bignum) available.

> No package perl(Encode::Detect) available.

> No package perl(IP::Country::Fast) available.

> No package perl(Mail::DKIM) available.

> No package perl(Mail::DomainKeys) available.

> No package perl(Mail::SPF) available.

> No package perl(Net::Ident) available.

> No package perl(Razor2::Client::Agent) available.

> Nothing to do

> 

> qtp-dependencies - installing compat-libf2c compat-libgcc

> compat-libsdc++-33 ...

> Loaded plugins: downloadonly, fastestmirror, security

> Loading mirror speeds from cached hostfile

> * base: less.cogeco.net

> * extras: less.cogeco.net

> * updates: less.cogeco.net

> Setting up Install Process

> No package compat-libf2c available.

> No package compat-libgcc available.

> No package compat-libsdc++-33 available.

> Nothing to do

> 

> qtp-dependencies - updating toaster (mostly spamassassin) dependencies ...

> Loaded plugins: downloadonly, fastestmirror, security

> Loading mirror speeds from cached hostfile

> * base: less.cogeco.net

> * extras: less.cogeco.net

> * updates: less.cogeco.net

> Skipping security plugin, no data

> Setting up Update Process

> Error: No Package Matching perl(Archive::Tar)




-

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

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

[qmailtoaster] Problem with 'qtp-dependencies' on CentOS 5

2012-06-13 Thread Am Am


#qtp-dependencies
qtp-dependencies v0.3.1

qtp-install-rpmforge v0.3.2 - getting latest version of rpmforge-release ...
qtp-install-rpmforge - rpmforge-release not installed, installing ...
Retrieving 
http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release--.el5.rf.i386.rpm
error: skipping 
http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release--.el5.rf.i386.rpm
 - transfer failed - Unknown or unexpected error
warning: u 0x917a578 ctrl 0x917b408 nrefs != 0 (apt.sw.be http)
qtp-install-rpmforge - install/upgrade failed, rc=1. Exiting.

qtp-dependencies - installing  perl(Crypt::OpenSSL::Bignum) 
perl(Encode::Detect) perl(IP::Country::Fast) perl(Mail::DKIM) 
perl(Mail::DomainKeys) perl(Mail::SPF) perl(Net::Ident) 
perl(Razor2::Client::Agent) ...
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: less.cogeco.net
 * extras: less.cogeco.net
 * updates: less.cogeco.net
Setting up Install Process
No package perl(Crypt::OpenSSL::Bignum) available.
No package perl(Encode::Detect) available.
No package perl(IP::Country::Fast) available.
No package perl(Mail::DKIM) available.
No package perl(Mail::DomainKeys) available.
No package perl(Mail::SPF) available.
No package perl(Net::Ident) available.
No package perl(Razor2::Client::Agent) available.
Nothing to do

qtp-dependencies - installing  compat-libf2c compat-libgcc compat-libsdc++-33 
...
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: less.cogeco.net
 * extras: less.cogeco.net
 * updates: less.cogeco.net
Setting up Install Process
No package compat-libf2c available.
No package compat-libgcc available.
No package compat-libsdc++-33 available.
Nothing to do

qtp-dependencies - updating toaster (mostly spamassassin) dependencies ...
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: less.cogeco.net
 * extras: less.cogeco.net
 * updates: less.cogeco.net
Skipping security plugin, no data
Setting up Update Process
Error: No Package Matching perl(Archive::Tar)

[qmailtoaster] allow a specific host to relay e-mails

2012-06-03 Thread Am Am
How to configure QMT to relay e-mails from specific host?

Thanks