qmail Digest 28 May 2001 10:00:00 -0000 Issue 1378
Topics (messages 63015 through 63029):
badmailfrom file and subdomains
63015 by: audit
Re: problem with local mailboxes
63016 by: Nick Fish
Dont know if qmail is installed
63017 by: Constantine Koulis
63022 by: David T. Ashley
Re: problems with local mailboxes, interesting things going on
63018 by: Charles Cazabon
63023 by: Kelly Shutt
Outgoing problem
63019 by: Jon Booth
63020 by: Henning Brauer
Error message:deferral: qmail-local_crashed ,Please help me.
63021 by: george
63027 by: Stefaan A Eeckels
Vpopmail-Radius patch
63024 by: Eduardo Augusto Alvarenga
How Does Everyone Feel About The Tone Of The Automatic Messages?
63025 by: David T. Ashley
Qmail & courier Imap.....
63026 by: Constantine Koulis
Re: How Does Everyone Feel About The Tone Of The Automatic Messa
63028 by: Stefaan A Eeckels
Problem: deferral: qmail-local_crashed .
63029 by: george
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]
----------------------------------------------------------------------
Greetings,
I've been working on getting my badmailfrom file setup and would like to
block a entire domain from connecting.
I've tried the following
@*.domain.net
But it can still send mail through using different domains. If I just add
@domain.net
then it just blocks the one address but they have vhosts that can send
mail through with no problem.
I would also like to add the entire RBL lists but can't seem to find a
file where I can download it. Is this possible without messing the my DNS
records?
Thanks
audit
Kelly Shutt wrote:
>
> for those of you that were asking, i'm running slackware 7.1 and i've installed
> seems to me that the problem is the zero length files.
>
> thanks,
> Kelly
>
>
>
> #!/bin/sh
>
> # Using splogger to send the log through syslog.
> # Using binmail to deliver messages to /var/spool/mail/$USER by default.
> # Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start \
> '|preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
> splogger qmail
Are you sure you have a mail.local program in /usr/libexec? I'm running
Slack 7.1 same as you and the only one I see on my system is in
/opt/kde/bin. Do a `locate mail.local` and see what it turns up.
--
Keith
Network Engineer
Triton Technologies, Inc.
Hello All.
I am trying to install the qmail but unfortunately i dont know whether or
not is installed on my system or no.i read the Qmail-HOW-to at
http://www.flounder.net/qmail/qmail-howto.html and i followed every step.
I dont know as i said whether is installed or not.Can somebody tell me how
is start/stop the qmail?
Also is there a Gnome user interface to configure qmail?
Sincerely
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Hi Constantine,
Qmail is not for the faint of heart! The help on the web is ... well ...
"scattered" is the most sympathetic way to put it.
I recommmend buying a book. The book I found is "Running qmail" by Richard
Blum.
See:
http://www.amazon.com/exec/obidos/ASIN/0672319454/qid%3D991020593/002-159088
7-7183201
As far as whether it is installed, you would need to see if you have
executables in /var/qmail/bin. But there is more to installation than that.
As far as a script to get it started, Mr. Blum recommends a script something
like the one below:
#!/bin/sh
#PATH=/var/qmail/bin
#export PATH
#Check that qmail is loaded.
[ -f /var/qmail/bin/qmail-start ] || exit 0
case "$1" in
start)
echo -n "Starting qmail ..."
/bin/csh -cf "/var/qmail/rc &"
;;
stop)
echo -n "Stopping qmail ..."
/usr/bin/killall qmail-send
;;
restart)
$0 stop
$0 start
;;
*)
echo -n "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
#End of script.
That script is traditionally placed in /etc/rc.d/init.d, and there are
symbolic links elsewhere that get hit on system startup and shutdown.]
Furthermore, I might add that the script above breaks the qmail
recommendations, as it is not recommended to start it from a shell like
that. However, for my pathetic little server which sits on a DSL line, the
computer is much faster than the DSL line. I seriously doubt that anybody
could attack the thing based on overwhelming xinetd or something like that.
You want a book. "qmail" assumes you know quite a bit about Unix.
Best regards, Dave.
> -----Original Message-----
> From: Constantine Koulis [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 27, 2001 6:41 PM
> To: [EMAIL PROTECTED]
> Subject: Dont know if qmail is installed
>
>
> Hello All.
>
> I am trying to install the qmail but unfortunately i dont know whether or
> not is installed on my system or no.i read the Qmail-HOW-to at
> http://www.flounder.net/qmail/qmail-howto.html and i followed every step.
> I dont know as i said whether is installed or not.Can somebody tell me how
> is start/stop the qmail?
> Also is there a Gnome user interface to configure qmail?
> Sincerely
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
Kelly Shutt <[EMAIL PROTECTED]> wrote:
> wondering what was up it tried sending to my other account again, with no
> luck. I'm wondering if this is due to the fact that the username is kind of
> long at 11 characters. this is the only thing i can think of since the
> other account with short username works fine.
Eleven characters should be fine. From the man page for qmail-getpw:
qmail-getpw considers an account in /etc/passwd to be a user if (1)
the account has a nonzero uid, (2) the account's home directory exists
(and is visible to qmail- getpw), and (3) the account owns its home
directory. qmail-getpw ignores account names containing uppercase
letters. qmail-getpw also assumes that all account names are shorter than
32 characters.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
Hey, thanks for the info Charles... You just told me what my problem is... I
just realized that the account has an uppercase character, is there a way to
make the program recognize these or should i just change it to lowercase?
Thanks a million,
Kelly
>Kelly Shutt <[EMAIL PROTECTED]> wrote:
>
>> wondering what was up it tried sending to my other account again, with
>> no luck. I'm wondering if this is due to the fact that the username
>> is kind of long at 11 characters. this is the only thing i can think
>> of since the other account with short username works fine.
>
>Eleven characters should be fine. From the man page for qmail-getpw:
>
> qmail-getpw considers an account in /etc/passwd to be a user if (1)
> the account has a nonzero uid, (2) the account's home directory exists
> (and is visible to qmail- getpw), and (3) the account owns its home
> directory. qmail-getpw ignores account names containing uppercase
> letters. qmail-getpw also assumes that all account names are shorter than
> 32 characters.
>
>Charles
>--
>-----------------------------------------------------------------------
>Charles Cazabon <[EMAIL PROTECTED]>
>GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
>Any opinions expressed are just that -- my opinions.
>-----------------------------------------------------------------------
Hi All
I am getting strange bounces. Qmail seems to append "" to the end of the
domain (see below)
Anyone know why?
Any help greatly appreciated
Jon
Hi. This is the qmail-send program at mail.lucidlogic.com.
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]"">:
Sorry, I couldn't find any host named lucidlogic.com"". (#5.1.2)
On Mon, May 28, 2001 at 09:37:27AM +1000, Jon Booth wrote:
> I am getting strange bounces. Qmail seems to append "" to the end of the
> domain (see below)
You are using xinetd (?). This was discussed to death here - search the
archives for xinetd and RELAYCLIENT.
--
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
Hello all:
I want to replace qmail-local.c with a simple program. and use the simple program to
do local deliver.
But the progrm is named by qmail-local.c ,and It is work normal and appear "delivery
10: success:" in /var/log/syslog file when use gcc compile .but appear "delivery 7:
deferral: qmail-local_crashed/" message in /var/log/syslog file when use g++ compile.
It can'not get argv parameter when use g++ compile
what is this ? How to solve the problem ,if I want to use g++?
My opeeration is "SunOS www2 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-2" .
Thank you!
/**
This is my qmail-local.c source.
Compile command:
gcc -I../include qmail-local.c -L../lib -lm -lsocket -lnsl -o qmail-local
g++ -I../include qmail-local.c -L../lib -lm -lsocket -lnsl -o qmail-local
*/
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <signal.h>
int flagdoit;
char *user;
char *homedir;
char *local;
char *dash;
char *ext;
char *host;
char *sender;
char *aliasempty;
char *quota;
#define BUFLEN 1024
void logmsg( char *msg )
{
FILE *fp;
char buff[1024];
fp = fopen("/tmp/qmaillog", "a+");//a+�Ѿ����Զ�create�ļ��ˡ�
if (fp == NULL) {
return;
}
sprintf(buff,"%s\n", msg);
fputs(buff, fp);
fclose(fp);
}
void usage() {
logmsg(" usage: qmail-local [ -nN ] user homedir local dash ext domain
sender aliasempty" );
}
//void main(int argc,char **argv)
void main(int argc,char *argv[])
{
int opt;
char temp[1024];
char buff[1024];
int m,opteof=-1;
umask(077);
sprintf(temp,"enter main ...:%d", argc);
logmsg(temp);
flagdoit = 1;
while ((opt = getopt(argc,argv,"nN")) != opteof)
switch(opt)
{
case 'n': flagdoit = 0;break;
case 'N': flagdoit = 1; break;
default:
usage();
}
argc -= optind;
argv += optind;
if (!(user = *argv++)) usage();
if (!(homedir = *argv++)) usage();
if (!(local = *argv++)) usage();
if (!(dash = *argv++)) usage();
if (!(ext = *argv++)) usage();
if (!(host = *argv++)) usage();
if (!(sender = *argv++)) usage();
if (!(aliasempty = *argv++)) usage();
if (!(quota = *argv++)) usage();
if (*argv) usage();
sprintf(temp,"usre:%s,homedir:%s,local:%s,dash:%s,ext:%s,host:%s,sender:%s,aliasempty:%s,quota:%s\n",user,homedir,local,dash,ext,host,sender,aliasempty,quota);
logmsg( temp );
m=read(0,buff,1023);
if(m<0) {
exit(1);
}
logmsg("exit main\n");
logmsg(buff);
_exit(0);
}
On 28-May-2001 george wrote:
> what is this ? How to solve the problem ,if I want to use g++?
Why do you want to use a C++ compiler to compile what is a
pure 'C' program (apart from one // comment)?
Stefaan
--
How's it supposed to get the respect of management if you've got just
one guy working on the project? It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)
Hi there,
Has anyone got the radius-cistron-1.6.4-vpopmail patch working ok on
Linux ?
I've got some trouble compiling but before trying a lot of flags, i've
got these ones working:
# Makefile
CC = gcc
CFLAGS = -Wall -DNOSHADOW -g -I/var/vpopmail/include -DECA_MODS
LDFLAGS = -L/var/vpopmail/lib -L/usr/lib/mysql -L/usr/lib
LIBS = -lvpopmail -lmysqlclient -lcrypt
LCRYPT = -lcrypt
It compiles and installs ok, but when I try to make a radtest to my
local server, it returns me something like this:
# radtest [EMAIL PROTECTED] 123 localhost:1645 12 Testing123
Mon May 28 00:09:42 2001: Auth: Login incorrect:
[[EMAIL PROTECTED]/?{I�e���?����] (from nas 127.0.0.1/S142)
It seems that it is sending the crypted pass the the radius daemon. The
weird characters changes at each test,
even with the same password.
I'm running vpopmail-4.9.10 with mysql-3.22.32, large-site enabled under
Slackware Linux.
Any help will be very appreciated!
Best Regards,
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/"\
\ / Campanha da Fita ASCII - Contra Mail HTML
X ASCII Ribbon Campaign - Against HTML Mail
/ \
How does everyone feel about the tone of the automatically-generated
messages?
Dan Bernstein is brilliant as a software author. qmail is great! This is
not a genuine complaint.
This is a very subjective matter, but the tone of the
automatically-generated messages seems too freindly. For example, there was
a bounce message today which ended with "Sorry it didn't work out!". It
seems too casual, too friendly, too personal. It also seems too wordy. One
ends a marriage or a business partnership with those words, but they don't
seem right for a bounced e-mail message.
Is it just me, or has anyone else noticed this, too? Am I too picky or too
sensitive or too ... whatever?
Dave.
Hello.
Maybe this is not the correct place for this question but.....
I am trying to install the qmail and with the courier imap server.I think
qmail is running and is set up corectly but about courier imap dont know
much>anybody knows how i can check whether it run or no.I have Redhat 7.0
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
On 28-May-2001 David T. Ashley wrote:
> This is a very subjective matter, but the tone of the
> automatically-generated messages seems too freindly. For example, there was
> a bounce message today which ended with "Sorry it didn't work out!". It
> seems too casual, too friendly, too personal.
Would you prefer something a bit insulting?
> It also seems too wordy. One
> ends a marriage or a business partnership with those words, but they don't
> seem right for a bounced e-mail message.
You forgot the IMVHO. And IMVHO, one doesn't end a marriage like
that; most often it gets a helluva lot more acrimonious.
>
> Is it just me, or has anyone else noticed this, too? Am I too picky or too
> sensitive or too ... whatever?
Yes.
Stefaan
--
How's it supposed to get the respect of management if you've got just
one guy working on the project? It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)
I get crashed message in /var/log/syslog.and I truss get some debug message,but I
don't know how tu solve the problem ,pelease help me.
16205: close(2) Err#9 EBADF
16205: fcntl(1, F_DUPFD, 0x00000002) = 2
16205: setgroups(1, 0xFFBEF77C) = 0
16205: setgid(333) = 0
16205: setuid(333) = 0
16205: getuid() = 333 [333]
16205: execve("bin/qmail-local", 0xFFBEF7A0, 0xFFBEFEC0) argc = 11
16205: *** SUID: ruid/euid/suid = 333 / 0 / 0 ***
16205: *** SGID: rgid/egid/sgid = 333 / 333 / 333 ***
16205: open("/dev/zero", O_RDONLY) = 3
16205: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFF3A0000
16205: stat("bin/qmail-local", 0xFFBEFB38) = 0
16205: open("/usr/ucblib/sparcv9/libcrypt_i.so.1", O_RDONLY) Err#2 ENOENT
16205: open("/usr/lib/libcrypt_i.so.1", O_RDONLY) = 4
16205: fstat(4, 0xFFBEF8F4) = 0
16205: mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF390000
16205: mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF370000
16205: munmap(0xFF372000, 57344) = 0
16205: mmap(0xFF380000, 8796, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
4, 0) = 0xFF380000
16205: close(4) = 0
16205: open("/usr/ucblib/sparcv9/libucb.so.1", O_RDONLY) = 4
16205: fstat(4, 0xFFBEF8F4) = 0
16205: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) =
0xFF390000
16205: close(4) = 0
16205: open("/usr/lib/libucb.so.1", O_RDONLY) = 4
16205: fstat(4, 0xFFBEF8F4) = 0
16205: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) =
0xFF390000
16205: close(4) = 0
14385: poll(0xFFBEFD10, 2, -1) = 1
16205: write(2, " l d . s o . 1 : b i n".., 90) = 90
16205: close(0) = 0
14385: sigprocmask(SIG_BLOCK, 0xFFBEFCC8, 0x00000000) = 0
16205: getpid() = 16205 [14385]
14385: read(3, " l d . s o . 1 : b i n".., 128) = 90
16205: *** process killed ***
14385: sigprocmask(SIG_UNBLOCK, 0xFFBEFCC8, 0x00000000) = 0
14385: Received signal #18, SIGCLD [caught]
14385: siginfo: SIGCLD CLD_KILLED pid=16205 status=0x0009
14385: waitid(P_ALL, 0, 0xFFBEF788, WEXITED|WTRAPPED|WNOHANG) = 0
14385: close(4) = 0
14385: waitid(P_ALL, 0, 0xFFBEF788, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
14385: setcontext(0xFFBEF9B0)
14385: poll(0xFFBEFD10, 2, -1) = 1
14385: sigprocmask(SIG_BLOCK, 0xFFBEFCC8, 0x00000000) = 0
14385: read(3, 0x00025E98, 128) = 0
14385: write(1, "\0 Z q m a i l - l o c a".., 24) = 24
14385: close(3) = 0
14385: sigprocmask(SIG_UNBLOCK, 0xFFBEFCC8, 0x00000000) = 0
14385: poll(0xFFBEFD28, 1, -1) (sleeping...)