Re: [vchkpw] What does \ in qmail Startscript mean?

2002-11-08 Thread Sune Rievers
That's correct - it's the same thing as writing everything on a single
line - but by using backslash it's a little easier to read :)

Regards,
Sune Rievers

 Hi All,

 just a simple question, look at the qmail start-script there are some
 lines like this:

 #!/bin/sh
 MAXCON=100
 exec /usr/local/bin/softlimit -m 300 \
 /usr/local/bin/tcpserver -v -R -H -c $MAXCON \
 

 What does the backlash \ mean?
 Concatenation of the following line??

 Any Pundits here?

 Oliver
 lowcost serverhousing www.t-host.com

   - Original Message -
   From: Joeffrey Betita
   To: Vchkpw
   Sent: Friday, November 08, 2002 3:49 AM
   Subject: [vchkpw] Qmail Vpopmail


   Hi Michael

   0 110 /var/qmail/bin/qmail-popup example.com.ph
   /home/vpopmail/bin/vchkpw \
   /var/qmail/bin/qmail-pop3d Maildir 21

   i already change the configuration on your instruction but cannot
 check my email. the error message is TCP/IP connection was
 unexpectedly terminated by the server. psl. help me with this problem.
 thank you very much. ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.416 / Virus Database: 232 - Release Date: 11/6/2002


Regards,
Sune Rievers






Re: [vchkpw] vpopmail and local delivery

2002-11-09 Thread Sune Rievers
I think you need to put smtp.example.com in /var/qmail/control/me (and locals),
this is the local (not virtual) domain that qmail uses to deliver to shell users...

Regards,
Sune Rievers

On Sat, 09 Nov 2002 17:55:16 -0600 (CST)
[EMAIL PROTECTED] wrote:

 Hi -
 
 I am a newbie to vpopmail and qmail but I have managed to get the basics working
 - qmail is up and running successfully with two virtual domains authenticating
 against openLDAP.
 
 The one problem I am having is getting mail addressed to the local machine (ex.
 - cron job error messages) delivered to a user in one of my virtual domains.
 
 Detail:
 virtualdomain1: example.com
 virtualdomain2. example2.com
 hostname of qmail/vpopmail server: smtp.example.com
 
 In my alias directory of qmail I have a .qmail-root, .qail-mailer-daemon and
 .qmail-postmaster file all forwarding to [EMAIL PROTECTED]
 
 In the control directory of qmail, if I keep my locals file empty, anytime I
 email say root (which seems to be automatically changed to
 [EMAIL PROTECTED], I get an error message from
 [EMAIL PROTECTED] to [EMAIL PROTECTED] complaining that there is no
 entry in locals so it can't deliver the message.  If I add the entry
 smtp.example.com to locals the message seems to be accepted but it isn't
 delivered to any mailbox that I can see it.
 
 It seems to me that when the server name of my host is in locals qmail is trying
 to send it to a user from /etc/passwd maybe and then doesn't find one?  Not sure
 why it isn't reading the .qmail files in the alias directory (seems to do this
 fine when a message needs to be sent by mailer-daemon).
 
 FYI - I am using Maildir's and Sqwebmail.  Sending and retrieving email between
 virutal domains is no problem - just can't seem to get messages sent to local
 machine to be forwarded to an account in my virtual domain.
 
 I realize this is probably a very simple question, and I apologize for the post,
 but I have scoured various docs, and although the info seems to be there I can't
 seem to piece together exactly how local delivery works with virutal domains.
 
 Thanks,
 J.R.

-- 
Sune Rievers [EMAIL PROTECTED]





Re: [vchkpw] vpopmail and local delivery

2002-11-10 Thread Sune Rievers
On Sun, 2002-11-10 at 09:08, [EMAIL PROTECTED] wrote:
 I do have smtp.example.com in the me file, and I have experimented with
 smtp.example.com both in and not in the locas file.
 
 You are correct, when in the locals file qmail seems to want to deliver tha mail
 to a local shell user.  What I want to do is send that mail to a virtual user in
 the example.com domain.  I tried puting the [EMAIL PROTECTED] address in the
 .qmail-root and .qmail-postmaster and .qmail-mailer-daemon files that I created
 in the /var/qmail/alias directory but to no avail.
 
 Simply put, I just want emails intended for local machine to go to the user of
 my choice in the default domain of my choice.

Ok - you could put a .qmail file in the shell users homedir containing 
[EMAIL PROTECTED] (I think this requires the fastforward package), this
will forward all mail to the intended virtualdomain email...

I don't know how to make this a global setting (if you have a lot of
shell users this could be quite a task), maybe a blank locals file ?

I hope some of this helps :)

 Thanks for the response,
 J.R.
 Quoting Sune Rievers [EMAIL PROTECTED]:
 
  I think you need to put smtp.example.com in /var/qmail/control/me (and
  locals),
  this is the local (not virtual) domain that qmail uses to deliver to
  shell users...
  
  Regards,
  Sune Rievers
  
  On Sat, 09 Nov 2002 17:55:16 -0600 (CST)
  [EMAIL PROTECTED] wrote:
  
   Hi -
   
   I am a newbie to vpopmail and qmail but I have managed to get the
  basics working
   - qmail is up and running successfully with two virtual domains
  authenticating
   against openLDAP.
   
   The one problem I am having is getting mail addressed to the local
  machine (ex.
   - cron job error messages) delivered to a user in one of my virtual
  domains.
   
   Detail:
   virtualdomain1: example.com
   virtualdomain2. example2.com
   hostname of qmail/vpopmail server: smtp.example.com
   
   In my alias directory of qmail I have a .qmail-root,
  .qail-mailer-daemon and
   .qmail-postmaster file all forwarding to [EMAIL PROTECTED]
   
   In the control directory of qmail, if I keep my locals file empty,
  anytime I
   email say root (which seems to be automatically changed to
   [EMAIL PROTECTED], I get an error message from
   [EMAIL PROTECTED] to [EMAIL PROTECTED] complaining that
  there is no
   entry in locals so it can't deliver the message.  If I add the entry
   smtp.example.com to locals the message seems to be accepted but it
  isn't
   delivered to any mailbox that I can see it.
   
   It seems to me that when the server name of my host is in locals qmail
  is trying
   to send it to a user from /etc/passwd maybe and then doesn't find one?
   Not sure
   why it isn't reading the .qmail files in the alias directory (seems to
  do this
   fine when a message needs to be sent by mailer-daemon).
   
   FYI - I am using Maildir's and Sqwebmail.  Sending and retrieving
  email between
   virutal domains is no problem - just can't seem to get messages sent
  to local
   machine to be forwarded to an account in my virtual domain.
   
   I realize this is probably a very simple question, and I apologize for
  the post,
   but I have scoured various docs, and although the info seems to be
  there I can't
   seem to piece together exactly how local delivery works with virutal
  domains.
   
   Thanks,
   J.R.
  
  -- 
  Sune Rievers [EMAIL PROTECTED]
  
  
  






Re: [vchkpw] vpopmail and local delivery

2002-11-10 Thread Sune Rievers
seems like my mailer destroyed some of my previous mail - sorry about
that - what I meant was [EMAIL PROTECTED] in the .qmail file

Regards,
Sune Rievers





Re: [vchkpw] Vpopmail

2002-11-15 Thread Sune Rievers
i think you're missing a \ or your mailer has made extra linebreaks..
mine looks like this:

#!/bin/sh
exec /usr/local/bin/softlimit -m 2000 \
/usr/local/bin/tcpserver -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
$HOSTNAME /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21


Regards,
Sune Rievers

On Fri, 15 Nov 2002 18:54:53 +0800
Joeffrey Betita [EMAIL PROTECTED] wrote:

 hi ppl
 
 #!/bin/sh
 MAXCON=100
 exec /usr/local/bin/softlimit -m 300 \
 /usr/local/bin/tcpserver -v -R -H -c $MAXCON \
 0 110 /var/qmail/bin/qmail-popup example.com.ph
 /home/vpopmail/bin/vchkpw \
 /var/qmail/bin/qmail-pop3d Maildir 21
 
  the error message is TCP/IP connection was unexpectedly terminated by
 the server. psl. help me with this problem. thank you very much.
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

-- 
Sune Rievers [EMAIL PROTECTED]