Re: no shell for qmail user (qmails, qmaill,...)

2001-03-07 Thread Joel Gautschi

if you are looking for a solution with only one entry in /etc/passwd you can
use vpopmail (http://www.vpopmail.cx)
- 1 entry in /etc/passwd - everything runs under a single UID/GID
- Support for Oracle, Sybase, Mysql, LDAP, /etc/passwd, /etc/shadow and
default cdb authentication storage
etc.
for more features, have a look at their page.

cya
Joel




Re: qmail queue problems .. help

2001-01-30 Thread Joel Gautschi

i'm wondering if exists some binaries or scripts to cleanup/fix
the qmail queue
( /opt/qmail/queue/mess
  /remote
  /info
  /bounce)

Have a look at:
http://www.faqts.com/knowledge_base/view.phtml/aid/1217/fid/206 :
--
How can I delete a lot of spam mail from the qmail queue?
May 9th, 2000 06:35

Howard Jones, Nathan Wallace
Magnus Bodin





Take a look at qmhandle:

http://www.io.com/~mick/soft/qmhandle.html

Don't forget to stop qmail before you mess around in the queue.



An alternative that I've used successfully is to
1) Stop qmail, qmail-smtpd and anything else that might try to deliver
messages - leave qmail-pop3d, then at least users can get their
existing mail.
2) Delete the offending messages from the /var/qmail/queue/mess
directories with something like:
find /var/qmail/queue/mess -type f -exec grep "^Subject: Want a
University Diploma" {} \; -print -exec rm {} \;
3) run queue-fix to clean up the appropriate related files in todo,
intd etc.
4) restart qmail.

qmhandle requires individual message numbers to delete messages. When
you have 100,000 messages, this is impractical! queue-fix is written by
Eric Huss, and is available at
http://www.netmeridian.com/e-huss/queue-fix.tar.gz

It's also worth knowing that the find command will still potentially
take hours to delete all that junk - be prepared for some phonecalls!
--

cya
Joel





Error: #4.4.2 - connected but connection died

2001-01-29 Thread Joel Gautschi

hi,
I get this error when user try to send a message to freesurf.ch. Is this my
problem, or is it the problem of freesurf.ch?

cya
Joel


 from /var/log/syslog (XX, XX2, XX3 aren't the real user
names of course)
Jan 29 11:30:20 joshua qmail: 980764220.330603 starting delivery 1: msg
1507332 to remote [EMAIL PROTECTED]
Jan 29 11:30:20 joshua qmail: 980764220.331727 status: local 0/10 remote
1/20
Jan 29 11:30:20 joshua qmail: 980764220.408456 starting delivery 2: msg
1507333 to remote [EMAIL PROTECTED]
Jan 29 11:30:20 joshua qmail: 980764220.408918 status: local 0/10 remote
2/20
Jan 29 11:30:20 joshua qmail: 980764220.479722 starting delivery 3: msg
1507331 to remote [EMAIL PROTECTED]
Jan 29 11:30:20 joshua qmail: 980764220.480098 status: local 0/10 remote
3/20
Jan 29 11:30:57 joshua qmail: 980764257.483799 delivery 1: deferral:
Connected_to_194.230.0.8_but_connection_died._(#4.4.2)/
Jan 29 11:30:57 joshua qmail: 980764257.484239 status: local 0/10 remote
2/20
Jan 29 11:30:57 joshua qmail: 980764257.832453 delivery 2: deferral:
Connected_to_194.230.0.8_but_connection_died._(#4.4.2)/
Jan 29 11:30:57 joshua qmail: 980764257.832823 status: local 0/10 remote
1/20
Jan 29 11:30:57 joshua qmail: 980764257.856358 delivery 3: deferral:
Connected_to_194.230.0.8_but_connection_died._(#4.4.2)/
Jan 29 11:30:57 joshua qmail: 980764257.856679 status: local 0/10 remote
0/20





strange problem with SMTP connection to gmx.net

2000-09-21 Thread Joel Gautschi

I had a strange problem with mails to gmx.net today. Every message to
gmx.net got this error:

deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

I tried
to do kill -ALRM [pid of qmail-send here]
but I always got the same error...

but I was able to telnet the (very slow) gmx mail server (mx0.gmx.net).

I didn't knew any solutions... so I restarted my system ;(

after that I did the
kill -ALRM [pid of qmail-send here]
again... and it worked!

but 20% of the mails to gmx.net still had this deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
error...

I restarted again...
kill -ALRM [pid of qmail-send here]
again.. now it worked!

anybody already had the same problem? or know what the problem was?
thanks for answers!
cya
Joel




Server hanging w/qmail 1.03

2000-08-17 Thread Joel Gautschi

 has anyone experienced this or anything like this

not the same...
just qmail-smtpd crashed ones with the following message in the logs:

--- from /var/log/messages ---
Jul 31 05:42:59 joshua -- MARK --
Jul 31 05:52:52 joshua kernel: Oops: 
Jul 31 05:52:52 joshua kernel: CPU:0
Jul 31 05:52:52 joshua kernel: EIP:0010:[cached_lookup+37/84]
Jul 31 05:52:52 joshua kernel: EFLAGS: 00010206
Jul 31 05:52:52 joshua kernel: eax: 1000   ebx: c0f172a0   ecx: 
edx: c08da6d3
Jul 31 05:52:52 joshua kernel: esi: 000b   edi: 000b   ebp: c0bd8980
esp: c0999f5c
Jul 31 05:52:52 joshua kernel: ds: 0018   es: 0018   ss: 0018
Jul 31 05:52:52 joshua kernel: Process qmail-send (pid: 174, process nr: 14,
stackpage=c0999000)
Jul 31 05:52:52 joshua kernel: Stack: c01298c5 c0bd8980 c0999f80 000b
c0937000 c0937000 0001 bb1c
Jul 31 05:52:52 joshua kernel:c0937000 c0937005 0001 0031
c012999d c0937000  0001
Jul 31 05:52:52 joshua kernel:c0998000 bb54 badc c01279d3
08052230 0001 c0998000 bb54
Jul 31 05:52:52 joshua kernel: Call Trace: [lookup_dentry+253/428]
[__namei+41/92] [sys_newstat+19/100] [system_call+52/56]
Jul 31 05:52:52 joshua kernel: Code: 8b 00 85 c0 74 23 56 53 ff d0 83 c4 08
85 c0 75 18 53 e8 78
Jul 31 06:02:59 joshua -- MARK --
---

cya
Joel




virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-14 Thread Joel Gautschi

hi,

1. every user in /var/lib/vpopmail/users works fine
2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(

if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
error in the mail.log

--- from /var/log/mail.log ---
Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
from [EMAIL PROTECTED] qp 31023 uid 64011
Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
1507345 to local [EMAIL PROTECTED]
Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
---

the virtual domain directory looks like that:

joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
total 12
drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
-rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
-rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
-rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
-rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
-rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb


I created the virtualdomain with vadddomain and the virtualdomain users with
vadduser
any idea what's wrong? do you need more information (log files or
whatever...)?

btw: does the virtualdomain need an MX entry on the DNS server?
cya
Joel







virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-10 Thread Joel Gautschi

hi,

1. every user in /var/lib/vpopmail/users works fine
2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(

if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
error in the mail.log

--- from /var/log/mail.log ---
Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
from [EMAIL PROTECTED] qp 31023 uid 64011
Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
1507345 to local [EMAIL PROTECTED]
Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
---

the virtual domain directory looks like that:

joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
total 12
drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
-rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
-rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
-rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
-rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
-rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb


I created the virtualdomain with vadddomain and the virtualdomain users with
vadduser
any idea what's wrong? do you need more information (log files or
whatever...)?

btw: does the virtualdomain need an MX entry on the DNS server?
cya
Joel





trouble injecting bounce message

2000-08-03 Thread Joel Gautschi

hi,
I have a lot of these entries in my /var/log/syslog file. what do these
entries mean? do I have to care about them or are these messages just
'information'?

Aug  3 06:26:22 joshua qmail: 965276782.869518 warning: trouble injecting
bounce message, will try later

thanks for an answer
Joel