[qmailtoaster] Odd problem with vpopmail

2005-11-18 Thread Nigel Reed
I installed vpopmail-toaster and friends on a server that was originally
running rph version (was available at rpmhelp.net which is now defunct).

Originally, I was running with --enable-many-domains so that I would
only have the one large vpopmail table rather than many smaller tables.

So, I edited the spec file for vpopmail to change these settings.

Now, it seems like vchkpw is having some issues with not finding some of
the domains. Just looking for someone who might have come across this
before.

Trying to send to sysadmininc.com which is one of the virtual domains...

[EMAIL PROTECTED] /var/qmail/control]# grep sysadmin *
rcpthosts:sysadmininc.com
virtualdomains:sysadmininc.com:sysadmininc.com

mysql> select pw_name, pw_dir from vpopmail where
pw_domain='sysadmininc.com';
++---+
| pw_name| pw_dir|
++---+
| betsey | /home/vpopmail/domains/sysadmininc.com/betsey |
| nigel  | /home/vpopmail/domains/sysadmininc.com/nigel  |
| postmaster | /home/vpopmail/domains/sysadmininc.com/postmaster |
| test   | /home/vpopmail/domains/sysadmininc.com/test   |
++---+

If I send mail to that domain then the logfile from
/var/www/qmail/smtp/current looks like this:

@4000437d934522ada1d4 tcpserver: status: 1/100
@4000437d934522adb174 tcpserver: pid 10431 from xx.0.29.xx
@4000437d934522adb55c tcpserver: ok 10431
cartman.wehostmuds.com:xx.56.190.xx:25 :xx.0.29.xx::42047
@4000437d93452a99b93c CHKUSER accepted rcpt: from
<[EMAIL PROTECTED]::> remote  rcpt
<[EMAIL PROTECTED]> : found existing recipient
@4000437d93452d9e5e1c tcpserver: end 10431 status 0
@4000437d93452d9e69d4 tcpserver: status: 0/100

So, everything is fine ([antispam] added for usual reasons).

Now, I'll do the same thing for another virtual domain.

[EMAIL PROTECTED] /var/qmail/control]# grep ^british-expats.com *
rcpthosts:british-expats.com
virtualdomains:british-expats.com:british-expats.com

mysql> select pw_name,pw_dir from vpopmail where
pw_domain='british-expats.com';
+--+--+
| pw_name  | pw_dir   |
+--+--+
| nigelreed| /home/vpopmail/domains/british-expats.com/nigelreed  |
| postmaster   | /home/vpopmail/domains/british-expats.com/postmaster |
| tester   | /home/vpopmail/domains/british-expats.com/tester |
+--+--+

But I get the following error about not being able to find a table

@4000437d948606406914 tcpserver: status: 1/100
@4000437d9486064078b4 tcpserver: pid 10488 from xx.0.29.xx
@4000437d948606407c9c tcpserver: ok 10488 
cartman.wehostmuds.com:xx.56.190.xx:25 :xx.0.29.xx::54176
@4000437d94860ed18a7c vmysql: sql error[3]: Table 
'vpopmail.british_expats_com' doesn't exist
@4000437d94860ed19a1c CHKUSER rejected rcpt: from <[EMAIL PROTECTED]::> 
remote  rcpt <[EMAIL PROTECTED]> : not existing 
recipient
@4000437d94870f9ff63c tcpserver: end 10488 status 0
@4000437d94870fa005dc tcpserver: status: 0/100

And I receive the following bounce...

<[EMAIL PROTECTED]>:
xx.56.190.xx does not like recipient.
Remote host said: 511 sorry, no mailbox here by that name (#5.1.1 - chkuser)
Giving up on xx.56.190.xx.

Just to prove I don't table a table for sysadmin, here's the list of
tables.

mysql> show tables;
++
| Tables_in_vpopmail |
++
| dir_control|
| lastauth   |
| limits |
| relay  |
| valias |
| vlog   |
| vpopmail   |
++


So, if someone can see the obvious thing I've missed, I'd appreciate any
ideas and suggestions. Finally, I did recompile courier-imap-toaster
against the vpopmail-toaster libs, FWIW.

Regards
Nigel
--
www.myoldcontacts.com - Tell your friends to tell their friends
www.sysadmininc.com  - Consultancy, Service, Sales, Networking...
www.british-expats.com - Connect with British Expats World Wide
www.kxez.com/shows_britishinvasion.php - 9-11pm Sunday. KXEZ 92.1 FM


"I reject your reality and substitute it with my own" --Adam Savage.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] simscan help

2005-11-18 Thread Richardus Alim
 
Problem solved !
Thx to Jake and Ron
but I add some chmod's attribute with /root 

chmod 755 /root --> It's working good

with chmod a+x /root --> mine still have error with autolist.lock ( in
spamd/current)

Thx a lot guys.

-Original Message-
From: Ron Horist [mailto:[EMAIL PROTECTED] 
Sent: 17 Nopember 2005 22:12
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] simscan help

The issue is that for some reason the install created a directory called
bayes under the .spammassissin directory.  You need to delete the directory
and then create a file called bayes.

touch bayes

Then do as Jake suggests.


> Richardus Alim wrote:
>
>>Hi Robert.. Thx a lot!
>>it's working smoothly after follow your advice
>>
>>but I've 1 problem left and it was already issued in mailing-list in 
>>my /var/log/qmail/spamd/current there's error say:
>>
>>warn: config: SpamAssassin failed to parse line, 
>>"/root/.spamassassin/bayes" is not valid for "bayes_path", skipping:
>>bayes_path /root/.spamassassin/bayes
>>
>>I've reinstalled spamassassin but still the same I've checked the 
>>directory path and it's there /root/.spamassassin/bayes
>>
>>Any advice ?
>>
>>
> chmod 600 the files in there, and make sure /root has chmod a+x 
> applied
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] Backup qmail toaster

2005-11-18 Thread Eduardo Albergone
I am migrating my qmail server for other, you would like to know if some 
exists script to make the backup of the mailboxes and restore the same ones 
in the new server without

losing anything


Eduardo 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Backup qmail toaster

2005-11-18 Thread Jake Vickers

Eduardo Albergone wrote:

I am migrating my qmail server for other, you would like to know if 
some exists script to make the backup of the mailboxes and restore the 
same ones in the new server without

losing anything


I have an old one at my web site: http://jakev.com/qmail/ that works, 
but may require a little tweaking.  I am rewriting it over the holidays 
(I actually started on in about 10 minutes ago...), but that should work 
for the moment.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] connect(): No such file or directory

2005-11-18 Thread demo

Hi,
please help me,

I installed qmailtoaster on FC3 everything works except receiving mails 
from other mail servers (sending mail to my qmailserver from outlook at 
work).


I get the following error in /var/log/qmail/smtp/current:

@4000437e075814ea83dc connect(): No such file or directory
@4000437e075816be2e84 tcpserver: end 18892 status 0
@4000437e075816be51ac tcpserver: status: 0/100
@4000437e0758289bb2d4 tcpserver: status: 1/100
@4000437e0758289bd214 tcpserver: pid 18901 from 195.110.155.146
@4000437e0758289be59c tcpserver: ok 18901 
eggport.eggmedia.biz:10.10.10.3:25 :195.110.155.146::1792
@4000437e075837056554 CHKUSER accepted rcpt: from 
<[EMAIL PROTECTED]:[EMAIL PROTECTED]:> remote 
 rcpt <[EMAIL PROTECTED]> : found existing 
recipient

@4000437e07590634ff34 *connect(): No such file or directory*
@4000437e0759084bc1a4 tcpserver: end 18901 status 0
@4000437e0759084be0e4 tcpserver: status: 0/100


I checked the mysql connection with:

mysql -u vpopmail -p ...  SsEeCcRrEeTt-->it connects!

Sending emails via web mail to [EMAIL PROTECTED] from [EMAIL PROTECTED] 
works.
Sending mail via web mail to [EMAIL PROTECTED] from [EMAIL PROTECTED] 
works.


connecting pop3 and imap (outlook) from Internet works, but sending mail 
does not work.



SeLinux=disabled

nano */var/qmail/control/locals*:
 localhost
 eggport.eggmedia.biz

nano */var/qmail/control/defaultdelivery*
 ./Maildir/

nano */var/qmail/control/virtualdomains*
 eggmedia.biz:eggmedia.biz

nano */var/qmail/supervise/smtp/run*
 #!/bin/sh
 QMAILDUID=`id -u vpopmail`
 NOFILESGID=`id -g vpopmail`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 BLACKLIST=`cat /var/qmail/control/blacklists`
 SMTPD="/var/qmail/bin/qmail-smtpd"
 TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
 RBLSMTPD="/usr/bin/rblsmtpd"
 HOSTNAME=`hostname`
 VCHKPW="/home/vpopmail/bin/vchkpw"

 exec /usr/bin/softlimit -m 1200 \
  /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c 
"$MAXSMTPD" \

  -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
  $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1



Any idea where the problem is??





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] connect(): No such file or directory

2005-11-18 Thread Jake Vickers

demo wrote:


Hi,
please help me,

I installed qmailtoaster on FC3 everything works except receiving 
mails from other mail servers (sending mail to my qmailserver from 
outlook at work).


I get the following error in /var/log/qmail/smtp/current:

@4000437e075814ea83dc connect(): No such file or directory

Any idea where the problem is??


I ran into a similar problem a while back... Wish I would have written 
down what exactly the problem was... Anyway, if I remember right, mine 
was missing the smtp daemon, or the log file. do a qmailctl stat and see 
what all is running; if smtp and smtp/log are there, make sure the log 
file is there.  Also do 'rpm -qa | grep toaster' to see if all of the 
packages are installed - you may be missing spamassassin or simscan and 
it's breaking there since it's expecting a connection to spamd and if 
it's not running there is nothing to connect to You may also do a 
'ps -ax' to see if spamd is running.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Odd problem with vpopmail

2005-11-18 Thread Nick Hemmesch
> I installed vpopmail-toaster and friends on a server that was originally
> running rph version (was available at rpmhelp.net which is now defunct).
>
> Originally, I was running with --enable-many-domains so that I would
> only have the one large vpopmail table rather than many smaller tables.
>
> So, I edited the spec file for vpopmail to change these settings.
>
> Now, it seems like vchkpw is having some issues with not finding some of
> the domains. Just looking for someone who might have come across this
> before.
>

Hi Nigel,

If you rebuild vpopmail with a different config, you will need to rebuild
both qmail and courier-imap against the changes.

Regards,

Nick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] spam

2005-11-18 Thread Shai
Nick, can you help out here?

Cheers,
Shai

On 11/13/05, Shai <[EMAIL PROTECTED]> wrote:
> Nick, Any thoughts?
>
> Shai
>
> On 11/13/05, Erik Espinoza <[EMAIL PROTECTED]> wrote:
> > Ouch, that blows. There was a chkuser-rht.tar.bz2 file lying around
> > somewhere that could be built and added easily to the old version.
> > Might want to ask Nick if he still has it archived.
> >
> > Thanks,
> > Erik
> >
> > On 11/12/05, Shai <[EMAIL PROTECTED]> wrote:
> > > well.. I'm using a much older version that doesn't have chkusr yet :\
> > >
> > > On 11/13/05, Erik Espinoza <[EMAIL PROTECTED]> wrote:
> > > > If it is coming from a single IP address, just firewall that IP
> > > > address off with iptables.
> > > >
> > > > If you are being hit by random IP's then there is really nothing you
> > > > can do, aside from making your own rbl or firewall and adding
> > > > offending addresses as fast as possible. Your server is already
> > > > rejecting them with an error 500 due to chkuser. There really isn't
> > > > much else you can do.
> > > >
> > > > Thanks,
> > > > Erik
> > > >
> > > > On 11/12/05, Shai <[EMAIL PROTECTED]> wrote:
> > > > > Hi,
> > > > > I'm still using the older version of qmailtoaster.
> > > > > today (right now) I'm being spammed into a mailbox that I don't have
> > > > > ([EMAIL PROTECTED])
> > > > > anyways... I wanted to know if there is a way to stop this spammer, he
> > > > > is sending like 5 emails a minute!
> > > > > also, can I use /var/qmail/control/blacklists ?
> > > > > # cat blacklists
> > > > > -r bl.spamcop.net
> > > > > -r sbl.spamhaus.org
> > > > > -r relays.ordb.org
> > > > >
> > > > > Hope to get your quick response,
> > > > > Shai

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]