Help! :(

2000-07-01 Thread Andy Coates

Hi,

I've been playing with dot-forward, and now my whole qmail system doesn't
want to deliver messages. I don't know if they're related, or whether
something else is wrong - but no one is getting any mail!?!?

Basically I installed the dot-forward package and set this at my
/var/qmail/rc:

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
./Maildir/' splogger qmail 

But that didn't work, so I thought i'd set it back to normal whilst I look
into the matter, so my rc is now:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail 

Thing is, mail is being received, but not delivered. qmail-qstat shows:
messages in queue: 6
messages in queue but not yet preprocessed: 0

And qmail is running again after I stopped it. Any ideas what I've done to
stop it working?

At least messages aren't being lost, but I need to get the mail out to my
users :-(

TIA,
Andy.




Re: Help! :(

2000-07-01 Thread Andy Coates

- Original Message -
From: "Steffan Hoeke" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 01, 2000 5:14 PM
Subject: Re: Help! :(


 On Sat, Jul 01, 2000 at 02:49:35PM +0100, Andy Coates wrote:
  Hi,
 
  I've been playing with dot-forward, and now my whole qmail system
doesn't
  want to deliver messages. I don't know if they're related, or whether
  something else is wrong - but no one is getting any mail!?!?
 
  Basically I installed the dot-forward package and set this at my
  /var/qmail/rc:
 
  exec env - PATH="/var/qmail/bin:$PATH" \
  qmail-start '|dot-forward .forward
  ./Maildir/' splogger qmail 
 
  But that didn't work, so I thought i'd set it back to normal whilst I
look
  into the matter, so my rc is now:
  exec env - PATH="/var/qmail/bin:$PATH" \
  qmail-start ./Maildir/ splogger qmail 
 
  Thing is, mail is being received, but not delivered. qmail-qstat shows:
  messages in queue: 6
  messages in queue but not yet preprocessed: 0
 
  And qmail is running again after I stopped it. Any ideas what I've done
to
  stop it working?
 
  At least messages aren't being lost, but I need to get the mail out to
my
  users :-(
 
  TIA,
  Andy.
 What do the logs say? (tm)

 I'm also a bit curious why there's a  in your rc file 

The  is what was in the /var/qmail/boot example files, I used
/var/qmail/boot/maildir for my RC.

As for the logs, nothing. (a little odd again).

Andy.




Re: Help! :(

2000-07-01 Thread Andy Coates

- Original Message -
From: "Steffan Hoeke" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 01, 2000 5:54 PM
Subject: Re: Help! :(


 On Sat, Jul 01, 2000 at 05:35:26PM +0100, Andy Coates wrote:
  - Original Message -
  From: "Steffan Hoeke" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, July 01, 2000 5:14 PM
  Subject: Re: Help! :(
 
 
   On Sat, Jul 01, 2000 at 02:49:35PM +0100, Andy Coates wrote:
Hi,
   
I've been playing with dot-forward, and now my whole qmail system
doesn't
want to deliver messages. I don't know if they're related, or
whether
something else is wrong - but no one is getting any mail!?!?
 [snipped]
At least messages aren't being lost, but I need to get the mail out
to
my users :-(
   
TIA,
Andy.
   What do the logs say? (tm)
  
   I'm also a bit curious why there's a  in your rc file 
 
  The  is what was in the /var/qmail/boot example files, I used
  /var/qmail/boot/maildir for my RC.
 Ok, i'm just getting used to running qmail supervised, so i forgot :-0

  As for the logs, nothing. (a little odd again).
 Nothing, as in there's no entries in the log, or
 Nothing, as in there's nothing of interest in the log ?

Nothing as in there's no entries (i'm looking in /var/log/messages, which is
hopefully the right place).

Any ideas?

Andy.




Unable to fork (WAS Help! :( )

2000-07-01 Thread Andy Coates

 On Sat, Jul 01, 2000 at 02:49:35PM +0100, Andy Coates wrote:
  Hi,
 
 [Snipped another bit]
 I'm also a bit curious why there's a  in your rc file 
   
The  is what was in the /var/qmail/boot example files, I used
/var/qmail/boot/maildir for my RC.
   Ok, i'm just getting used to running qmail supervised, so i forgot :-0
  
As for the logs, nothing. (a little odd again).
   Nothing, as in there's no entries in the log, or
   Nothing, as in there's nothing of interest in the log ?
 
  Nothing as in there's no entries (i'm looking in /var/log/messages,
which is
  hopefully the right place).

 Ehhm, when i used splogger it was /var/log/maillog .

DOH!!! (I hate it when that happens..)

Looking at the RIGHT log reveals:
Jul  1 18:40:26 wolverine qmail: 962473226.726133 status: local 1/10 remote
0/20
Jul  1 18:40:26 wolverine qmail: 962473226.731877 delivery 69: deferral:
Unable_to_fork:_temporary_failure._(#
4.3.0)/

Now why is it saying that... any more ideas?

Thanks,
Andy.




Virtual Domains and MX Records

2000-06-07 Thread Andy Coates

Hi,

I'm totally stuck trying to get qmail working the way I want it to, and the more I try 
to change configurations the more I get mixed up.

The idea is that I have user.domain.co.uk as the virtual domain, so that 
[EMAIL PROTECTED] is sent to a local mailbox. What I've done so far is:

made an MX record pointing to the domain.co.uk machine
in qmail/control/virtualdomain entered user.domain.co.uk:username
put user.domain.co.uk into rcpthosts
and sent a HUP to both named and qmail-send

Now reading the FAQ's and howto's etc I was led to believe that this would basically 
take the following steps:
1) mail arrives at domain.co.uk mail server
2) mail server has domain in its rcpthosts, good
3) is the domain in locals? no..
4) is the domain a virtualdomain? yes... deliver to username

And then username goes and checks his mail and there's the message.

At the moment I'm getting a:
[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

Can anyone tell me where I'm going wrong please? I hope its not something stupid 
I've forgot, apologies if it is.

TIA,
Andy.




Re: Virtual Domains and MX Records

2000-06-07 Thread Andy Coates

- Original Message -
From: "Chris Johnson" [EMAIL PROTECTED]
To: "Andy Coates" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, June 08, 2000 4:20 AM
Subject: Re: Virtual Domains and MX Records


 On Thu, Jun 08, 2000 at 03:46:22AM +0100, Andy Coates wrote:
  Now reading the FAQ's and howto's etc I was led to believe that this
would
  basically take the following steps:
  1) mail arrives at domain.co.uk mail server
  2) mail server has domain in its rcpthosts, good
  3) is the domain in locals? no..
  4) is the domain a virtualdomain? yes... deliver to username
 
  And then username goes and checks his mail and there's the message.
 
  At the moment I'm getting a:
  [EMAIL PROTECTED]:
  Sorry, no mailbox here by that name. (#5.1.1)

 There needs to be a .qmail-default file in ~username with delivery
 instructions. If you want the default delivery instruction (which is
probably
 to deliver mail to ./Mailbox or ./Maildir/), just create an empty
 ..qmail-default file.

Aargh thats it!! S close, I thought with the username in the
virtualdomain bit would just send it locally to username.

Thanks, I did just make an empty one and it works perfectly. Wow thats a
relief :-)

Later,
Andy.