qmail Digest 30 Jun 2000 10:00:00 -0000 Issue 1048
Topics (messages 43887 through 43951):
Re: limit to RCPT TO
43887 by: Rodrigo Severo
43889 by: Ricardo Cerqueira
43898 by: Rodrigo Severo
43900 by: Ricardo Cerqueira
43901 by: Rodrigo Severo
How to forward mail using qmail
43888 by: Lavender
43890 by: Ricardo Cerqueira
Maildir problem
43891 by: Lavender
43892 by: Ricardo Cerqueira
43912 by: Dave Sill
Re: How to log all incoming and outgoing emails for a specific domain.
43893 by: Johan Almqvist
43913 by: Dave Sill
Re: Building very large Qmail instalations...
43894 by: Toens Bueker
NEWBYE QUESTION
43895 by: Giuliano Cocchi
43914 by: Dave Sill
Re: vacation program for qmail/vpopmail/qmailadmin
43896 by: Ken Jones
Re: sqwebmail with oracle?..
43897 by: Ken Jones
Deleted messages from queue
43899 by: Mark Drummond
43917 by: Dave Sill
Re: CNAME-Lookup-Failure
43902 by: Christopher K Davis
43951 by: Robert Sander
Rewrite "Return Path" or other host information?
43903 by: Edward Tsang
[NEWBIE] Header Re-Writing
43904 by: Jeremy Stanley
Re: how do I resync two machines after MX confusion ?
43905 by: Scott Gifford
43906 by: markd.bushwire.net
43907 by: Scott Gifford
43909 by: asantos
43910 by: markd.bushwire.net
Qmail - Switch from ISP to in-house server DNS Stuff
43908 by: Steven M. Klass
43916 by: Dave Sill
Re: Multilog: fatal: the final answer (hopefully)
43911 by: Dave Sill
43930 by: Steffan Hoeke
ucspi-tcp man pages
43915 by: Vincent Danen
Qmail performance question...
43918 by: Ian Layton
43922 by: markd.bushwire.net
43923 by: Mattias Paulsson
test
43919 by: Hand, Brian C.
43920 by: markd.bushwire.net
43921 by: Dave Sill
TCPSERVER
43924 by: Marcilio Jorgensen Cassella
43928 by: Dave Sill
Re: file permissions problems
43925 by: clemensF
Qmail and virus scanning server
43926 by: Larry Henshaw
Netscape + Maildir
43927 by: Nico Schottelius
43929 by: Dave Sill
Problem with me.
43931 by: Eric Dahnke
Why no queues on NFS?
43932 by: Ihnen, David
43944 by: John White
Re: fastforward, redirection and truncating messages
43933 by: Lisa Phillips
Forwarding entire domain
43934 by: Vincent Danen
43935 by: Vincent Danen
sending mail outside local domain
43936 by: John Steniger
Re: filehandle
43937 by: Sylwester S. Biernacki
Re: manpages for ucspi-tcp
43938 by: Sylwester S. Biernacki
Re: Limit Traffic
43939 by: Sylwester S. Biernacki
header rewriting
43940 by: Adam McKenna
Sorry newbie question
43941 by: eradan.lanbash.com
43943 by: asantos
Re: blocking aliases
43942 by: Eddy Fafard
Anybody for a Distributed-Email-HOWTO?
43945 by: Brett Randall
host masquerading.
43946 by: Russell Davies
43947 by: asantos
43948 by: Russell Davies
43949 by: asantos
43950 by: asantos
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]
----------------------------------------------------------------------
Jason Ingham wrote:
>
> There is purportedly a patch for this but the link on the qmail website
> is stale. (The site exists but the file isn't there anymore.)
>
> Search for "limits the number of RCPT TO: commands" on:
>
> http://www.qmail.org/top.html
>
> I'm in need of this myself, does anyone have it lying around?
Just found it through ftpsearch at
<ftp://ftp.comunit.net/pub/soft/qmail/qmail-1.01-maxrcpt.patch> for
example. There are other places.
I couldn�t find the 1.03 version Ricardo Cerqueira mentioned. Does
anybody knows how it�s called?
Rodrigo
--
-------------------------------------------
Rodrigo Severo
[EMAIL PROTECTED]
Fabrica de Ideias
sbs - ed. empire center - bl. s - sala 109
cep 70070-904 - brasilia-df - brazil
tel: (61) 321 1357
fax: (61) 321 6096
-------------------------------------------
Here:
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00245.html
RC
On Thu, Jun 29, 2000 at 09:00:33AM -0300, Rodrigo Severo wrote:
>
>
> Jason Ingham wrote:
> >
> > There is purportedly a patch for this but the link on the qmail website
> > is stale. (The site exists but the file isn't there anymore.)
> >
> > Search for "limits the number of RCPT TO: commands" on:
> >
> > http://www.qmail.org/top.html
> >
> > I'm in need of this myself, does anyone have it lying around?
>
> Just found it through ftpsearch at
> <ftp://ftp.comunit.net/pub/soft/qmail/qmail-1.01-maxrcpt.patch> for
> example. There are other places.
>
> I couldn�t find the 1.03 version Ricardo Cerqueira mentioned. Does
> anybody knows how it�s called?
>
>
> Rodrigo
>
> --
> -------------------------------------------
> Rodrigo Severo
> [EMAIL PROTECTED]
> Fabrica de Ideias
> sbs - ed. empire center - bl. s - sala 109
> cep 70070-904 - brasilia-df - brazil
> tel: (61) 321 1357
> fax: (61) 321 6096
> -------------------------------------------
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42
| Novis - Engenharia ISP / Rede T�cnica
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701
Ricardo Cerqueira wrote:
>
> Here:
>
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00245.html
Ricardo,
The message above has an incomplete patch (last 2 lines missing). Here
is the complete patch:
-----------------------------------------------------------------------
*** qmail-1.03/qmail-smtpd.maxrcpt Mon Jun 15 07:53:16 1998
--- qmail-1.03/qmail-smtpd.c Fri Nov 19 16:09:34 1999
***************
*** 25,34 ****
--- 25,36 ----
#include "commands.h"
#define MAXHOPS 100
unsigned int databytes = 0;
int timeout = 1200;
+ int rcptcounter = 0; /* Agregado por mi para el maxrcpt */
+ int maxrcpt = -1; /* Agregado por mi para el maxrcpt */
int safewrite(fd,buf,len) int fd; char *buf; int len;
{
int r;
r = timeoutwrite(timeout,fd,buf,len);
***************
*** 56,66 ****
void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
void err_noop() { out("250 ok\r\n"); }
void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
!
stralloc greeting = {0};
void smtp_greet(code) char *code;
{
--- 58,68 ----
void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
void err_noop() { out("250 ok\r\n"); }
void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
! void err_excessrcpt() { out("666 Too many recipients specified
(#5.5.4)\r\n"); } /* Agregado por mi para el maxrcpt */
stralloc greeting = {0};
void smtp_greet(code) char *code;
{
***************
*** 107,116 ****
--- 109,119 ----
die_control();
liphostok = control_rldef(&liphost,"control/localiphost",1,(char *)
0);
if (liphostok == -1) die_control();
if (control_readint(&timeout,"control/timeoutsmtpd") == -1)
die_control();
if (timeout <= 0) timeout = 1;
+ if (control_readint(&maxrcpt,"control/maxrcpt") == -1)
die_control(); /* Agregado por mi para el maxrcpt */
if (rcpthosts_init() == -1) die_control();
bmfok = control_readfile(&bmf,"control/badmailfrom",0);
if (bmfok == -1) die_control();
***************
*** 238,256 ****
--- 241,262 ----
out("250 flushed\r\n");
}
void smtp_mail(arg) char *arg;
{
if (!addrparse(arg)) { err_syntax(); return; }
+ rcptcounter = 0; /* Agregado por mi para el maxrcpt */
flagbarf = bmfcheck();
seenmail = 1;
if (!stralloc_copys(&rcptto,"")) die_nomem();
if (!stralloc_copys(&mailfrom,addr.s)) die_nomem();
if (!stralloc_0(&mailfrom)) die_nomem();
out("250 ok\r\n");
}
void smtp_rcpt(arg) char *arg; {
+ rcptcounter++; /* Agregado por mi para el maxrcpt */
if (!seenmail) { err_wantmail(); return; }
+ if (checkrcptcount() == 1) { err_excessrcpt(); } /* Agregado por mi
para el maxrcpt */
if (!addrparse(arg)) { err_syntax(); return; }
if (flagbarf) { err_bmf(); return; }
if (relayclient) {
--addr.len;
if (!stralloc_cats(&addr,relayclient)) die_nomem();
***************
*** 390,399 ****
--- 396,411 ----
if (hops) { out("554 too many hops, this message is looping
(#5.4.6)\r\n"); return; }
if (databytes) if (!bytestooverflow) { out("552 sorry, that message
size exceeds my databytes limit (#5.3.4)\r\n"); return; }
if (*qqx == 'D') out("554 "); else out("451 ");
out(qqx + 1);
out("\r\n");
+ } /* Agregado por mi para
el maxrcpt */
+
+ int checkrcptcount() { /* Agregado por mi para
el maxrcpt */
+ if (maxrcpt == -1) {return 0;} /* Agregado por mi para
el maxrcpt */
+ else if (rcptcounter > maxrcpt) {return 1;} /* Agregado por mi para
el maxrcpt */
+ else {return 0;} /* Agregado por mi para
el maxrcpt */
}
struct commands smtpcommands[] = {
{ "rcpt", smtp_rcpt, 0 }
, { "mail", smtp_mail, 0 }
-----------------------------------------------------------------------
Rodrigo
--
-------------------------------------------
Rodrigo Severo
[EMAIL PROTECTED]
Fabrica de Ideias
sbs - ed. empire center - bl. s - sala 109
cep 70070-904 - brasilia-df - brazil
tel: (61) 321 1357
fax: (61) 321 6096
-------------------------------------------
On Thu, Jun 29, 2000 at 10:55:10AM -0300, Rodrigo Severo wrote:
>
>
> Ricardo Cerqueira wrote:
> >
> > Here:
> >
> > http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00245.html
>
> Ricardo,
>
>
> The message above has an incomplete patch (last 2 lines missing). Here
> is the complete patch:
Errr... No, it isn't. It's a patch! You apply it using the GNU patch utility. It does
NOT have to be "fully working" C code.
RC
>
> -----------------------------------------------------------------------
> *** qmail-1.03/qmail-smtpd.maxrcpt Mon Jun 15 07:53:16 1998
> --- qmail-1.03/qmail-smtpd.c Fri Nov 19 16:09:34 1999
> ***************
> *** 25,34 ****
> --- 25,36 ----
> #include "commands.h"
>
> #define MAXHOPS 100
> unsigned int databytes = 0;
> int timeout = 1200;
> + int rcptcounter = 0; /* Agregado por mi para el maxrcpt */
> + int maxrcpt = -1; /* Agregado por mi para el maxrcpt */
>
> int safewrite(fd,buf,len) int fd; char *buf; int len;
> {
> int r;
> r = timeoutwrite(timeout,fd,buf,len);
> ***************
> *** 56,66 ****
> void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
> void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
> void err_noop() { out("250 ok\r\n"); }
> void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
> void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
> !
>
> stralloc greeting = {0};
>
> void smtp_greet(code) char *code;
> {
> --- 58,68 ----
> void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
> void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
> void err_noop() { out("250 ok\r\n"); }
> void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
> void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
> ! void err_excessrcpt() { out("666 Too many recipients specified
> (#5.5.4)\r\n"); } /* Agregado por mi para el maxrcpt */
>
> stralloc greeting = {0};
>
> void smtp_greet(code) char *code;
> {
> ***************
> *** 107,116 ****
> --- 109,119 ----
> die_control();
> liphostok = control_rldef(&liphost,"control/localiphost",1,(char *)
> 0);
> if (liphostok == -1) die_control();
> if (control_readint(&timeout,"control/timeoutsmtpd") == -1)
> die_control();
> if (timeout <= 0) timeout = 1;
> + if (control_readint(&maxrcpt,"control/maxrcpt") == -1)
> die_control(); /* Agregado por mi para el maxrcpt */
>
> if (rcpthosts_init() == -1) die_control();
>
> bmfok = control_readfile(&bmf,"control/badmailfrom",0);
> if (bmfok == -1) die_control();
> ***************
> *** 238,256 ****
> --- 241,262 ----
> out("250 flushed\r\n");
> }
> void smtp_mail(arg) char *arg;
> {
> if (!addrparse(arg)) { err_syntax(); return; }
> + rcptcounter = 0; /* Agregado por mi para el maxrcpt */
> flagbarf = bmfcheck();
> seenmail = 1;
> if (!stralloc_copys(&rcptto,"")) die_nomem();
> if (!stralloc_copys(&mailfrom,addr.s)) die_nomem();
> if (!stralloc_0(&mailfrom)) die_nomem();
> out("250 ok\r\n");
> }
> void smtp_rcpt(arg) char *arg; {
> + rcptcounter++; /* Agregado por mi para el maxrcpt */
> if (!seenmail) { err_wantmail(); return; }
> + if (checkrcptcount() == 1) { err_excessrcpt(); } /* Agregado por mi
> para el maxrcpt */
> if (!addrparse(arg)) { err_syntax(); return; }
> if (flagbarf) { err_bmf(); return; }
> if (relayclient) {
> --addr.len;
> if (!stralloc_cats(&addr,relayclient)) die_nomem();
> ***************
> *** 390,399 ****
> --- 396,411 ----
> if (hops) { out("554 too many hops, this message is looping
> (#5.4.6)\r\n"); return; }
> if (databytes) if (!bytestooverflow) { out("552 sorry, that message
> size exceeds my databytes limit (#5.3.4)\r\n"); return; }
> if (*qqx == 'D') out("554 "); else out("451 ");
> out(qqx + 1);
> out("\r\n");
> + } /* Agregado por mi para
> el maxrcpt */
> +
> + int checkrcptcount() { /* Agregado por mi para
> el maxrcpt */
> + if (maxrcpt == -1) {return 0;} /* Agregado por mi para
> el maxrcpt */
> + else if (rcptcounter > maxrcpt) {return 1;} /* Agregado por mi para
> el maxrcpt */
> + else {return 0;} /* Agregado por mi para
> el maxrcpt */
> }
>
> struct commands smtpcommands[] = {
> { "rcpt", smtp_rcpt, 0 }
> , { "mail", smtp_mail, 0 }
> -----------------------------------------------------------------------
>
>
> Rodrigo
>
> --
> -------------------------------------------
> Rodrigo Severo
> [EMAIL PROTECTED]
> Fabrica de Ideias
> sbs - ed. empire center - bl. s - sala 109
> cep 70070-904 - brasilia-df - brazil
> tel: (61) 321 1357
> fax: (61) 321 6096
> -------------------------------------------
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42
| Novis - Engenharia ISP / Rede T�cnica
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701
Ricardo Cerqueira wrote:
>
> > The message above has an incomplete patch (last 2 lines missing). Here
> > is the complete patch:
>
> Errr... No, it isn't. It's a patch! You apply it using the GNU patch utility. It
>does NOT have to be "fully working" C code.
Yes, you are right, sorry.
Rodrigo
--
-------------------------------------------
Rodrigo Severo
[EMAIL PROTECTED]
Fabrica de Ideias
sbs - ed. empire center - bl. s - sala 109
cep 70070-904 - brasilia-df - brazil
tel: (61) 321 1357
fax: (61) 321 6096
-------------------------------------------
Hi,
Is it possible just to use .forward to send to mail received to another
mail account using qmail ???
Thanks
On Thu, Jun 29, 2000 at 08:15:58PM +0800, Lavender wrote:
>
> Hi,
>
> Is it possible just to use .forward to send to mail received to another
> mail account using qmail ???
>
Not quite, but you can use .qmail with a similar syntax (and much more).
"man 5 dot-qmail" for more details.
RC
(PS - There are addons available to use .forward. look for them in www.qmail.org)
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42
| Novis - Engenharia ISP / Rede T�cnica
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701
Hi,
I decided to use Maildir instead of Mailbox on one user account ...
I did maildirmake $HOME/Maildir and echo ./Maildir > ~.qmail
Then I export MAIL=/home/vmail/Maildir
When testing sending mail to this account qmail procuded the below log:-
Jun 29 20:20:16 morgoth qmail: 962281216.236186 status: local 1/10 remote
0/20
Jun 29 20:20:16 morgoth qmail: 962281216.247970 delivery 180: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
How do I go about it ??/
Thanks
erekose
>
> I did maildirmake $HOME/Maildir and echo ./Maildir > ~.qmail
>
Your mistake is right here... "./Maildir", as far as qmail is concerned, is a _file_
named "Maildir". You need to add a slash to the end... like:
echo ./Maildir/ > ~.qmail
RC
> When testing sending mail to this account qmail procuded the below log:-
>
>
> Jun 29 20:20:16 morgoth qmail: 962281216.236186 status: local 1/10 remote
> 0/20
> Jun 29 20:20:16 morgoth qmail: 962281216.247970 delivery 180: deferral:
> Unable_to_chdir_to_maildir._(#4.2.1)/
>
> How do I go about it ??/
>
> Thanks
> erekose
>
>
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42
| Novis - Engenharia ISP / Rede T�cnica
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701
Ricardo Cerqueira <[EMAIL PROTECTED]> wrote:
>> I did maildirmake $HOME/Maildir and echo ./Maildir > ~.qmail
>
>Your mistake is right here... "./Maildir", as far as qmail is
>concerned, is a _file_ named "Maildir". You need to add a slash to
>the end... like:
>
>echo ./Maildir/ > ~.qmail
Except, if qmail-local thought "Maildir" was an mbox, it wouldn't try
to cd into it:
>> Jun 29 20:20:16 morgoth qmail: 962281216.247970 delivery 180: deferral:
>> Unable_to_chdir_to_maildir._(#4.2.1)/
Post the output of:
cat .qmail
ls -lR `cat .qmail`
-Dave
On Thu, Jun 29, 2000 at 02:55:24PM +0800, hunix wrote:
> Hi All:
>
> For security resaon, my manager told me to log all incoming and
> outgoing emails for a specific domain. I currently have 3 domains in
> hand and they all running vpopmail/qmail. Is there any idea to log
> the in/out email for a specific domain?
Check out the msglog feature of qmail. Put some maildir to store all
mails into /var/qmail/alias/.qmail-msglog and wrap a script to check for
domain around that.
> Alex HSU
-Johan
--
Johan Almqvist
Johan Almqvist <[EMAIL PROTECTED]> wrote:
>Check out the msglog feature of qmail. Put some maildir to store all
>mails into /var/qmail/alias/.qmail-msglog and wrap a script to check for
>domain around that.
That won't work unless qmail is compiled with QUEUE_EXTRA set to
"msglog".
See:
http://Web.InfoAve.Net/~dsill/lwq.html#queue_extra
-Dave
Mike Denka <[EMAIL PROTECTED]> wrote:
> Could you, or anyone else who would care to join this discussion, please be
> more specific re: "Suns filesystems and qmails file operations"?
I've done a lot tweaking squid proxies (Sun U2) and
therefore had a lot to do with filesystems. You can see
the difference, when you let squid create it's cache-dirs
on a Sun and on e. g. a Linux box.
There are several possibilities to increase the
performance of Suns ufs.
1. use more spindles (that's why I asked for the number of
disks in the A1000) - we used multipacks with 2 GB
disks.
2. mount the filesystems with options ufs-logging and
no-atime (if you're lucky and run Solaris 7).
3. try fastfs (not really recommended for mail servers)
4. read the tuning books (Porsche and others)
> We are load balancing a pair of Sun E250's sharing one
> disk array via NFS. All Maildirs are on the NFS share.
> So far (roughly 10,000 mailboxes) I don't notice any
> real problems. But I would be very interested in more
> detail regarding these two issues (Sun filesystems and qmail file operations)
> in case I do begin to notice I/O issues on the NFS server.
Sorry, I've no experience with shared-storage on NFS.
Maybe there are other issues with this ...
> Can you give a detailed explanation or perhaps point me
> to some appropriate docs for more detail?
It's always the (a)synchronous update of metadata on the
disk, buffering, etc.
There's a nice paper about the soft-updates, which are
used with FreeBSD ...
By
T�ns
--
Linux. The dot in /.
Hi all.
I'm setting my first qmail server. For some reasons i must set the delivery dir
to /var/spool/mail/$USER.
I have read the documentation about using procmail, and try to do the
modification in the file /var/qmail/rc
exec env - PATH="/var/qmail/bin:/usr/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail
but for a strange reason, it won't work.
Why?
If i would like to use qmail to delivery locally to /var/spool/mail what kind
of modification i can try?
thanks.
[EMAIL PROTECTED] wrote:
>I'm setting my first qmail server. For some reasons i must set the
>delivery dir to /var/spool/mail/$USER. I have read the documentation
>about using procmail, and try to do the modification in the file
>/var/qmail/rc
>
>exec env - PATH="/var/qmail/bin:/usr/bin:$PATH" \
>qmail-start '|preline procmail' splogger qmail
>
>but for a strange reason, it won't work.
>
>Why?
>From http://Web.InfoAve.Net/~dsill/lwq.html#qmail-list:
What did you do? What's your configuration? Include qmail-showctl
output if you're not sure what's important. What action did you
take?
What did you expect to happen? What was the outcome you were trying
to achieve? Don't assume the reader can guess.
What did happen? Describe the actual result. Include log file
clippings and copies of messages, with headers.
You've told us the first two parts, but without knowing what happened,
we can't really help you.
-Dave
> On Thu, 22 Jun 2000, Marco Leeflang wrote:
>
> > i want a vacation program where vpopmail users can change their own
> > vacation message
> > any suggestion ??
Here is a perl based cgi for vpopmail users who want to setup
a vacation message.
http://www.vpopmail.cx/vpop-vacation-0.3.tar.gz
Ken Jones
inter7
Yavuz Sert wrote:
>
> Hi
> I'm new in list.
> That's the problem: i want all my users (over 150 000) in nt (mailsite) to
> linux. i'm using qmail with (imap-maildirs).
> And in mailsite the webmail program check the users and passwords from
> oracle database.
>
> Now how can i do this pass checking on linux with oracle and which web
> interface program should i use?
>
> Can i use sqwebmail with oracle and if i can how and is the 0.x version is
> reliable for a large isp?
If you can wait a week or so, sqwebmail + vpopmail will work with
oracle. I'm testing a new version of an oracle vpopmail module today.
Ken Jones
inter7
I'll save the song and dance, but my boss deleted a bunch of files from
the queue. What ill effects will this have, if any?
--
- Hail, hail, the gang's all here -
Mark Drummond <[EMAIL PROTECTED]> wrote:
>I'll save the song and dance, but my boss deleted a bunch of files from
>the queue. What ill effects will this have, if any?
That depends upon which files were deleted. I'd stop qmail, run
qmail-qsanity and/or one of the other queue checkers, fix any
problems, then restart qmail.
-Dave
Robert Sander <[EMAIL PROTECTED]> writes:
> We have a qmail-system that is running fine, as expected. The only problem
> is that my users are not able to send mails to techfak.uni-bielefeld.de
> because of "CNAME lookup failed temporarily. (#4.4.3)" happening. I got
> this mail from their admin that says, it is a qmail fault. The error is in
> the used version of libresolv. I cannot believe this. Please give me some
> statements to help me argue. ;-)
Have you installed one of the qmail "big DNS" patches such as
<URL: http://www.ckdhr.com/ckd/qmail-103.patch >? It looks like their
ANY response can easily be larger than 512 octets.
--
Christopher Davis * <[EMAIL PROTECTED]> * <URL:http://www.ckdhr.com/ckd/>
Put location information in your DNS! <URL:http://www.ckdhr.com/dns-loc/>
On Thu, Jun 29, 2000 at 10:33:50AM -0400, Christopher K Davis wrote:
> Have you installed one of the qmail "big DNS" patches such as
> <URL: http://www.ckdhr.com/ckd/qmail-103.patch >? It looks like their
> ANY response can easily be larger than 512 octets.
But does qmail not just do a MX lookup?
Greetings
--
Robert Sander
Epigenomics GmbH www.epigenomics.de Kastanienallee 24
+493024345330 10435 Berlin
Hi there,
How can I completely rewrite "ReturnPath" or "Host information" in message
header in qmail?
For example,
A mail ---> relay to B's qmail ---> C final destination --> receiver.
I want the receiver or other user will return mail to B instead of A.
Currently, if C's receiver return mail, it will try to contact A server.
However, there are no sendmail/qmail daemon in A.
Regards,
Edward.
Okay. I posted a message several days ago about making users/assign
case-insensitive, but no one seemed to have an answer. Now I'm taking it
from the other angle... Is there an easy way in qMail to rewrite
To: headers bound for local delivery to ensure strictly lower-case
usernames prior to getting passed to users/assign? That would still solve
our problem in an almost-as-elegant manner. Thanks in advance!
--------------------------------------------------------------------------
Jeremy Stanley, System Administrator Foveon Corporation
--------------------------------------------------------------------------
Interestingly, I'm in a similar situation, only my messages are still
in the queue. Normally, I would just put ":new.server.name" in my
smtproutes, and have it dump its queue, but it's already put all of
the local messages in the "local" section of the queue, which doesn't
look at smtproutes. Is there a clever way to make this work?
Can I just move them into the remote directory, then run the queue?
Or tar up the queue directory, move it onto the new machine in a temp
directory, run qmail-qfix, and then rename the files over into their
new locations?
Any suggestions would be much appreciated.
-----ScottG.
[EMAIL PROTECTED] writes:
> It depends on where the mail is on this clone server. Is it in the
> mail queue or has it been locally delivered to users there?
>
> The former is much easier to deal with than the latter.
>
>
> Regards.
>
> On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> >
> > First of all, this is a really stupid situation we should never have run
> > into in the first place ; however :
> >
> > Due to some not so interesting reasons, for a couple of days our DNS has
> > pointed to another machine with our cloned qmail-configuration on
> > another IP in another town. I have complete root access to that machine.
> >
> > Now everything is back as before, but while this machine was MX for quite
> > a bunch of virtual domains we host, the mail arrived there.
> >
> > What I need to do now, and I am discovering qmail, is a way to get all the
> > mail from the distant server to be sent to our machine with a minimum of
> > fuss and if possible transparent to the users (just being late, extra
> > headers don't hurt as long as they are of the kind lusers see by default
> > in their mailer).
> >
> > I have started plunging into the really dense documentation of qmail and
> > read some interesting contributions in the archive of this list, compiled
> > maildircmd and taken a look at its doc as well.
> >
> > While I feel that there must be a simple solution short of writing a
> > brute-force-and-ignorance-script with a complete list of maildirs to be
> > processed, I lack the experience to figure this out on my own.
> >
> > Thanks in advance to the list for some pointers to intelligent solutions
> > for my stupid problem.
> >
> > --
> > Best Regards
> > Andr� Morin
> >
On Thu, Jun 29, 2000 at 11:23:36AM -0400, Scott Gifford wrote:
> Interestingly, I'm in a similar situation, only my messages are still
> in the queue. Normally, I would just put ":new.server.name" in my
> smtproutes, and have it dump its queue, but it's already put all of
> the local messages in the "local" section of the queue, which doesn't
> look at smtproutes. Is there a clever way to make this work?
>
> Can I just move them into the remote directory, then run the queue?
> Or tar up the queue directory, move it onto the new machine in a temp
> directory, run qmail-qfix, and then rename the files over into their
> new locations?
Assuming the local deliveries are currently failing temporarily (perhaps
due to a home dir not existing or somesuch), then probably the easiest
thing is to create a default alias that catches all those mails and
delivers them to a Maildir, then use maildirtosmtp out of the serialmail
package.
I don't know of an easy way to change a local delivery to a remote
delivery by twiddling the queue. That decision is made as part of the
queue entry creation, not part of the rescan of qmail-send.
Regards.
>
> Any suggestions would be much appreciated.
>
> -----ScottG.
>
> [EMAIL PROTECTED] writes:
>
> > It depends on where the mail is on this clone server. Is it in the
> > mail queue or has it been locally delivered to users there?
> >
> > The former is much easier to deal with than the latter.
> >
> >
> > Regards.
> >
> > On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> > >
> > > First of all, this is a really stupid situation we should never have run
> > > into in the first place ; however :
> > >
> > > Due to some not so interesting reasons, for a couple of days our DNS has
> > > pointed to another machine with our cloned qmail-configuration on
> > > another IP in another town. I have complete root access to that machine.
> > >
> > > Now everything is back as before, but while this machine was MX for quite
> > > a bunch of virtual domains we host, the mail arrived there.
> > >
> > > What I need to do now, and I am discovering qmail, is a way to get all the
> > > mail from the distant server to be sent to our machine with a minimum of
> > > fuss and if possible transparent to the users (just being late, extra
> > > headers don't hurt as long as they are of the kind lusers see by default
> > > in their mailer).
> > >
> > > I have started plunging into the really dense documentation of qmail and
> > > read some interesting contributions in the archive of this list, compiled
> > > maildircmd and taken a look at its doc as well.
> > >
> > > While I feel that there must be a simple solution short of writing a
> > > brute-force-and-ignorance-script with a complete list of maildirs to be
> > > processed, I lack the experience to figure this out on my own.
> > >
> > > Thanks in advance to the list for some pointers to intelligent solutions
> > > for my stupid problem.
> > >
> > > --
> > > Best Regards
> > > Andr� Morin
> > >
Wouldn't I have to delete most of the passwd file and the
/var/qmail/alias directory in order for a .qmail-default to get looked
at?
And do you know of any reason why these queue-mucking techniques:
> > Can I just move them into the remote directory, then run the queue?
> > Or tar up the queue directory, move it onto the new machine in a temp
> > directory, run qmail-qfix, and then rename the files over into their
> > new locations?
would or wouldn't work?
Thanks much,
-----ScottG.
[EMAIL PROTECTED] writes:
> On Thu, Jun 29, 2000 at 11:23:36AM -0400, Scott Gifford wrote:
> > Interestingly, I'm in a similar situation, only my messages are still
> > in the queue. Normally, I would just put ":new.server.name" in my
> > smtproutes, and have it dump its queue, but it's already put all of
> > the local messages in the "local" section of the queue, which doesn't
> > look at smtproutes. Is there a clever way to make this work?
> >
> > Can I just move them into the remote directory, then run the queue?
> > Or tar up the queue directory, move it onto the new machine in a temp
> > directory, run qmail-qfix, and then rename the files over into their
> > new locations?
>
> Assuming the local deliveries are currently failing temporarily (perhaps
> due to a home dir not existing or somesuch), then probably the easiest
> thing is to create a default alias that catches all those mails and
> delivers them to a Maildir, then use maildirtosmtp out of the serialmail
> package.
>
> I don't know of an easy way to change a local delivery to a remote
> delivery by twiddling the queue. That decision is made as part of the
> queue entry creation, not part of the rescan of qmail-send.
>
>
> Regards.
>
> >
> > Any suggestions would be much appreciated.
> >
> > -----ScottG.
> >
> > [EMAIL PROTECTED] writes:
> >
> > > It depends on where the mail is on this clone server. Is it in the
> > > mail queue or has it been locally delivered to users there?
> > >
> > > The former is much easier to deal with than the latter.
> > >
> > >
> > > Regards.
> > >
> > > On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> > > >
> > > > First of all, this is a really stupid situation we should never have run
> > > > into in the first place ; however :
> > > >
> > > > Due to some not so interesting reasons, for a couple of days our DNS has
> > > > pointed to another machine with our cloned qmail-configuration on
> > > > another IP in another town. I have complete root access to that machine.
> > > >
> > > > Now everything is back as before, but while this machine was MX for quite
> > > > a bunch of virtual domains we host, the mail arrived there.
> > > >
> > > > What I need to do now, and I am discovering qmail, is a way to get all the
> > > > mail from the distant server to be sent to our machine with a minimum of
> > > > fuss and if possible transparent to the users (just being late, extra
> > > > headers don't hurt as long as they are of the kind lusers see by default
> > > > in their mailer).
> > > >
> > > > I have started plunging into the really dense documentation of qmail and
> > > > read some interesting contributions in the archive of this list, compiled
> > > > maildircmd and taken a look at its doc as well.
> > > >
> > > > While I feel that there must be a simple solution short of writing a
> > > > brute-force-and-ignorance-script with a complete list of maildirs to be
> > > > processed, I lack the experience to figure this out on my own.
> > > >
> > > > Thanks in advance to the list for some pointers to intelligent solutions
> > > > for my stupid problem.
> > > >
> > > > --
> > > > Best Regards
> > > > Andr� Morin
> > > >
From: Scott Gifford <[EMAIL PROTECTED]>
>And do you know of any reason why these queue-mucking techniques:
> > Can I just move them into the remote directory, then run the queue?
> > Or tar up the queue directory, move it onto the new machine in a temp
> > directory, run qmail-qfix, and then rename the files over into their
> > new locations?
would or wouldn't work?
Theres strong juju magic in the queue, related to inodes and stuff. I think
that if you try to interfere with that magic, possibly you'll get turned
into a toad :)
What you *can* try is to extract the files from the queue and mail-inject'em
in the other machine, *then* flushing the queue.
Armando
smime.p7s
On Thu, Jun 29, 2000 at 11:36:33AM -0400, Scott Gifford wrote:
> Wouldn't I have to delete most of the passwd file and the
> /var/qmail/alias directory in order for a .qmail-default to get looked
> at?
Ah yes, good point. Not so much delete them, but use qmail-users to override
getpwnam() (ie /etc/passwd) lookups.
> And do you know of any reason why these queue-mucking techniques:
>
> > > Can I just move them into the remote directory, then run the queue?
> > > Or tar up the queue directory, move it onto the new machine in a temp
> > > directory, run qmail-qfix, and then rename the files over into their
> > > new locations?
>
> would or wouldn't work?
No, but you can always build another instance of qmail and experiment with a
transfer and qmail-qfix there. You needn't actually start qmail to see if
the queue looks ok as qmail-qread will tell you that.
Regards.
Hey all
We own andigilog.com and earthlink is currently hosting both our email and
our web. I want to save us some money and shift the email (eventually the
web too) back to our local Linux box. I have recently built up the Linux
Box and I have chrooted DNS running on it. I have not shifted my name
servers from earthlink to my ISP at Network solutions yet. My box is
budha.andigilog.com. I am not currently broadcasting this to world
(DNS). I want to set up qmail and test it for andigilog.com, without
bothering earthlink. When I set up qmail do I ./config or ./config-fast
andigilog.com?
Thanks
Steven
Steven M. Klass
Physical Design Engineer
Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 602-940-6200 ext. 18
Fax: 602-940-4255
[EMAIL PROTECTED]
http://www.andigilog.com/
"Steven M. Klass" <[EMAIL PROTECTED]> wrote:
> We own andigilog.com and earthlink is currently hosting both
>our email and our web. I want to save us some money and shift the
>email (eventually the web too) back to our local Linux box. I have
>recently built up the Linux Box and I have chrooted DNS running on
>it. I have not shifted my name servers from earthlink to my ISP at
>Network solutions yet. My box is budha.andigilog.com. I am not
>currently broadcasting this to world (DNS). I want to set up qmail
>and test it for andigilog.com, without bothering earthlink. When I
>set up qmail do I ./config or ./config-fast andigilog.com?
Use ./config if your system has access to a nameserver, and
./config-fast if it doesn't.
-Dave
Steffan Hoeke <[EMAIL PROTECTED]> wrote:
>On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote:
>> > Steffan Hoeke:
>>
>> > "Ok, the /var/log/qmail permissions weren't the problem
>> > /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"
>>
>> why that?
>No other reason than : Before the permission change qmail start would
>freak out with unable to change to current directory. When i changed
>the permissions on /var/qmail/supervise and it's subs to qmaill.qmail
>it worked like a charm.
The real reason is that multilog runs as user qmaill.
>I know it's not a scientific approach, but i couldn't find anything
>in lwq about the proper permissions (Dave, if you're reading this
>;-))
It's in there:
Then set up the log directories:
mkdir -p /var/log/qmail/smtpd
chown qmaill /var/log/qmail /var/log/qmail/smtpd
-Dave
On Thu, Jun 29, 2000 at 12:21:33PM -0400, Dave Sill wrote:
> Steffan Hoeke <[EMAIL PROTECTED]> wrote:
>
> >On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote:
> >> > Steffan Hoeke:
> >>
> >> > "Ok, the /var/log/qmail permissions weren't the problem
> >> > /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"
> >>
> >> why that?
> >No other reason than : Before the permission change qmail start would
> >freak out with unable to change to current directory. When i changed
> >the permissions on /var/qmail/supervise and it's subs to qmaill.qmail
> >it worked like a charm.
>
> The real reason is that multilog runs as user qmaill.
>
> >I know it's not a scientific approach, but i couldn't find anything
> >in lwq about the proper permissions (Dave, if you're reading this
> >;-))
>
> It's in there:
>
> Then set up the log directories:
>
> mkdir -p /var/log/qmail/smtpd
> chown qmaill /var/log/qmail /var/log/qmail/smtpd
Nope, this talks about the /var/log/qmail subtree.
I'm talking about the /var/qmail/supervise subtree ;-)
> -Dave
HTH,
Steffan
--
http://therookie.dyndns.org
You can obtain the manpages for ucspi-tcp from:
ftp.freezer-burn.org/pub/custom/ucspi-tcp/ucspi-tcp-0.88-man.tar.bz2
These are basically taken direct from cr.yp.to/ucspi-tcp.html and
converted into manpages.
--
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org
Current Linux uptime: 3 days 16 hrs and 45 mins.
Hello.
I have recently installed Qmail on an Alpha box for my boss. I got it to
send a simulated 100K message per hour through a dirty benchmark I wrote. My
boss wants more than that. I believe that the slow up is in qmail-inject. Is
there any way to make qmail-inject faster or bypass it totally? If so...how
is it done. Also, has anyone else gotten qmail to send anything in the range
I have?
Ian Layton
On Thu, Jun 29, 2000 at 11:54:55AM -0500, Ian Layton wrote:
> Hello.
>
> I have recently installed Qmail on an Alpha box for my boss. I got it to
> send a simulated 100K message per hour through a dirty benchmark I wrote. My
> boss wants more than that. I believe that the slow up is in qmail-inject. Is
> there any way to make qmail-inject faster or bypass it totally? If so...how
> is it done. Also, has anyone else gotten qmail to send anything in the range
> I have?
Well, the real cost is qmail-queue which is invoked by qmail-inject.
qmail-queue is syncing each submission so that it can gaurantee that the
mail will not be lost. Doing lots of syncs to the queue is an expensive
disk i/o operation.
Your solution is to put your queue on a disk subsystem that can sync
at the rate you want to submit (and deliver). Some do this with a faster
disk, some do this with a partition that is spread across multiple
spindles. How you do this depends on your OS type and what sort
of hardware you are willing to throw at it.
Regards.
> Your solution is to put your queue on a disk subsystem that can sync
> at the rate you want to submit (and deliver). Some do this with a faster
> disk, some do this with a partition that is spread across multiple
> spindles. How you do this depends on your OS type and what sort
> of hardware you are willing to throw at it.
True, very true...
If your hardwarebudget allows it, take a serious peek at solid-state disks if you want
relly good performance in this case. Quantum Rushmore Ultra Series Solid State Disks
looks nice but are quite expensive compared to other fast regular 10k rpm disks.
If storage size (queue size in this case) is among your primary concerns also then
turn your eyes onto some nice RAID system instead since those SSD's are not that large
if you compare to the bucks you'll have to spend.
---
Mattias Paulsson - Systems Administrator
LLS/Futurize (http://www.futurize.com)
All,
How can one safely clear the entire qmail mail queue so that any messages in
the queue do not get sent out.
Thanks
Brian
I find the easiest way is to stop qmail-send, remove /var/qmail/queue
and go to your source installation and do a make setup, start qmail.
Regards.
On Thu, Jun 29, 2000 at 12:01:55PM -0500, Hand, Brian C. wrote:
> All,
>
> How can one safely clear the entire qmail mail queue so that any messages in
> the queue do not get sent out.
>
> Thanks
> Brian
"Hand, Brian C." <[EMAIL PROTECTED]> wrote:
>How can one safely clear the entire qmail mail queue so that any messages in
>the queue do not get sent out.
The LWQ method (as root):
qmail stop
mv /var/qmail/queue /var/qmail/old.queue
cd /usr/local/src/qmail/qmail-1.03
make setup
qmail start
-Dave
Hi,
I not able to telnet to port 25 in my SMTP Server. Started SMTP with
command tcpserver -u 508 -g 507 -c 40 -v -x /etc/tcpcontrol/smtp.cdb 0
smtp qm and receive answer from TCPSERVER:
tcpserver: status: 1/40
tcpserver: pid 890 from 127.0.0.1
tcpserver: ok 890 localhost:127.0.0.1:25 localhost:127.0.0.1:root:1037
tcpserver: warning: dropping connection, unable to run qm: access denied
tcpserver: end 890 status 28416
tcpserver: status: 0/40
ANy Help ?
Marcilio Jorgensen
[EMAIL PROTECTED]
AlterNex
Brazil
[EMAIL PROTECTED] wrote:
> I not able to telnet to port 25 in my SMTP Server. Started SMTP with
>command tcpserver -u 508 -g 507 -c 40 -v -x /etc/tcpcontrol/smtp.cdb 0
>smtp qm and receive answer from TCPSERVER:
What is "qm"? Shouldn't that be "/var/qmail/bin/qmail-smtpd"?
>tcpserver: warning: dropping connection, unable to run qm: access denied
Hmm, you have a "qm", but it's not executable.
-Dave
> prashant:
> problem , user can't download their mails from home/user/Maildir
> i have checked the default file permissions it was 644 for all the
> files in /new under Maildir
> if i changes this to 777 then users are able to download the their new
> messages
> users home directory is owned by users only , and ya also 755 for
> Maildir
> please help me guys , should i keep 777 and 755 for /new/* and
> /Maildir
it's not normal to download mail from the destination directory. you
should either forward their mail to them or run your own pop server.
your data indicates that the downloading program wants to delete read
mails or suchlike, in which case these programs would need write access
to the directory. 644 is a highly irregular mode for a private maildir.
clemens
Greetings all,
I was wondering if anyone can help.
I have a Qmail system all up and running with SMTP and POP3. It sends and
received mail correctly. What I have been asked to do is forward any mail
to a Trend Micro SMTP email virus scanning server first before it is
delivered. This means that even if I have USER-A and USER-B with POP3
accounts on the qmail server and they send mail to each other, the powers
that be want that mail to first hit the Scan Mail server then relay to the
Qmail server.
I already know that I could reconfigure their SMTP/POP3 mail clients to use
different addresses for sending and downloading mail (ie enter the IP of the
Scan Mail server for SMTP and then the IP of the Qmail server for POP3).
I was hoping that there was a server level setting (as apposed to something
in each users .qmail file) that would forward the mail correctly. Exchange
seems to have this function and they call it "Forward All Messages to host:
<hostname>" instead of "Message Delivery Uses DNS"
Any help would be greatly appreciated.
Thanks,
-Larry Henshaw }:->
[EMAIL PROTECTED]
Hello Guys!
Can I use NetscapeMail together with the Maildir ?
Or is that just a problem of qmaild-pop3 and has nothing
to do with the client ?
For your info: I want to get the messages via Network.
Sincrely,
Nico
Nico Schottelius <[EMAIL PROTECTED]> wrote:
>Can I use NetscapeMail together with the Maildir ?
Sure.
>Or is that just a problem of qmaild-pop3 and has nothing
>to do with the client ?
Correct.
-Dave
I've got an interesting problem.
At work we manage the mail for several domains, which are all
subcompanies of the parent company (We're yet another incubator). The
parent company e-mail is outsourced.
What should I use for the ../control/me domain under such a scenario? I
don't want bounce reports for one subcompany to read another
subcompany's domain. That is, just choose one subcompany and make it the
local domain and the rest virtuals. And if I put the parent company's
domain into ../control/me I get bounces all over the place. See below.
Jun 29 14:31:33 linux1 qmail: 962303493.427156 info msg 66303: bytes
1043 from <
[EMAIL PROTECTED]> qp 18584 uid 529
Jun 29 14:31:33 linux1 qmail: 962303493.482925 starting delivery 3: msg
66303 to
local [EMAIL PROTECTED]
Jun 29 14:31:33 linux1 qmail: 962303493.483024 status: local 1/10 remote
0/20
Jun 29 14:31:33 linux1 qmail: 962303493.575209 new msg 66304
Jun 29 14:31:33 linux1 qmail: 962303493.575333 info msg 66304: bytes
1171 from <
[EMAIL PROTECTED]> qp 18587 uid 551
Jun 29 14:31:33 linux1 qmail: 962303493.641682 starting delivery 4: msg
66304 to
remote [EMAIL PROTECTED]
Jun 29 14:31:33 linux1 qmail: 962303493.641795 status: local 1/10 remote
1/20
Anyone?
Okay. First what I'm doing, what happened, and then my big question.
I've got a load balanced array of qmail servers whose purpose is to
relay messages and hold deferred messages.
It is business critical that we don't lose deferred messages.
My first solution for doing this is to place the qmail queues on an
NFS mount. They'll stay on the reliable storage and the servers will
talk to them when needed.
It wasn't the simplest solution - the lock directory had to be on the
local disk to have the named pipe in it, but I got it working.
It ran for a day or two, and then it started getting some test
traffic... and it stalled. It wasn't delivering messages for no
obvious reason. I saw nothing new in the log file which is what
alerted me at first, and the process list was full of qmail-remotes
that weren't doing anything. I shut down qmail.
So, I copied the pile of messages back to the local disk, and got
qmail running again. The messages in queue were delivered in a few
seconds.
This prompted a bit of research. Why didn't it work? My boss wanted
to know too. I found a message on this list where a man states that
qmail queues cannot be located over NFS.
My question is Why? they use maildir, so they don't need locking,
right? Be technical, I may have to explain this to my boss.
And if I can't put the queues there, is there a way to stored
deferred messages there, so we can recover from a relay server
explosion without losing already deferred messages?
David
David Ihnen
Integration Engineer
myCIO
503-670-4018
David Ihnen
Integration Engineer
myCIO
503-670-4018
On Thu, Jun 29, 2000 at 12:55:56PM -0700, Ihnen, David wrote:
> This prompted a bit of research. Why didn't it work? My boss wanted
> to know too. I found a message on this list where a man states that
> qmail queues cannot be located over NFS.
>
> My question is Why? they use maildir, so they don't need locking,
> right? Be technical, I may have to explain this to my boss.
You're confusing 1) user mail storage (Maildir), with 2) the qmail
queue structure.
Maildir is the storage format for final delivery, and is well suited
to being on NFS.
The qmail queue structure is not much like a Maildir, and is for
intermediate storage of a message while waiting on final delivery.
The qmail queue cannot be stored on NFS as it 1) requires exclusive
access, 2) names files after disk inodes. A good document to read
about would be INTERNALS.
> And if I can't put the queues there, is there a way to stored
> deferred messages there, so we can recover from a relay server
> explosion without losing already deferred messages?
Just put your entire queue on a RAID partition. Just give yourself
enough of a budget to have good IO speed on that RAID partiiton.
I'll say it again, RAID 10.
John
Ok. No answer to this one. Maybe its too long?
Anyway-for the brief question. Has anyone ever seen the problem of
emails being delivered with without the body of the message?
Lisa
On Wed, Jun 28, 2000 at 10:20:53AM -0700, Lisa Phillips wrote:
> Hi,
>
> We've got an internal machine here inside our firewall that we check
> our email on. We've also got 2 external machines handling email for
> our customers at the domains mydomain.net (a linux machine running
> sendmail) and mydomain.org (a linux machine running qmail). Employess
> have their mail forwarded to our internal machine, web0.mydomain.net.
>
> What we'd like to do is to be able to send mail to each other at our
> @mydomain.net/.org addresses and have them try to deliver locally
> first, on our internal machine, then deliver to the other machines if the
> user isn't found internally first.
>
> This is what I set up to do this (defaultdomain,me and plusdomain were
> set up by a previous sysadmin):
>
> me
> web0.mydomain.net
>
> defaultdomain
> mydomain.net
>
> locals
> localhost
> web0
> web0.mydomain.net
> web0.mydomain.org
> mydomain.net
> mydomain.org
>
> plusdomain
> mydomain.net
>
> rcpthosts
> localhost
> web0
> web0.mydomain.net
> web0.mydomain.org
>
> locals
> localhost
> web0
> web0.mydomain.net
> web0.mydomain.org
> mydomain.net
> mydomain.org
>
> plusdomain
> mydomain.net
>
> rcpthosts
> localhost
> web0
> web0.mydomain.net
> web0.mydomain.org
>
> .qmail-default
> |fastforward -Npd /etc/aliases.cdb |forward "$[EMAIL PROTECTED]"
>
> eve.mydomain.net accepts mail and then forwards on to
> grace.mydomain.org if a user isn't found there.
>
> What is happening now is that mail is delivered locally, but if the mail
> has to be delivered to eve first, the message arrives with NO message
> body. I am lost as to why this would happen.
>
> Does anyone have any suggestions for me? Does it matter if the
> .qmail-default file has the commands on separate lines? Should I add
> mydomain.net and mydomain.org to the rcpthosts file? Does it make a
> difference if the machine email is being redirected to is running
> sendmail?
>
> Qmail is new to me so any advice is very much appreciated.
>
> TIA
>
> --
> --
> Lisa Phillips
> Speakeasy Network
>
>
>
> ----- End forwarded message -----
>
> --
> --
> Lisa Phillips
> Speakeasy Network
>
>
--
--
Lisa Phillips
Speakeasy Network
Hi there. I have a virtual domain defined as:
linuxgiant.com:raja
And in /home/raja/.qmail I have:
&[EMAIL PROTECTED]
Today I got a bounce message from qmail saying no mailbox found for
[EMAIL PROTECTED] I'm assuming the case didn't generate the
error.
Is there a "catch-all" to send everything to [EMAIL PROTECTED] to
[EMAIL PROTECTED]?
Hmmm... this might be a stupid question... would a
/home/raja/.qmail-default do the trick if it contained the forwarder
address?
--
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org
Current Linux uptime: 3 days 20 hrs and 17 mins.
On Thu, Jun 29, 2000 at 02:16:01PM -0600, Vincent Danen wrote:
Never mind. .qmail-default did it... sheesh... Sorry folks.
> Hi there. I have a virtual domain defined as:
>
> linuxgiant.com:raja
>
> And in /home/raja/.qmail I have:
>
> &[EMAIL PROTECTED]
>
> Today I got a bounce message from qmail saying no mailbox found for
> [EMAIL PROTECTED] I'm assuming the case didn't generate the
> error.
>
> Is there a "catch-all" to send everything to [EMAIL PROTECTED] to
> [EMAIL PROTECTED]?
>
> Hmmm... this might be a stupid question... would a
> /home/raja/.qmail-default do the trick if it contained the forwarder
> address?
--
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org
Current Linux uptime: 3 days 20 hrs and 21 mins.
I've recently set up qmail 1.03 on an OpenBSD 2.6 system. I can send and
receive e-mail locally, but when sending out to the internet I get the
following error:
Connected to 198.23.2.45 but sender was rejected.
Remote host said: 501 <<[EMAIL PROTECTED]>> ... Sender domain must
exist
I have no MX record for tester, as it isn't the default mail server for the
domain (using it for testing).
Any idea how to fix this? Would a second MX record at lower priority do?
Thanks
2000-06-29, at 04:34:55, Kimberly Vher wrote:
> does qmail support the filehandle in linux?
What do you mean by "support the filehandle" ?
--
Sylwester S. Biernacki <[EMAIL PROTECTED]>
2000-06-29, aty 07:10:59, wrote:
> Before I make some unecessary work for myself, I was wondering two
> things:
> Are there manpages for ucspi-tcp 0.88 somewhere? None are in the
> package. Also, is there a html2man program or something I can use to
> make this easier?
sure... look at http://freshmeat.net from a day or two ago :)
--
cheers,
Sylwester S. Biernacki <[EMAIL PROTECTED]>
2000-06-28, at 18:09:54, [EMAIL PROTECTED] wrote:
> Hi list,
> How i can limit the traffic of my mail server for connections out of my
> LAN? I'm thinking to put 2 network boards on the machine and use shaper in
> one of them, so i set MX to a board and pop3.xxx.com and smtp.xxx.com to
> other board (not shaped), that's ok, but i can't make a routing table to this.
> Look the scheme:
> -----------------------------------------
> At Linux:
> 10.0.0.2 - eth0
> 10.0.0.3 - eth1 (shaped at 512k)
> At DNS:
> xxx.com IN MX 10.0.0.3
> pop3.xxx.com IN A 10.0.0.2
> smtp.xxx.com IN A 10.0.0.2
> -------------------------------------------
> Any Ideias?
I think it's not the subject for this list, but if you use Linux look
for iproute2 and netfliter (both are on freshmeat i.e.). or just link
them to i.e. Cisco Catalyst which can deal with traffic shaping :>
have fun :]
--
Sylwester S. Biernacki <[EMAIL PROTECTED]>
I seem to remember that someone wrote a utility that can rewrite selected
headers.. But I can't seem to find it on www.qmail.org.. Can someone point
me in the right direction?
Thanks,
--Adam
I have installed qmail once before about 6 months ago w/o a hitch.
But for some reason this install is acting very wierd. I did a "standard"
(if there is such a thing) install of qmail. Everything worked fine up
until the test email. I am using Maildir. When i try to stop/restart/start
qmail i get this message
"qmailsvc: warning: unable to chdir to /var/qmail/supervise/run: not a
directory"
why is it trying to chdir to the that dir ?? is that a file for running
/var/qmail/rc ?
i am at a stand still ... thanx in advance
Chad Cranston
Network Admin
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>"qmailsvc: warning: unable to chdir to /var/qmail/supervise/run: not a
>directory"
>
>why is it trying to chdir to the that dir ?? is that a file for running
>/var/qmail/rc ?
>
>i am at a stand still ... thanx in advance
I think you didn't followed step 8 of the INSTALL file:
8. Copy /var/qmail/boot/home (or proc) to /var/qmail/rc
Possibly some remains from your previous install.
Armando
smime.p7s
An easier way to do this that works is to create ~alias/.qmail-default
and insert | forward "$[EMAIL PROTECTED]" (your inside mailserver)
which will forward all mail it does
not know about to the inside server. Then you have create a .qmail file
for local users to the server and forward mail to the inside server.
Then make sure ~/qmail/control/locals has the domain that it will
accept mail for instead of just forwarding ,then create aliases for the
internal names and pipe to bitbucket. Just did
it and it works like a charm..
Eddy
"Hubbard, David" wrote:
>
> Hey Raj,
> how do you do the forwarding to the internal mail
> server? Do you have a virtualdomains entry set up for
> indsoft.co.in? If so, let's pretend that you have an
> entry like this:
>
> indsoft.co.in:username
>
> And then maybe in username's directory, you have a .qmail*
> of some type that handles the forwarding to the internal
> mail server. I think you could create a rule in your
> /.../qmail/users/assign file that says something like
> =username-all:blockall:uid:gid:directory:::
> where the 'blockall', uid, and gid, are an actual user
> account on your front-end computer. In blockall's
> directory, you put a .qmail & .qmail-default that has
> your email address, [EMAIL PROTECTED]
>
> I think if you did that, the rule would catch any incoming
> [EMAIL PROTECTED] emails and forward them to you instead
> of to the internal mail server.
>
> Dave
>
> -----Original Message-----
> From: RajKumar S. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 28, 2000 5:22 AM
> To: [EMAIL PROTECTED]
> Subject: blocking aliases
>
> hello all,
>
> I have qmail server as my external server which receives my external mail
> and fwds it to my internal (in the local network) sendmail which
> distributes to the users who are in the private local network.
>
> i have setup some aliases in the internal server like [EMAIL PROTECTED]
> which when activated will send the mail to all the users. obviously i have
> not activated it till i find a way to disable all external mails to the
> aliased accounts.
>
> ie i do not want any one outside to mail to the aliased mails address.
>
> any help will be much appreciated.
>
> raj
>
> PS: if you mail to [EMAIL PROTECTED] now the mail will be accepted but it
> will go to the inbox of the user all which is not used.
--
|
Okay, for anybody that missed my 2c worth yesterday (or day
before...I can't even remember what day is what at the moment), I am thinking
about writing a HOWTO but only if:
1. There is enough support for it; and
2. There is no good reason for me not to bother.
OK, enough of the blabbering. I have just finished
implementing a new system that allows e-mail around an entire city (further with
no major problems except cost of interstate and international communications)
even though all e-mail only goes to one domain name. The e-mail is distributed
via NFS to shares that connect when the remote location (either permanent ISDN
or dialup modem) dial up, and there is no problem with messages not getting
delivered when they are not connected, they are simply deferred until they
connect.
Users can check their e-mail from virtually anywhere in the
world, no matter if they are inside their work network, or outside on the
Internet, via the ability of distributed NIS. The idea of this system is to
dramatically decrease network traffic by not having unnecessary bounces, having
POP servers onsite, and the network will still appear to work (from any
location), even if the main server goes down. Cost is also decreased as all that
is required is a small server (x86's do the job fine) in each location, and one
main server that only really needs to handle traffic and requests, with no real
data storage capabilities. Messages are simply deferred if a server is down, but
POP mail can still be retrieved. If one link goes down, nobody else is affected
in the slightest.
If anybody wants a HOWTO on this (ie you have a use for it),
then please e-mail me personally, or post your comments on why or why not this
is useful to the list. If you have already contacted me then please don't bother
again!
Thanks for your time
Brett Randall.
|
In the FAQ, it directs you to put 'some.domain' defaulthost as a
mechanism for rewriting your headers, etc. The problem with this is
that if you send mail to an unqualifed localuser, then it rewritten as
[EMAIL PROTECTED] and attempted to be delivered remotely, how do I
make such mail be delivered locally?
cheers,
r.
From: Russell Davies <[EMAIL PROTECTED]>
>that if you send mail to an unqualifed localuser, then it rewritten as
>[EMAIL PROTECTED] and attempted to be delivered remotely, how do I
>make such mail be delivered locally?
To be delivered locally, some.domain must be present in locals.
Armando
smime.p7s
; From: Russell Davies <[EMAIL PROTECTED]>
; >that if you send mail to an unqualifed localuser, then it rewritten as
; >[EMAIL PROTECTED] and attempted to be delivered remotely, how do I
; >make such mail be delivered locally?
;
;
; To be delivered locally, some.domain must be present in locals.
I realise that, however I want to deliver to _real_ recipients in
some.domain, if I put some.domain in locals, then all mail going there
will be delivered locally.
r.
From: Russell Davies <[EMAIL PROTECTED]>
>; To be delivered locally, some.domain must be present in locals.
>
>I realise that, however I want to deliver to _real_ recipients in
>some.domain, if I put some.domain in locals, then all mail going there
>will be delivered locally.
>
I'm a bit confused by your question, then: either you want mail for
some.domain to be delivered locally, or remotely.
*But*, possibly what you want is to deliver mail locally when the user is
unqualified, while sending all mail qualified for some.domain to the remote
server. In that case, just fill default host with a bogus domain
(local.some.domain) and tell qmail it is local. Mail for unqualified users
will then be delivered locally, qualified as [EMAIL PROTECTED]
Armando
smime.p7s
From: Russell Davies <[EMAIL PROTECTED]>
>I realise that, however I want to deliver to _real_ recipients in
>some.domain, if I put some.domain in locals, then all mail going there
>will be delivered locally.
Also check http://cr.yp.to/qmail/faq/incominguser.html#luser-relay , the
last FAQ there can solve your problem in yet another way: let qmail deliver
locally, forwarding unrecognized users elsewhere. There's a trick to it,
tough, if I remember correctly: I replace the remote mail server address by
its IP, like this
| forward "$LOCAL@[192.168.1.1]"
I think that the [ ] are mandatory.
I'll be able to check exactly how I did it in a few days, if the above
doesn't work.
Armanfo
smime.p7s