Re: [qmailtoaster] How can I remove spamhaus.org as RBL in addition to /var/qmail/control ?

2010-10-05 Thread Eli Edwin Casimero
How to remove it from spamdyke?



On Wed, Oct 6, 2010 at 2:41 PM, Jake Vickers  wrote:

>  On 10/06/2010 02:34 AM, Edwin Casimero wrote:
>
>> Is spamhaus hard coded into qmailtoaster? Cannot remove spamhaus.org as
>> RBL.
>>
>> How can I remove spamhaus.org as RBL?
>>
>> At first it was indicated in /var/qmail/control/blacklists
>>
>> I receive the standard rejection:
>>
>> User and password not set, continuing without authentication.
>> 64.120.146.173 does not like recipient.
>> Remote host said: 554 Refused. Your IP address is listed in the RBL at
>> zen.spamhaus.org
>> Giving up on 64.120.146.173.
>>
>>
>> I removed spamhause from /var/qmail/control/blacklists
>>
>> Then restarted qmailtoaster.
>>
>> I try emailing again and this time I get:
>>
>> User and password not set, continuing without authentication.
>> 64.120.146.173 does not like recipient.
>> Remote host said: 554
>> http://www.spamhaus.org/SBL/sbl.lasso?query=SBL96369
>> Giving up on 64.120.146.173.
>>
>> It's as if spamhaus.org is hard wired into toaster.
>>
>> Where else can I remove spamhaus as rbl ?
>>
>
> It is not hardcoded in. It is defined in the /var/qmail/control/blacklists
> file. If you're using Spamdyke, you may need to remove it from there as
> well.
> If you remove it from the blacklists file, stop qmail (qmailctl stop) and
> then check to ensure the SMTP processes complete and exit nicely (qmailctl
> stat). Once everything is down, start the service again (qmailctl start).
>
>
>
> -
> 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
>
>
>


Re: [qmailtoaster] How can I remove spamhaus.org as RBL in addition to /var/qmail/control ?

2010-10-05 Thread Jake Vickers

 On 10/06/2010 02:34 AM, Edwin Casimero wrote:
Is spamhaus hard coded into qmailtoaster? Cannot remove spamhaus.org 
as RBL.


How can I remove spamhaus.org as RBL?

At first it was indicated in /var/qmail/control/blacklists

I receive the standard rejection:

User and password not set, continuing without authentication.
64.120.146.173 does not like recipient.
Remote host said: 554 Refused. Your IP address is listed in the RBL at 
zen.spamhaus.org

Giving up on 64.120.146.173.


I removed spamhause from /var/qmail/control/blacklists

Then restarted qmailtoaster.

I try emailing again and this time I get:

User and password not set, continuing without authentication.
64.120.146.173 does not like recipient.
Remote host said: 554 
http://www.spamhaus.org/SBL/sbl.lasso?query=SBL96369

Giving up on 64.120.146.173.

It's as if spamhaus.org is hard wired into toaster.

Where else can I remove spamhaus as rbl ?


It is not hardcoded in. It is defined in the 
/var/qmail/control/blacklists file. If you're using Spamdyke, you may 
need to remove it from there as well.
If you remove it from the blacklists file, stop qmail (qmailctl stop) 
and then check to ensure the SMTP processes complete and exit nicely 
(qmailctl stat). Once everything is down, start the service again 
(qmailctl start).



-
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




Re: [qmailtoaster] Re: Qmail to SMS

2010-10-05 Thread Jake Vickers

 On 10/05/2010 11:46 AM, Eric Shubert wrote:

Rob wrote:



I want to generate sms for email received for certain users. Had
anyone tried the same. Basically want to generate SMS with following
details:
1) From Id
2) Subject


Install procmail and formail (if they are not there already) and 
filter incoming messages to inject a new message to the users 
phonenum...@sms-messaging-address (available from their carrier) that 
just has the Subject line. An example .procmailrc in the user's 
directory would be:


# .procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/usr/bin:/usr/local/bin
MAILDIR=/path-to/vpopmail/domains/DOMAIN/USER/Maildir
DEFAULT=/path-to/vpopmail/domains/DOMAIN/USER/Maildir/new
LOGFILE=/path-to/vpopmail/domains/DOMAIN/USER/procmail.log
SHELL=/bin/sh
VERBOSE=yes
SUBJ=`/usr/bin/formail -c -xSubject:`

:0
* $ ^to_u...@domain
{
 :0
  | /usr/bin/formail -X "" \
  -A"X-Loop: u...@domain" \
  -I"Subject: ${SUBJ}" \
  -i"Content-Type:" \
  -i"Content-Length:" \
  -I"From: User's Name " \
  -I"To: phonenum...@sms-messaging-address \
  -I"Return-Receipt-To:" \
  | /path-to/qmail-inject
}

Procmail will take some tweaking for your environment and testing but 
I thought I would send this since I have done essentially the same 
thing ... good luck.


PS> I just realized I did not add the From: line but you can parse 
that using formail just as I did with the Subject line and add that 
to the outgoing message somewhere.




Ok, I'll ask the apparently obvious and probably ignorant question.
Why wouldn't you want to simply forward the entire message? SMS length 
limit perhaps? If that's the case, would SMS truncate or reject the 
message?




I believe most SMS messages are limited to 160 characters.
Before I had my Blackberry, I used to send alerts to myself somewhat 
like this. I sent them to my number and the carrier address, as has been 
detailed before (ie:4075551...@verizon.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 remove spamhaus.org as RBL in addition to /var/qmail/control ?

2010-10-05 Thread Edwin Casimero

Is spamhaus hard coded into qmailtoaster? Cannot remove spamhaus.org as RBL.

How can I remove spamhaus.org as RBL?

At first it was indicated in /var/qmail/control/blacklists

I receive the standard rejection:

User and password not set, continuing without authentication.
64.120.146.173 does not like recipient.
Remote host said: 554 Refused. Your IP address is listed in the RBL at 
zen.spamhaus.org

Giving up on 64.120.146.173.


I removed spamhause from /var/qmail/control/blacklists

Then restarted qmailtoaster.

I try emailing again and this time I get:

User and password not set, continuing without authentication.
64.120.146.173 does not like recipient.
Remote host said: 554 http://www.spamhaus.org/SBL/sbl.lasso?query=SBL96369
Giving up on 64.120.146.173.

It's as if spamhaus.org is hard wired into toaster.

Where else can I remove spamhaus as rbl ?

Thanks in advance,
Edwin


-
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




Re: [qmailtoaster] Sender's address not getting a copy of aliased mail

2010-10-05 Thread Jake Vickers

 On 10/04/2010 03:03 PM, Rob wrote:


I understand that this (the sender not getting a copy when sent to an 
alias if they are on that alias) is the intended behavior but is there 
a way to override it to that the sender receives a copy of the message 
that they sent as well?


Are you specifying the full email in the alias, or the short name?
I cannot think of a way off the top of my head to accomplish this, but 
maybe someone else on the list has tried this.


-
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




Re: [qmailtoaster] admin-toaster

2010-10-05 Thread Jake Vickers

 On 10/03/2010 10:19 AM, "Peter Büttner" wrote:

Hello,

i moved to a new server (opensuse 11.1). Backup and restore scripts worked
fine.
But now the admin-toaster has an issue. At "Quick Go:" there are instead
of the clickbuttons only the value's:

\"qmailadmin-1.2.12\"
\"vqadmin-2.3.4\"
\"qmailmrtg7-4.2\"
\"isoqlog-2.1\"

The modules for their own don't work too. Only qmailadmin works fine.

Looking in admin.inc.php shows that the script tries to get credentials
for a qmail database out of sql.sh . ?? In my include folder is no file
sql.sh. I also don't have a qmail database. If the missing sql.sh causes
the issue can you give me some advice of the format?


That is legacy code that is no longer used. The modules are loaded 
dynamically. It looks in the dir for the .module files (ie: 
vqadmin.module, isoqlog.module, etc.). If the modules are there it 
displays the buttons.
Sounds like Suse 11.1 handles the PHP different, or something is 
configured different in 11.1.




-
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




Re: [qmailtoaster] Re: Qmail to SMS

2010-10-05 Thread Amit Dalia
I tried to use wget but instead of sending url with values it is just
downloading pages. I think wget is use for downloading files from
remote server.

At Wednesday, 06-10-2010 on 6:34 Rob wrote:

> I got a SMS API as mentioned below:
>
>
http://59.162.167.36:8085/api/MessageCompose?user=smsserverusername:smsserverpassword&senderID=smsserversenderid&receipientno=mobilenumber&msgtxt=msgtosend&reseller=mysmsprovider&state=2
>
> Whenever I call this URL with respective details it send the sms.
> Now here smsserverusername, smsserverpassword, smsserversenderid &
> mysmsprovider details will remain same for all users. Only details
> going to change is mobilenumber and msgtosend variable. Even we can
> say mobile number will be same for respective user.
>
> Now is there any way to get from id and subject from mail and pass
> those details into above URL while mail is getting delivered to
> Maildir.

Grab the appropriate variables via formail (ala procmail) and execute
a 
shell script (probably against a lookup table/file with
user-to-number 
values) with a wget/curl in it to that URL.

This seems to get more complex as the thread goes on...

-- 
Rob Ayer

-
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




Re: [qmailtoaster] Re: Qmail to SMS

2010-10-05 Thread Rob



I got a SMS API as mentioned below:

http://59.162.167.36:8085/api/MessageCompose?user=smsserverusername:smsserverpassword&senderID=smsserversenderid&receipientno=mobilenumber&msgtxt=msgtosend&reseller=mysmsprovider&state=2

Whenever I call this URL with respective details it send the sms.
Now here smsserverusername, smsserverpassword, smsserversenderid &
mysmsprovider details will remain same for all users. Only details
going to change is mobilenumber and msgtosend variable. Even we can
say mobile number will be same for respective user.

Now is there any way to get from id and subject from mail and pass
those details into above URL while mail is getting delivered to
Maildir.


Grab the appropriate variables via formail (ala procmail) and execute a  
shell script (probably against a lookup table/file with user-to-number  
values) with a wget/curl in it to that URL.


This seems to get more complex as the thread goes on...

--
Rob Ayer

-
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




Re: [qmailtoaster] Re: qtp-dependencies

2010-10-05 Thread David Milholen

 On 10/5/2010 10:11 AM, Eric Shubert wrote:

Eric Shubert wrote:

Mike Tirpak wrote:
I'm doing to fresh install of centos 5.5 and qmailtoaster.  Followed 
the wiki page up to installing perl dependencies.  Installed 
qmailtoaster-plus with no problems, but I can't run 
"qtp-dependencies" command.  How can I correct this problem?


Thanks,

Mike


That script isn't in the current release (yet). If you want to run 
it, download it from the web site.




Or, come to think of it, just run qtp-newmodel to install your 
packages. That will run the dependencies code as well.



Worked Great for me :)
--Dave


-
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




Re: [qmailtoaster] Re: barracuda rbl

2010-10-05 Thread Brent Gardner

Eric Shubert wrote:

Brent, where'd you pick it up?
I need to get this included with QTP.

Sorry, I was offline all weekend.

Here's a link to the script:

http://pastebin.com/7Ey3ufcX


I found the original on the spamdyke-users mailing list and fixed the 
section that is supposed to process Qmail logs.



Brent Gardner



-
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




Re: [qmailtoaster] Re: Qmail to SMS

2010-10-05 Thread Amit Dalia
Hi Bob/Eric/Others,

I got a SMS API as mentioned below:

http://59.162.167.36:8085/api/MessageCompose?user=smsserverusername:smsserverpassword&senderID=smsserversenderid&receipientno=mobilenumber&msgtxt=msgtosend&reseller=mysmsprovider&state=2

Whenever I call this URL with respective details it send the sms. 
Now here smsserverusername, smsserverpassword, smsserversenderid &
mysmsprovider details will remain same for all users. Only details
going to change is mobilenumber and msgtosend variable. Even we can
say mobile number will be same for respective user.

Now is there any way to get from id and subject from mail and pass
those details into above URL while mail is getting delivered to
Maildir.

Regards,

Amit

At Tuesday, 05-10-2010 on 22:04 Rob wrote:

On Tue, 05 Oct 2010 08:46:41 -0700, Eric Shubert  wrote:

> Rob wrote:

> Ok, I'll ask the apparently obvious and probably ignorant question.
> Why wouldn't you want to simply forward the entire message? SMS
length 
> limit perhaps? If that's the case, would SMS truncate or reject the

> message?

Agreed - sending the entire message would be a very simple solution,
just 
not what they requested. Filtering the message with procmail would
also 
give you some control as to what gets sent to the SMS gateway.

-- 
Rob Ayer
phone: 360-531-1823
gtalk: robayer
skype: robayer

-
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




Re: [qmailtoaster] Re: smtp binding to seperate ip

2010-10-05 Thread Rajesh M
hi

thanks very much

this is exactly what i have done and it works nicely

rajesh

> Yes. That's what qtp-install-spamdyke would have done for you.
> Here is the run file that qtp-install-spamdyke creates:
>
> #!/bin/sh
> QMAILDUID=`id -u vpopmail`
> NOFILESGID=`id -g vpopmail`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> SPAMDYKE="/usr/local/bin/spamdyke"
> SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
> SMTPD="/var/qmail/bin/qmail-smtpd"
> TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
> HOSTNAME=`hostname`
> VCHKPW="/home/vpopmail/bin/vchkpw"
> REQUIRE_AUTH=0
>
> exec /usr/bin/softlimit -m 2000 \
>   /usr/bin/tcpserver -v -R -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
>   -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
>   $SPAMDYKE --config-file $SPAMDYKE_CONF \
>   $SMTPD $VCHKPW /bin/true 2>&1
>
> --
> -Eric 'shubes'
>
> Rajesh M wrote:
>> hi
>>
>> i have removed the rbl (blacklists) checks from qmail
>>
>> /var/qmail/supervise/smtp/run file
>>
>> and enabled the same in spamdyke
>>
>> is that correct ?
>>
>> thanks
>> rajesh
>>
>>
>>
>>> Rajesh M wrote:
 hi

 i have spamdyke installed already.
>>> Which version?
>>> How did you install it?
>>>
 could you please point me to some guide on this or a sample config
 file
 ?
>>> Here is a spamdyke.conf file I'm presently using:
>>>
>>> dns-blacklist-entry=zen.spamhaus.org
>>> dns-blacklist-entry=bl.spamcop.net
>>> graylist-dir=/var/spamdyke/graylist
>>> graylist-level=always
>>> graylist-max-secs=2678400
>>> graylist-min-secs=180
>>> greeting-delay-secs=5
>>> idle-timeout-secs=180
>>> 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=15
>>> 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
>>>
 if spamdyke is authenticating then i will need to disable qmail
 authentication mechanism ... right ?
>>> No, spamdyke simply passes authentication on to qmail, and trusts
>>> qmail's response. This is the default behavior for authentication,
>>> which
>>> is equivalent to:
>>> smtp-auth-level=observe
>>>
>>> Refer to http://www.spamdyke.org/documentation/README.html#SMTP_AUTH
>>>
 my /etc/spamdyke/spamdyke.conf does not mention anything related to
 smtp
 authentication
>>> You don't need anything specific in your spamdyke.conf file. The
>>> default
>>> behavior is fine.
>>>
>>> If you're running spamdyke, you should not be seeing rbl rejections for
>>> authenticated users. If your users are seeing rbl rejections, then I
>>> would suspect that they're not authenticating successfully.
>>>
>>> --
>>> -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




Re: [qmailtoaster] Re: Qmail to SMS

2010-10-05 Thread Rob

On Tue, 05 Oct 2010 08:46:41 -0700, Eric Shubert  wrote:


Rob wrote:





Ok, I'll ask the apparently obvious and probably ignorant question.
Why wouldn't you want to simply forward the entire message? SMS length  
limit perhaps? If that's the case, would SMS truncate or reject the  
message?


Agreed - sending the entire message would be a very simple solution, just  
not what they requested. Filtering the message with procmail would also  
give you some control as to what gets sent to the SMS gateway.


--
Rob Ayer
phone: 360-531-1823
gtalk: robayer
skype: robayer

-
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: Qmail to SMS

2010-10-05 Thread Eric Shubert

Rob wrote:



I want to generate sms for email received for certain users. Had
anyone tried the same. Basically want to generate SMS with following
details:
1) From Id
2) Subject


Install procmail and formail (if they are not there already) and filter 
incoming messages to inject a new message to the users 
phonenum...@sms-messaging-address (available from their carrier) that 
just has the Subject line. An example .procmailrc in the user's 
directory would be:


# .procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/usr/bin:/usr/local/bin
MAILDIR=/path-to/vpopmail/domains/DOMAIN/USER/Maildir
DEFAULT=/path-to/vpopmail/domains/DOMAIN/USER/Maildir/new
LOGFILE=/path-to/vpopmail/domains/DOMAIN/USER/procmail.log
SHELL=/bin/sh
VERBOSE=yes
SUBJ=`/usr/bin/formail -c -xSubject:`

:0
* $ ^to_u...@domain
{
 :0
  | /usr/bin/formail -X "" \
  -A"X-Loop: u...@domain" \
  -I"Subject: ${SUBJ}" \
  -i"Content-Type:" \
  -i"Content-Length:" \
  -I"From: User's Name " \
  -I"To: phonenum...@sms-messaging-address \
  -I"Return-Receipt-To:" \
  | /path-to/qmail-inject
}

Procmail will take some tweaking for your environment and testing but I 
thought I would send this since I have done essentially the same thing 
... good luck.


PS> I just realized I did not add the From: line but you can parse that 
using formail just as I did with the Subject line and add that to the 
outgoing message somewhere.




Ok, I'll ask the apparently obvious and probably ignorant question.
Why wouldn't you want to simply forward the entire message? SMS length 
limit perhaps? If that's the case, would SMS truncate or reject the message?


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




Re: [qmailtoaster] Qmail to SMS

2010-10-05 Thread Rob



I want to generate sms for email received for certain users. Had
anyone tried the same. Basically want to generate SMS with following
details:
1) From Id
2) Subject


Install procmail and formail (if they are not there already) and filter  
incoming messages to inject a new message to the users  
phonenum...@sms-messaging-address (available from their carrier) that just  
has the Subject line. An example .procmailrc in the user's directory would  
be:


# .procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/usr/bin:/usr/local/bin
MAILDIR=/path-to/vpopmail/domains/DOMAIN/USER/Maildir
DEFAULT=/path-to/vpopmail/domains/DOMAIN/USER/Maildir/new
LOGFILE=/path-to/vpopmail/domains/DOMAIN/USER/procmail.log
SHELL=/bin/sh
VERBOSE=yes
SUBJ=`/usr/bin/formail -c -xSubject:`

:0
* $ ^to_u...@domain
{
 :0
  | /usr/bin/formail -X "" \
  -A"X-Loop: u...@domain" \
  -I"Subject: ${SUBJ}" \
  -i"Content-Type:" \
  -i"Content-Length:" \
  -I"From: User's Name " \
  -I"To: phonenum...@sms-messaging-address \
  -I"Return-Receipt-To:" \
  | /path-to/qmail-inject
}

Procmail will take some tweaking for your environment and testing but I  
thought I would send this since I have done essentially the same thing ...  
good luck.


PS> I just realized I did not add the From: line but you can parse that  
using formail just as I did with the Subject line and add that to the  
outgoing message somewhere.


--
Rob Ayer
phone: 360-531-1823
gtalk: robayer
skype: robayer

-
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: qtp-dependencies

2010-10-05 Thread Eric Shubert

Eric Shubert wrote:

Mike Tirpak wrote:
I'm doing to fresh install of centos 5.5 and qmailtoaster.  Followed 
the wiki page up to installing perl dependencies.  Installed 
qmailtoaster-plus with no problems, but I can't run "qtp-dependencies" 
command.  How can I correct this problem?
 
Thanks,
 
Mike


That script isn't in the current release (yet). If you want to run it, 
download it from the web site.




Or, come to think of it, just run qtp-newmodel to install your packages. 
That will run the dependencies code as well.


--
-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] Re: smtp binding to seperate ip

2010-10-05 Thread Eric Shubert

Yes. That's what qtp-install-spamdyke would have done for you.
Here is the run file that qtp-install-spamdyke creates:

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/local/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 2000 \
 /usr/bin/tcpserver -v -R -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1

--
-Eric 'shubes'

Rajesh M wrote:

hi

i have removed the rbl (blacklists) checks from qmail

/var/qmail/supervise/smtp/run file

and enabled the same in spamdyke

is that correct ?

thanks
rajesh




Rajesh M wrote:

hi

i have spamdyke installed already.

Which version?
How did you install it?


could you please point me to some guide on this or a sample config file
?

Here is a spamdyke.conf file I'm presently using:

dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=always
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=5
idle-timeout-secs=180
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=15
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


if spamdyke is authenticating then i will need to disable qmail
authentication mechanism ... right ?

No, spamdyke simply passes authentication on to qmail, and trusts
qmail's response. This is the default behavior for authentication, which
is equivalent to:
smtp-auth-level=observe

Refer to http://www.spamdyke.org/documentation/README.html#SMTP_AUTH


my /etc/spamdyke/spamdyke.conf does not mention anything related to smtp
authentication

You don't need anything specific in your spamdyke.conf file. The default
behavior is fine.

If you're running spamdyke, you should not be seeing rbl rejections for
authenticated users. If your users are seeing rbl rejections, then I
would suspect that they're not authenticating successfully.

--
-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] Re: Problem using qtp-newmodel on fedora 11

2010-10-05 Thread Eric Shubert

petrus wrote:

Hello

Im trying to do a long overdue update on my qmail-toaster using 
qmail-newmodel

However this fails with these messages

Building clamav-toaster-0.96.3-1.3.38 ...
Installing /usr/src/qtp-upgrade/SRPMS/clamav-toaster-0.96.3-1.3.38.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vnyHRi
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clamav-0.96.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clamav-0.96.0.patch.bz2):'
Patch #0 (clamav-0.96.0.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.vnyHRi (%prep)


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


/mnt/qtp-sandbox/root/rpmbuild/BUILD/clamav-0.96.3/etc/clamd.conf.rej
--- etc/clamd.conf2010-03-31 08:17:12.0 -0400
+++ etc/clamd.conf2010-04-09 01:34:54.0 -0400
@@ -49,7 +49,7 @@
 
 # Enable verbose logging.

 # Default: no
-#LogVerbose yes
+LogVerbose yes
 
 # This option allows you to save a process identifier of the listening

 # daemon (main thread).

Any ideas?



I've seen this problem as well while testing, but haven't had a chance 
to develop a fix. I think it has to do with the unionfs sandbox. Try a 
linked sandbox, and I think that'll work for you. To be honest, I don't 
want to waste any time debugging F11. Thanks for your understanding.


--
-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] Re: qtp-dependencies

2010-10-05 Thread Eric Shubert

Mike Tirpak wrote:
I'm doing to fresh install of centos 5.5 and qmailtoaster.  Followed the 
wiki page up to installing perl dependencies.  Installed 
qmailtoaster-plus with no problems, but I can't run "qtp-dependencies" 
command.  How can I correct this problem?
 
Thanks,
 
Mike


That script isn't in the current release (yet). If you want to run it, 
download it from the web site.


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




Re: [qmailtoaster] Re: smtp binding to seperate ip

2010-10-05 Thread Rajesh M
hi

i have removed the rbl (blacklists) checks from qmail

/var/qmail/supervise/smtp/run file

and enabled the same in spamdyke

is that correct ?

thanks
rajesh



> Rajesh M wrote:
>> hi
>>
>> i have spamdyke installed already.
>
> Which version?
> How did you install it?
>
>> could you please point me to some guide on this or a sample config file
>> ?
>
> Here is a spamdyke.conf file I'm presently using:
>
> dns-blacklist-entry=zen.spamhaus.org
> dns-blacklist-entry=bl.spamcop.net
> graylist-dir=/var/spamdyke/graylist
> graylist-level=always
> graylist-max-secs=2678400
> graylist-min-secs=180
> greeting-delay-secs=5
> idle-timeout-secs=180
> 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=15
> 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
>
>> if spamdyke is authenticating then i will need to disable qmail
>> authentication mechanism ... right ?
>
> No, spamdyke simply passes authentication on to qmail, and trusts
> qmail's response. This is the default behavior for authentication, which
> is equivalent to:
> smtp-auth-level=observe
>
> Refer to http://www.spamdyke.org/documentation/README.html#SMTP_AUTH
>
>> my /etc/spamdyke/spamdyke.conf does not mention anything related to smtp
>> authentication
>
> You don't need anything specific in your spamdyke.conf file. The default
> behavior is fine.
>
> If you're running spamdyke, you should not be seeing rbl rejections for
> authenticated users. If your users are seeing rbl rejections, then I
> would suspect that they're not authenticating successfully.
>
> --
> -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] Problem using qtp-newmodel on fedora 11

2010-10-05 Thread petrus
Hello

Im trying to do a long overdue update on my qmail-toaster using
qmail-newmodel
However this fails with these messages

Building clamav-toaster-0.96.3-1.3.38 ...
Installing /usr/src/qtp-upgrade/SRPMS/clamav-toaster-0.96.3-1.3.38.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vnyHRi
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clamav-0.96.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clamav-0.96.0.patch.bz2):'
Patch #0 (clamav-0.96.0.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.vnyHRi (%prep)


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


/mnt/qtp-sandbox/root/rpmbuild/BUILD/clamav-0.96.3/etc/clamd.conf.rej
--- etc/clamd.conf2010-03-31 08:17:12.0 -0400
+++ etc/clamd.conf2010-04-09 01:34:54.0 -0400
@@ -49,7 +49,7 @@

 # Enable verbose logging.
 # Default: no
-#LogVerbose yes
+LogVerbose yes

 # This option allows you to save a process identifier of the listening
 # daemon (main thread).

Any ideas?


[qmailtoaster] qtp-dependencies

2010-10-05 Thread Mike Tirpak
I'm doing to fresh install of centos 5.5 and qmailtoaster.  Followed the wiki 
page up to installing perl dependencies.  Installed qmailtoaster-plus with no 
problems, but I can't run "qtp-dependencies" command.  How can I correct this 
problem?

Thanks,

Mike

[qmailtoaster] Re: Hello, problem with autentications

2010-10-05 Thread Eric Shubert

li...@raniero.net wrote:

Il 04/10/2010 17:39, Eric Shubert ha scritto:

li...@raniero.net wrote:
 From few days my qmailtoaster installation  (3 years old, 2 domain, 
about 600 mailbox) give two or three times at day the request for the 
password for download the email.


Whit this error i recive this mail:

Monday, 4 October 2010 at 11:44: ERROR: I guess another mrtg is 
running. A lockfile (/usr/share/toaster/mrtg/qmailmrtg.cfg_l) aged
376 seconds is hanging around. If you are sure that no other mrtg is 
running you can remove the lockfile


there is no connection whit the mrtg error and the passowrd request, 
they appened in different time.


This errors begin when i shutdown the server (a  virtual machine) and 
upgrade the ram from 1 to 2 giga.


Any idea ?

thanks a lot

- 




Did you change the host or guest from 1 to 2 gig?
Which VM platform are you using?
Which Distro/versions, on both host and guest?


I've not change enything but the ram.

I use a linux centos 5.0 with qmail toaster, the vm run on esx server 
3.5 without the vmtools and tivoli backup installed.


this machine run fine from december 2007...

- 


I suspect that you have a problem with timekeeping on your guest 
machine. Please refer to 
http://wiki.qmailtoaster.com/index.php/VMware#Timekeeping and 
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1006427&sliceId=1&docTypeID=DT_KB_1_1&dialogID=23956052&stateId=1%200%2023952415


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




Re: [qmailtoaster] Re: Hello, problem with autentications

2010-10-05 Thread li...@raniero.net

Il 04/10/2010 17:39, Eric Shubert ha scritto:

li...@raniero.net wrote:
 From few days my qmailtoaster installation  (3 years old, 2 domain, 
about 600 mailbox) give two or three times at day the request for the 
password for download the email.


Whit this error i recive this mail:

Monday, 4 October 2010 at 11:44: ERROR: I guess another mrtg is 
running. A lockfile (/usr/share/toaster/mrtg/qmailmrtg.cfg_l) aged
376 seconds is hanging around. If you are sure that no other mrtg is 
running you can remove the lockfile


there is no connection whit the mrtg error and the passowrd request, 
they appened in different time.


This errors begin when i shutdown the server (a  virtual machine) and 
upgrade the ram from 1 to 2 giga.


Any idea ?

thanks a lot

- 



Did you change the host or guest from 1 to 2 gig?
Which VM platform are you using?
Which Distro/versions, on both host and guest?


I've not change enything but the ram.

I use a linux centos 5.0 with qmail toaster, the vm run on esx server 
3.5 without the vmtools and tivoli backup installed.


this machine run fine from december 2007...

-
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




Re: [qmailtoaster] Re: CHKUSER accepting for non existant accounts

2010-10-05 Thread Tony White



On 05/10/2010 11:45 PM, Eric Shubert wrote:

Tony White wrote:

On 05/10/2010 6:06 PM, Tonix (Antonio Nati) wrote:

 Il 05/10/2010 02:26, Tony White ha scritto:


my .qmail-default default is

| /home/vpopmail/bin/vdelivermail '' delete



You set domains for deleting e-mails, not rejecting them when rcpt does not 
exist.

For having not-existing recipients rejected, you must have:

/home/vpopmail/bin/vdelivermail '' bounce

Use qmailadmin to change this behaviour.

Regards,

Tonino


I am not sure I understand your comment!


Appears to be true.

Surely CHKUSER is in the smtpd process not in vdelivermail! If this is true then the fact that I delete rather than 
bounce should

not have any effect on CHKUSER!


In order for vdelivermail to delete the message, chkuser must accept it. The idea behind the delete option is that the 
message is received, then deleted. Thus the sender is not aware of the rejection.



My old system had CHKUSER in smtpd and
it simply rejected emails for non existent users during the smtpd process.


I'm guessing that your old system had the 'bounce' setting as Tonino points out, not the 'delete' setting as you 
presently have.




No that is exactly the same as this new system.
However I have set the qmail-default as suggested and I
will watch the logs to see if anything changes.
Thanks for the help so fat to both of you.

--
best wishes
  Tony White

Yea Computing Services
http://www.ycs.com.au
4 The Crescent
Yea
Victoria
Australia 3717

Telephone No's
VIC : 03 5797 3344
VIC : 03 9008 5614
TAS : 03 6107 9099
NT  : 08 8921 4049
SA  : 08 7123 0847
NSW : 02 8014 5547
QLD : 07 3123 6647
WA  : 08 6365 2199
FAX : 03 9008 5610 (FAX2Email)
FAX : 03 5797-3288



IMPORTANT NOTICE

This communication including any file attachments is intended solely for
the use of the individual or entity to whom it is addressed. If you are
not the intended recipient, or the person responsible for delivering
this communication to the intended recipient, please immediately notify
the sender by email and delete the original transmission and its
contents. Any unauthorised use, dissemination, forwarding, printing or
copying of this communication including file attachments is prohibited.
It is your responsibility to scan this communication including any file
attachments for viruses and other defects. To the extent permitted by
law, Yea Computing Services and its associates will not be liable for
any loss or damage arising in any way from this communication including
any file attachments.


-
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: CHKUSER accepting for non existant accounts

2010-10-05 Thread Eric Shubert

Tony White wrote:

On 05/10/2010 6:06 PM, Tonix (Antonio Nati) wrote:

 Il 05/10/2010 02:26, Tony White ha scritto:


my .qmail-default default is

| /home/vpopmail/bin/vdelivermail '' delete



You set domains for deleting e-mails, not rejecting them when rcpt 
does not exist.


For having not-existing recipients rejected, you must have:

/home/vpopmail/bin/vdelivermail '' bounce

Use qmailadmin to change this behaviour.

Regards,

Tonino


I am not sure I understand your comment!


Appears to be true.

Surely CHKUSER is in the smtpd 
process not in vdelivermail! If this is true then the fact that I delete rather 
than bounce should

not have any effect on CHKUSER!


In order for vdelivermail to delete the message, chkuser must accept it. 
The idea behind the delete option is that the message is received, then 
deleted. Thus the sender is not aware of the rejection.



My old system had CHKUSER in smtpd and
it simply rejected emails for non existent users during the smtpd process.


I'm guessing that your old system had the 'bounce' setting as Tonino 
points out, not the 'delete' setting as you presently have.


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




Re: [qmailtoaster] Qmail to SMS

2010-10-05 Thread Peter Büttner
Am Di, 5.10.2010, 13:48 schrieb Amit Dalia:
> Hi Everyone,
>
> I want to generate sms for email received for certain users. Had
> anyone tried the same. Basically want to generate SMS with following
> details:
> 1) From Id
> 2) Subject
>
> Thanks and regards,
>
> Amit
>
>
Hi Amit,

nowadays every telephone company offers email push service via sms.
So forward the mails for your special users to handynum...@telefoncompany.com
and ask your users to enable the push service in their account.
They will get the whole mail via sms.

Regards

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] Re: CHKUSER accepting for non existant accounts

2010-10-05 Thread Eric Shubert

Tonix (Antonio Nati) wrote:

 Il 05/10/2010 02:26, Tony White ha scritto:



On 05/10/2010 10:59 AM, Eric Shubert wrote:

Tony White wrote:



  Hello all,
   Can someone suggest what might be going on here please?

2010-10-05 01:37:28.913508500 CHKUSER accepted sender: 
from  remote

rcpt<>  : sender accepted
2010-10-05 01:37:29.427863500 tcpserver: ok 27040 x.x.x.x:25 
:190.71.212.250::62480
2010-10-05 01:37:29.458675500 CHKUSER accepted rcpt: 
from  remote

rcpt  : found existing recipient
2010-10-05 01:37:29.458697500 policy_check: 
localarmstr...@domain.net  ->  localarmstr...@domain.net  
(UNAUTHENTICATED SENDER)

2010-10-05 01:37:29.458719500 policy_check: policy allows transmission
2010-10-05 01:37:29.459963500 tcpserver: end 27029 status 0
2010-10-05 01:37:29.459964500 tcpserver: status: 3/100
2010-10-05 01:37:29.509451500 rblsmtpd: 190.71.212.250 pid 27040: 
451http://www.spamhaus.org/query/bl?ip=190.71.212.250


   What I am unsure of is that if the userarmstr...@domain.net  does 
not exist anywhere on my server
how can CHKUSER accept it?  This is pretty much a vanilla install of 
QMT?


-- best wishes Tony White


- 




Any address will be accepted if there's a CatchAll account defined. 
You can check that setting either on the qmailadmin Email Accounts 
page, or by looking at the contents of the 
/home/vpopmail/domains//.qmail-default file.




Thank you for the reply Erik but I do not have any catchall accounts 
set in the domain in question!

In fact I do not have a catchall for any domain.

my .qmail-default default is

| /home/vpopmail/bin/vdelivermail '' delete



You set domains for deleting e-mails, not rejecting them when rcpt does 
not exist.


For having not-existing recipients rejected, you must have:

/home/vpopmail/bin/vdelivermail '' bounce

Use qmailadmin to change this behaviour.

Regards,

Tonino



I should have realized this. Thanks Tonino.

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




Re: [qmailtoaster] Re: CHKUSER accepting for non existant accounts

2010-10-05 Thread Tony White



On 05/10/2010 6:06 PM, Tonix (Antonio Nati) wrote:

 Il 05/10/2010 02:26, Tony White ha scritto:



On 05/10/2010 10:59 AM, Eric Shubert wrote:

Tony White wrote:



  Hello all,
   Can someone suggest what might be going on here please?

2010-10-05 01:37:28.913508500 CHKUSER accepted sender: from  
remote

rcpt<>  : sender accepted
2010-10-05 01:37:29.427863500 tcpserver: ok 27040 x.x.x.x:25 
:190.71.212.250::62480
2010-10-05 01:37:29.458675500 CHKUSER accepted rcpt: from  
remote
rcpt  : found existing recipient
2010-10-05 01:37:29.458697500 policy_check: localarmstr...@domain.net  ->  localarmstr...@domain.net  (UNAUTHENTICATED 
SENDER)

2010-10-05 01:37:29.458719500 policy_check: policy allows transmission
2010-10-05 01:37:29.459963500 tcpserver: end 27029 status 0
2010-10-05 01:37:29.459964500 tcpserver: status: 3/100
2010-10-05 01:37:29.509451500 rblsmtpd: 190.71.212.250 pid 27040: 
451http://www.spamhaus.org/query/bl?ip=190.71.212.250

   What I am unsure of is that if the userarmstr...@domain.net  does not exist 
anywhere on my server
how can CHKUSER accept it?  This is pretty much a vanilla install of QMT?

-- best wishes Tony White


- 



Any address will be accepted if there's a CatchAll account defined. You can check that setting either on the qmailadmin 
Email Accounts page, or by looking at the contents of the /home/vpopmail/domains//.qmail-default file.




Thank you for the reply Erik but I do not have any catchall accounts set in the 
domain in question!
In fact I do not have a catchall for any domain.

my .qmail-default default is

| /home/vpopmail/bin/vdelivermail '' delete



You set domains for deleting e-mails, not rejecting them when rcpt does not 
exist.

For having not-existing recipients rejected, you must have:

/home/vpopmail/bin/vdelivermail '' bounce

Use qmailadmin to change this behaviour.

Regards,

Tonino


I am not sure I understand your comment! Surely CHKUSER is in the smtpd process
not in vdelivermail! If this is true then the fact that I delete rather than 
bounce should
not have any effect on CHKUSER! My old system had CHKUSER in smtpd and
it simply rejected emails for non existent users during the smtpd process.

--
best wishes
  Tony White


-
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] Qmail to SMS

2010-10-05 Thread Amit Dalia
Hi Everyone,

I want to generate sms for email received for certain users. Had
anyone tried the same. Basically want to generate SMS with following
details:
1) From Id
2) Subject

Thanks and regards,

Amit



Re: [qmailtoaster] Re: CHKUSER accepting for non existant accounts

2010-10-05 Thread Tonix (Antonio Nati)

 Il 05/10/2010 02:26, Tony White ha scritto:



On 05/10/2010 10:59 AM, Eric Shubert wrote:

Tony White wrote:



  Hello all,
   Can someone suggest what might be going on here please?

2010-10-05 01:37:28.913508500 CHKUSER accepted sender: 
from  remote

rcpt<>  : sender accepted
2010-10-05 01:37:29.427863500 tcpserver: ok 27040 x.x.x.x:25 
:190.71.212.250::62480
2010-10-05 01:37:29.458675500 CHKUSER accepted rcpt: 
from  remote

rcpt  : found existing recipient
2010-10-05 01:37:29.458697500 policy_check: 
localarmstr...@domain.net  ->  localarmstr...@domain.net  
(UNAUTHENTICATED SENDER)

2010-10-05 01:37:29.458719500 policy_check: policy allows transmission
2010-10-05 01:37:29.459963500 tcpserver: end 27029 status 0
2010-10-05 01:37:29.459964500 tcpserver: status: 3/100
2010-10-05 01:37:29.509451500 rblsmtpd: 190.71.212.250 pid 27040: 
451http://www.spamhaus.org/query/bl?ip=190.71.212.250


   What I am unsure of is that if the userarmstr...@domain.net  does 
not exist anywhere on my server
how can CHKUSER accept it?  This is pretty much a vanilla install of 
QMT?


-- best wishes Tony White


- 



Any address will be accepted if there's a CatchAll account defined. 
You can check that setting either on the qmailadmin Email Accounts 
page, or by looking at the contents of the 
/home/vpopmail/domains//.qmail-default file.




Thank you for the reply Erik but I do not have any catchall accounts 
set in the domain in question!

In fact I do not have a catchall for any domain.

my .qmail-default default is

| /home/vpopmail/bin/vdelivermail '' delete



You set domains for deleting e-mails, not rejecting them when rcpt does 
not exist.


For having not-existing recipients rejected, you must have:

/home/vpopmail/bin/vdelivermail '' bounce

Use qmailadmin to change this behaviour.

Regards,

Tonino

--

in...@zioniInterazioni di Antonio Nati
   http://www.interazioni.it  to...@interazioni.it



-
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