qmail Digest 21 Mar 2001 11:00:01 -0000 Issue 1310
Topics (messages 59344 through 59422):
Re: multiple checkpassword routines
59344 by: Peter Green
59356 by: J�rgen Persson
59358 by: J�rgen Persson
59372 by: Peter Green
59407 by: J�rgen Persson
Trouble with qmail on Redhat 6.2
59345 by: Iain Morrison
59346 by: Yves Caetano
59359 by: James Raftery
59387 by: Dave Sill
virtual domains
59347 by: ediknovl
59348 by: Chris Johnson
59349 by: Frank Tegtmeyer
59350 by: Peter Green
59351 by: Kirill Miazine
59352 by: Peter Green
59355 by: Kirill Miazine
Re: how can i send mails serially
59353 by: Charles Cazabon
Re: virtual + real users in same domain
59354 by: Charles Cazabon
qmail-smtp status 256?
59357 by: Marcus Korte
Re: Qmail newbie question
59360 by: Noah Sematimba
Delivering to pipe - I need "Return-Path:"
59361 by: Roger Walker
59362 by: Kirill Miazine
59363 by: Charles Cazabon
59364 by: Roger Walker
59365 by: Alex Kramarov
controlling alias access
59366 by: dan kelley
Re: Alias not forwading to .qmail-foo-default
59367 by: Tetsu Ushijima
Re: qmail-rspawn not starting under svscan
59368 by: Tetsu Ushijima
/usr/bin/sendmail -t
59369 by: Alex Le Fevre
59370 by: Charles Cazabon
59373 by: Alex Le Fevre
59374 by: Kirill Miazine
59375 by: Johan Almqvist
59377 by: Alex Le Fevre
59379 by: Charles Cazabon
vsm-style Maildir?
59371 by: Drew Raines
59388 by: Peter van Dijk
59389 by: Peter van Dijk
Qmail Scanner
59376 by: Ross Cooney
59378 by: Charles Cazabon
59380 by: schoon.amgt.com
59385 by: MIS - Ben Murphy
59397 by: Jason Haar
59400 by: Brett Randall
59408 by: Ross Cooney
59411 by: Ross Cooney
/var/qmail/users/cdb
59381 by: Brad Dameron
59382 by: Charles Cazabon
Autoresponder help!!
59383 by: Nick Papageorge
59384 by: Charles Cazabon
59386 by: Nick Papageorge
qmail large usuage
59390 by: peter.milburn.sofcom.com.au
59391 by: Charles Cazabon
59395 by: Peter van Dijk
59396 by: Mark Delany
59398 by: Peter van Dijk
setting QMAILMFTFILE
59392 by: Brett
59393 by: Charles Cazabon
looking for tms v0.22
59394 by: Jason R. Mastaler
"Request for Confirmation"-script for qmail ?
59399 by: Olivier M.
59401 by: Peter van Dijk
59402 by: Olivier M.
59403 by: Peter van Dijk
59404 by: Olivier M.
59405 by: Peter van Dijk
59406 by: Olivier M.
Multiple QMAIL-SMTPD on same box?
59409 by: Brandon Yu
59410 by: Sean Chittenden
59412 by: Brandon Yu
59413 by: Sean Chittenden
Re: X-Sender
59414 by: David L. Nicol
qmail install troubles
59415 by: Nick Kocharhook
59417 by: Ruprecht Helms
59421 by: Shirish Bhagwat
virus
59416 by: Chrisanthy Carlane
no mailbox here(#5.1.1)
59418 by: Massimo Quintini
delete msg in queue
59419 by: Massimo Quintini
59422 by: Hans Sandsdalen
Qmail + Databases
59420 by: Federico
Administrivia:
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
* Jörgen Persson <[EMAIL PROTECTED]> [010320 04:24]: > On Mon, Mar 19, 2001 at 04:08:41PM -0500, Peter Green wrote: > > I have some domains in vpopmail and some in vmailmgr, both of which need to > > do POP. Before I go requesting another IP address, is there a checkpassword > > dropin that actually executes an arbitrary number of other checkpassword > > dropins and, finding one that works, executes the rest of the command line? > > > > Does that make sense? Thanks for the help, > > Shouldn't a simple shell script as a wrapper do the trick?? Starting > tcpserver something like: > > tcpserver 0 pop3 qmail-popup myhost.invalid \ > mycheckpasswd qmail-pop3d Maildir Sure, but the mycheckpasswd part is hanging me up. Specifically, writing to the numbered FDs is hanging me up, and I didn't have a lot of time to figure this out, so I was hoping something already existed. If anyone could whip up the important bits (the IO redirection and the execution string), I could easily figure out the rest. And I'd be extremely grateful. :-) Thanks, /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- "And it _really_ moves" G Galilei (Linus Torvalds, announcing a yet better kernel)
On Tue, Mar 20, 2001 at 06:26:35AM -0500, Peter Green wrote: [snip] > Sure, but the mycheckpasswd part is hanging me up. Specifically, writing to > the numbered FDs is hanging me up, and I didn't have a lot of time to figure > this out, so I was hoping something already existed. > > If anyone could whip up the important bits (the IO redirection and the > execution string), I could easily figure out the rest. And I'd be extremely > grateful. :-) > > Thanks, Sorry for the delay but I'm at work... Well, here's some help with the file descriptors, I tested the following successfully under bash-2.03. # checkpassword echo $? 3< /tmp/dummypwd 0 # od -c /tmp/dummypwd 0000000 d u m m y \0 d u m m y d u m m y 0000020 \0 9 8 5 0 9 3 2 3 9 004 Check out http://cr.yp.to/checkpwd/interface.html G'luck J�rgen
On Tue, Mar 20, 2001 at 03:27:07PM +0100, J�rgen Persson wrote: [snip] > # checkpassword echo $? 3< /tmp/dummypwd > 0 [snip] I realized $? is misleading since it's the previous error code. Change it to ''pwd'' or whatever: # checkpassword pwd 3< /tmp/dummypwd /home/dummy # echo $? 0 # checkpassword pwd 3< /tmp/badpwd # echo $? 1 J�rgen
* Jörgen Persson <[EMAIL PROTECTED]> [010320 09:27]: > On Tue, Mar 20, 2001 at 06:26:35AM -0500, Peter Green wrote: > [snip] > > Sure, but the mycheckpasswd part is hanging me up. Specifically, writing to > > the numbered FDs is hanging me up, and I didn't have a lot of time to figure > > this out, so I was hoping something already existed. > > > > If anyone could whip up the important bits (the IO redirection and the > > execution string), I could easily figure out the rest. And I'd be extremely > > grateful. :-) > > > > Thanks, > > Sorry for the delay but I'm at work... Well, here's some help with the > file descriptors, I tested the following successfully under bash-2.03. > > # checkpassword echo $? 3< /tmp/dummypwd > 0 > # od -c /tmp/dummypwd > 0000000 d u m m y \0 d u m m y d u m m y > 0000020 \0 9 8 5 0 9 3 2 3 9 004 > > Check out http://cr.yp.to/checkpwd/interface.html Thanks for the help, Jörgen! However, it wasn't the format of the string checkpassword (and friends) expects; it's the IO. For example, let's say I wanted to do this in bash2. I might do, simply: #!/bin/bash2 # check vmailmgr first; save the environment # /tmp/scr just executes /usr/bin/id ENVIRON = $(/usr/bin/checkvpw /tmp/scr Maildir/) rc=$? if [ $rc -ne 0 ]; then # failed; try vpopmail ENVIRON = $(/usr/local/vpopmail/bin/vchkpw /tmp/scr Maildir/) rc=$? if [ $rc -ne 0 ]; then # failed all echo "-ERR Authorization failed" exit $rc else export $ENVIRON exec qmail-pop3d "$@" fi else export $ENVIRON exec qmail-pop3d "$MAILDIR" fi It mostly works, since all child processes inherit FD 3 properly. However, if the first method fails, it cannot try the second method, since FD 3 has already hit EOF; how can I rewind this from bash? Also, if it succeeds, the exec line simply does not work; the error is always ``-ERR this user has no $HOME/Maildir''. I have double-checked the environment with ``env>>/tmp/debug'' after the export call, and home get set properly. This is simply out of my league, I think. Any additional thoughts before I throw in the towel? Would this be useful for other situations? Thanks for the continued help! /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- If Bill Gates is the Devil then Linus Torvalds must be the Messiah. (Unknown source)
On Tue, Mar 20, 2001 at 12:36:13PM -0500, Peter Green wrote: [snip] > #!/bin/bash2 > > # check vmailmgr first; save the environment > # /tmp/scr just executes /usr/bin/id > ENVIRON = $(/usr/bin/checkvpw /tmp/scr Maildir/) > rc=$? > if [ $rc -ne 0 ]; then > # failed; try vpopmail > ENVIRON = $(/usr/local/vpopmail/bin/vchkpw /tmp/scr Maildir/) > rc=$? > if [ $rc -ne 0 ]; then > # failed all > echo "-ERR Authorization failed" > exit $rc > else > export $ENVIRON > exec qmail-pop3d "$@" > fi > else > export $ENVIRON > exec qmail-pop3d "$MAILDIR" > fi > > It mostly works, since all child processes inherit FD 3 properly. However, > if the first method fails, it cannot try the second method, since FD 3 has > already hit EOF; how can I rewind this from bash? Also, if it succeeds, the > exec line simply does not work; the error is always ``-ERR this user has no > $HOME/Maildir''. I have double-checked the environment with > ``env>>/tmp/debug'' after the export call, and home get set properly. [snip] You can rewind by saving FD3 to an ordinary file. Try this example: #! /bin/sh exec 0<&3 cat>/tmp/pwd exec 3</tmp/pwd checkpassword qmail-pop3d Maildir exec 3</tmp/pwd checkpassword qmail-pop3d Maildir I don't know if you mind the file /tmp/pwd or if it is possible to get rid of it at all but pop is insecure anyway -- don't forget to create a unique file instead (and to remove it after the session). I had the same problem with $HOME/Maildir when I started qmail-pop3d by itself... This example isn't all good since qmail-pop3d terminates directly :) Jörgen
I am in the process of setting up qmail on a Redhat 6.2 Box 2.2.14-5.0 kernel. The problem is that I am unable to connect to the SMTP server even via the loopback address. When I telnet to port 25 I get connected but get a dead prompt. I am able to inject mail for qmail to process and this works without any problems at all for local addresses and external addresses. I am able to retrieve mail via pop3 with no trouble, I just cant send it the SMTP server. I have enclosed below the various startup and config files used for this system. Any ideas are gratefully recieved. TIA Iain Morrison *-*-*-*-*-*-* Qmail RC file: #!/bin/sh # Using stdout for logging # Using control/defaultdelivery from qmail-local to deliver messages by default exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start "`cat /var/qmail/control/defaultdelivery`" *-*-* The above script uses the defaultdelivery file below: ./Maildir/ *-*-* The qmail start script is below: #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan & echo $! > /var/run/svscan.pid echo "." ;; stop) echo -n "Stopping qmail: svscan" kill `cat /var/run/svscan.pid` echo -n " qmail" svc -dx /var/qmail/supervise/* echo -n " logging" svc -dx /var/qmail/supervise/*/log echo "." ;; stat) cd /var/qmail/supervise svstat * */log ;; doqueue|alrm) echo "Sending ALRM signal to qmail-send." svc -a /var/qmail/supervise/qmail-send ;; queue) qmail-qstat qmail-qread ;; reload|hup) echo "Sending HUP signal to qmail-send." svc -h /var/qmail/supervise/qmail-send ;; pause) echo "Pausing qmail-send" svc -p /var/qmail/supervise/qmail-send echo "Pausing qmail-smtpd" svc -p /var/qmail/supervise/qmail-smtpd ;; cont) echo "Continuing qmail-send" svc -c /var/qmail/supervise/qmail-send echo "Continuing qmail-smtpd" svc -c /var/qmail/supervise/qmail-smtpd ;; restart) echo "Restarting qmail:" echo "* Stopping qmail-smtpd." svc -d /var/qmail/supervise/qmail-smtpd echo "* Sending qmail-send SIGTERM and restarting." svc -t /var/qmail/supervise/qmail-send echo "* Restarting qmail-smtpd." svc -u /var/qmail/supervise/qmail-smtpd ;; cdb) tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp chmod 644 /etc/tcp.smtp* echo "Reloaded /etc/tcp.smtp." ;; help) cat <<HELP stop -- stops mail service (smtp connections refused, nothing goes out) start -- starts mail service (smtp connection accepted, mail can go out) pause -- temporarily stops mail service (connections accepted, nothing leaves) cont -- continues paused mail service stat -- displays status of mail service cdb -- rebuild the tcpserver cdb file for smtp restart -- stops and restarts smtp, sends qmail-send a TERM & restarts it doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery reload -- sends qmail-send HUP, rereading locals and virtualdomains queue -- shows status of queue alrm -- same as doqueue hup -- same as reload HELP ;; *) echo "Usage: $0 {start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue |help}" exit 1 ;; esac exit 0 *-*-* The above qmail script uses svcscan to start qmail, the files are located in /var/qmail/supervise - in the directories of qmail-smtpd & qmail-send (both directories have a log directory in them, althugh it does not work!) The run file for qmail-smtpd is: #!/bin/sh QMAILDUID='is -u qmaild' NOFILESGID='id -g qmaild' MAXSMTPD='cat /var/qmail/control/concurrencyincoming' exec /usr/local/bin/softlimit -m 2000000 \ /usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGIS" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 The qmail-smtpd - log run file is: #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/sm tpd The run file for qmail-send: #!/bin/sh exec /var/qmail/rc The qmail-send - log run file is: #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail *-*-* After qmail has supposedly started up I have the following processes running: PID TTY STAT TIME COMMAND 415 ? S 0:00 svscan 416 ? S 0:00 supervise qmail-send 417 ? S 0:00 supervise qmail-smtpd 418 ? S 0:00 /usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c MAXS 419 ? S 0:00 qmail-send 426 ? S 0:00 qmail-lspawn ./Maildir/ 427 ? S 0:00 qmail-rspawn 428 ? S 0:00 qmail-clean 437 ? S 0:00 lpd _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
hi, > > After qmail has supposedly started up I have the following processes > running: > > PID TTY STAT TIME COMMAND > 415 ? S 0:00 svscan > 416 ? S 0:00 supervise qmail-send > 417 ? S 0:00 supervise qmail-smtpd > 418 ? S 0:00 /usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c > MAXS > 419 ? S 0:00 qmail-send > 426 ? S 0:00 qmail-lspawn ./Maildir/ > 427 ? S 0:00 qmail-rspawn > 428 ? S 0:00 qmail-clean > 437 ? S 0:00 lpd > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. i am not sure but shouldn't the line of qmail-smtpd in the tcpserver line like: /usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c MAXS qmail-smtpd you have also to specifiy to the tcpserver which port to connect like 25 here is my ps -auxww | grep qmail: qmails 92 0.0 0.2 876 268 ? S Mar16 0:01 qmail-send qmaild 93 0.0 0.2 852 284 ? S Mar16 0:00 /usr/local/bin/tcpserver -p -x /etc/tcp.smtp.cdb -u 1001 -g 101 0 smtp /usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd qmaill 94 0.0 0.2 840 296 ? S Mar16 0:00 splogger qmail root 95 0.0 0.1 836 232 ? S Mar16 0:00 qmail-lspawn |preline procmail qmailr 96 0.0 0.1 836 232 ? S Mar16 0:00 qmail-rspawn qmailq 97 0.0 0.1 832 224 ? S Mar16 0:00 qmail-clean hope that i helped you :-)) cu ycae -- Yves Caetano Server Support Engineer Tel: 295383 254 Fax: 295383 222 email: [EMAIL PROTECTED] http://www.incotech.lu
On Tue, Mar 20, 2001 at 11:48:55AM -0000, Iain Morrison wrote: > The problem is that I am unable to connect to the SMTP server even via the > loopback address. When I telnet to port 25 I get connected but get a dead > prompt. [snip] > The run file for qmail-smtpd is: ...riddled with typos... > #!/bin/sh > QMAILDUID='is -u qmaild' "is" should be "id". > NOFILESGID='id -g qmaild' > MAXSMTPD='cat /var/qmail/control/concurrencyincoming' > exec /usr/local/bin/softlimit -m 2000000 \ > /usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "MAXSMTPD" \ "MAXSMTPD" should be "$MAXSMTPD". > -u "$QMAILDUID" -g "$NOFILESGIS" 0 smtp /var/qmail/bin/qmail-smtpd "$NOFILESGIS" should be "$NOFILESGID" Regards, james -- James Raftery (JBR54) "It's somewhere in the Red Hat district" -- A network engineer's freudian slip when talking about Amsterdam's nightlife at RIPE 38.
"Iain Morrison" <[EMAIL PROTECTED]> wrote: >The run file for qmail-smtpd is: > >#!/bin/sh >QMAILDUID='is -u qmaild' >NOFILESGID='id -g qmaild' >MAXSMTPD='cat /var/qmail/control/concurrencyincoming' Should be back quotes (`) not single quotes ('). -Dave
Hello All, I've installed virtual domains on qmail, so that all incoming mail for domain example.com is getting in mailbox mailb. But qmail adds a mailbox name in to Delivered to line that is not should be there, for example: mail to [EMAIL PROTECTED] whill be delivered whith line [EMAIL PROTECTED] Is it possible to configure that all mail to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the Delivered to line not with [EMAIL PROTECTED] ? -- Best regards, Eduard mailto:[EMAIL PROTECTED]
On Tue, Mar 20, 2001 at 03:22:11PM +0300, ediknovl wrote: > I've installed virtual domains on qmail, so that all incoming mail for > domain example.com is getting in mailbox mailb. But qmail adds a > mailbox name in to Delivered to line that is not should be there, for example: > mail to [EMAIL PROTECTED] whill be delivered whith line > [EMAIL PROTECTED] Is it possible to configure that all mail > to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the > Delivered to line not with [EMAIL PROTECTED] ? The Delivered-To header is there to prevent loops. Why don't you just ignore it? Chris
> [EMAIL PROTECTED] Is it possible to configure that all mail > to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the > Delivered to line not with [EMAIL PROTECTED] ? Not that I like this behaviour: the vpopmail package does that. But it's better to leave it untouched. Like Chris wrote it's ther to prevent mail loops. Regards, Frank
* Frank Tegtmeyer <[EMAIL PROTECTED]> [010320 08:08]: > > [EMAIL PROTECTED] Is it possible to configure that all mail > > to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the > > Delivered to line not with [EMAIL PROTECTED] ? > > Not that I like this behaviour: the vpopmail package does that. Not strictly speaking; qmail-send does that. virtualdomains List of virtual users or domains, one per line. A virtual user has the form user@domain:prepend, with out any extra spaces. When qmail-send sees the recipient address user@domain, it converts it to prepend-user@domain and treats it as local. > But it's better to leave it untouched. Like Chris wrote it's ther to > prevent mail loops. Yeppers. /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- panic("esp: Heading to the promised land."); (Panic message in the kernel.)
On Tue, Mar 20, 2001 at 08:25:38AM -0500, Peter Green wrote: > * Kirill Miazine <[EMAIL PROTECTED]> [010320 08:21]: > > On Tue, Mar 20, 2001 at 08:11:40AM -0500, Peter Green wrote: > > > * Frank Tegtmeyer <[EMAIL PROTECTED]> [010320 08:08]: > > > > > [EMAIL PROTECTED] Is it possible to configure that all mail > > > > > to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the > > > > > Delivered to line not with [EMAIL PROTECTED] ? > > > > > > > > Not that I like this behaviour: the vpopmail package does that. > > > > > > Not strictly speaking; qmail-send does that. > > > > well, he's talking about vpopmail's Delivere-To line, it's > > [EMAIL PROTECTED] in this case > > I'm not sure what you mean. If ``example.com'' is in virtualdomains as, say: > > example.com:exampleuser > > Then the Delivered-To: line of: > > [EMAIL PROTECTED] > > will be added for <[EMAIL PROTECTED]> regardless of whether vpopmail is > being used or not. For instance, I see this exact same behavior with > vmailmgr. qmail doesn't add the Return-Path and Delivered-To lines when delivering to programs: from `man qmail-command': [...] WARNING: The mail message does not begin with qmail- local's usual Return-Path and Delivered-To lines. [...] vpopmail adds Return-Path and Delivered-To itself: from vdelivermail.c: [...] sprintf(msgbuf, "%sDelivered-To: %s@%s\n", getenv("RPLINE"), TheUser, TheDomain); [...] > > But maybe I'm just misunderstanding...wouldn't be the first time. :-) > > /pg > -- > Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] > --- > panic("esp: Mr. Potatoe Head is on the loose!"); > (Panic message in the kernel.) > -- Kirill
* Kirill Miazine <[EMAIL PROTECTED]> [010320 08:36]: > On Tue, Mar 20, 2001 at 08:25:38AM -0500, Peter Green wrote: > > I'm not sure what you mean. If ``example.com'' is in virtualdomains as, say: > > > > example.com:exampleuser > > > > Then the Delivered-To: line of: > > > > [EMAIL PROTECTED] > > > > will be added for <[EMAIL PROTECTED]> regardless of whether vpopmail is > > being used or not. For instance, I see this exact same behavior with > > vmailmgr. > > qmail doesn't add the Return-Path and Delivered-To lines when delivering > to programs: Gotcha. > vpopmail adds Return-Path and Delivered-To itself: > > from vdelivermail.c: > [...] > sprintf(msgbuf, "%sDelivered-To: %s@%s\n", > getenv("RPLINE"), TheUser, TheDomain); > [...] But as far as I can tell, vpopmail doesn't have anything to say about the format of the Delivered-To: line, since qmail-send has already ``mangled'' the local part of the e-mail address, right? I guess vpopmail could revert the local information to a pre-virtualdomains state before writing the Delivered-To: line, but that doesn't seem like it would make much sense... /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- panic("Splunge!"); (Panic message in the kernel.)
On Tue, Mar 20, 2001 at 08:42:47AM -0500, Peter Green wrote: > > > > qmail doesn't add the Return-Path and Delivered-To lines when delivering > > to programs: > > Gotcha. > > > vpopmail adds Return-Path and Delivered-To itself: > > > > from vdelivermail.c: > > [...] > > sprintf(msgbuf, "%sDelivered-To: %s@%s\n", > > getenv("RPLINE"), TheUser, TheDomain); > > [...] > > But as far as I can tell, vpopmail doesn't have anything to say about the > format of the Delivered-To: line, since qmail-send has already ``mangled'' > the local part of the e-mail address, right? I guess vpopmail could revert > the local information to a pre-virtualdomains state before writing the > Delivered-To: line, but that doesn't seem like it would make much sense... Assumed I understood you correctly, that's exactly what vpopmail does, but it constructs it's own Delivered-To line rather than reverting anything > > /pg > -- > Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] > --- > panic("Splunge!"); > (Panic message in the kernel.) > -- Kirill
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I do have a file comcurrencyremote in /var/qmail/control and it has a value > 120. > > And still i am facing problem bcoz qmail try to send mails simultaneuosly > with destination server and establish multiple smtp connection with > destination server and bandwidth get choked. > > Is there any way by which i can establish only one single conection with > remote server and can send all the pending mails to the destination server qmail is designed for well-connected hosts. If your host is not well connected, you might want to add on Dan's serialmail package. It is designed for this. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
Todd A. Jacobs <[EMAIL PROTECTED]> wrote: > I know a few people have asked this question (including me) and gotten the > answer that, yes, it can be done. However, neither LWQ nor qmail.org > really have any how-to's that cover this particular type of setup--in > particular, a useful discussion of how users can retrieve POP3 mail from > both types of accounts using the same daemon. I believe vmailmgr handles this situation, and therefore contains the necessary pieces of software to do so. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
Hi, I am running qmail on RH6.2 with daemontools,ucspi-tcp, vpopmail,... 2001-03-20 10:28:25.327350500 tcpserver: status: 1/20 2001-03-20 10:28:25.327505500 tcpserver: pid 12754 from 145.228.95.229 2001-03-20 10:28:25.328352500 tcpserver: ok 12754 lycmail1-1.lycos.de:62.52.69.35:25 :145.228.95.229::3722 2001-03-20 10:28:27.410687500 tcpserver: end 12754 status 256 2001-03-20 10:28:27.410713500 tcpserver: status: 0/20 For some reason some of my clients cannot send/relay mail. smtp-log just says "status 256" see above. What does it mean? Is there somewhere an explaination for this status? Regards, Marcus -- Sent through GMX FreeMail - http://www.gmx.net
Well have you tried to start tcpserver anyway? On Mon, 19 Mar 2001, Johnson, Garrett wrote: > Please forgive my ignorance. I'm trying to learn. > > I have set up a secondary Qmail server on RedHat 7.0 and it > seems to have come up without a problem, but I'm having a > hair-pulling time trying to test if it works properly. It has > passed some basic tests. For instance I can use qmail-inject > to email other servers. But the number of processes being run > is awfully small. > This is what I get from ps -ef | grep qmail: > > root 503 502 0 Mar16 ? 00:00:00 supervise qmail-send > root 505 502 1 Mar16 ? 00:54:39 supervise qmail-smtpd > qmaill 507 504 0 Mar16 ? 00:00:00 /usr/local/bin/multilog t > qmails 508 503 0 Mar16 ? 00:00:00 qmail-send > qmaill 510 506 0 Mar16 ? 00:00:00 /usr/local/bin/multilog t > root 520 508 0 Mar16 ? 00:00:00 qmail-lspawn ./Mailbox > qmailr 521 508 0 Mar16 ? 00:00:00 qmail-rspawn > qmailq 522 508 0 Mar16 ? 00:00:00 qmail-clean > root 3883 505 0 12:20 ? 00:00:00 supervise qmail-smtpd > > Should there be more processes running? Why isn't tcpserver > running (keeping in mind that it isn't passing any email right now)? > Something more disturbing is that when I run mconnect without > arguments I get: > > tcpclient: unable to connect to 127.0.0.1 port 25: connection refused > > When I run a portsniff from another computer port 25 doesn't > show up? Is this some sort of security or is something wrong? > Maybe I'm worrying about nothing, but this seems weird. > Please be patient with the Qmail newbie. I'd be glad to supply > more information if required. > > -Garrett > [EMAIL PROTECTED] > >
We need to set up something special for a domain and to do so, we need to capture all of the headers, including the "Return-Path:". If we pipe the messages to a script in the ".qmail-default", qmail-local strips off that and other headers we may need. Is there any way to over-ride this behavior or otherwise force qmail-local to provide those headers to the pipe? Thanks. -- Roger Walker <http://www.rat-hole.com> Voice/Fax 1-780-440-2685 <http://www.man-from-linux.com> "HIS Pain; YOUR Gain" <http://www.rope.net> <http://www.rope.net/signature.html>
A similar thing has been discussed today, read 'man preline' and/or use something like |preline -f /your/command in your .qmail-default On Tue, Mar 20, 2001 at 09:13:42AM -0700, Roger Walker wrote: > We need to set up something special for a domain and to do so, we > need to capture all of the headers, including the "Return-Path:". If we > pipe the messages to a script in the ".qmail-default", qmail-local strips from 'man qmail-command': WARNING: The mail message does not begin with qmail- local's usual Return-Path and Delivered-To lines. > off that and other headers we may need. Is there any way to over-ride > this behavior or otherwise force qmail-local to provide those headers to > the pipe? > > Thanks. > > -- > Roger Walker <http://www.rat-hole.com> > Voice/Fax 1-780-440-2685 <http://www.man-from-linux.com> > "HIS Pain; YOUR Gain" <http://www.rope.net> > <http://www.rope.net/signature.html> > -- Kirill
Roger Walker <[EMAIL PROTECTED]> wrote: > We need to set up something special for a domain and to do so, we > need to capture all of the headers, including the "Return-Path:". If we > pipe the messages to a script in the ".qmail-default", qmail-local strips > off that and other headers we may need. Is there any way to over-ride > this behavior or otherwise force qmail-local to provide those headers to > the pipe? If you just want to capture, keep a copy of the messages by saving them directly into a Maildir via an appropriate .qmail file. If necessary, use QUEUE_EXTRA. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
On Tue, 20 Mar 2001, Kirill Miazine wrote: > A similar thing has been discussed today, I just joined the list, so I missed it. > read 'man preline' and/or use something like > > |preline -f /your/command > > in your .qmail-default Yes, I had just thought to check that after seeing the example in dot-qmail man page. I think it will work. Thanks. -- Roger Walker <http://www.rat-hole.com> Voice/Fax 1-780-440-2685 <http://www.man-from-linux.com> "HIS Pain; YOUR Gain" <http://www.rope.net> <http://www.rope.net/signature.html>
Roger Walker wrote > We need to set up something special for a domain and to do so, we > need to capture all of the headers, including the "Return-Path:". If we > pipe the messages to a script in the ".qmail-default", qmail-local strips > off that and other headers we may need. Is there any way to over-ride > this behavior or otherwise force qmail-local to provide those headers to > the pipe? If you can alter the program you pipe to, just grab the enviropment variable RPLINE for the return-path in the program you pipe to - it is set by qmail-local in the delivery time. The same is with the delivered to header, it's in DTLINE. Put | /usr/bin/env > /tmp/enviropment_dump in .qmail to check out all the enviropment variables set by qmail-local
hi all- i'm using fastforward in /var/qmail/aliases/.qmail-default like so: | /var/qmail/bin/fastforward -d /etc/aliases.cdb i'd like to control access to certain email aliases; i.e. only certaing users should be able to send emails to certain site-wide aliases. simple 'from' checking is probably enough, although it would be nice to have something better. the only option i can think of is writing some type of wrapper to stick in .qmail-default that sits before fastforward. has someone seen a better way to do this? thanks- dan ________________ Dan Kelley www.otec.com 212-840-8600 ________________
Todd A. Jacobs writes: > > Try .qmail-15dmziMUy-default instead. > > It doesn't work, regardless of whether I put it in ~alias or $HOME. I > still get "no mailbox." Try ~alias/.qmail-15dmzimuy-default (all in lowercase letters). > It works fine if I forward to a real user. The point is that I want to > forward it to another dot-qmail extension. Are you saying that messages to 15dmziMUy-foo are forwarded to a real user when you put that real user's name in ~alias/.qmail-15dmziMUy-default? I can hardly believe. -- Tetsu Ushijima
Golden_Eternity writes: > Now, I can get qmail to accept mail from other systems when I start it under > svscan, but qmail-rspawn doesn't start. Is it only qmail-rspawn that doesn't start? What about other qmail daemons, that is, qmail-send, qmail-clean, and qmail-lspawn? None of them can be found in the ps output. (There is ``supervise qmail-send'', but it's supervise, not qmail-send.) What's logged in /var/log/qmail/qmail-send/current? What happens if you do ``svc -u /service/qmail-send''? What happens if you do ``svstat /service/qmail-send''? -- Tetsu Ushijima
I'm currently putting together a small Perl script that sends an e-mail with a user-entered value as the from: value. I want to test my syntax by using my sendmail wrapper with the -t flag, but I don't know how to tell it I'm done with a message. What command do I issue to tell the mailwrapper I'm done? Alex Le Fevre __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Alex Le Fevre <[EMAIL PROTECTED]> wrote: > I'm currently putting together a small Perl script that sends an e-mail with > a user-entered value as the from: value. I want to test my syntax by using my > sendmail wrapper with the -t flag, but I don't know how to tell it I'm done > with a message. What command do I issue to tell the mailwrapper I'm done? EOF -- close the fd. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
> EOF -- close the fd. If I'm actually typing my info in -- after calling /usr/bin/sendmail -t from a command line -- is that Ctrl-z? Alex __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
On Tue, Mar 20, 2001 at 10:03:13AM -0800, Alex Le Fevre wrote: > > EOF -- close the fd. > > If I'm actually typing my info in -- after calling > /usr/bin/sendmail -t from a command line -- is that > Ctrl-z? Ctrl-d > > Alex > > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ -- Kirill
* Alex Le Fevre <[EMAIL PROTECTED]> [010320 19:03]: > > EOF -- close the fd. > If I'm actually typing my info in -- after calling > /usr/bin/sendmail -t from a command line -- is that > Ctrl-z? No. Ctrl-z just stops the program. Ctrl-d is what you want. -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
OK, that's cool...but now I have (presumably) one last question. I've got my script printing From: $usermail to /usr/bin/sendmail, and it's working well enough both to trap the address the user enters and put it into the From: field. My question is, what field to I need to put $usermail into so that I can send a message to [EMAIL PROTECTED] and fool ezmlm? Alex __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Alex Le Fevre <[EMAIL PROTECTED]> wrote: > OK, that's cool...but now I have (presumably) one last question. I've got my > script printing From: $usermail to /usr/bin/sendmail, and it's working well > enough both to trap the address the user enters and put it into the From: > field. My question is, what field to I need to put $usermail into so that I > can send a message to [EMAIL PROTECTED] and fool ezmlm? Do a quick & dirty parse of the address, splitting it at the _last_ occurrence of "@", so you get userlocal and userdomain parts. Then just send a (blank) mail to: [EMAIL PROTECTED] This works well for us -- we use it for web-based initiation of subscription/unsubscription requests to ezmlm lists. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
This seems like it would be a common question, but I haven't found a clear answer. I would like to merge the stability and speed of Maildirs with the administrative convenience of VSM (nice, clean, all-in-one directory tree). I've tried starting qmail's rc with something like env - PATH="/var/qmail/bin:$PATH" \ qmail-start /var/spool/mail/$USER/ splogger qmail after doing a maildirmake on /var/spool/mail/$USER, but I get the dreaded Unable_to_chdir_to_maildir error. I've only set up qmail with regular vsm support before.... Could someone point me in the right direction or tell me why I wouldn't want to set this up this way? thanks -drew
On Tue, Mar 20, 2001 at 11:32:18AM -0600, Drew Raines wrote: > This seems like it would be a common question, but I haven't found a > clear answer. I would like to merge the stability and speed of > Maildirs with the administrative convenience of VSM (nice, clean, > all-in-one directory tree). I've tried starting qmail's rc with > something like > > env - PATH="/var/qmail/bin:$PATH" \ > qmail-start /var/spool/mail/$USER/ splogger qmail > > after doing a maildirmake on /var/spool/mail/$USER, but I get the > dreaded Unable_to_chdir_to_maildir error. I've only set up qmail with > regular vsm support before.... Could someone point me in the right > direction or tell me why I wouldn't want to set this up this way? I use safecat and a small tool that calculates hashed /var/spool/mail names for this. This should work for you: (untested!): env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|maildir /var/spool/mail/$USER/' splogger qmail where 'maildir' is the maildir tool in the safecat package. Greetz, Peter.
On Tue, Mar 20, 2001 at 09:04:55PM +0100, Peter van Dijk wrote: [snip] > I use safecat and a small tool that calculates hashed /var/spool/mail > names for this. > > This should work for you: (untested!): > > env - PATH="/var/qmail/bin:$PATH" \ > qmail-start '|maildir /var/spool/mail/$USER/' splogger qmail > > where 'maildir' is the maildir tool in the safecat package. Alternatively, you could put '/var/spool/mail/username/' into each user's .qmail file. Greetz, Peter.
Hi List! We have been using the qmail-scanner patch for a few weeks and we are very happy with it. Currently our system only uses one AV scanner the sophos product, and I want to use a second AV scanner in parrallel. The second scanner I want to use is the Trend Micro scanner. The "qmail-scanner-queue.pl" file has a the following line: @scanner_array=("sweep_scanner"); This is where it calls another function which actually calls the scanner. Does anybody know how to edit this so that two scanners are used? Is it: @scanner_array=("sweep_scanner & iscan_scanner"); or @scanner_array=("sweep_scanner" & "iscan_scanner"); Etc... I can get them to scan independently...but cant get them to scan together! Thanks, Ross Cooney _________________________________________________________________________ Technical Director Cyber Sentry Ltd, 101 Johnstown Road, Dun Laoghaire, Co Dublin, Ireland. Email: [EMAIL PROTECTED] Telephone: + 353 1 2352546 Fax: + 353 1 2847263 This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, copying or use of this communication or the information in it is strictly prohibited. If you have received this communication in error, please notify the sender immediately and then destroy any copies of it. _________________________________________________________________________ ****************************************************************** This email has been scanned by Pro-Web for all known Viruses For more information please visit our web site at www.pro-web.ie ******************************************************************
Ross Cooney <[EMAIL PROTECTED]> wrote: > > The "qmail-scanner-queue.pl" file has a the following line: > @scanner_array=("sweep_scanner"); > This is where it calls another function which actually calls the scanner. > > Does anybody know how to edit this so that two scanners are used? > > Is it: > @scanner_array=("sweep_scanner & iscan_scanner"); > > or > @scanner_array=("sweep_scanner" & "iscan_scanner"); I'm not a Perl coder, but neither of those look right. I would guess it is something closer to: @scanner_array=("sweep_scanner", "iscan_scanner"); Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
This still depends on how the @scanner_array is used to determine the name of the scanner. If all it is looking for is a list of names of scanners, then you are correct Charles. The single & is used as a bitwise operator - probably not what Ross wants! .mark >---------- >From: Charles Cazabon[SMTP:[EMAIL PROTECTED]] >Sent: Tuesday, March 20, 2001 10:45 AM >To: 'Qmail Mailing List' >Subject: Re: Qmail Scanner > >Ross Cooney <[EMAIL PROTECTED]> wrote: >> >> The "qmail-scanner-queue.pl" file has a the following line: >> @scanner_array=("sweep_scanner"); >> This is where it calls another function which actually calls the scanner. >> >> Does anybody know how to edit this so that two scanners are used? >> >> Is it: >> @scanner_array=("sweep_scanner & iscan_scanner"); >> >> or >> @scanner_array=("sweep_scanner" & "iscan_scanner"); > >I'm not a Perl coder, but neither of those look right. I would guess it >is something closer to: > > @scanner_array=("sweep_scanner", "iscan_scanner"); > >Charles >-- >----------------------------------------------------------------------- >Charles Cazabon <[EMAIL PROTECTED]> >GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ >Any opinions expressed are just that -- my opinions. >----------------------------------------------------------------------- > > >
Ross, I dont write in perl, but in PHP and others, i believe you should be using... @scanner_array=("sweep_scanner", "iscan_scanner"); Here's a link for a perl syntax tutorial. http://www.comp.leeds.ac.uk/Perl/ And i find your answer here... http://www.comp.leeds.ac.uk/Perl/arrays.html Best Regards, Ben Murphy, Technical Director, murphx Innovative Solutions tel: +44 (0) 870 757 1650 fax: +44 (0) 870 757 1651 e-mail: [EMAIL PROTECTED] This e-mail is confidential and may contain legally privileged information. If you are not named above as an addressee it may be unlawful for you to read, copy, distribute, disclose or otherwise use the information contained within this e-mail. Any views or opinions presented are solely those of the author, and may not represent those of murphx Innovative Solutions. > -----Original Message----- > From: Ross Cooney [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 20, 2001 6:53 PM > To: 'Qmail Mailing List' > Subject: Qmail Scanner > > > Hi List! > > We have been using the qmail-scanner patch for a few weeks > and we are very > happy with it. > > Currently our system only uses one AV scanner the sophos > product, and I want > to use a second AV scanner in parrallel. The second scanner I > want to use is > the Trend Micro scanner. > > The "qmail-scanner-queue.pl" file has a the following line: > @scanner_array=("sweep_scanner"); > This is where it calls another function which actually calls > the scanner. > > > Does anybody know how to edit this so that two scanners are used? > > Is it: > @scanner_array=("sweep_scanner & iscan_scanner"); > > or > @scanner_array=("sweep_scanner" & "iscan_scanner"); > > Etc... > > I can get them to scan independently...but cant get them to > scan together! > > > Thanks, > > Ross Cooney > > ______________________________________________________________ > ___________ > Technical Director > Cyber Sentry Ltd, 101 Johnstown Road, Dun Laoghaire, Co > Dublin, Ireland. > > Email: [EMAIL PROTECTED] > Telephone: + 353 1 2352546 > Fax: + 353 1 2847263 > > > This communication contains information which is confidential and > may also be privileged. It is for the exclusive use of the > intended recipient(s). If you are not the intended recipient(s), > please note that any distribution, copying or use of this > communication or the information in it is strictly prohibited. > If you have received this communication in error, please notify > the sender immediately and then destroy any copies of it. > ______________________________________________________________ > ___________ > > > > > > ****************************************************************** > This email has been scanned by Pro-Web for all known Viruses > For more information please visit our web site at www.pro-web.ie > ****************************************************************** > >
On Tue, Mar 20, 2001 at 06:53:10PM -0000, Ross Cooney wrote: > Hi List! > > We have been using the qmail-scanner patch for a few weeks and we are very > happy with it. Great to hear :-) > > Currently our system only uses one AV scanner the sophos product, and I want > to use a second AV scanner in parrallel. The second scanner I want to use is > the Trend Micro scanner. You will need to reinstall Q-S. I specifically wrote Q-S so that it only contains code specific to your system. You have added another virus scanner, so you'll need to do another "./configure etc" to rebuild the app with support for Trend. Simply read the first few lines of your existing /var/qmail/bin/qmail-scanner-queue.pl. It contains the "./configure..." call you did to build it in the first place. Just run it again :-) -- Cheers Jason Haar Unix/Special Projects, Trimble NZ Phone: +64 3 9635 377 Fax: +64 3 9635 417
>>>>> "Jason" == Jason Haar <[EMAIL PROTECTED]> writes: <snip> > You will need to reinstall Q-S. I specifically wrote Q-S so that it > only contains code specific to your system. You have added another > virus scanner, so you'll need to do another "./configure etc" to > rebuild the app with support for Trend. Hey Jason We are looking at running a second virus scanner with our Q-S soon as well. The only thing is that we have MAJORLY modified Q-S to work in our environment (changed the messages that go out to people, depending on the extensions of the files and who specifically is sending the e-mail). We can't really just `reinstall' Q-S since it would require hours of work to make it work again the way we want it to. Are you able to quickly outline the variables and commands that change? I guess I could read the configure script, but if you could tell us that would be great! TIA -- "I'm not dumb. I just have a command of throughly useless information." - Calvin, of Calvin and Hobbes
Hi Brett, I suppose I can answer most of your questions... The qmail-scanner tar file contains a few files with the prefix "sub-" these contain stuff you need....I used the one "sub-iscan.pl" for the Trend micro scanner, but you have to choose the one that suits you and your AV scanner. Apend this code to the end of your "qmail-scanner-queue.pl" file. I made a few changes to this code....I added the following lines: $ENV{'SAV_IDE'} = ''; delete $ENV{'SAV_IDE'} if ($ENV{'SAV_IDE'} eq ""); and I also edited the following line: $DD=`$iscan_binary -za -a -u -nl $iscan_verbose $scandir/$file_id $extra_file 2>&1`; I have listed the fill addition at the end of this email [1]. Then in the "qmail-scanner-queue.pl" file edit some of the variables....such as the path to the scanner [2] and also the scanner array variable[3]. Then run the "tail -f qmail-queue.log" command and debug till your heart is broken! As a newby I was very happy with the results! Ross [1] **********START************** sub iscan_scanner { local($start_iscan_time)=[gettimeofday]; &debug("iscanner: starting scan of directory \"$scandir/$file_id\"..."); $ENV{'SAV_IDE'} = ''; delete $ENV{'SAV_IDE'} if ($ENV{'SAV_IDE'} eq ""); local($iscan_verbose)="-v" if ($DEBUG); &debug("run $iscan_binary /etc/iscan/vscan -za -a -u $iscan_verbose $scandir/$file_id $extra_file 2>&1"); $DD=`$iscan_binary -za -a -u -nl $iscan_verbose $scandir/$file_id $extra_file 2>&1`; $iscan_status=($? >> 8); &debug("--output of iscan was:\n$DD--"); if ( $DD =~ /\*\*\*\s+Found(.*) in file/ ) { $virus_description=$1; &debug("There be a virus! ($virus_description)"); $virus_found++; #$DD =~ s/\n//g; $description .= "\n---iscan results ---\n$DD"; $section=$apptype=$save_filename=$filename=""; } elsif ( $iscan_status > 0 ) { #This implies a corrupt set of DAT files or resource problems... &tempfail("corrupt scanner/resource problems - exit status $iscan_status"); } local($stop_iscan_time)=[gettimeofday]; $iscan_time = tv_interval ($start_iscan_time, $stop_iscan_time); &debug("iscaner: finished scan of dir \"$scandir/$file_id\" in $iscan_time secs"); } **************END********************** [2]I added $iscan_binary='/etc/iscan/vscan'; [3]I added @scanner_array=("sweep_scanner", "iscan_scanner");) -----Original Message----- From: Brett Randall [mailto:[EMAIL PROTECTED]] Sent: 20 March 2001 23:12 To: Jason Haar Cc: 'Qmail Mailing List' Subject: Re: Qmail Scanner >>>>> "Jason" == Jason Haar <[EMAIL PROTECTED]> writes: <snip> > You will need to reinstall Q-S. I specifically wrote Q-S so that it > only contains code specific to your system. You have added another > virus scanner, so you'll need to do another "./configure etc" to > rebuild the app with support for Trend. Hey Jason We are looking at running a second virus scanner with our Q-S soon as well. The only thing is that we have MAJORLY modified Q-S to work in our environment (changed the messages that go out to people, depending on the extensions of the files and who specifically is sending the e-mail). We can't really just `reinstall' Q-S since it would require hours of work to make it work again the way we want it to. Are you able to quickly outline the variables and commands that change? I guess I could read the configure script, but if you could tell us that would be great! TIA -- "I'm not dumb. I just have a command of throughly useless information." - Calvin, of Calvin and Hobbes
hi Jason, Have you tested qmail-scanner with the Command Antivirus Linux scanner? I am trying it out at the moment...any tips? Thanks, Ross
What is the command to make this file out of the assign file? --- Brad Dameron [EMAIL PROTECTED] Network Account Executive 877-663-4349 TSCNet Online Services www.tscnet.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001
Brad Dameron <[EMAIL PROTECTED]> wrote: > > What is the command to make this file out of the assign file? It's clearly mentioned in the documentation -- try reading the man page for qmail-users; it will direct you to the appropriate manual page for the command itself. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
Hi all, I'm dealing with a bit of an issue here. Forgive me if I don't use the proper verbiage, I'm just starting out. We have qmail installed, I gather that the set-up is pretty standard. We have specific domains and within those folders, there are sub-folders for each user's email address. Mine is: /home/vpopmail/domains/marketingtips.com/nick.papageorge/ We also have a great deal of aliases, which in turn point to our specific and personal mail directories. For example .qmail-nick has the following line in it: /home/vpopmail/domains/marketingtips.com/nick.papageorge/Maildir/ Again, forgive me if I'm giving redundant information. Anyway, my problem is that I need to do is set up an autoresponder that will do the following when an email is sent to [EMAIL PROTECTED]: - Respond with a message created by yours truly - Drop the email into my maildir - Allow me to check my email and see the message in my inbox. This seems simple enough, right? Well, I'm having massive problems actually getting it working. I've tried creating a .qmail-nick:papageorge file and placing the following line: | /usr/local/bin/autorespond 10000 5 |/home/vpopmail/domains/marketingtips.com/nick-vacation-message |/home/vpopmail/domains/marketingtips.com/nick.papageorge/ AND I've even tried the same with adding: &[EMAIL PROTECTED] I've also tried using the web interface to create an autoresponder, which creates a NICK.PAPAGEORGE/ directory and, guess what, it doesn't work.. I'm banging my head against a wall, and I need to get an autoresponder up and working for the owner of our company (see the importance and dire need to get this working?). Any help will be overwhelmingly appreciated. Nick Papageorge
Nick Papageorge <[EMAIL PROTECTED]> wrote: > > Well, I'm having massive problems actually getting it working. > > I've tried creating a .qmail-nick:papageorge file and placing the > following line: > > | /usr/local/bin/autorespond 10000 5 >/home/vpopmail/domains/marketingtips.com/nick-vacation-message >/home/vpopmail/domains/marketingtips.com/nick.papageorge/ I'm not sure which autoresponder you're using, or what arguments it takes. But with qmail, if you create a .qmail file to deliver to a script, you have to remember to add another line for deliveyr to a Maildir or mbox if the script itself doesn't save the message for you. In this case, you might want the .qmail-nick:papageorge file to contain: | /usr/local/bin/autorespond 10000 5 /home/vpopmail/domains/marketingtips.com/nick-vacation-message /home/vpopmail/domains/marketingtips.com/nick.papageorge/ i.e., one line to deliver to the autoresponder program, and a separate line delivering into the appropriate Maildir. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
To put it in the words of a very happy person. WOO HOOO!! You were partially right. What I had to do was keep: | /usr/local/bin/autorespond 10000 5 |/home/vpopmail/domains/marketingtips.com/nick-vacation-message |/home/vpopmail/domains/marketingtips.com/nick.papageorge/ as one entire line and then add: | /usr/local/bin/autorespond 10000 5 |/home/vpopmail/domains/marketingtips.com/nick-vacation-message |/home/vpopmail/domains/marketingtips.com/nick.papageorge/ /home/vpopmail/domains/marketingtips.com/nick.papageorge/Maildir/ Boom, that's all it took! <dances like a little schoolgirl> Thanks for pointing me in the right direction! Nick Papageorge At 01:33 PM 3/20/2001 -0600, Charles Cazabon wrote: >Nick Papageorge <[EMAIL PROTECTED]> wrote: >> >> Well, I'm having massive problems actually getting it working. >> >> I've tried creating a .qmail-nick:papageorge file and placing the >> following line: >> >> | /usr/local/bin/autorespond 10000 5 >/home/vpopmail/domains/marketingtips.com/nick-vacation-message >/home/vpopmail/domains/marketingtips.com/nick.papageorge/ > >I'm not sure which autoresponder you're using, or what arguments it takes. >But with qmail, if you create a .qmail file to deliver to a script, you have >to remember to add another line for deliveyr to a Maildir or mbox if the >script itself doesn't save the message for you. > >In this case, you might want the .qmail-nick:papageorge file to contain: > | /usr/local/bin/autorespond 10000 5 >/home/vpopmail/domains/marketingtips.com/nick-vacation-message > /home/vpopmail/domains/marketingtips.com/nick.papageorge/ > >i.e., one line to deliver to the autoresponder program, and a separate line >delivering into the appropriate Maildir. > >Charles >-- >----------------------------------------------------------------------- >Charles Cazabon <[EMAIL PROTECTED]> >GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ >Any opinions expressed are just that -- my opinions. >-----------------------------------------------------------------------
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, we do a mailout of about 40,000 - 50,000 emails per day to our > clients and there clients (not spam). I have been trying to get qmail to > work on getting up and over the 250 limitation of simulataneous > connections. See www.qmail.org -- there's a section on large servers. The big-concurrency patch is probably what you're looking for. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
On Wed, Mar 21, 2001 at 08:32:29AM +1100, [EMAIL PROTECTED] wrote: > Hi, we do a mailout of about 40,000 - 50,000 emails per day to our > clients and there clients (not spam). I have been trying to get qmail to > work on getting up and over the 250 limitation of simulataneous > connections. > > We are running hp netserver pIII 833 with 1 gig ram, the mail queue is > running on raid 0. So I am sure we have the hardware to do it. I have a dual PIII-550 with 1 gig, queue on a dedicated scsi-disk. It sends out a mailinglist to the first 10.000 recipients in just over 3 minutes, with concurrencyremote set to 256. So you should have no trouble at all :) [note that this machine is handling a couple local deliveries (NFS) and forwards per second in the meantime, too] Greetz, Peter.
On Tue, Mar 20, 2001 at 11:31:37PM +0100, Peter van Dijk wrote: > On Wed, Mar 21, 2001 at 08:32:29AM +1100, [EMAIL PROTECTED] wrote: > > Hi, we do a mailout of about 40,000 - 50,000 emails per day to our > > clients and there clients (not spam). I have been trying to get qmail to > > work on getting up and over the 250 limitation of simulataneous > > connections. > > > > We are running hp netserver pIII 833 with 1 gig ram, the mail queue is > > running on raid 0. So I am sure we have the hardware to do it. > > I have a dual PIII-550 with 1 gig, queue on a dedicated scsi-disk. It > sends out a mailinglist to the first 10.000 recipients in just over 3 > minutes, with concurrencyremote set to 256. > > So you should have no trouble at all :) My guess is that PeterM is sending unique emails, perhaps tailored TV programs? My second guess is that PeterD is sending a single untailored email to many recipients. Regards.
On Tue, Mar 20, 2001 at 10:39:24PM +0000, Mark Delany wrote: [snip] > > My guess is that PeterM is sending unique emails, perhaps tailored TV > programs? My second guess is that PeterD is sending a single > untailored email to many recipients. You got me right. That is a relevant detail indeed :) Greetz, Peter.
Forgive me and my novice-ness but I have a fairly simple problem... I've got qmail set up and it's working okay for single messages sent locally with qmail-inject from a perl script. I need to set it up for a mailing list application but one in which only portions of the mailing list can be selected to receive mail based on details about specific list members. (I mention this so you realize why I don't just use ezmlm. Ezmlm does not allow you to selectively mail certain list members but rather implements an all or nothing approach as far as I can tell). So when I call qmail-inject I want to do so with a filename of people. It seems I need to set this QMAILMFTFILE environment variable in order to do this. I set it with 'setenv QMAILMFTFILE /../list.txt' and I can then see the new env var with 'printenv' but qmail-inject ignores it. Is qmail looking at a different set of environment variables and if so how do I alter those? Thanks in advance.
Brett <[EMAIL PROTECTED]> wrote: > > I've got qmail set up and it's working okay for single messages sent locally > with qmail-inject from a perl script. I need to set it up for a mailing list > application but one in which only portions of the mailing list can be > selected to receive mail based on details about specific list members. (I > mention this so you realize why I don't just use ezmlm. Ezmlm does not allow > you to selectively mail certain list members but rather implements an all or > nothing approach as far as I can tell). Possible ezmlm solution: create separate ezmlm lists for each topic/subject you will mail on, and subscribe users to multiple lists. This won't work if you want to mail to multiple topics (users might receive multiple identical messages) or you can't determine the topic divisions in advance. > So when I call qmail-inject I want to do so with a filename of people. It > seems I need to set this QMAILMFTFILE environment variable in order to do > this. I set it with 'setenv QMAILMFTFILE /../list.txt' and I can then see the > new env var with 'printenv' but qmail-inject ignores it. QMAILMFTFILE only controls whether qmail-inject sets the Mail-Followup-To: header in the outgoing message, nothing else. And even if it did what you want to do, the value "/../list.txt" isn't likely to be meaningful. What you can do instead is something like: xargs <list.txt qmail-inject -a < message.txt (I would have made this example clearer, but I don't want the "useless use of cat" award) Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. -----------------------------------------------------------------------
Does anyone have a local and recent copy of tms (tagged message sender) written by Thomas Erskine? The link referenced on www.qmail.org (http://silverlock.dgim.crc.ca/~terskine/qmail/tms.html) is no longer working, and I've lost my copy. I've also been unable to reach Thomas at <[EMAIL PROTECTED]> as I've been able to in the past. Thanks.
Hello, When I send a mail to the @php.net addresses for the first time, I get this kind of mail: >Subject: Request for Confirmation [automatic reply] [5526ba3c03d2348cc94e2b8947e61905] >From: "PHP Group" <[EMAIL PROTECTED]> >Date: 20 Mar 2001 22:45:23 -0000 > >Hi, > >This is an automatic reply to an email you sent to the PHP Group. > >Please verify your email address by simply replying to this email. >Your email address will then be stored so that future emails will be >accepted instantly > >Address to be registered: [EMAIL PROTECTED] > >This is a simple form of spam protection which aims at saving the valuable >time of the volunteers working on the PHP Project. > >Sorry for the extra hassle, and thank you. The headers tells that qmail is used on the php.net server : is there an open-source script that does that somewhere ? Just looked on google and freshmeat without success. Regards, Olivier -- _________________________________________________________________ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch
On Tue, Mar 20, 2001 at 11:55:36PM +0100, Olivier M. wrote: [snip] > The headers tells that qmail is used on the php.net server : is there > an open-source script that does that somewhere ? Just looked on > google and freshmeat without success. That's probably ezmlm, by the qmail author. Try http://cr.yp.to/ezmlm.html or http://www.ezmlm.org/ Greetz, Peter.
On Wed, Mar 21, 2001 at 12:03:52AM +0100, Peter van Dijk wrote: > On Tue, Mar 20, 2001 at 11:55:36PM +0100, Olivier M. wrote: > [snip] > > The headers tells that qmail is used on the php.net server : is there > > an open-source script that does that somewhere ? Just looked on > > google and freshmeat without success. > > That's probably ezmlm, by the qmail author. Try > http://cr.yp.to/ezmlm.html or http://www.ezmlm.org/ gni ? :) I'm not asking for a mailing list software! read my post :) It's somethink like "mapSoN" : ftp://ftp.gmd.de/gmd/mapson/, but for qmail. Olivier -- _________________________________________________________________ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch
On Wed, Mar 21, 2001 at 12:16:07AM +0100, Olivier M. wrote: > On Wed, Mar 21, 2001 at 12:03:52AM +0100, Peter van Dijk wrote: > > On Tue, Mar 20, 2001 at 11:55:36PM +0100, Olivier M. wrote: > > [snip] > > > The headers tells that qmail is used on the php.net server : is there > > > an open-source script that does that somewhere ? Just looked on > > > google and freshmeat without success. > > > > That's probably ezmlm, by the qmail author. Try > > http://cr.yp.to/ezmlm.html or http://www.ezmlm.org/ > > gni ? :) I'm not asking for a mailing list software! read my post :) I'm just telling you what php.net is using, and that message definitely came out of ezmlm. Greetz, Peter.
On Wed, Mar 21, 2001 at 12:18:37AM +0100, Peter van Dijk wrote: > > gni ? :) I'm not asking for a mailing list software! read my post :) > > I'm just telling you what php.net is using, and that message > definitely came out of ezmlm. well, it may be something "like" ezmlm, but then a highly hacked version. If I send a mails to the "@php.net" address, the mail will then be put in "quarantaine" until I send the confirmation: I don't think ezmlm does that out of the box... Or maybe I'm wrong? And there are no ezmlm usual headers in the mail... To be continued :) Olivier -- _________________________________________________________________ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch
On Wed, Mar 21, 2001 at 12:37:40AM +0100, Olivier M. wrote: > On Wed, Mar 21, 2001 at 12:18:37AM +0100, Peter van Dijk wrote: > > > gni ? :) I'm not asking for a mailing list software! read my post :) > > > > I'm just telling you what php.net is using, and that message > > definitely came out of ezmlm. > > well, it may be something "like" ezmlm, but then a highly hacked version. > If I send a mails to the "@php.net" address, the mail will then > be put in "quarantaine" until I send the confirmation: I don't > think ezmlm does that out of the box... Or maybe I'm wrong? ezmlm-idx can do that. Greetz, Peter.
On Wed, Mar 21, 2001 at 12:40:00AM +0100, Peter van Dijk wrote: > > well, it may be something "like" ezmlm, but then a highly hacked version. > > If I send a mails to the "@php.net" address, the mail will then > > be put in "quarantaine" until I send the confirmation: I don't > > think ezmlm does that out of the box... Or maybe I'm wrong? > > ezmlm-idx can do that. out of the box ? Mmm, http://www.ezmlm.org/faq-0.40/index.html is huge, but I didn't saw such feature on it. That would be a kind of unique auto moderation. Btw, sending a mail to the emailaddress-unsubscribe bounces :) Olivier -- _________________________________________________________________ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch
I am setting up multiple Qmail installations on the same box. I am doing this because I am sending out a large number of emails that can't be sent out via a mailing list. By having multiple installs, I intend to lessen the I/O burden of just having 1 queue structure. My question is how to setup multiple qmail-smtpd processes all binding to port 25 using different IP addresses. I intend to setup multiple IPs to the same NIC using IP Aliasing. I think I will be modifying TCPSERVER, but not 100% sure.Thanks
Howdy. I've done this before: it's cake, but I'm not sure why you would want to do mutliple queues. As for modifying tcpserver, why not just run multiple copies and bind them to different addresses? -sc On Tue, Mar 20, 2001 at 05:19:05PM -0800, Brandon Yu wrote: > Delivered-To: [EMAIL PROTECTED] > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Precedence: bulk > Delivered-To: mailing list [EMAIL PROTECTED] > From: Brandon Yu <[EMAIL PROTECTED]> > To: "List - Qmail (E-mail)" <[EMAIL PROTECTED]> > Subject: Multiple QMAIL-SMTPD on same box? > Date: Tue, 20 Mar 2001 17:19:05 -0800 > X-Mailer: Internet Mail Service (5.5.2650.21) > > I am setting up multiple Qmail installations on the same box. I am doing > this because I am sending out a large number of emails that can't be sent > out via a mailing list. By having multiple installs, I intend to lessen the > I/O burden of just having 1 queue structure. My question is how to setup > multiple qmail-smtpd processes all binding to port 25 using different IP > addresses. I intend to setup multiple IPs to the same NIC using IP Aliasing. > I think I will be modifying TCPSERVER, but not 100% sure. > > Thanks > > -- Sean Chittenden [EMAIL PROTECTED]
I just understand that qmail has a difficult time with so I/O when you have tons of email to send out (2million). Unfortunately, the emails are customized to each user. By having a separate qmail install on each disk, the idea is to spread the load around. Would you agree? I will look into binding tcpserver with different addresses. Thanks, Brandon > -----Original Message----- > From: Sean Chittenden [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 20, 2001 5:27 PM > To: Brandon Yu > Cc: List - Qmail (E-mail) > Subject: Re: Multiple QMAIL-SMTPD on same box? > > > Howdy. I've done this before: it's cake, but I'm not sure why > you would want to do mutliple queues. As for modifying tcpserver, why > not just run multiple copies and bind them to different > addresses? -sc > > On Tue, Mar 20, 2001 at 05:19:05PM -0800, Brandon Yu wrote: > > Delivered-To: [EMAIL PROTECTED] > > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > > Precedence: bulk > > Delivered-To: mailing list [EMAIL PROTECTED] > > From: Brandon Yu <[EMAIL PROTECTED]> > > To: "List - Qmail (E-mail)" <[EMAIL PROTECTED]> > > Subject: Multiple QMAIL-SMTPD on same box? > > Date: Tue, 20 Mar 2001 17:19:05 -0800 > > X-Mailer: Internet Mail Service (5.5.2650.21) > > > > I am setting up multiple Qmail installations on the same > box. I am doing > > this because I am sending out a large number of emails that > can't be sent > > out via a mailing list. By having multiple installs, I > intend to lessen the > > I/O burden of just having 1 queue structure. My question is > how to setup > > multiple qmail-smtpd processes all binding to port 25 using > different IP > > addresses. I intend to setup multiple IPs to the same NIC > using IP Aliasing. > > I think I will be modifying TCPSERVER, but not 100% sure. > > > > Thanks > > > > > > -- > Sean Chittenden [EMAIL PROTECTED] >
Ahhh... light blinks on. If you're going to put the queues on multiple disks, then your assumption is very correct. How are you going to handle distributing the load to the queues? Round robin in the script that'll send the emails out? As for the multiple smtp sessions, here's a run file for 'ya that has worked for me in the past: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` IP=`cat /var/qmail/control/primary_incoming_smtp_ip` MAXSMTPD=`cat /var/qmail/control/concurrency_incoming` exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -v -p -c "$MAXSMTPD" \ -u $QMAILDUID -g $NOFILESGID $IP smtp /usr/local/bin/rblsmtpd \ /usr/local/bin/rblsmtpd -rdialups.mail-abuse.org \ /usr/local/bin/rblsmtpd -rrelays.mail-abuse.org \ /var/qmail/bin/qmail-smtpd 2>&1 It goes w/o saying that I recommend using the daemontools to monitor your smtpd services. -sc On Tue, Mar 20, 2001 at 05:43:08PM -0800, Brandon Yu wrote: > Delivered-To: [EMAIL PROTECTED] > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Precedence: bulk > Delivered-To: mailing list [EMAIL PROTECTED] > From: Brandon Yu <[EMAIL PROTECTED]> > To: 'Sean Chittenden' <[EMAIL PROTECTED]> > Cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: RE: Multiple QMAIL-SMTPD on same box? > Date: Tue, 20 Mar 2001 17:43:08 -0800 > X-Mailer: Internet Mail Service (5.5.2650.21) > > I just understand that qmail has a difficult time with so I/O when you have > tons of email to send out (2million). Unfortunately, the emails are > customized to each user. By having a separate qmail install on each disk, > the idea is to spread the load around. Would you agree? I will look into > binding tcpserver with different addresses. > > Thanks, > Brandon > > > -----Original Message----- > > From: Sean Chittenden [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, March 20, 2001 5:27 PM > > To: Brandon Yu > > Cc: List - Qmail (E-mail) > > Subject: Re: Multiple QMAIL-SMTPD on same box? > > > > > > Howdy. I've done this before: it's cake, but I'm not sure why > > you would want to do mutliple queues. As for modifying tcpserver, why > > not just run multiple copies and bind them to different > > addresses? -sc > > > > On Tue, Mar 20, 2001 at 05:19:05PM -0800, Brandon Yu wrote: > > > Delivered-To: [EMAIL PROTECTED] > > > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > > > Precedence: bulk > > > Delivered-To: mailing list [EMAIL PROTECTED] > > > From: Brandon Yu <[EMAIL PROTECTED]> > > > To: "List - Qmail (E-mail)" <[EMAIL PROTECTED]> > > > Subject: Multiple QMAIL-SMTPD on same box? > > > Date: Tue, 20 Mar 2001 17:19:05 -0800 > > > X-Mailer: Internet Mail Service (5.5.2650.21) > > > > > > I am setting up multiple Qmail installations on the same > > box. I am doing > > > this because I am sending out a large number of emails that > > can't be sent > > > out via a mailing list. By having multiple installs, I > > intend to lessen the > > > I/O burden of just having 1 queue structure. My question is > > how to setup > > > multiple qmail-smtpd processes all binding to port 25 using > > different IP > > > addresses. I intend to setup multiple IPs to the same NIC > > using IP Aliasing. > > > I think I will be modifying TCPSERVER, but not 100% sure. > > > > > > Thanks > > > > > > > > > > -- > > Sean Chittenden [EMAIL PROTECTED] > > -- Sean Chittenden [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > > Hi, > > Which qmail process write the X-Sender field in the headers? I would like > to remove it, or to rewrite it, because it uses the name of my > host/domain, which are not real. BTW, how can i rewrite any header of my > outgoing mail? > > David Gómez > > "The question of whether computers can think is just like the question of > whether submarines can swim." -- Edsger W. Dijkstra I wrote a patch to have qmail-smtpd add the hostname to an incomplete Sender: header you could do something similar to leave the sender field the hell out. My patches are at http://davidnicol.com/qmail.html > Yes, it's true. But another idea of mine emerges - is there a way (in > qmail) to _globally_ add my custom header to all outgoing mail ? > > Cheers, > -- > Lukasz Felsztukier Edit your qmail-remote program to stick it in there -- David Nicol 816.235.1187 [EMAIL PROTECTED] He who says it's impossible shouldn't interrupt the one doing it.
Hello, all. I have been trying to install qmail on a RedHat 6.2 box, but it doesn't quite work, and the documentation, FAQs and HOWTOs haven't cleared things up. I was using the qmail HOWTO to guide my installation. <http://www.flounder.net/qmail/qmail-howto.html> Everything went fine, no errors. I chose Maildir over mbox. Then I got to step 11. While starting /etc/rc.d/init.d/svscan (where I put the script) did start all the qmail processes there were still two problems: 1. echo to: username | /var/qmail/bin/qmail-inject did nothing. 2. there was nothing in /var/log/maillog (the mail log specified in /etc/syslog.conf) Then I stumbled across the fact that I needed .qmail files in the home directories of users that intended to get mail, so I added those. They are properly chowned and each contains only "./Maildir/". I also tried a suggestion that I found in the archives of this list: I added /var/qmail/bin to my path, and I executed 'qmail-start ./Maildir/ splogger qmail &'. Now #1 above works just fine, and username receives the mail in ~username/Maildir/new/. However, I still don't have any messages at all about qmail in maillog (startup, mail sent, nothing), or in the rest of /var/log/* for that matter. A couple of other things: *) LWQ, in step 2.8.5, mentions that I should use '/usr/local/sbin/qmail start' to start qmail. But I don't have anything named qmail in /usr/local/sbin/. Is this something one would use instead of services? *) I started qmail with qmail-start after shutting down svscan. (I tried to start svscan after that, but all I got was an error in maillog -- the only thing printed in that file.) Before, I could stop the bevy of qmail processes by typing '/etc/rc.d/init.d/svscan stop'. However, there is no qmail-stop. How do I stop the processes properly? And if I'm not going to be using svscan, how should I set up qmail to start at boot time? Just a script w/ 'qmail-start' et al in /etc/rc.d/init.d/ with a corresponding link in rc3.d? Thanks for any suggestions you can provide! -- Nick Kocharhook -- <[EMAIL PROTECTED]>
At 22:59 20.03.01 -0800, Nick Kocharhook wrote: >Hello, all. I have been trying to install qmail on a RedHat 6.2 box, but it >doesn't quite work, and the documentation, FAQs and HOWTOs haven't cleared >things up. > >I was using the qmail HOWTO to guide my installation. ><http://www.flounder.net/qmail/qmail-howto.html> Everything went fine, no >errors. I chose Maildir over mbox. Then I got to step 11. While starting >/etc/rc.d/init.d/svscan (where I put the script) did start all the qmail >processes there were still two problems: > >1. echo to: username | /var/qmail/bin/qmail-inject did nothing. >2. there was nothing in /var/log/maillog (the mail log specified in >/etc/syslog.conf) possible the things will be logged in /var/log mail. I think this is the default. The entry in syslog can malfunction. >Then I stumbled across the fact that I needed .qmail files in the home >directories of users that intended to get mail, so I added those. They are >properly chowned and each contains only "./Maildir/". I think thats wrong. The .qmail-files have to be placed under /var/qmail/alias. The must be named like .qmail-user for example >... >*) I started qmail with qmail-start after shutting down svscan. (I tried to >start svscan after that, The qmailscanner have a bug. I don't know if there is a correct working version produced in the meentime. At time I've installed it there was an error that the setup needs a fix for queue, but it couldn't fixed using the manual. Regards, Ruprecht
If you follow LWQ steps you probably wouldn't have any problem. my "/var/qmail/rc" looks something like following: =-=-=-=-=-=-=-=-=-=-==-==-=-=-=-=-=-=-=-=-= #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|dot-forward .forward ./Maildir/' splogger qmail -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- You should have similar file and if you follow instructions in LWQ you should be able get it going. There is need to create a file "qmail" in /etc/rc.d/init.d/ directory which can start/stop qmail and related processes. Hope this helps regards shirish Nick Kocharhook wrote: > Hello, all. I have been trying to install qmail on a RedHat 6.2 box, but it > doesn't quite work, and the documentation, FAQs and HOWTOs haven't cleared > things up. > > I was using the qmail HOWTO to guide my installation. > <http://www.flounder.net/qmail/qmail-howto.html> Everything went fine, no > errors. I chose Maildir over mbox. Then I got to step 11. While starting > /etc/rc.d/init.d/svscan (where I put the script) did start all the qmail > processes there were still two problems: > > 1. echo to: username | /var/qmail/bin/qmail-inject did nothing. > 2. there was nothing in /var/log/maillog (the mail log specified in > /etc/syslog.conf) > > Then I stumbled across the fact that I needed .qmail files in the home > directories of users that intended to get mail, so I added those. They are > properly chowned and each contains only "./Maildir/". > > I also tried a suggestion that I found in the archives of this list: I added > /var/qmail/bin to my path, and I executed 'qmail-start ./Maildir/ splogger > qmail &'. > > Now #1 above works just fine, and username receives the mail in > ~username/Maildir/new/. However, I still don't have any messages at all > about qmail in maillog (startup, mail sent, nothing), or in the rest of > /var/log/* for that matter. > > A couple of other things: > > *) LWQ, in step 2.8.5, mentions that I should use '/usr/local/sbin/qmail > start' to start qmail. But I don't have anything named qmail in > /usr/local/sbin/. Is this something one would use instead of services? > > *) I started qmail with qmail-start after shutting down svscan. (I tried to > start svscan after that, but all I got was an error in maillog -- the only > thing printed in that file.) Before, I could stop the bevy of qmail > processes by typing '/etc/rc.d/init.d/svscan stop'. However, there is no > qmail-stop. How do I stop the processes properly? And if I'm not going to be > using svscan, how should I set up qmail to start at boot time? Just a script > w/ 'qmail-start' et al in /etc/rc.d/init.d/ with a corresponding link in > rc3.d? > > Thanks for any suggestions you can provide! > > -- > Nick Kocharhook -- <[EMAIL PROTECTED]>
Hi guys, I received a bounce of seven dwarfs virus like this, so the remote mail server rejects our mails. what should I do? Hi. This is the qmail-send program at beta.circlecom.co.id. I tried to deliver a bounce message to this address, but the bounce bounced! [EMAIL PROTECTED], [EMAIL PROTECTED] > Sorry, I couldn't find any host named xxx.com,. (#5.1.2) --- Below this line is the original bounce. Return-Path: <> Received: (qmail 15248 invoked from network); 20 Mar 2001 08:34:20 -0000 Received: from unknown (HELO sales) (10.10.10.127) by beta.circlecom.co.id with SMTP; 20 Mar 2001 08:34:20 -0000 From: Hahaha <[EMAIL PROTECTED]> Subject: Snowhite and the Seven Dwarfs - The REAL story! MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--VE63OPEB" ----VE63OPEB Content-Type: text/plain; charset="us-ascii" Today, Snowhite was turning 18. The 7 Dwarfs always where very educated and polite with Snowhite. When they go out work at mornign, they promissed a *huge* surprise. Snowhite was anxious. Suddlently, the door open, and the Seven Dwarfs enter... ----VE63OPEB Content-Type: application/octet-stream; name="midgets.scr" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="midgets.scr"
My QMAIL sends notification "Sorry, no mailbox here by that name. (#5.1.1)" to the sender for any unknown user in my domain. I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ??? Thanks -- ========================================================================== MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) = Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy) = Tel:39-0861.210490 Fax:39-0861.210492 http://www.te.astro.it = ==========================================================================
With the cmd qmail-qstat (or qmail-qread) I see the msg in the queue. . How can I delete msg in queue (because the recipient is incorrect!!!) ??? Thanks -- ========================================================================== MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) = Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy) = Tel:39-0861.210490 Fax:39-0861.210492 http://www.te.astro.it = ==========================================================================
Massimo Quintini wrote: > With the cmd qmail-qstat (or qmail-qread) I see the msg in the queue. > . > How can I delete msg in queue (because the recipient is incorrect!!!) > ??? > > Thanks > > -- > ========================================================================== > MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) = > Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy) = > Tel:39-0861.210490 Fax:39-0861.210492 http://www.te.astro.it = > ========================================================================== Try qmHandle (found it somewhere on the qmail website). -- /hans /------------------------------------ /HANS = High Availability No Superman
I wanna now if Qmail can help me registring and putting in a DB all the mail that the SMTP send and receive. For "all" mail i mean the whole mail sender,receiver, subject and body.there is a Qmail specific plugin or setting?
PGP signature