qmail Digest 10 Dec 1999 11:00:00 -0000 Issue 845
Topics (messages 34126 through 34187):
local delivery and forwarding messages
34126 by: Marco Leeflang
More detailed pop log
34127 by: Ari Arantes Filho
Re: can nott telnet to port 25
34128 by: Fred Backman
Re: Virtual domains stuff
34129 by: Peter Green
34130 by: Adam D . McKenna
Maildir and xbiff
34131 by: Subba Rao
34132 by: Timothy L. Mayo
/var/qmail/users/assign
34133 by: Jose de Leon
34134 by: petervd.vuurwerk.nl
34135 by: Jose de Leon
34136 by: petervd.vuurwerk.nl
Need help with direction to go (long)
34137 by: Judah McAuley
34138 by: Vince Vielhaber
34140 by: Markus Stumpf
34142 by: John Gonzalez/netMDC admin
Re: Error compiling Qmail on AIX 4.3.2 with GNU gcc v2.95 and GNU mak e v3.74
34139 by: Shields Michael
re-queue msgs
34141 by: Jon Rust
34143 by: Daniel Mattos
34144 by: Daniel Mattos
serialmail
34145 by: Jose de Leon
Anti Virus Solution
34146 by: Jennifer Tippens
34147 by: Dustin Miller
34150 by: martin.wonderfrog.net
34153 by: Alex Shipp
Is this the right place?
34148 by: Serban Udrea
Re: qmail site down?
34149 by: Russell Nelson
Question about UCE and also AMAVIS
34151 by: Dustin Miller
34154 by: Christopher Seawood
34155 by: Alex Shipp
34156 by: Alex Shipp
34158 by: Vince Vielhaber
34164 by: Sam
34166 by: Dustin Miller
34176 by: Alex at Star
34177 by: Adam D . McKenna
Logging
34152 by: Marek Narkiewicz
How to send a message after
34157 by: Ari Arantes Filho
34172 by: tech.staff.netbig.com
34178 by: Andy Bradford
34179 by: petervd.vuurwerk.nl
34180 by: Andy Bradford
34181 by: petervd.vuurwerk.nl
34182 by: Andy Bradford
34183 by: petervd.vuurwerk.nl
34185 by: Mirko Zeibig
34186 by: Ari Arantes Filho
how to stop mail bombings
34159 by: Albert Hopkins
34160 by: Roger Merchberger
34165 by: farber.admin.f-tech.net
34175 by: Hans Sandsdalen
Re: Question about UCE and also AMAVIS (EICAR ATTACHED)
34161 by: Dustin Miller
34163 by: Dustin Miller
34169 by: Christopher Seawood
34170 by: Dustin Miller
Oops, someone tried to send you a virus
34162 by: support.star.co.uk
34173 by: Peter Cavender
EMAIL Virus Alert
34167 by: root.mail.vistavdi.com
Amavis (getting warmer)
34168 by: Dustin Miller
Amavis. Got it working.
34171 by: Dustin Miller
looping delivered-to autoresponder stuff...
34174 by: Marc-Adrian Napoli
qmail dying on Solaris
34184 by: Robin Bowes
question about tcpclient
34187 by: Serban Udrea
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]
----------------------------------------------------------------------
i have a popuser of a virtual domain which want to deliver his mail in a
local popbox and also deliver this message to his private email-address.
on another qmail server wihout virtual domains i put the following in
his .qmail file in his home directory:
./Maildir/
&[EMAIL PROTECTED]
I tried this with vpopmail but no result
any suggestion
greetings,
marco leeflang
Hi,
I've already posted a message with this subject, but I'm still trying to
fix my problem.
I want to use the normal /etc/passwd file to authenticate users and more
detailed log in the
pop log.
I'm runing pop server with:
/usr/local/bin/tcpserver -v 0 pop3 /var/qmail/bin/qmail-popup \
mail.drmail.com.br /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir \
2>&1 | /usr/local/bin/tai64n | /usr/local/bin/tai64nlocal | \
/usr/local/bin/setuidgid qmaill /usr/local/bin/multilog /var/qmail/log/pop &
I've tried Paul Greg's checkpoppasswd, but it only works with
alternative password file (/var/qmail/users/poppasswd).
I don't want to log the password, I only want more then the IP address
and date for who is trying to log. I want ther username and if success or
not.
Could someone help me?
Best regards,
Ari
It's probably something you've already done, but have you checked the qmail logs?
Ning Wu wrote:
> All the other ports work normally. FTP, Telnet, etc
>
> Here is my /etc/inetd.conf
> ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -L -i
> -o
> telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
> #gopher stream tcp nowait root /usr/sbin/tcpd gn
>
> # do not uncomment smtp unless you *really* know what you are doing.
> # smtp is handled by the sendmail daemon now, not smtpd. It does NOT
> # run from here, it is started at boot time from /etc/rc.d/rc#.d.
> smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
> /var/qmail/bin/qmail-smtpd
> #nntp stream tcp nowait root /usr/sbin/tcpd in.nntpd
>
> On Wed, 8 Dec 1999, Fred Backman wrote:
>
> > Can you reach your Linux host on any other port? If you have access to tools
> > such as traceroute or ping, try these and see if you can reach your mail host
> > from the external host. Also try the reverse, e.g. try reaching the external
> > host from inside the mail host.
> >
> >
> > Ning Wu wrote:
> >
> > > Hi.
> > >
> > > I am a newbie of Mail world. I am trying to install Qmail on my Red Hat
> > > box. I installed qmail and can telnet localhost 25 and everything looks
> > > fine.
> > >
> > > But when I try to connect from other host.
> > > $telnet myhost 25
> > > trying 24.12.XX.XX...
> > >
> > > It just hangs there. I can't figure out what's wrong. I don't have special
> > > settings of TCP Wrapper.
> > >
> > > Thanks.
> > >
> > > Ning
> >
> >
On Thu, Dec 09, 1999 at 09:39:07AM +0800, 'Michael Boman' wrote:
> On Wed, Dec 08, 1999 at 08:49:55AM -0500, Adam D . McKenna wrote:
> > On Wed, Dec 08, 1999 at 08:48:10AM -0500, Adam D . McKenna wrote:
> > > then, in ~alias/.qmail-foo, put:
> >
> > Sorry, this should be ~alias/.qmail-foo-default
> >
> > --Adam
>
> It doesnt work. My files looks like this:
>
> cat /var/qmail/control/virtualdomains
> wizoffice.com.sg:alias-wizoffice.com.sg
>
> cat ~alias/.qmail-wizoffice.com.sg-default
> |forward "$[EMAIL PROTECTED]"
Shouldn't that be "DEFAULT", not "DFAULT"?
/pg
--
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]
On Thu, Dec 09, 1999 at 08:43:45AM -0500, Peter Green wrote:
> On Thu, Dec 09, 1999 at 09:39:07AM +0800, 'Michael Boman' wrote:
> > On Wed, Dec 08, 1999 at 08:49:55AM -0500, Adam D . McKenna wrote:
> > > On Wed, Dec 08, 1999 at 08:48:10AM -0500, Adam D . McKenna wrote:
> > > > then, in ~alias/.qmail-foo, put:
> > >
> > > Sorry, this should be ~alias/.qmail-foo-default
> > >
> > > --Adam
> >
> > It doesnt work. My files looks like this:
> >
> > cat /var/qmail/control/virtualdomains
> > wizoffice.com.sg:alias-wizoffice.com.sg
> >
> > cat ~alias/.qmail-wizoffice.com.sg-default
> > |forward "$[EMAIL PROTECTED]"
>
> Shouldn't that be "DEFAULT", not "DFAULT"?
yeah, I suppose it's my time to say I had just woken up when I wrote that
message :)
--Adam
Are there any visual indicators for new mail that work with
Maildir format? xbiff is currently looking for a file, which should be mbox.
Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/
=> Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com
This is already addressed. See the User Contributed Maildir Support
section of http://www.qmail.org
On Thu, 9 Dec 1999, Subba Rao wrote:
>
> Are there any visual indicators for new mail that work with
> Maildir format? xbiff is currently looking for a file, which should be mbox.
>
> Subba Rao
> [EMAIL PROTECTED]
> http://pws.prserv.net/truemax/
>
> => Time is relative. Here is a new way to look at time. <=
> http://www.smcinnovations.com
>
---------------------------------
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/
The National Business Network Inc. http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA 15146
(412) 810-8888 Phone
(412) 810-8886 Fax
What should the user, group, and permissions be for the
/var/qmail/users/assign file be? I'm trying to setup serialmail and it says
to add a line to this file. I don't have one so I need to make a new one
but the serialmail docs don't indicate what user, group, and permissions for
this file.
Thanks,
Jose
On Thu, Dec 09, 1999 at 08:54:31AM -0800, Jose de Leon wrote:
> What should the user, group, and permissions be for the
> /var/qmail/users/assign file be? I'm trying to setup serialmail and it says
> to add a line to this file. I don't have one so I need to make a new one
> but the serialmail docs don't indicate what user, group, and permissions for
> this file.
There should be nothing wrong with it being rw-r--r--, there's hardly any
confidential information in it.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
Okay, but I'm unable to make an assign file. qmail-newu complains of
invalid format. I can't seem to find any mention of what the format should
be.
I have only one line in it and it is exactly what serialmail instructions
say to put into it.
Any Ideas?
Thanks,
Jose
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 1999 8:53 AM
Subject: Re: /var/qmail/users/assign
On Thu, Dec 09, 1999 at 08:54:31AM -0800, Jose de Leon wrote:
> What should the user, group, and permissions be for the
> /var/qmail/users/assign file be? I'm trying to setup serialmail and it
says
> to add a line to this file. I don't have one so I need to make a new one
> but the serialmail docs don't indicate what user, group, and permissions
for
> this file.
There should be nothing wrong with it being rw-r--r--, there's hardly any
confidential information in it.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
On Thu, Dec 09, 1999 at 09:10:55AM -0800, Jose de Leon wrote:
> Okay, but I'm unable to make an assign file. qmail-newu complains of
> invalid format. I can't seem to find any mention of what the format should
> be.
>
> I have only one line in it and it is exactly what serialmail instructions
> say to put into it.
Put a '.' on the last line, all by itself. Read man qmail-users for more info.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
I finally broke down and set myself free from sendmail and installed
qmail yesterday. I've got a Pentium Pro 200 with RedHat 5.2 (2.0.36)
and a small number of users. I first tried installing the memphis rpm
version of qmail which installed just fine, but I couldn't get it to
start qmail correctly. Supervise would start qmail, echo "qmail
starting up..." and then a few seconds later, I would keep getting a
message that supervise didn't have permissions to run qmail-start. When
I looked at the process listings, there would be 2 instances of
supervise trying to run qmail-start (my guess is that there should only
be 1). The second instance would die and then start again with a new
proc id.
So I decided that the easy way didn't work, let's try the more complex
way. I uninstalled all the daemontools, functions, qmail-run, qmail,
etc. rpms and went in search of different directions. Searching through
the list archive brought me to the Mail Server Mini-Howto at
http://www.sfu.ca/~yzhang/linux/qmail/index.html
Seemed like good straight-forward directions, which I then followed. I
got qmail installed, compiled and installed the modified version of
imap-4.7 (modified to point to $HOMEDIR/mail/inbox) and, after a few
fits and starts, SMTP, mail delivery, and POP3 were working. So far so
good.
My issue now is that I found out that a few of the users on the box were
using procmail (which I of course broke). So in the process of
researching about procmail and qmail I have come to realize that my
installation is pretty far from "standard". I realize that all "good"
unix programs provide at least 3 ways to do any given task, and that the
chosen path is usually influenced by habit and/or prejudice.
I've got mail being delivered (I think) to a single file in each user
directory. I'm not using any of the normal rc scripts found in the
/var/qmail/boot directory. I'm using a modified version of UW's IMAPd.
I now wonder what I should do to my setup so that I can reasonably meet
my mail-server goals which are:
1) Allow POP3, and APOP access in an efficient way
2) Allow users to use Pine and Procmail together
3) Let users set up mailing-lists
4) In the future, add web-based mail support
5) In the future, IMAP support
It seems to me (looking at the docs) that issues such as delivery to
/var/spool/mail, $HOME, or ~/Maildir/ may be able to be set up on a
per-user basis. Is this true? And how would I migrate my setup to one
that supports Maildir?
Is Dot-Forward/Procmail support best provided by moving to Maildir
format?
Any opinions on the easiest/best POP3/IMAPd to integrate with qmail?
There just seems to be so many ways of doing things that it's easy to
get lost. Do I uninstall everything and start over, compiling by hand?
Do I attempt to modify my current setup? Tough calls.
Any help for a new friend is greatly appreciated.
Judah McAuley
On Thu, 9 Dec 1999, Judah McAuley wrote:
[...]
> So I decided that the easy way didn't work, let's try the more complex
> way. I uninstalled all the daemontools, functions, qmail-run, qmail,
> etc. rpms and went in search of different directions. Searching through
> the list archive brought me to the Mail Server Mini-Howto at
> http://www.sfu.ca/~yzhang/linux/qmail/index.html
You might want to take a look at Life With Qmail which can be found
here: http://Web.InfoAve.Net/~dsill/lwq.html It's got complete info
on just about every question you have.
[...]
> I've got mail being delivered (I think) to a single file in each user
> directory. I'm not using any of the normal rc scripts found in the
> /var/qmail/boot directory. I'm using a modified version of UW's IMAPd.
> I now wonder what I should do to my setup so that I can reasonably meet
> my mail-server goals which are:
>
> 1) Allow POP3, and APOP access in an efficient way
Since you're using mbox format, qpopper's probably your best bet. There's
a patch on www.qmail.org for home dir mailboxes, and in ver3.0 (currently
in beta) it will be part of the distribution.
> 2) Allow users to use Pine and Procmail together
See the qmail FAQ, both of these items are covered in detail.
> 3) Let users set up mailing-lists
> 4) In the future, add web-based mail support
Take a look at TWIG. It's a complete Personal Information Manager in PHP
and was a snap to install. http://screwdriver.net/twig/
> 5) In the future, IMAP support
>
> It seems to me (looking at the docs) that issues such as delivery to
> /var/spool/mail, $HOME, or ~/Maildir/ may be able to be set up on a
> per-user basis. Is this true? And how would I migrate my setup to one
> that supports Maildir?
>
> Is Dot-Forward/Procmail support best provided by moving to Maildir
> format?
Doesn't matter. Both take place beforehand.
>
> Any opinions on the easiest/best POP3/IMAPd to integrate with qmail?
see above.
> There just seems to be so many ways of doing things that it's easy to
> get lost. Do I uninstall everything and start over, compiling by hand?
> Do I attempt to modify my current setup? Tough calls.
Start with Life With Qmail. You'll quickly find that it's not as tough
as you're thinking it might be.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
On Thu, Dec 09, 1999 at 12:44:33PM -0500, Vince Vielhaber wrote:
> Since you're using mbox format, qpopper's probably your best bet. There's
> a patch on www.qmail.org for home dir mailboxes, and in ver3.0 (currently
> in beta) it will be part of the distribution.
Just and additional note: you should make abolutely sure that you use
the latest version of qpopper. Previous versions are vulnerable to
a buffer overflow and a exploit script has been posted to the bugtraq
list.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Change that to "use the absolute latest version of NON BETA code
available. ie. 2.53 (i believe)"
An exploit just came out for the beta tree, dont know if they have a patch
available to fix it yet tho'...
On Thu, 9 Dec 1999, Markus Stumpf wrote:
>On Thu, Dec 09, 1999 at 12:44:33PM -0500, Vince Vielhaber wrote:
>> Since you're using mbox format, qpopper's probably your best bet. There's
>> a patch on www.qmail.org for home dir mailboxes, and in ver3.0 (currently
>> in beta) it will be part of the distribution.
>
>Just and additional note: you should make abolutely sure that you use
>the latest version of qpopper. Previous versions are vulnerable to
>a buffer overflow and a exploit script has been posted to the bugtraq
>list.
>
> \Maex
>
>--
>SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
>Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
>Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
>D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
>
_ __ _____ __ _________
______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech
__ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC!
_ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
11:10am up 139 days, 21:29, 4 users, load average: 0.03, 0.09, 0.11
Here's a fix:
Since the error message, using the IBM C compiler, complained
about the 'dns.c' file my co-worker simply commented out the
line:
extern int h_errno;
to be:
/* extern int h_errno; */
Thereafter, compilation w/IBM C compiler completed without errors
and qmail is running!
-----Original Message-----
From: Shields Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 08, 1999 11:45 AM
To: Qmail General Support List (E-mail)
Subject: Error compiling Qmail on AIX 4.3.2 with GNU gcc v2.95 and GNU
mak e v3.74
I'm a newbie @ compiling and don't know where to begin fixing this.
I'm not even sure this is the correct list to post to, apologies if not!
Any help greatly appreciated!
(When I tried using IBM's make & cc I got different errors)
The error reads:
#.....
#./compile auto-str.c
#auto-str.c: In function `main':
#auto-str.c:15: warning: return type of `main' is not `int'
#./load auto-str substdio.a error.a str.a
#ld: 0711-317 ERROR: Undefined symbol: .__main
#ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
#make: *** [auto-str] Error 8
When I use the -bnoquiet option this is the result:
#$ /qmail-1.03> ./load auto-str substdio.a error.a str.a -bnoquiet
#(ld): halt 4
#(ld): setopt strip
#(ld): savename auto-str
#(ld): filelist 6 1
#(ld): i /lib/crt0.o
#(ld): i auto-str.o
#(ld): i substdio.a
#(ld): i error.a
#(ld): i str.a
#(ld): lib /usr/lib/libc.a
#LIBRARY: Shared object libc.a[shr.o]: 2138 symbols imported.
#LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
#LIBRARY: Shared object libc.a[aio.o]: 10 symbols imported.
#LIBRARY: Shared object libc.a[pse.o]: 78 symbols imported.
#LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported.
#FILELIST: Number of previously inserted files processed: 6
#(ld): resolve
#RESOLVE: 48 of 2755 symbols were kept.
#(ld): addgl /usr/lib/glink.o
#ADDGL: Glink code added for 4 symbols.
#(ld): er full
#ld: 0711-318 ERROR: Undefined symbols were found.
# The following symbols are in error:
# Symbol Inpndx TY CL Source-File(Object-File) OR
Import-File{Shared-object}
# RLD: Address Section Rld-type Referencing
Symbol
#
----------------------------------------------------------------------------
------------------
# .__main [20] ER PR auto-str.c(auto-str.o)
# 0000007c .text R_RBR [28] .main
#ER: The return code is 8.
Here's the complete output:
$ /qmail-1.03> make setup check
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
./find-systype > systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
qmail-local.c: In function `main':
qmail-local.c:448: warning: return type of `main' is not `int'
./compile qmail.c
./compile quote.c
./compile now.c
now.c: In function `now':
now.c:7: warning: passing arg 1 of `time' from incompatible pointer type
./compile gfrom.c
./compile myctime.c
./compile slurpclose.c
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
./compile case_diffb.c
./compile case_diffs.c
./compile case_lowerb.c
./compile case_lowers.c
./compile case_starts.c
./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
case_lowers.o case_starts.o
./compile getln.c
./compile getln2.c
./makelib getln.a getln.o getln2.o
./compile subgetopt.c
./compile sgetopt.c
./makelib getopt.a subgetopt.o sgetopt.o
./compile sig_alarm.c
( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \
2>&1 \
&& echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h
rm -f trysgprm.o trysgprm
./compile sig_block.c
( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \
2>&1 \
&& echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
rm -f trysgact.o trysgact
./compile sig_catch.c
./compile sig_pause.c
./compile sig_pipe.c
./compile sig_child.c
./compile sig_hup.c
./compile sig_term.c
./compile sig_bug.c
./compile sig_misc.c
./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \
sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \
sig_bug.o sig_misc.o
./compile open_append.c
./compile open_excl.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./makelib open.a open_append.o open_excl.o open_read.o \
open_trunc.o open_write.o
./compile seek_cur.c
./compile seek_end.c
./compile seek_set.c
./compile seek_trunc.c
./makelib seek.a seek_cur.o seek_end.o seek_set.o \
seek_trunc.o
( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \
2>&1 \
&& echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
rm -f tryflock.o tryflock
./compile lock_ex.c
./compile lock_exnb.c
./compile lock_un.c
./makelib lock.a lock_ex.o lock_exnb.o lock_un.o
./compile fd_copy.c
./compile fd_move.c
./makelib fd.a fd_copy.o fd_move.o
( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \
2>&1 \
&& echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
rm -f trywaitp.o trywaitp
./compile wait_pid.c
./compile wait_nohang.c
./makelib wait.a wait_pid.o wait_nohang.o
./compile env.c
./compile envread.c
./makelib env.a env.o envread.o
./compile stralloc_eady.c
./compile stralloc_pend.c
./compile stralloc_copy.c
./compile stralloc_opys.c
./compile stralloc_opyb.c
./compile stralloc_cat.c
./compile stralloc_cats.c
./compile stralloc_catb.c
./compile stralloc_arts.c
./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
stralloc_cat.o stralloc_cats.o stralloc_catb.o \
stralloc_arts.o
./compile alloc.c
./compile alloc_re.c
./makelib alloc.a alloc.o alloc_re.o
./compile strerr_sys.c
./compile strerr_die.c
./makelib strerr.a strerr_sys.o strerr_die.o
./compile substdio.c
./compile substdi.c
./compile substdo.c
./compile subfderr.c
./compile subfdout.c
./compile subfdouts.c
./compile subfdin.c
./compile subfdins.c
./compile substdio_copy.c
./makelib substdio.a substdio.o substdi.o substdo.o \
subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \
substdio_copy.o
./compile error.c
./compile error_str.c
./compile error_temp.c
./makelib error.a error.o error_str.o error_temp.o
./compile str_len.c
./compile str_diff.c
./compile str_diffn.c
./compile str_cpy.c
./compile str_chr.c
./compile str_rchr.c
./compile str_start.c
./compile byte_chr.c
./compile byte_rchr.c
./compile byte_diff.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_zero.c
./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \
str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \
byte_diff.o byte_copy.o byte_cr.o byte_zero.o
./compile fmt_str.c
./compile fmt_strn.c
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
./compile scan_ulong.c
./compile scan_8long.c
./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
fmt_ulong.o scan_ulong.o scan_8long.o
./compile datetime.c
./compile datetime_un.c
./makelib datetime.a datetime.o datetime_un.o
./compile auto-str.c
auto-str.c: In function `main':
auto-str.c:15: warning: return type of `main' is not `int'
./load auto-str substdio.a error.a str.a
ld: 0711-317 ERROR: Undefined symbol: .__main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: *** [auto-str] Error 8
$ /qmail-1.03> ./load auto-str substdio.a error.a str.a -bnoquiet
(ld): halt 4
(ld): setopt strip
(ld): savename auto-str
(ld): filelist 6 1
(ld): i /lib/crt0.o
(ld): i auto-str.o
(ld): i substdio.a
(ld): i error.a
(ld): i str.a
(ld): lib /usr/lib/libc.a
LIBRARY: Shared object libc.a[shr.o]: 2138 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
LIBRARY: Shared object libc.a[aio.o]: 10 symbols imported.
LIBRARY: Shared object libc.a[pse.o]: 78 symbols imported.
LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported.
FILELIST: Number of previously inserted files processed: 6
(ld): resolve
RESOLVE: 48 of 2755 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 4 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
The following symbols are in error:
Symbol Inpndx TY CL Source-File(Object-File) OR
Import-File{Shared-object}
RLD: Address Section Rld-type Referencing
Symbol
----------------------------------------------------------------------------
------------------
.__main [20] ER PR auto-str.c(auto-str.o)
0000007c .text R_RBR [28] .main
ER: The return code is 8.
I failed to do a qmail reload after adding a domain to
virtualdomains. For the last day, they've been receiving mail but it
goes attempts (and fails) remote delivery. Now that I've reloaded
qmail, they get new mail, but the old mail never showed up. Any way
to recover it? Is it lost?
thanks,
jon
As far as I know, messages live for up to 10 week on a default
configuration.
You can attempt to deliver all messages on the queue by sending
"kill -ALRM" to qmail-send.
On Thu, 9 Dec 1999, Jon Rust wrote:
:I failed to do a qmail reload after adding a domain to
:virtualdomains. For the last day, they've been receiving mail but it
:goes attempts (and fails) remote delivery. Now that I've reloaded
:qmail, they get new mail, but the old mail never showed up. Any way
:to recover it? Is it lost?
:
:thanks,
:jon
:
On Thu, 9 Dec 1999, Daniel Mattos wrote:
:
:As far as I know, messages live for up to 10 week on a default
:configuration.
I meant 1 week to 10 days. sorry!
Does serialmail require the dialup host to have a static IP?
Thanks,
Jose
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?
Thanks so much for your time,
Jennifer
There is a package called "Amavis", but no one has been able to supply any
information on how to get it to work. I couldn't find the patches in the
archives, but I'd really love to know how I can get Amavis to work with
qmail.
Good luck, Jennifer.
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 09, 1999 12:43 PM
To: [EMAIL PROTECTED]
Subject: Anti Virus Solution
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?
Thanks so much for your time,
Jennifer
Hi Jennifer,
We use a commercial product called VFind, provided by a company found
on the web here: http://www.cyber.com/
With a bit of a shell wrapper, you can make it into a generic scanning
tool which works like this....
STDIN --> vfind --> STDOUT
We call it from a .qmail-file, once for each incoming message, and let
qmail assess our return code. Works quite well, and we've been happy
with the support from them.
And, yes, it does detect many of the different X97M and W97M virus
variants.
-Martin
On 9 Dec, 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?
:
: Thanks so much for your time,
: Jennifer
:
--
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]
We use vfind as well, and are very happy with the product and the support
we get. My company runs a commercial service protecting email from viruses,
and since it's based on qmail I thought it appropriate to mention it
here. If you want to 'roll your own' anti virus solution, here are some of
the
points we have found (based on 18 months worth of hard earned experience)
you should
consider.
1) Email is now the primary point of entry of viruses into most companies.
Over the last
18 months we have found that on average 1 in every 1500 emails contains a
virus. Emails
from free mail services, such as hotmail/yahoo etc, contain a higher
proportion of viruses.
2) If you only use one virus scanner, you will miss around 3% of viruses
over the course
of a year. This is because all the AV vendors have different schedules for
issuing new signatures,
and because they all find new viruses at slightly different times. The more
virus scanners you add,
the better your detection rate, but also the higher your costs are, and the
longer it takes
to scan mail. (We have currently settled on 3 scanners)
3) You have to be able to cope with all the obscure formats mail can arrive
in (recursive mime,
ZIP, binhex, microsoft propriatory etc etc) or you will miss viruses.
4) Updating your scanners with new signatures is very important. The new
breed of email viruses
spread so quickly that speed really is of the essence. For instance, the UK
was hit badly on 29th March
by the Melissa virus. However, the signatures to detect this virus were
available
at least 3 days before this date. To be truly effective, consider updating
at least hourly, if not
more often.
5) New viruses are often detected and publicised for some time before the
signatures are available.
Consider how you will deal with these threats before standard signatures are
published.
6) All AV scanners generate some false alarms, so you will need to consider
how to handle these
7) All AV scanners crash occasionally, (or worse, get into an infinite loop
and never return)
so you will need to consider how to handle this
8) You should consider training your help-desk to be virus-literate, since
they will get a large
number of queries about viruses.
9) Scanning will slow down mail delivery. To maintain the same level of
service as before, we estimate
you will need up to 10 times the current hardware (of course, if your
current hardware is not running
at full capacity, you won't need as much.
10) Linux virus scanners we have tried, and found to be good are (no
particular order):
NAI Antivirus www.nai.com
Datafellows F-Secure www.datafellows.com
Cybersoft vfind www.cyber.com
Sophos Antivirus www.sophos.com
If anyone is interested in a detailed comparison of these products, please
contact me off the list.
If anyone knows of any other linux AV products you think we should consider,
please let me know.
11) To be truly effective, you may need to dedicate personell full-time to
an anti-virus role. This
will obviously depend heavily on the size of your company.
Well, thats all I can think of off the top of my head. Hope it gives you all
some food for thought!
Alex
~~~~~~~~~~~~~~~~~~~~~~~~~
Alex Shipp
Virus Technologist
Starlabs www.starlabs.net
E: [EMAIL PROTECTED]
T: 44 1285 884400
~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Hi Jennifer,
>
>We use a commercial product called VFind, provided by a company found
>on the web here: http://www.cyber.com/
________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm
Hello,
I couldn't find any specific mailing list for the ucspi-tcp package, and because
I have found some questions about tcpserver asked to this list, I would like to
know if this is the place to ask also about problems related to other programms
from the same package?
Best regards,
Serban
--
Serban Udrea
GSI - Plasma Physics Department
Darmstadt, Germany
Van Liedekerke Franky writes:
> Hi,
>
> is there a problem with the qmail site http://www.qmail.org ? Or is it just
> me again ?
It was down for a while, yes. And at the same time, I was giving the
qmail tutorial in London. :( Makes me wonder if the machine didn't
wait to crash until I was very, very far away.
--
-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!
Is it against the rules to use the qmail list to solicit customers?
Someone tried selling me something today (I won't mention who, that's not
the right spirit, and I will continue to keep their identification hidden
until I find out if this list allows members to solicit other members,
either through the list or directly based on a list posting), claiming that
their service will do virus screening at a comparable cost to doing it
myself.
Well, doing it myself costs ... let's see ... nothing. I've paid for MAV
already, I get hourly updates if I want them, and both qmail and amavis (if
someone can get this thing to work with qmail) are free.
However, my frustration with Amavis and qmail is running at an all-time
high. If I am to be expected to believe that no one here is using Amavis, I
may actually *shudder* go back to sendmail to enjoy that virus protection.
Dustin Miller, President
WebFusionDevelopmentIncorporated
On Thu, 9 Dec 1999, Dustin Miller wrote:
> However, my frustration with Amavis and qmail is running at an all-time
> high. If I am to be expected to believe that no one here is using Amavis, I
> may actually *shudder* go back to sendmail to enjoy that virus protection.
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00169.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg01152.html
Search the archive using "virus scan" for more info.
- cls
It was me. I own up. I also emailed Jennifer. (gosh)
I posted to Dustin directly, because I thought from his mail that he was
looking for
a solution my company could provide. I also posted to the list a different
email outlining
all the things you should seriously consider if you want to do this kind of
thing yourself.
In this way, I hope I am benefitting the community, while also furthering my
own ends. Hopefully
a win-win scenario.
Meanwhile, people have done this before on the list, so I don't believe this
was a bad thing to do.
Perhaps I was wrong. Either way, I expect a big postbag tomorrow!
Regards,
Alex
~~~~~~~~~~~~~~~~~~~~~~~~~~
Alex Shipp
Virus Technologist
Starlabs www.starlabs.net
E: [EMAIL PROTECTED]
T: 44 1285 884496
~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: Dustin Miller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 09 December 1999 20:25
Subject: Question about UCE and also AMAVIS
Is it against the rules to use the qmail list to solicit customers?
Someone tried selling me something today (I won't mention who, that's not
the right spirit, and I will continue to keep their identification hidden
until I find out if this list allows members to solicit other members,
either through the list or directly based on a list posting), claiming that
their service will do virus screening at a comparable cost to doing it
myself.
Well, doing it myself costs ... let's see ... nothing. I've paid for MAV
already, I get hourly updates if I want them, and both qmail and amavis (if
someone can get this thing to work with qmail) are free.
However, my frustration with Amavis and qmail is running at an all-time
high. If I am to be expected to believe that no one here is using Amavis, I
may actually *shudder* go back to sendmail to enjoy that virus protection.
Dustin Miller, President
WebFusionDevelopmentIncorporated
____________________________________________________________________________
____
This message has been checked for all known viruses by the Star Screening
System
http://academy.star.co.uk/public/virustats.htm
________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm
>Well, doing it myself costs ... let's see ... nothing.
I still disagree with Dustin on this one though. (unless,
of course, he charges his time out at $0.00/hour, in which case
I would very much like some Web Development from him, please).
________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm
On 09-Dec-99 Christopher Seawood wrote:
> On Thu, 9 Dec 1999, Dustin Miller wrote:
>
>> However, my frustration with Amavis and qmail is running at an all-time
>> high. If I am to be expected to believe that no one here is using Amavis, I
>> may actually *shudder* go back to sendmail to enjoy that virus protection.
>
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00169.html
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg01152.html
>
> Search the archive using "virus scan" for more info.
>
> - cls
>
>
Also is message numbers: 29104 and 38621. I'm not posting them as one
of 'em is about 17K and contains the script for AMAVIS and it's in the
archives anyway.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
On Thu, 9 Dec 1999, Dustin Miller wrote:
> Is it against the rules to use the qmail list to solicit customers?
>
> Someone tried selling me something today (I won't mention who, that's not
> the right spirit, and I will continue to keep their identification hidden
> until I find out if this list allows members to solicit other members,
Probably not against "the rules", but it shows extremely poor taste, and,
much like you, I would actually refrain from doing business with any
inconsiderate clod who'd try to pull that on me.
--
Sam
Well, since he posted that to the list, I feel it would be fair for me to
copy my response, detailing why it truly costs me US$0.00 to run my own
virus checking system. I've made a few minor edits, but they don't affect
the character and spirit of my original reply to Alex.
One thing to keep in mind. While yes, my time is valuable to me and my
clients, I would not be so self-centered as to say *ALL* of my free time is
valuable. The time I spend screwing around with my Linux machine which
supports all of three people (all of whom are good friends and aren't really
dependent on this server) is trivial, I wouldn't charge them for it, I'm not
that full of myself.
---[ begin quoted message ]---
I will analyze what you say is my cost for you, just so you know where I'm
coming from, Alex.
1) My time. Yes, my time is valuable, but administering this box for me and
my three employees (who already run virus scanning on their desktops anyway)
is trivial. I do it in my spare time. While normally I charge in excess of
US$100/hour for my time, I truly enjoy mucking around this box. It's not
serious for me now, I don't have hundreds of people to support. It's a
convenience issue, really, that's all.
2) I've already purchased the antivirus software. Other than the
subsciption to the updates (which, I would fathom, is still less expensive
than using your service), zero cost to me.
3) I need no extra hardware, I have a mail server that's fully capable of
running antivirus software. In fact, it does, and I can use MAV to manually
scan attachment directories -- I was hoping to automate that process. If I
can accomplish that, again -- zero cost to me.
4) I currently have a cron job that downloads hourly virus updates from
AVERT and installs them. Zero time spent updating the software.
And, yes, if a virus slips through, there is a cost to be paid in recovering
any lost data from an infection. But nobody is 100% virus-free, not one
company can guarantee 100% effectiveness, so that is a calculated risk that
I have chosen to take. On systems that are backed up daily (and, some
directories, automatically syncronized to other disparate filesystems on
change), I'm not concerned with actual data loss -- no virus is going to
destroy all copies of my data no matter the format or location, that would
require keys to my safe deposit box and my hot site.
While I appreciate that you are running a business, please try to keep this
in mind: I run qmail and linux and amavis because they are free and
supported by the community. There isn't one programmer busting out code
under a heavy deadline, under threat of loss of pay, and because of that
singular dedication to "getting it right", open source software is the way
for me to go.
Your solution may be a God-send for many of your customers, I have no doubt
of that. But I did not join this list to be solicited, I joined this list
to seek the assistance of other generous qmail users and programmers, hoping
to learn something in the process.
Yes, your mail annoyed me, and I'm glad it was only to me and not the list.
In my list post, I made sure I didn't disclose your identity: I'm not that
type of person. But please, in the future, refrain from soliciting this
particular qmail-lister.
If you've come up with a way to use Amavis, I'd love to hear from you. If
you're telling me I have to spend my hard-earned cash when I *KNOW* I do
not, please don't bother typing a message to me. That's just the way it is
with me. :)
Thanks again for your concern -- whether it's sincere or motiviated by
capitalism, I do not care -- I truly appreciate that you are looking out for
the needs of other people. But, after all, I don't /need/ your service.
Best of luck to you and your firm in all your endeavors,
Dustin
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: Alex Shipp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 09, 1999 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about UCE and also AMAVIS
>Well, doing it myself costs ... let's see ... nothing.
I still disagree with Dustin on this one though. (unless,
of course, he charges his time out at $0.00/hour, in which case
I would very much like some Web Development from him, please).
____________________________________________________________________________
____
This message has been checked for all known viruses by the Star Screening
System
http://academy.star.co.uk/public/virustats.htm
>Probably not against "the rules", but it shows extremely poor taste, and,
>much like you, I would actually refrain from doing business with any
>inconsiderate clod who'd try to pull that on me.
So Sam, let me get this straight. If you posted a problem onto the list,
and someone proposed a solution that not only costs you less in real terms,
but is also technically better, you would ignore it. In that case, why post
the problem in the first place?
Alex
________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm
I don't see anything wrong with offering to fix someone's problem for a
reasonable fee, especially if it is something that is beyond the scope of the
normal questions/problems that the list is here to answer.
IMHO, it's not the list's job to do peoples' work for them. We're here to
provide technical information and support for people who are having
legitimate problems (and hopefully have done their homework before asking).
--Adam
On Fri, Dec 10, 1999 at 07:27:58AM -0000, Alex at Star wrote:
>
> >Probably not against "the rules", but it shows extremely poor taste, and,
> >much like you, I would actually refrain from doing business with any
> >inconsiderate clod who'd try to pull that on me.
>
>
> So Sam, let me get this straight. If you posted a problem onto the list,
> and someone proposed a solution that not only costs you less in real terms,
> but is also technically better, you would ignore it. In that case, why post
> the problem in the first place?
>
> Alex
>
> ________________________________________________________________________________
> This message has been checked for all known viruses by the Star Screening System
> http://academy.star.co.uk/public/virustats.htm
>
I apologise if this is slightly off topic but I am growing concerned about the log
files that sem
to
be infesting my system in particular the qmail and samba ones. I looked through the
daemon
tools package and found something called cyclog which I intend to use to handle my
logging
from now on. My question is this. How do I run qmail in such a way that its logging is
handled
by the cyclog program and what daemons etc generate the log messages. Also as I use
tcpserver to wrap around qmail smtp but qmail-send is run from a shell script how do I
log
these seperately (do i need to?) and can I log output from tcpserver detailing
connections
before any mail stuff is logged? Hope someone can make some sensee of this and help me
out here.
thanks
--
Marek Narkiewicz, Webmaster Intercreations
Reply to <-marek @ intercreations . com->
"Dogs are everywhere"
Pulp
Dogs are Everywhere
Hi,
Supose I'm supervising the qmail queue and see a message with (2
attachments of 2mb each for 5 different addresses). This message will
consume a lot of my link, so I want to send this message during the night.
How to do this?
Best regards,
Ari
run your mail program in night;-)
On Thu, 9 Dec 1999, Ari Arantes Filho wrote:
> Hi,
>
> Supose I'm supervising the qmail queue and see a message with (2
> attachments of 2mb each for 5 different addresses). This message will
> consume a lot of my link, so I want to send this message during the night.
> How to do this?
>
> Best regards,
>
> Ari
>
>
>
Thus said "Ari Arantes Filho" on Thu, 09 Dec 1999 19:14:54 -0200:
> Supose I'm supervising the qmail queue and see a message with (2
> attachments of 2mb each for 5 different addresses). This message will
> consume a lot of my link, so I want to send this message during the night.
> How to do this?
You could always write a simple cronjob that would suspend qmail-send
until an hour that you deem proper for sending such large emails and
then have another cronjob that reactivates it at the specified time.
This might involve control/concurrencyremote by setting the value to 0
and then HUP'ing qmail-send. I'm not qmail expert by any means but
this might work.
Andy
--
+====== Andy ====== TiK: garbaglio ======+
| Linux is about freedom of choice |
+== http://www.xmission.com/~bradipo/ ===+
On Fri, Dec 10, 1999 at 12:48:20AM -0700, Andy Bradford wrote:
> Thus said "Ari Arantes Filho" on Thu, 09 Dec 1999 19:14:54 -0200:
>
> > Supose I'm supervising the qmail queue and see a message with (2
> > attachments of 2mb each for 5 different addresses). This message will
> > consume a lot of my link, so I want to send this message during the night.
> > How to do this?
> You could always write a simple cronjob that would suspend qmail-send
> until an hour that you deem proper for sending such large emails and
> then have another cronjob that reactivates it at the specified time.
> This might involve control/concurrencyremote by setting the value to 0
> and then HUP'ing qmail-send. I'm not qmail expert by any means but
> this might work.
qmail-send needs a real restart to reread concurrency info. There is a patch
that allows you to start/stop delivery without restarting qmail, it's somewhere
on www.qmail.org.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 08:54:46 +0100:
> qmail-send needs a real restart to reread concurrency info. There is a patch
> that allows you to start/stop delivery without restarting qmail, it's somewhere
> on www.qmail.org.
Would an ALRM be enough or does it require a full restart?
Andy
--
+====== Andy ====== TiK: garbaglio ======+
| Linux is about freedom of choice |
+== http://www.xmission.com/~bradipo/ ===+
On Fri, Dec 10, 1999 at 12:58:17AM -0700, Andy Bradford wrote:
> Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 08:54:46 +0100:
>
> > qmail-send needs a real restart to reread concurrency info. There is a patch
> > that allows you to start/stop delivery without restarting qmail, it's somewhere
> > on www.qmail.org.
> Would an ALRM be enough or does it require a full restart?
Reading helps.
I typed 'needs a real restart' but 'There is a patch that allows...'
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 09:02:06 +0100:
> Reading helps.
Yes, I did read, however, I would rather avoid another patch if
possible... :) Plus, it wasn't for my sake but the sake of Ari.
> I typed 'needs a real restart' but 'There is a patch that allows...'
Define 'real restart' in this context please... :)
Andy
--
+====== Andy ====== TiK: garbaglio ======+
| Linux is about freedom of choice |
+== http://www.xmission.com/~bradipo/ ===+
On Fri, Dec 10, 1999 at 01:05:28AM -0700, Andy Bradford wrote:
> Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 09:02:06 +0100:
>
> > Reading helps.
> Yes, I did read, however, I would rather avoid another patch if
> possible... :) Plus, it wasn't for my sake but the sake of Ari.
>
> > I typed 'needs a real restart' but 'There is a patch that allows...'
> Define 'real restart' in this context please... :)
kill -TERM the qmail-send process
wait for it to die off normally
start qmail
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
On Fri, Dec 10, 1999 at 12:58:17AM -0700, Andy Bradford wrote:
> Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 08:54:46 +0100:
>
> > qmail-send needs a real restart to reread concurrency info. There is a patch
> > that allows you to start/stop delivery without restarting qmail, it's somewhere
> > on www.qmail.org.
> Would an ALRM be enough or does it require a full restart?
> Andy
> --
> +====== Andy ====== TiK: garbaglio ======+
> | Linux is about freedom of choice |
> +== http://www.xmission.com/~bradipo/ ===+
I am running a ISDN-line, so I applied the patch, the signal is HUP.
Regards
Mirko
--
privat: http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads
The user sends the email, not me!!!
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Ari Arantes Filho <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 10, 1999 1:42 AM
Subject: Re: How to send a message after
> run your mail program in night;-)
>
> On Thu, 9 Dec 1999, Ari Arantes Filho wrote:
>
> > Hi,
> >
> > Supose I'm supervising the qmail queue and see a message with (2
> > attachments of 2mb each for 5 different addresses). This message will
> > consume a lot of my link, so I want to send this message during the
night.
> > How to do this?
> >
> > Best regards,
> >
> > Ari
> >
> >
> >
>
I'm not sure what's going on, but we've been getting hit with repetitive
emails for almost a week now. I have disabled the account on our side
that is the recipient, but now I've been getting bounce messages. I've
tried putting the sender in badmailfrom, but apparently this does not work
or I'm doing it wrong.
I have included an attached bounce message as well as my badmailfrom file.
All attempts to contact the postmaster @ the other site have failed. They
are apparently using GroupWise.
--
Albert Hopkins
Sr. Systems Specialist
Dynacare, Inc
[EMAIL PROTECTED]
From [EMAIL PROTECTED] Thu Dec 9 16:01:39 1999
Date: 9 Dec 1999 21:56:30 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Hi. This is the qmail-send program at mail.dynacare.com.
I tried to deliver a bounce message to this address, but the bounce bounced!
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 5026 invoked from network); 9 Dec 1999 21:56:29 -0000
Received: from zipcon.net (209.221.136.5)
by 172.31.128.10 with SMTP; 9 Dec 1999 21:56:29 -0000
Received: (qmail 30160 invoked from network); 9 Dec 1999 21:58:27 -0000
Received: from gatekeeper.twh.on.ca (HELO twh.on.ca) (@199.71.175.5)
by zipcon.net with SMTP; 9 Dec 1999 21:58:27 -0000
Received: from TWH.ON.CA ([172.16.12.133]) by gatekeeper.twh.on.ca with SMTP id
<23318>; Thu, 9 Dec 1999 17:08:37 -0500
Received: from TORONTO_WELLESLEY_HOSPITAL-Message_Server by TWH.ON.CA
with Novell_GroupWise; Fri, 03 Dec 1999 12:08:18 -0500
Message-Id: <[EMAIL PROTECTED]>
X-Mailer: Novell GroupWise 4.1
Date: Fri, 3 Dec 1999 12:08:18 -0500
Illegal-Object: Syntax error in Return-path: address found on gatekeeper.twh.on.ca:
Return-path: <>
^-expected word
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Message status - undeliverable
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_FCA58E12.97F692E7"
This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=_FCA58E12.97F692E7
Content-Type: text/plain
Content-Disposition: inline
The message that you sent was undeliverable to the following:
"LANETTEWARD LWARD" (user not found)
Possibly truncated original message follows:
--=_FCA58E12.97F692E7
Content-Type: message/rfc822
Received: From [172.16.32.2] twh.on.ca
By GATEKEEPER.TWH.ON.CA (GroupWise SMTP/MIME daemon 4.11)
Fri, 3 Dec 99 11:32:56 EST
Received: from mail.dynacare.com ([216.112.111.3]) by gatekeeper.twh.on.ca with SMTP
id <41502>; Fri, 3 Dec 1999 11:42:02 -0500
Received: (qmail 729 invoked from network); 3 Dec 1999 16:28:48 -0000
Received: from ip18.toronto6.dialup.canada.psi.net (HELO carolfer) (154.5.72.18)
by 172.31.128.10 with SMTP; 3 Dec 1999 16:28:48 -0000
Received: by localhost with Microsoft MAPI; Fri, 3 Dec 1999 11:40:30 -0500
Message-ID: <[EMAIL PROTECTED]>
From: Carol Ferguson <[EMAIL PROTECTED]>
Illegal-Object: Syntax error in To: address found on gatekeeper.twh.on.ca:
To: "'LANETTEWARD<[EMAIL PROTECTED]>'" <LANETTEWARD<[EMAIL PROTECTED]> >
^-illegal end of route
address, missing end of address
To: <"LANETTEWARD LWARD"@twh.on.ca>
Subject: my part of the presentation
Date: Fri, 3 Dec 1999 11:21:10 -0500
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Encoding: 2 TEXT, 1699 UUENCODE
X-MS-Attachment: effects of marital conflict.doc 0 00-00-1980 00:00
[body removed]
@gatekeeper.twh.on.ca
@twh.on.ca
@TWH.ON.CA
@[]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Rumor has it that Albert Hopkins may have mentioned these words:
>
>I'm not sure what's going on, but we've been getting hit with repetitive
>emails for almost a week now. I have disabled the account on our side
>that is the recipient, but now I've been getting bounce messages. I've
>tried putting the sender in badmailfrom, but apparently this does not work
>or I'm doing it wrong.
The best, quick way to stop the bounces is to make an alias in your
/var/qmail/alias directory with the filename:
.qmail-cferguson
with just a hash mark (#) in the file. This will cause all mail for this
once-existant mailbox to fall quietly into /dev/null.
HTH,
Roger "Merch" Merchberger
--
Roger "Merch" Merchberger --- sysadmin, Iceberg Computers
Recycling is good, right??? Ok, so I'll recycle an old .sig.
If at first you don't succeed, nuclear warhead
disarmament should *not* be your first career choice.
man ipfwadm if you use linux.... filter the connection before it gets to
your mail server
ipfwadm -I -a deny -S bad.mail.server.addr -D your.mail.server.addr
Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph 570-628-5303
Fax 570-628-5545
On Thu, 9 Dec 1999, Albert Hopkins wrote:
>
> I'm not sure what's going on, but we've been getting hit with repetitive
> emails for almost a week now. I have disabled the account on our side
> that is the recipient, but now I've been getting bounce messages. I've
> tried putting the sender in badmailfrom, but apparently this does not work
> or I'm doing it wrong.
>
> I have included an attached bounce message as well as my badmailfrom file.
> All attempts to contact the postmaster @ the other site have failed. They
> are apparently using GroupWise.
>
>
>
> --
> Albert Hopkins
> Sr. Systems Specialist
> Dynacare, Inc
> [EMAIL PROTECTED]
>
Roger Merchberger wrote:
>
> Rumor has it that Albert Hopkins may have mentioned these words:
> >
> >I'm not sure what's going on, but we've been getting hit with repetitive
> >emails for almost a week now. I have disabled the account on our side
> >that is the recipient, but now I've been getting bounce messages. I've
> >tried putting the sender in badmailfrom, but apparently this does not work
> >or I'm doing it wrong.
>
> The best, quick way to stop the bounces is to make an alias in your
> /var/qmail/alias directory with the filename:
>
> .qmail-cferguson
>
> with just a hash mark (#) in the file. This will cause all mail for this
> once-existant mailbox to fall quietly into /dev/null.
>
> HTH,
> Roger "Merch" Merchberger
> --
> Roger "Merch" Merchberger --- sysadmin, Iceberg Computers
> Recycling is good, right??? Ok, so I'll recycle an old .sig.
>
> If at first you don't succeed, nuclear warhead
> disarmament should *not* be your first career choice.
Try the anti-spam patch from the "Yet More Qmail Addons" section on the
qmail homepage,
<ftp://ftp.fmp.com/pub/linux/qmail>. You can then add an address into a
"new" file
called badrcptto, and qmail-smtpd will reject the mail.
--
/hans
Okay, I've applied the patch to Amavis indicated on one of those posts, and
replaced my qmail-local and qmail-remote binaries with symlinks to the
scanmails binary, as the post dictated.
Still, however -- the EICAR.COM virus goes right through. I'm attaching the
EICAR.COM virus to this post (it's 69 bytes) to see if it sets any other
alarms off. That's a good way to tell who's using it. :)
For those not familiar with EICAR, it's a TEST for virusscanners. It
doesn't actually DO anything, it isn't really a VIRUS, and it WON'T hurt
you.
Although, it does crash Windows Millennium quite handily.
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: Christopher Seawood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 09, 1999 2:47 PM
To: Dustin Miller
Cc: [EMAIL PROTECTED]
Subject: Re: Question about UCE and also AMAVIS
On Thu, 9 Dec 1999, Dustin Miller wrote:
> However, my frustration with Amavis and qmail is running at an all-time
> high. If I am to be expected to believe that no one here is using Amavis,
I
> may actually *shudder* go back to sendmail to enjoy that virus protection.
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00169.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg01152.html
Search the archive using "virus scan" for more info.
- cls
EICAR.COM
Well, we know that virus scanning works on other hosts. >:)
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: Dustin Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 09, 1999 5:33 PM
To: Christopher Seawood
Cc: [EMAIL PROTECTED]
Subject: RE: Question about UCE and also AMAVIS (EICAR ATTACHED)
Okay, I've applied the patch to Amavis indicated on one of those posts, and
replaced my qmail-local and qmail-remote binaries with symlinks to the
scanmails binary, as the post dictated.
Still, however -- the EICAR.COM virus goes right through. I'm attaching the
EICAR.COM virus to this post (it's 69 bytes) to see if it sets any other
alarms off. That's a good way to tell who's using it. :)
For those not familiar with EICAR, it's a TEST for virusscanners. It
doesn't actually DO anything, it isn't really a VIRUS, and it WON'T hurt
you.
Although, it does crash Windows Millennium quite handily.
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: Christopher Seawood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 09, 1999 2:47 PM
To: Dustin Miller
Cc: [EMAIL PROTECTED]
Subject: Re: Question about UCE and also AMAVIS
On Thu, 9 Dec 1999, Dustin Miller wrote:
> However, my frustration with Amavis and qmail is running at an all-time
> high. If I am to be expected to believe that no one here is using Amavis,
I
> may actually *shudder* go back to sendmail to enjoy that virus protection.
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00169.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg01152.html
Search the archive using "virus scan" for more info.
- cls
On Thu, 9 Dec 1999, Dustin Miller wrote:
>
> Still, however -- the EICAR.COM virus goes right through. I'm attaching the
> EICAR.COM virus to this post (it's 69 bytes) to see if it sets any other
> alarms off. That's a good way to tell who's using it. :)
Strange, it didn't set the alarm off here but when I compared the file you
attached versus the eicar file I used for testing, I noticed that you seem
to have an extra space but not return carriage.
cls@amadeus:~> cat eicar\ 2word.com
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
cls@amadeus:~> cat EICAR.COM
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H
+H*cls@amadeus:~
- cls
It set off plenty of other alarms. >:)
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: Christopher Seawood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 09, 1999 8:15 PM
To: Dustin Miller
Cc: [EMAIL PROTECTED]
Subject: RE: Question about UCE and also AMAVIS (EICAR ATTACHED)
On Thu, 9 Dec 1999, Dustin Miller wrote:
>
> Still, however -- the EICAR.COM virus goes right through. I'm attaching
the
> EICAR.COM virus to this post (it's 69 bytes) to see if it sets any other
> alarms off. That's a good way to tell who's using it. :)
Strange, it didn't set the alarm off here but when I compared the file you
attached versus the eicar file I used for testing, I noticed that you seem
to have an extra space but not return carriage.
cls@amadeus:~> cat eicar\ 2word.com
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
cls@amadeus:~> cat EICAR.COM
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H
+H*cls@amadeus:~
- cls
The Star Scanning System discovered a potential virus
or unauthorised code in a message sent to you.
The original message was diverted into the virus holding
pen (id 198661_944786082) and will be held for 10 days before
being destroyed.
------------------------------------------------
To help identify the message:
The message was titled 'RE: Question about UCE and also AMAVIS (EICAR ATTACHED)'
The message date was Thu, 9 Dec 1999 17:32:53 -0600
The message identifier was <[EMAIL PROTECTED]>
The message was detected on server mail-server-11.star.net.uk
The message sender was
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------------------------
What now:
If you are a customer of Star Internet, or the virus
has been sent by a customer of Star Internet, then
you are protected, and will not have received the
virus. Please contact the original sender to request
a non-infected version of the message.
Otherwise, if your ISP, or you yourself, do not have an
up to-date email scanner, then it is likely you received
the virus before this message arrived. Use the above
information to locate the infected message. To help you
disinfect the virus, we detected it using scanner 3
(F-Secure) which reported the following:
F-Secure Anti-Virus for i386-linux Release 4.06 build 1380
sign.def version 1999-12-01
fsmacro.def version 1999-12-06
/var/qmail/queue/viru/198661_2M_EICAR.COM infection: Trivial
7 files scanned
1 infections found
------------------------------------------------
To find information on the scanner that detected the virus
use the following links:
Sophos Anti-Virus: http://www.sophos.com
NAI uvscan: http://www.nai.com
Cybersoft vfind: http://www.cyber.com
Datafellows F-Secure: http://www.datafellows.com
You may be able to find more information on the virus detected
from the following information sites:
http://www.datafellows.com
http://www.virusalerts.net
If you need more information, or if you believe this
to be a false alarm, you can contact Star Support on:
+44 (0)1285 884433
or [EMAIL PROTECTED]
You can contact Star Support on:
+44 (0)1285 884433
or [EMAIL PROTECTED]
________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm
1) Like *I* am responsible for what my mail users receive!!
2) Most viruses are for Windows, which contribute to it's downfall.
3) I always buy products and services from SPAM on mailing lists.
4) If it is a Linux virus, aren't they required to include the source code?
5) What kind or dork runs executable attachments from unknown sources?
6) What kind or dork uses a MUA that auto-runs attachments?
Go away and take your alarmist spam with you. I hope your
quarantined viruses get loose on your NT server.
> The Star Scanning System discovered a potential virus
> or unauthorised code in a message sent to you.
> The original message was diverted into the virus holding
> pen (id 198661_944786082) and will be held for 10 days before
> being destroyed.
#include <more_spam>
The attached mail has been found to contain a virus
Originally [EMAIL PROTECTED]
[EMAIL PROTECTED]
The full email can be found in your shell account under the
antivirus directory as mm.scXq5i and the file as EICAR.COM.
Output of virus scanning software follows:
AntiVir/Linux Version 5.20.1.2, (Nov 22 1999, 15:43:47)
Copyright(c) 1994-99 by H+BEDV Datentechnik GmbH
Report created on 12/09/1999 23:34:23
/var/tmp/scanmails1751/unpacked/EICAR.COM
Date: 9.12.1999 Time: 23:34:21 Size: 70
VIRUS: file contains a signature of the virus 'Eicar Virus Sign.'
It is now up to you to check your system for a virus infection.
For more information on virus scanning and software, check:
www.nai.com
www.datafellows.com
www.mcafee.com
Okay, I installed the amavis patch, and changed it to log to its own
logfile. I notice that uvscan exits with an exitcode of 17 when I attach
the EICAR.ZIP file, but amavis doesn't seem to think that's a bad thing,
and passes the message along anyway.
I also get the following delivery line in my qmail log file:
delivery 9: success:
File:_changing_"EICAR.COM"_to_"y13255.0.COM"(12)/CentralDir:_changing_"EICAR.COM"_to_"y13255.0.COM"/Reduced_Length:_6//usr/bin/head:_./EICAR.ZIP:_No_such_file_or_directory//usr/bin/head:_./EICAR.ZIP:_No_such_file_or_directory/did_1+0+1/
I'm going to sift through the scanmails script to see what it's doing. It
appears to be running 'head' on a file that had since been renamed -- it
does this, and runs grep against the head output, to determine what type
of attachment the file in question is (zip, tar, arj, etc)
Still hacking away,
Dustin
Okay, I found a few things that you need to do to get this working.
I have attached a unified diff of my current scanmails script -- your
mileage may vary.
Here's what you would do to reproduce what I have, from beginning to end.
install 4.04 of mcafee virusscan for linux
./configure --enable-qmail --enable-x-headers=no
Once that's done, BEFORE running make, apply the attached patch to
src/scanmails/scanmails
Good, now make. :)
make a directory called "/tmp/virusmails"
make a directory called "/var/log/scanmails"
touch "/var/log/scanmails/logfile"
mv /var/qmail/bin/qmail-local /var/qmail/bin/qmail-local-real
mv /var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote-real
ln /var/qmail/bin/qmail-local /usr/sbin/scanmails
ln /var/qmail/bin/qmail-remote /usr/sbin/scanmails
That did it for me.
--- scanmails Thu Dec 9 20:47:40 1999
+++ /usr/src/amavis-0.2.0-pre6/src/scanmails/scanmails Thu Dec 9 20:49:46 1999
@@ -2,6 +2,9 @@
#
# File: /usr/sbin/scanmails
#
+# Patched 12/9/1999 by Dustin Miller ([EMAIL PROTECTED])
+# Use at your own risk -- this works on mine, might not on yours.
+#
# This file is part of AMaViS - A Mail Virus Scanner
# Version : 0.2.0-pre6
# available at:
@@ -52,7 +55,7 @@
# Path to NAI AntiVirus (uvscan) #
# (if installed) #
################################################
-uvscan=/usr/sbin/uvscan
+uvscan=/usr/local/bin/uvscan
uvscan_version=4
################################################
@@ -83,7 +86,7 @@
# "virusmailsdir" indicates the path where #
# infected files are saved in #
################################################
-virusmailsdir=/root/virusmails
+virusmailsdir=/tmp/virusmails
################################################
# "tmpdir" indicates where the script operates #
@@ -103,7 +106,8 @@
# - if "do_log" is set to "yes" #
################################################
var_log=/var/log
-do_log=no
+systemlogdir=${var_log}/scanmails/
+do_log=yes
do_syslog=yes
syslog_level=mail.info
@@ -242,11 +246,11 @@
receiver=`echo ${RECEIPIENT} | ${sed} -e "s/[\\\`\\\\\$\(\)]//g"`
sender=`echo ${SENDER} | ${sed} -e "s/[\\\`\\\\\$\(\)]//g"`
-if [ "$sender" != "$2" -o "$receiver" != "$7" ] ; then
+if [ "$sender" != "${SENDER}" -o "$receiver" != "${RECEIPIENT}" ] ; then
cat <<EOF | ${mail} -s "AMaViS Intrusion???" ${mailto}
############################################################
- $7 or $2 is not a valid Email address
+ ${RECEIPIENT} or ${SENDER} is not a valid Email address
(changed to $receiver and $sender)!
############################################################
@@ -644,7 +648,7 @@
fi
scanstatus5=0
else ## Version 4.x
- ${uvscan} --secure -rv --summary ${tmpdir}/unpacked/ >> ${tmpdir}/logfile 2>&1
+ ${uvscan} -rv --summary ${tmpdir}/unpacked/ >> ${tmpdir}/logfile 2>&1
scanstatus5=$?
scanstatus1=0
fi
@@ -840,9 +844,12 @@
echo The attached mail has been found to contain a virus >${tmpdir}/virusmail
echo Originally $0 "$@" >>${tmpdir}/virusmail
echo The mail has been stored as ${virusmailsdir}/virus$$ >> ${tmpdir}/virusmail
- mkdir -p ${var_log}/${scanscriptname}
- cat ${tmpdir}/logfile >>${var_log}/${scanscriptname}/logfile
- cat ${tmpdir}/virusmail ${tmpdir}/logfile | ${mail} -s "FOUND VIRUS IN MAIL $*"
${mailto}
+ if [ "x${do_log}" = "xyes" ]; then
+ mkdir -p ${systemlogdir}
+ cat ${tmpdir}/logfile >>${systemlogdir}/logfile
+ fi
+ echo ------attached message below------ >${tmpdir}/virusmail
+ cat ${tmpdir}/virusmail ${virusmailsdir}/virus$$ | ${mail} -s "FOUND VIRUS IN MAIL
+$*" ${mailto}
################### send a mail back to sender ######################
@@ -897,33 +904,27 @@
else
echo No virus found - good >> ${tmpdir}/logfile
- if [ "x${deliver}" != "x" ] && [ -x ${deliver} ] ; then
+ if [ "x${usingqmail}" != "x" ]; then
if [ "x$x_header" = "xyes" ] && [ "x${formail}" != "x" ] && [ -x ${formail} ] ;
then
- if [ "x${usingqmail}" != "x" ]; then
- # If invoked as anything other than "scanmails", invoke the real
- # program else fall thru to exit
- if [ "${scanscriptname}" != "scanmails" ] ; then
- cat ${tmpdir}/receivedmail |\
- ${formail} -f \
- -A "${X_Header_String}" \
- | ${scanscriptname}-real "$@"
- fi
- else
- cat ${tmpdir}/receivedmail |\
- ${formail} -f \
- -A "${X_Header_String}" \
- | ${deliver} "$@"
+ if [ "${scanscriptname}" != "scanmails" ] ; then
+ cat ${tmpdir}/receivedmail |\
+ ${formail} -f \
+ -A "${X_Header_String}" \
+ | ${scanscriptname}-real "$@"
+ fi
+ else
+ if [ "${scanscriptname}" != "scanmails" ] ; then
+ ${scanscriptname}-real "$@" < ${tmpdir}/receivedmail
fi
+ fi
+ elif [ "x${deliver}" != "x" ] && [ -x ${deliver} ] ; then
+ if [ "x$x_header" = "xyes" ] && [ "x${formail}" != "x" ] && [ -x ${formail} ] ;
+then
+ cat ${tmpdir}/receivedmail |\
+ ${formail} -f \
+ -A "${X_Header_String}" \
+ | ${deliver} "$@"
else
- if [ "x${usingqmail}" != "x" ]; then
- # If invoked as anything other than "scanmails", invoke the real
- # program else fall thru to exit
- if [ "${scanscriptname}" != "scanmails" ] ; then
- ${scanscriptname}-real "$@" < ${tmpdir}/receivedmail
- fi
- else
- ${deliver} "$@" <${tmpdir}/receivedmail
- fi
+ ${deliver} "$@" <${tmpdir}/receivedmail
fi
else
pid=$$
@@ -937,8 +938,8 @@
if [ "x${do_log}" = "xyes" ]
then
- mkdir -p ${var_log}/${scanscriptname}
- cat ${tmpdir}/logfile >> ${var_log}/${scanscriptname}/logfile
+ mkdir -p ${systemlogdir}
+ cat ${tmpdir}/logfile >> ${systemlogdir}/logfile
fi
fi
hi all,
i have an autoresponder line in a customers .qmail file as follows:
| /var/qmail/bin/autorespond AutoReplyBot [EMAIL PROTECTED]
/www/db/user/respond.txt
this works fine. (I don't know why, the syntax is totally different to what
the documentation for autoresponder says..) when you email the customer, you
get the text in /www/db/user/respond.txt back.
However, the user doesn't receive the mail that you send! I then tried to
put:
&[EMAIL PROTECTED]
in the next line of the .qmail file but i get the autoresponder back, but i
also get a mail with the following:
Hi. This is the qmail-send program at cia.com.au.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
This message is looping: it already has my Delivered-To line. (#5.4.6)
Any ideas why?
Regards,
Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750
I'm having problems with qmail-smtpd dying on my Solaris box. It is running
under tcpserver/supervise but this doesn't seem to prevent it from dying and
not restarting.
For example:
bbsol01:/root $ telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
bbsol01:/root $ svstat /var/lock/qmail-smtpd
944896613 up pid 24864
bbsol01:/root $ svc -d /var/lock/qmail-smtpd
svc: warning: unable to control /var/lock/qmail-smtpd: device not configured
bbsol01:/root $ ps -ef|grep qmail-smtpd
bbsol01:/root $ /etc/init.d/qmail-smtpd.init start
DIR = /var/lock/qmail-smtpd
-n Starting qmail-smtpd...
done
bbsol01:/root $ ps -ef|grep qmail-smtpd
qmaill 26336 1 0 03:43:01 pts/1 0:00 cyclog -s 1000000
/var/log/qmail-smtpd
root 26337 26336 0 03:43:01 pts/1 0:00 supervise
/var/lock/qmail-smtpd tcpserver -v -c40 -x /etc/tcprules.d/qmail-smtp
qmaild 26338 26337 0 03:43:01 pts/1 0:00 tcpserver -v -c40 -x
/etc/tcprules.d/qmail-smtpd.cdb -u102 -g100 0 smtp qmail-s
bbsol01:/root $ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
exit
220 bbsol01.dedicated-services.com ESMTP
221 bbsol01.dedicated-services.com
Connection closed by foreign host.
As you can see, svc thinks that qmail-smtpd is up when it isn't. There
isn't anything in the logs that gives any indication of what may be
happening, and I can't see any pattern to the problem. I suspect it may be
a server load problem as the box gets pretty heavily loaded by an apache
installation hosting some sort of chat service which runs as a java servlet.
The contents of /etc/init.d/qmail-smtpd.init are at the end of this mail.
For the record, it's qmail-1.03, ucspi-tcp-0.84, daemontools-0.53,
vpopmail-3.4.10.
Has any one got any idea what might be causing this, or how I can go about
finding out?
Thanks for any suggestions.
R.
#! /sbin/sh
# $INITDIR/qmail-smtpd.init
# INITDIR is defined below
# Sun Dec 14 1997 XZ <[EMAIL PROTECTED]> v2.3
# chkconfig: 345 81 46
# description: Start, stop, restart, reload, and otherwise \
# signal qmail-smtpd. \
# Makes heavy use of parts of DJB's daemontools package \
# It also relies upon daemontools.functions for 91.04982% \
# of the grunt work.
#
# [EMAIL PROTECTED]:
# small fixes and modifications
# customize
QMAILHOME=/var/qmail # ~qmail
USERID=`/usr/xpg4/bin/id -u qmaild` # UID to run with
GROUPID=`/usr/xpg4/bin/id -g qmaild` # GID to run with
PROG=qmail-smtpd # what program?
COMMAND=$PROG # command to start $PROG
DIR=/var/lock/$PROG # directory for supervise
LOGDIR=/var/log/$PROG # directory to log to
LOGUSER=qmaill # user to own logs
LOGSIZE="-s 1000000" # size of logfile
CDB=/etc/tcprules.d/$PROG.cdb # rules file
CONCURRENT=40 # number of concurrent connections
# (40 is the default of tcpserver)
PORT=smtp # port to watch
VERBOSE=-v # use verbose option to tcpserver
INITDIR=/etc/init.d
# Grab the daemontools init functions
. $INITDIR/daemontools.functions
PATH=$QMAILHOME/bin:$PATH
#USERID=`id -u qmaild` # UID to run with
#GROUPID=`id -g qmaild` # GID to run with
start() {
if check; then
echo "$PROG is already running"
else
echo -n "Starting $PROG..."
if [ -r $CDB ] ; then
supervise $DIR \
tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0
$PORT $COMMAND \
2>&1| setuser $LOGUSER accustamp \
| setuser $LOGUSER cyclog $LOGSIZE $LOGDIR &
else
supervise $DIR \
tcpserver $VERBOSE -c$CONCURRENT -u$USERID -g$GROUPID 0 $PORT
$COMMAND \
2>&1 | setuser $LOGUSER accustamp \
| setuser $LOGUSER cyclog $LOGSIZE $LOGDIR &
fi
echo "done"
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
status)
status
;;
help)
help
;;
*)
signal $1
;;
esac
On Thu, Dec 09, 1999 at 01:59:13PM -0600, [EMAIL PROTECTED] wrote:
> Serban,
>
> I'd ask the list....but, if you don't get a good response from the list,
> please feel free to ask me directly, and I'll try to respond promptly...
>
> -Martin
< Here we are at the end of your message >
Hello,
And thanks Martin for answering to my question.
My first problem is about the examples given for the use of tcpclient. Lets
take who@ (the others are more or less similar):
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
/usr/local/bin/tcpclient -RHl0 -- "${1-0}" 11 \
sh -c 'exec /usr/local/bin/delcr <&6' | cat -v
After reading the man page for tcpclient, I think attentively, I couldn't
figure out at all what are the `--' standing for. So I would be very happy if
someone could explain me the `--'.
Please note that I'm a beginner in programming and also that I introduced the
`\' just in this mail to break the long line in the who@ script (although this
should be harmless also in the script)
Best regards,
Serban
--
Serban Udrea
GSI - Plasma Physics Department
Darmstadt, Germany