qmail Digest 13 Dec 1999 11:00:00 -0000 Issue 848
Topics (messages 34272 through 34295):
using procmail with qmail+/Maildir+vpopmail
34272 by: qmail.vui.org
34273 by: Yuliy Minchev
34281 by: J. Ivan Juanes Prieto
34282 by: Ronny Haryanto
34283 by: Sam
Re: qmail-send won't log anymore
34274 by: Ari Arantes Filho
Re: Please- qmail stopped delivering mail
34275 by: Troy Frericks
34276 by: Chris Johnson
34290 by: Keith Warno
34291 by: James W.Blackwell
Mailer-Daemon Question
34277 by: Manohar Pradhan
34278 by: Stefan Paletta
34280 by: Russell Nelson
Re: Message number in qmail log.
34279 by: Derek Callaway
how to get off
34284 by: A. van Drie
34288 by: Michael Boman
Re: Anti Virus Solution
34285 by: Jason Haar
Re: My recent AMaViS patch.
34286 by: Jason Haar
Proper address while remailing
34287 by: Christian Bell
What is a *.qw file?
34289 by: Ben Beuchler
POP3-ERR aack, child crashed
34292 by: James W.Blackwell
Win 100 M for $1 (18 days left) y2klottery.com
34293 by: Mailer
Adding relay for a domain
34294 by: Antonio Navarro Navarro
Adding relay for a domain (II)
34295 by: Antonio Navarro Navarro
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]
----------------------------------------------------------------------
hi all!
i've got troubles and a question :)
i can't manage to install procmail. currently i am using qmail-local to
deliver mails. i also use the /Maildir format and vpopmail. i couldn't find
a howto or documentation how to install procmail with
qmail+maildir+vpopmail. hope you can help me!
thx in advance
greets
michael
On Sun, 12 Dec 1999 [EMAIL PROTECTED] wrote:
hi
I'm not sure but I think procmail doesn't support Maildir format.
I suggest using of Maildrop pakage.
yuliy
> hi all!
>
> i've got troubles and a question :)
> i can't manage to install procmail. currently i am using qmail-local to
> deliver mails. i also use the /Maildir format and vpopmail. i couldn't find
> a howto or documentation how to install procmail with
> qmail+maildir+vpopmail. hope you can help me!
>
> thx in advance
>
> greets
> michael
>
--
Yuliy Minchev,
Systems Administrator
NOAC Bulgaria
From Dave Sill's "Life with qmail"
(http://Web.InfoAve.net/~dsill/qmail.html):
5.1. procmail
procmail is a popular Message Delivery Agent (MDA). The function of an
MDA is to accept a message from the MTA for a specific user or
mailbox, and deliver the message according to the user's
desires. procmail can be used to "filter" messages by the content of
various header fields or the body of the message. For example,
messages from a particular person can be directed to a mailbox for
just that person.
There are a couple tricks to running procmail with qmail. First,
procmail is usually built to deliver to an mbox mailbox in
/var/spool/mail. You can rebuild procmail to default to $HOME or you
can instruct users not to rely on procmail to default the location of
the mbox. Unless you patch it for $HOME delivery, procmail will still
use /var/spool/mail for temporary files.
Another problem is that qmail-command and procmail don't have a common
understanding of which exit codes mean what. procmail uses the
standard UNIX exit codes: zero means success, nonzero means failure,
and the cause of the failure is indicated by
/usr/include/sys/errno.h. qmail-command uses certain nonzero codes to
indicate permanent errors and the rest are considered temporary. A
small shell script wrapper can be used to translate the exit codes for
qmail-command. Such a wrapper was posted to the qmail list and is
available from the archives at
http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/04/msg00487.html.
Also, procmail doesn't deliver directly to maildir-format
mailboxes. There's a patch available that implements maildir delivery
in procmail. (See http://www.qmail.org/top.html#maildir) Another
approach is safecat, a program that writes a message on standard input
to a specified maildir. Users can write procmail recipes (delivery
instructions) that use safecat to file the message. You can also skip
procmail altogether, and use maildrop.
El dia Sun, Dec 12, 1999 at 12:21:59PM +0000, [EMAIL PROTECTED] tuvo a
bien escribir:
> hi all!
> i've got troubles and a question :)
> i can't manage to install procmail. currently i am using qmail-local to
> deliver mails. i also use the /Maildir format and vpopmail. i couldn't find
> a howto or documentation how to install procmail with
> qmail+maildir+vpopmail. hope you can help me!
> thx in advance
> greets
> michael
--
Those who don't understand Linux are doomed to reinvent it, poorly.
(Unidentified source.)
Look, I'm about to buy me a double barreled sawed off shotgun and show
Linus what I think about backspace and delete not working.
(Some anonymous .signature.)
--
J. Ivan Juanes Prieto -- Greek and Latin Teacher
Canary Islands (Spain) -- Linux Debian 2.1
PGP signature
On 12-Dec-1999, J. Ivan Juanes Prieto wrote:
> Also, procmail doesn't deliver directly to maildir-format
> mailboxes.
Maildir delivery is built-in since procmail 3.14 (released recently).
--
Ronny Haryanto
On Sun, 12 Dec 1999, J. Ivan Juanes Prieto wrote:
> Also, procmail doesn't deliver directly to maildir-format
> mailboxes. There's a patch available that implements maildir delivery
> in procmail.
Procmail 3.14 can allegedly deliver to maildirs. The code, however, is
completely unreadable, just like most of procmail's code.
Hi,
The -Q options only prints erros, try to use -v. I also only use splogger
smtpd &, without "3", but...
Regards,
Ari
----- Original Message -----
From: Dinesh Punjabi <[EMAIL PROTECTED]>
To: Ari Arantes Filho <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 1999 12:13 AM
Subject: Re: qmail-send won't log anymore
> if [ -f /usr/local/bin/tcpserver ]; then
> echo "Starting Qmail (tcpserver) SMTPD...\r"
> /usr/local/bin/tcpserver -Q -u 7791 -g 2108 0 smtp
> /var/qmail/bin/qmail-smtpd
> 2>&1 | /var/qmail/bin/splogger smtpd 3 &
> fi
>
> It used to work in < 1.03 version before!
>
> Rgds
>
> Dinesh
>
> --- Ari Arantes Filho <[EMAIL PROTECTED]> wrote:
> > Are you using tcpserver? Supervise?
> >
> > Show your startup script.
> >
> > Regards,
> >
> > Ari
> >
> > ----- Original Message -----
> > From: Dinesh Punjabi <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, December 11, 1999 9:33 PM
> > Subject: qmail-send won't log anymore
> >
> >
> > > I upgraded my FreeBSD box, and installed the
> > > latest version of qmail. For some reason,
> > > qmail-send won't log in my /var/log/maillog
> > > file. So, any incoming email logs fine, but
> > > for some reason any SMTP traffic does not
> > > show up in the log (it used to before!).
> > >
> > > What am I doing wrong ? Thanks for your
> > > help in advance!
> > >
> > > Dinesh
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Thousands of Stores. Millions of Products. All
> > in one place.
> > > Yahoo! Shopping: http://shopping.yahoo.com
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores. Millions of Products. All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
I'm by no means a qmail expert, but looking at your selective tar backup, I
have something for you to check since you need help quickly (and it is
early sunday morning and you may not otherwise get replies for many more hours)
Check out these files (I'm on RedHat 6.1). They should be links to your
qmail's sendmail...
# ls -al /usr/lib/sendmail /usr/sbin/sendmail
lrwxrwxrwx 1 root root 23 Nov 13 11:58 /usr/lib/sendmail ->
/var/qmail/bin/sendmail
lrwxrwxrwx 1 root root 23 Nov 13 11:59 /usr/sbin/sendmail ->
/var/qmail/bin/sendmail
I suggest this because it may not have been backed up by your selective tar.
I'm not familiar with vchkpw, but you may want to check to see if there are
other support items outside of the normal directories.
Troy
#
At 03:07 AM 12/12/99 , James Blackwell wrote:
>Greetings,
>
>We're running qmail with vchkpw and qmail-popup on a debian box and are in
>despirate need of assistance.
>
>Here are the steps leading up to my problems:
>- We did a backup of the main directories
>- There was a botched attempt at installing smtp-poplock
>- It didn't work out too well, so we untar the backups to their correct
>locations
>
>SMTP now appears to be accepting messages, I can see them in the
>/var/spool/qmail/mess directory.
>
>No messages seem to be delivered until we reboot the box. Upon reboot all
>mail is delivered, but then it starts not delivering again.
>
>AND when I telnet in on port 110 it goes something like this:
>Connected to host.domain.net.
>Escape character is '^]'.
>+OK <[EMAIL PROTECTED]>
>user username_domain.net
>+OK
>pass mypassword
>-ERR authorization failed
>Connection closed by foreign host.
>
>The password is correct as I when I do a vpasswd to change it, it asks for
>the old password, then the new password. It then aborts and says old and
>new passwords match. If I put in a different new password, it changes it.
>
>
>ANY suggestions would be greatly appreciated. This has to work by the
>morning (CT)!
>
>TIA,
>--James
>
>
On Sun, Dec 12, 1999 at 03:07:46AM -0600, James Blackwell wrote:
> Greetings,
>
> We're running qmail with vchkpw and qmail-popup on a debian box and are in
> despirate need of assistance.
>
> Here are the steps leading up to my problems:
> - We did a backup of the main directories
> - There was a botched attempt at installing smtp-poplock
> - It didn't work out too well, so we untar the backups to their correct
> locations
>
> SMTP now appears to be accepting messages, I can see them in the
> /var/spool/qmail/mess directory.
>
> No messages seem to be delivered until we reboot the box. Upon reboot all
> mail is delivered, but then it starts not delivering again.
This question comes up about every twenty minutes. The answer is to fix the
permissions on your trigger file. They should look like this:
prw--w--w- 1 qmails qmail 0 Dec 12 10:22 /var/qmail/queue/lock/trigger
> AND when I telnet in on port 110 it goes something like this:
> Connected to host.domain.net.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user username_domain.net
> +OK
> pass mypassword
> -ERR authorization failed
> Connection closed by foreign host.
>
> The password is correct as I when I do a vpasswd to change it, it asks for
> the old password, then the new password. It then aborts and says old and
> new passwords match. If I put in a different new password, it changes it.
This is a whole different problem, to which I don't have the answer.
Chris
When you untarred, did you FUBAR the file permissions?
When un-backing up using GNU tar ya should throw in a --same-permissions
option.
----- Original Message -----
From: "James Blackwell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 12 December 1999, Sunday 04:07
Subject: Please- qmail stopped delivering mail
> Greetings,
>
> We're running qmail with vchkpw and qmail-popup on a debian box and are in
> despirate need of assistance.
>
> Here are the steps leading up to my problems:
> - We did a backup of the main directories
> - There was a botched attempt at installing smtp-poplock
> - It didn't work out too well, so we untar the backups to their correct
> locations
>
> SMTP now appears to be accepting messages, I can see them in the
> /var/spool/qmail/mess directory.
>
> No messages seem to be delivered until we reboot the box. Upon reboot all
> mail is delivered, but then it starts not delivering again.
>
> AND when I telnet in on port 110 it goes something like this:
> Connected to host.domain.net.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user username_domain.net
> +OK
> pass mypassword
> -ERR authorization failed
> Connection closed by foreign host.
>
> The password is correct as I when I do a vpasswd to change it, it asks for
> the old password, then the new password. It then aborts and says old and
> new passwords match. If I put in a different new password, it changes it.
>
>
> ANY suggestions would be greatly appreciated. This has to work by the
> morning (CT)!
>
> TIA,
> --James
>
>
>
>
That is exactly what happened.
I was able to correct the SMTP problems by changing ownership back to what they were
and killing a couple of messages in the queue.
Thanks all for the help! You're all great!
--James
-----------------------------
load "linux",8,1
>On Mon, 13 Dec 1999 01:40:30, you wrote the following:
>------------------------------------------------------
>When you untarred, did you FUBAR the file permissions?
>
>When un-backing up using GNU tar ya should throw in a --same-permissions
>option.
>
>----- Original Message -----
>From: "James Blackwell"
>To:
>Sent: 12 December 1999, Sunday 04:07
>Subject: Please- qmail stopped delivering mail
>
>
>> Greetings,
>>
>> We're running qmail with vchkpw and qmail-popup on a debian box and are in
>> despirate need of assistance.
>>
>> Here are the steps leading up to my problems:
>> - We did a backup of the main directories
>> - There was a botched attempt at installing smtp-poplock
>> - It didn't work out too well, so we untar the backups to their correct
>> locations
>>
>> SMTP now appears to be accepting messages, I can see them in the
>> /var/spool/qmail/mess directory.
>>
>> No messages seem to be delivered until we reboot the box. Upon reboot all
>> mail is delivered, but then it starts not delivering again.
>>
>> AND when I telnet in on port 110 it goes something like this:
>> Connected to host.domain.net.
>> Escape character is '^]'.
>> +OK
>> user username_domain.net
>> +OK
>> pass mypassword
>> -ERR authorization failed
>> Connection closed by foreign host.
>>
>> The password is correct as I when I do a vpasswd to change it, it asks for
>> the old password, then the new password. It then aborts and says old and
>> new passwords match. If I put in a different new password, it changes it.
>>
>>
>> ANY suggestions would be greatly appreciated. This has to work by the
>> morning (CT)!
>>
>> TIA,
>> --James
>>
>>
>>
>>
>
>
Hello,
Can anyone explain me how can i make QMAIL to send Mailer-Daemon
within 24 hrs. (for being in queue) instead of waiting for 7 days.
TIA
Manohar Pradhan wrote/schrieb/scribsit:
> Can anyone explain me how can i make QMAIL to send Mailer-Daemon
> within 24 hrs. (for being in queue) instead of waiting for 7 days.
man qmail-send
You are looking for ``queuelifetime''.
(Funny is, people start calling bounce messages "Mailer-Daemon" (yes,
that's where they come from, not what they _are_) all over the place -
one german ISP even has in its FAQ the equivalent to "what do I do if
I got a Mailer-Daemon". Rumor says, one person even called an exorcist.
How good that qmail programs have such a polite QSMBF. :)
Stefan
Manohar Pradhan writes:
> Hello,
>
> Can anyone explain me how can i make QMAIL to send Mailer-Daemon
> within 24 hrs. (for being in queue) instead of waiting for 7 days.
It's pretty easy. You just read the qmail-send man page and look for
queue lifetime. In general, all qmail configuration files are
explained in the qmail-control man page.
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
I think what you're looking for is in the qmail-log manpage.
--
/* Derek Callaway <[EMAIL PROTECTED]>
Programmer; CE Net, Inc.
(302) 854-5440 Ext. 206 */
On Sun, 12 Dec 1999, Warren J. Beckett wrote:
> Hi all..
>
> I have hopefully a simple question.
>
> How is the message number in the qmail logs generated? I thought this number
> would have been semi unique, but I have seen many messages with the same
> number from and to many different people.
>
> I hope I have not missed something stupid.
>
> Much thanks
>
> Warren.
>
Right now this stuff is not so relevant
for me, maybe later.
But,
how do i get off the list?
It's something like [EMAIL PROTECTED],
but that one's incorrect...
Thank you,
Arjen van Drie.
On Sun, Dec 12, 1999 at 11:06:01PM +0100, A. van Drie wrote:
>
> Right now this stuff is not so relevant
> for me, maybe later.
>
> But,
>
> how do i get off the list?
> It's something like [EMAIL PROTECTED],
You should try to switch the address around a little.. Try
[EMAIL PROTECTED] instead.
/Mike
> but that one's incorrect...
>
> Thank you,
>
> Arjen van Drie.
>
--
W I Z O F F I C E . C O M - Your Online Wizard
16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
On Thu, Dec 09, 1999 at 12:42:32PM -0600, Jennifer Tippens wrote:
> I have gone through the list archive and the only information I can find
> on this subject was listmembers asking about if there was any anti-virus
> solution out there.
> Is there any anti-virus thing out there that can scan for macro viruses
> in Qmail?
>
I've written one in response to some design issue problems I had with amavis
(like lack of error checking).
It's now homed at Geocities and can scan all incoming SMTP Email via
whatever virus scanners you have installed on your Qmail host (I use NAI's
and Trends virus scanners).
It's fast, perl-based and specifically written for qmail.
See http://www.geocities.com/jhaar/scan4virus/ for details...
--
Cheers
Jason Haar
Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
On Fri, Dec 10, 1999 at 01:09:02PM -0600, Dustin Miller wrote:
> One of the fuctions of the patch was to attempt to actually ATTACH the
> offending e-mail virus to the mail that gets sent to virus alert. However,
> as you will be able to tell if you use the package, it doesn't properly
> ATTACH the e-mail, it just dumps all of the MIME parts as plain text into
> the message.
>
> Can someone help me out in this regard? I'm considering a total re-write of
> scanmails that will support qmail, and I want to make it as full-featured as
> possible.
>
As I'm currently in self-advertising mode - check out
http://www.geocities.com/jhaar/scan4virus/
This is my Qmail-specific virus scanner wrapper that follows some rules I'm
surprised to see other Email-based solutions don't.
* It never sends a copy of the virus to anyone. It moves it into a maildir
folder and sends the reference to the envelope sender and Cc's it to a local
"virus manager" address.
* It checks for mailing-list and postmaster-style envelope senders - it
never sends messages to them.
The latter is a BIG ISSUE I think. What happens on the day when everyone
within a particular mailing list runs Email scanners and a virus is
detected. At 10,000-strong list could suddenly find itself innudated with
10,000's of "Virus Report" mail messages. Denial Of Systems await...
Out of Office messages are bad enough...
--
Cheers
Jason Haar
Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
Hello,
I would like to use the dot-qmail feature with a lists of
recipients but have the initial message be remailed with the recipient's
address under To: (yes, this would in fact serve as a group re-mailer,
without the [EMAIL PROTECTED] being shown).
I've read through the docs and their is mention about modifying
From: headers (via qmail-inject) but nothing about modifying To:
headers.
Any pointer appreciated,
/chris
--
christian bell [[EMAIL PROTECTED]]
p=vi.
I have been unable to find any reference to these files in the man pages,
FAQs, etc.
In the top of the Maildirs on my vpopmail/qmail box, I keep finding
several files that start with a sequence of numbers and end with '.qw'
like this:
944032711.qw
The contents of the file is just a single IP address. The address seems
to be the ones from which I most commonly telnet into that box, but I
haven't been able to make a definite connection.
Anyone know what these files are?
Ben
--
"There is no spoon"
-- The Matrix
Ok, I got my SMTP problems fixed thanks to this list. Thanks again greatly.
Now I've still got a problem with POP3 logins. This is what is happening:
+OK <[EMAIL PROTECTED]>
user user%host.domain.com
+OK
pass mypassword
-ERR aack, child crashed
Connection closed by foreign host.
It is actually authenticating, because if you enter a bad password, it gives a:
-ERR authorization failed
Any suggestions on this one?
--James
-----------------------------
load "linux",8,1
http://www.y2klottery.com
Hi all !
I want to add relay support for a domain. The MX registry has been created (one entry
with the IP of the main server with the highest preference and a second one with the
IP of my qmail server with lower preference), but I don't know where to add the domain
in order to not receive the following message:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
I want the mail received for this domain to be stored in the queue and sent to the
primary mail server when an ETRN command is sent. Where should I add the domain, in
/var/qmail/control/rcpthosts or in /var/qmail/control/morercpthosts ?
Regards,
Antonio Navarro Navarro
BemarNet Management
[EMAIL PROTECTED]
http://www.bemarnet.es
Hi again !
I have solved the problem. After adding the domain to morercpthosts and executing
/var/qmail/bin/qmail-newmrh I added the domain to smtproutes and now it works fine.
Regards,
Antonio Navarro Navarro
BemarNet Management
[EMAIL PROTECTED]
http://www.bemarnet.es