Re: Help with Local Relaying

2000-09-25 Thread Dave Sill

"Edward Carr" [EMAIL PROTECTED] wrote:

Here are my config files ...  Edited for anonymity ...

/var/qmail/control/defaultdomain:
domain.net

Gimme a break...

/etc/init.d/qmail:
 snip! 
if [ -x /usr/local/bin/tcpserver ]; then
/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 7001 -g
7001 0 smtp \
/var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger
smtpd 3 
echo "qmail starting"
fi
 snip! 

Any Ideas ???

Yeah: qmail isn't running. Your startup script doesn't run
qmail-start, so the messages coming in via SMTP are just sitting in
the queue.

-Dave



RE: Help with Local Relaying

2000-09-23 Thread Alexander Jernejcic

humm, mails sitting in the queue for some reason, heard that somewhere else: take a 
look at the file attributs in
/var/qmail/queue/lock. IMHO trigger is important...

-rw---   1 qmails   qmail   0 Jul  3 11:55 sendmutex
-rw-rw-r--   1 qmailr   qmail1024 Sep 23 12:01 tcpto
prw--w--w-   1 qmails   qmail   0 Sep 23 12:15 trigger

just a hint
;) a

==
Alexander Jernejcic
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==


 -Original Message-
 From: Edward Carr [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, September 23, 2000 12:31 AM
 To: [EMAIL PROTECTED]
 Subject: Help with Local Relaying


 I have just installed Qmail for the first time on my SOLARIS 8 x86 box ...
 :) I was happy ... I got it to receive mail from my virt domain and put it
 in the proper mailboxes :) I was Very happy! ... I tried to send mail from
 my win2k to a friend on the internet and Eudora told me that it could not
 send my mail because "domain was not in the rcpt hosts file."

 I found http://cr.yp.to/qmail/faq/servers.html#authorized-relay  so I set
 that up ...
 IT WORKED :)  I was VERY happy.
 Then I noticed I was not receiving any mail :0 ...  I was SAD :(
 It was all sitting in /var/qmail/queue for some reason ...

 Could someone enlighten me as to what I am doing wrong...

 Here are my config files ...  Edited for anonymity ...

 /var/qmail/control/defaultdomain:
 domain.net

 /var/qmail/control/defaulthost:
 domain.net

 /var/qmail/control/locals:
 host.domain.net

 /var/qmail/control/me:
 host.domain.net

 /var/qmail/control/plusdomain:
 domain.net

 /var/qmail/control/rcpthosts:
 host.domain.net
 domain.net
 virthost

 /var/qmail/control/virtualdomains:
 domain.net:me
 virthost:me

 /etc/tcp.smtp:
 1.2.3.4:allow,RELAYCLIENT=""
 1.2.3.5:allow,RELAYCLIENT=""
 1.2.3.6:allow,RELAYCLIENT=""
 1.2.3.7:allow,RELAYCLIENT=""
 1.2.3.8:allow,RELAYCLIENT=""
 127.:allow,RELAYCLIENT=""

 /etc/init.d/qmail:
  snip! 
 if [ -x /usr/local/bin/tcpserver ]; then
 /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 7001 -g
 7001 0 smtp \
 /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger
 smtpd 3 
 echo "qmail starting"
 fi
  snip! 

 Any Ideas ???

 TIA

 Ted Carr






Re: Help with Local Relaying

2000-09-22 Thread Aaron L. Meehan

Quoting Edward Carr ([EMAIL PROTECTED]):
 Here are my config files ...  Edited for anonymity ...
 
 /var/qmail/control/defaultdomain:
 domain.net
 
 /var/qmail/control/defaulthost:
 domain.net

heh.. what the heck good do you think this does?  Might at well
say:

Here are my config files ... Deleted for security ...

/var/qmail/control/defaultdomain:
[censored]

/var/qmail/control/defaulthost:
[censored]

Anyway, what do you see in your log files?  If the messages
are in your queue, then the mail logs will tell you *why*
they are still there.

Aaron





RE: Help with Local Relaying

2000-09-22 Thread Edward Carr

There are no entries in the log files ... I checked that ... The messages
are in /var/qmail/queue/mess/??  (??=somenumber)
The message headers are in /var/qmail/queue/todo ...

The way I displayed my files makes perfect sense syntax wise!  You can see
if I should have more or less info entered in them.  :)

TIA
Ted


-Original Message-
From: Aaron L. Meehan [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 5:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Help with Local Relaying


Quoting Edward Carr ([EMAIL PROTECTED]):
 Here are my config files ...  Edited for anonymity ...

 /var/qmail/control/defaultdomain:
 domain.net

 /var/qmail/control/defaulthost:
 domain.net

heh.. what the heck good do you think this does?  Might at well
say:

Here are my config files ... Deleted for security ...

/var/qmail/control/defaultdomain:
[censored]

/var/qmail/control/defaulthost:
[censored]

Anyway, what do you see in your log files?  If the messages
are in your queue, then the mail logs will tell you *why*
they are still there.

Aaron






Re: Help with Local Relaying

2000-09-22 Thread Aaron L. Meehan

Quoting Edward Carr ([EMAIL PROTECTED]):
 There are no entries in the log files ... I checked that ... The messages
 are in /var/qmail/queue/mess/??  (??=somenumber)

No entries in your logs, at all?  You need to fix your mail logging
then.  Without logs you'll be scratching your head for weeks.

 The way I displayed my files makes perfect sense syntax wise!  You can see
 if I should have more or less info entered in them.  :)

OK, you should have a hundred more entries of "example.com" in them.

That still doesn't tell us if you have the *correct* stuff in there,
but if they are in your queue already it's probably a moot point.  You
need to figure out why the messages are being deferred, and only
qmail-send's log files are going to tell you without unneccessary
steps like using strace.  When you have your next mail emergency,
you'll be thankful you took the time to get proper logging.

Aaron