qmail Digest 24 Nov 1999 11:00:00 -0000 Issue 829
Topics (messages 33487 through 33523):
Re: ANNOUNCE: Native Qmail-based virus scanner - scan4virus-0.1
33487 by: deon stoltz
Re: forwarding mails arlready in Maildirs
33488 by: Sam
Re: remote users sending mail prob
33489 by: Chris Johnson
33497 by: Steve Kapinos
33499 by: Steve Kapinos
Re: Help! I am still a open relay!!
33490 by: brianestes.cornerstonenet.org
33492 by: James Raftery
33507 by: Michael Boman
33508 by: Michael Boman
Re: problems with procmail
33491 by: Dave Sill
Re: Problems installing the package from moni.msci.memphis.edu
33493 by: Mate Wierdl
POP3 and Virtual email performance?
33494 by: Derek Harkness
Re: AutoTURN startup script
33495 by: Paulo Jan
[Q] Sorry, no mailbox here by that name. (#5.1.1) ???
33496 by: �輺��
33498 by: Haffelin Holger
Problem retrieving certain emails
33500 by: James DeMong
Peculiar intermittent problem.
33501 by: hsilver.pyx.net
[Q] qmail + MySQL
33502 by: �輺��
33506 by: Michael Boman
Re: and To: - Headers with SMTP-Messages
33503 by: Ekker, Heinz
33504 by: cmikk.uswest.net
Alias oddity
33505 by: Brandon Ibach
help! installing qmail
33509 by: MikeINET.aol.com
line feeds with carriage return
33510 by: deden purnamahadi
33511 by: Sam
33512 by: Andy Walden
33514 by: Michael Boyiazis
33515 by: Derek Callaway
33516 by: Bob Krzaczek
Re: Outlook 5 and online check
33513 by: Jon Rust
Maildir as link
33517 by: Edward Castillo-Jakosalem
33518 by: David Sutton
subdomaine adressing and qmail
33519 by: Pierre L�onard
Can I deny certien users?
33520 by: Michael Boman
Force mailqueue to send?
33521 by: Michael Boman
33522 by: petervd.vuurwerk.nl
CorelLinux + qmail
33523 by: dd
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 tried the patch using the following command: patch -p0 <scan4virus-0.11.patch but if fails. Do I need scan4virus-0.11 ? Where to get it? Regards Deon
On Tue, 23 Nov 1999, Marlon Anthony Abao wrote: > guys, > > is there a way for get the existing mails in the users' Maildirs and > forward them to a remote address? > > i have a client who has a lot of mails and who wants to have these > forwarded to his other ISP. i can forward any incoming mails but how do i > forward his existing mails? especially those w/ encoded attachments (sigh...). A four line shell script will do the job: for f in ~luser/Maildir/cur/* ~luser/Maildir/new/* do test -f $f && env - /var/qmail/bin/qmail-inject luser@luserisp <$f done -- Sam
On Tue, Nov 23, 1999 at 07:17:38PM +1000, Cameron Arnott wrote: > > I've read the docs on relaying but still can't get it to work > > My members can be anywhere in the world.. and use various isp's , but > they have an email account here. > > I want them (the people who have email accounts here) to be able to send > email through here as this is their mailserver and block everyone else.. Why do they need to be able to send mail through your SMTP server, as opposed to their ISPs' SMTP servers? Have them configure their mail clients to use their respective ISPs' SMTP servers to relay their mail. Only *very* rarely, if ever, will this be a problem. Chris
Except when it comes to supporting these clients.. Its much easier to simply say 'call me only if you can not get your email but you can get to the web', 'if you can't get to the web, call your ISP tech support'. I have this same setup, and I use smtp-after-pop3 method of selective relaying. Its easy to implement by patching checkpassword with Russell's open-smtp patch. It should be on the qmail web page. -Steve -----Original Message----- From: Chris Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 23, 1999 7:44 AM To: Cameron Arnott Cc: Qmail List Subject: Re: remote users sending mail prob On Tue, Nov 23, 1999 at 07:17:38PM +1000, Cameron Arnott wrote: > > I've read the docs on relaying but still can't get it to work > > My members can be anywhere in the world.. and use various isp's , but > they have an email account here. > > I want them (the people who have email accounts here) to be able to send > email through here as this is their mailserver and block everyone else.. Why do they need to be able to send mail through your SMTP server, as opposed to their ISPs' SMTP servers? Have them configure their mail clients to use their respective ISPs' SMTP servers to relay their mail. Only *very* rarely, if ever, will this be a problem. Chris
You can use the open-smtp patch from Russell Nelson that allows any IP that authenticates through Pop3 to relay through you for a certain period of time. Works by patching checkpassword and using tcpserver. Look on www.qmail.org for open-smtp -Steve -----Original Message----- From: Michael Boman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 23, 1999 4:30 AM To: [EMAIL PROTECTED]; Qmail List Subject: RE: remote users sending mail prob This is EXACTLY what I want to do too! But right now my mailserver is STILL an OPEN RELAY. Can someone please help me fix it? /Michael Boman > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 23 November, 1999 17:18 PM > To: Qmail List > Subject: re: remote users sending mail prob > > > > I've read the docs on relaying but still can't get it to work > > My members can be anywhere in the world.. and use various isp's , but > they have an email account here. > > I want them (the people who have email accounts here) to be able to send > email through here as this is their mailserver and block everyone else.. > > example: > > member calls their isp.. (they don't have a perminent isp.. they have > multiple internet accountsmove around..) > > their mail account here is [EMAIL PROTECTED] > > they have my mailserver as their mail server <mail.kat.net.au> > > they can pick up their mail but when they try to send mail > > their mailer reports that : > > the message could not be sent because the recipient was rejected by the > server > ...... > protocol smtp server responce 553 sorry that domain isn't in my list of > allowed > rcpthosts (#5.7.1) port 25 secure (ssl) no server error 553 error > number Ox800ccc79 > > however i can send a message to the same account which they are trying > to send to from here (local machine) without any problems > > >
have you tried running tcprulescheck against you smtp.cdb file? If not do so it is very helpful in debuggiing problems. do a man on tcprules syntax <>< Brian Michael Boman wrote: > I have been following the instructions in > http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html but it seems > like I am still an open relay! What is wrong?! > > What I want to do is allow any user on my C-net / LAN to send mail thru the > SMTP server without any limitations, and the world only send/recive mails > either to or from a @company address. > > LOCALHOST: can send as who-ever@what-ever to anyone@anyhost > LAN: can send as who-ever@what-ever to anyone@anyhost > OUR C-NET: can send as who-ever@what-ever to anyone@anyhost > WORLD: can send as user@company to anyone@anyhost > > Best regards, > Michael Boman > > PS > The files: > > # cat /var/qmail/control/rcpthosts > intsys.wizoffice.com > intsys.wizoffice.com.sg > localhost > webmail.intsys.wizoffice.com > webmail.intsys.wizoffice.com.sg > webmail.wizoffice.com > webmail.wizoffice.com.sg > wizoffice.com > wizoffice.com.sg > > # cat /etc/tcp.smtp > 192.168.2.:allow,RELAYCLIENT="" > 10.1.:allow,RELAYCLIENT="" > 127.:allow,RELAYCLIENT="" > 203.117.18.:allow,RELAYCLIENT="" > :allow > > I made the /etc/tcp.smtp.cdb file using following command: > > # cat /etc/tcp.smtp | tcprules /etc/tcp.smtp.cdb ~/tcp.smtp.tmp > > I am running tcpserver with following syntrax: > > tcpserver -v -H -R -x/etc/tcp.smtp.cdb -c 100 -u 1001 -g 101 0 smtp > /var/qmail/bin/qmail-smtpd | /var/qmail/bin/splogger smtpd 3 & > > DS > > -- > Michael Boman, Systems Engineer > WizOffice.Com Pte Ltd - 16 Tannery Lane, #06-00 > Crystal Time Building, Singapore. 347778 > Your Online Office Wizard - http://www.wizoffice.com/
On Tue, Nov 23, 1999 at 11:23:26AM +0800, Michael Boman wrote: > I am running tcpserver with following syntrax: > > tcpserver -v -H -R -x/etc/tcp.smtp.cdb -c 100 -u 1001 -g 101 0 smtp > /var/qmail/bin/qmail-smtpd | /var/qmail/bin/splogger smtpd 3 & This won't direct STDERR to splogger. You'll miss any tcpserver error messages. Direct STDERR, and see if tcpserver give you any clues. Regards, james -- James Raftery (JBR54) - Programmer Hostmaster IE Domain Registry Preferred Contact by Email: [EMAIL PROTECTED] UCD Computing Services Web: http://www.domainregistry.ie/ Computer Centre Tel: (+353 1) 7062375 Fax: (+353 1) 7062862 Belfield, Dublin 4, IE
I have applied mySQL patch to qmail and hacked it so all mails going to [EMAIL PROTECTED] will be redirect to [EMAIL PROTECTED] And I am VERY sure that I am still an open relay. Best regards, Michael Boman > -----Original Message----- > From: Chris Johnson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 23 November, 1999 15:04 PM > To: Michael Boman > Cc: Qmail > Subject: Re: Help! I am still a open relay!! > > > On Tue, Nov 23, 1999 at 11:23:26AM +0800, Michael Boman wrote: > > I have been following the instructions in > > http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html > but it seems > > like I am still an open relay! What is wrong?! > > > > What I want to do is allow any user on my C-net / LAN to send > mail thru the > > SMTP server without any limitations, and the world only > send/recive mails > > either to or from a @company address. > > > > LOCALHOST: can send as who-ever@what-ever to anyone@anyhost > > LAN: can send as who-ever@what-ever to anyone@anyhost > > OUR C-NET: can send as who-ever@what-ever to anyone@anyhost > > WORLD: can send as user@company to anyone@anyhost > > > > Best regards, > > Michael Boman > > > > PS > > The files: > > > > # cat /var/qmail/control/rcpthosts > > intsys.wizoffice.com > > intsys.wizoffice.com.sg > > localhost > > webmail.intsys.wizoffice.com > > webmail.intsys.wizoffice.com.sg > > webmail.wizoffice.com > > webmail.wizoffice.com.sg > > wizoffice.com > > wizoffice.com.sg > > > > # cat /etc/tcp.smtp > > 192.168.2.:allow,RELAYCLIENT="" > > 10.1.:allow,RELAYCLIENT="" > > 127.:allow,RELAYCLIENT="" > > 203.117.18.:allow,RELAYCLIENT="" > > :allow > > If those are really your files and you haven't patched qmail-smtpd in some > weird way, then your relay isn't open. > > Are you sure that it is? > > Chris >
I runned a few tests, and I have included 2 of them here: webmail:~# tcprulescheck /etc/tcp.smtp.cdb 192.168.2.3 rule 192.168.2.: set environment variable RELAYCLIENT= allow connection webmail:~# tcprulescheck /etc/tcp.smtp.cdb 194.236.13.242 rule : allow connection It seems to be OK, right? Best regards Michael Boman > -----Original Message----- > From: cstone [mailto:cstone]On Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, 23 November, 1999 21:23 PM > To: Michael Boman > Cc: Qmail > Subject: Re: Help! I am still a open relay!! > > > have you tried running tcprulescheck against you smtp.cdb file? > If not do so > it is very helpful in debuggiing problems. > > do a man on tcprules syntax > > <>< > Brian > > > Michael Boman wrote: > > > I have been following the instructions in > > http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html > but it seems > > like I am still an open relay! What is wrong?! > > > > What I want to do is allow any user on my C-net / LAN to send > mail thru the > > SMTP server without any limitations, and the world only > send/recive mails > > either to or from a @company address. > > > > LOCALHOST: can send as who-ever@what-ever to anyone@anyhost > > LAN: can send as who-ever@what-ever to anyone@anyhost > > OUR C-NET: can send as who-ever@what-ever to anyone@anyhost > > WORLD: can send as user@company to anyone@anyhost > > > > Best regards, > > Michael Boman > > > > PS > > The files: > > > > # cat /var/qmail/control/rcpthosts > > intsys.wizoffice.com > > intsys.wizoffice.com.sg > > localhost > > webmail.intsys.wizoffice.com > > webmail.intsys.wizoffice.com.sg > > webmail.wizoffice.com > > webmail.wizoffice.com.sg > > wizoffice.com > > wizoffice.com.sg > > > > # cat /etc/tcp.smtp > > 192.168.2.:allow,RELAYCLIENT="" > > 10.1.:allow,RELAYCLIENT="" > > 127.:allow,RELAYCLIENT="" > > 203.117.18.:allow,RELAYCLIENT="" > > :allow > > > > I made the /etc/tcp.smtp.cdb file using following command: > > > > # cat /etc/tcp.smtp | tcprules /etc/tcp.smtp.cdb ~/tcp.smtp.tmp > > > > I am running tcpserver with following syntrax: > > > > tcpserver -v -H -R -x/etc/tcp.smtp.cdb -c 100 -u 1001 -g 101 0 smtp > > /var/qmail/bin/qmail-smtpd | /var/qmail/bin/splogger smtpd 3 & > > > > DS > > > > -- > > Michael Boman, Systems Engineer > > WizOffice.Com Pte Ltd - 16 Tannery Lane, #06-00 > > Crystal Time Building, Singapore. 347778 > > Your Online Office Wizard - http://www.wizoffice.com/ > >
[EMAIL PROTECTED] wrote: ><!doctype html public "-//w3c//dtd html 4.0 transitional//en"> ><html> >Hello everyone, ><br> >etc. Try posting that in plain text, and you might get a response. -Dave
It is not going to work: you are using qmail-pop3d but try to deliver with procmail. You want to use maildrop instead of procmail because maildrop can deliver to maildir. On the qmail list, people will give you a pointer where you can get maildrop (perhaps Sam could put a URL tag in the maildrop rpm, so then I could just do `rpm -qi maildrop' to look up the download info.) Also, you did not properly read the doc coming with the qmail rpm. Otherwise, you would not have talked about the scripts in /var/qmail/boot. Please do not send multiple copies of your message to a mailinglist; it is not going to speed up responses. If anything, the annoyance will turn people away from responding. The time is better spent on describing what you are trying to do. For example, we could just guess that you are trying to pick up mail via pop. Mate
I'm running qmail 1.03 on a RH 6.0 box with kernel 2.2.12 on Pentium 133 with 64 megs of RAM. The performance of sending and receiving mail for some users is great and for others it's slower then dirt. What I'm looking for is some general performance enhancments (config settings, fs settings, etc.) to speed up the sending and checking of mail. The problem does seem to be worse on the qpop side of things. There are only about 50 users on the box right now so things shouldn't be slowing down at all. Thanks Derek
Ricardo Cerqueira wrote: > > > -------------------------------- > > /usr/local/bin/tcpserver -c55 -v -x/etc/tcp.smtp.cdb -u 7791 -g 2108 0 > > smtp \ > > sh -c ' > > /usr/local/qmail/bin/qmail-smtpd > > cd /usr/local/qmail/autoturn > > exec setlock -nx $TCPREMOTEIP/seriallock \ > > maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN 2>&1 | >splogger etrn ' > > Change this line like the above. > > Regards; > Ricardo > Hi: Thanks for the answer. Unfortunately, it still doesn't work. Since I use daemontools instead of syslog, I just substituted the "splogger etrn" part in your script by a call to accustamp / cyclog: /usr/local/bin/tcpserver -c55 -v -x/etc/tcp.smtp.cdb -u 7791 -g 2108 0 smtp \ sh -c ' /usr/local/qmail/bin/qmail-smtpd cd /usr/local/qmail/autoturn exec setlock -nx $TCPREMOTEIP/seriallock \ maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN 2>&1 | \ /usr/local/bin/accustamp | /usr/local/bin/setuser root /usr/local/bin/cyclog -n12 /var/log/qmail-receive & ' After doing this, the output of tcpserver and qmail-smtpd still go to the screen. I also tried to add all the log commands (accustamp, setuser, cyclog, etc.) after the qmail-smtpd invocation in the shell script: sh -c ' /usr/local/qmail/bin/qmail-smtpd 2>&1 | /usr/local/bin/accustamp | /usr/local/bin/setuser root /usr/local/bin/cyclog -n12 /var/log/qmail-receive & With no effect. What am I doing wrong here? Paulo Jan. DDnet.
Hi all~ I just have installed qmail-1.03 at my RedHat 6.0 system. But I can reveive mails. The following is a example of returned mail. What's the problem? ---------------------------------------------------------- Hi. This is the qmail-send program at mail.webro.net. 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, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 27390 invoked by uid 0); 23 Nov 1999 17:01:55 -0000 Date: 23 Nov 1999 17:01:48 -0000 Message-ID: <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] Cc: recipient list not shown: ; Subject: mail5 5555
With this I just can say, you have ezmlm running and [EMAIL PROTECTED] is member of a list, but QMail can't deliver mail to it. I suppose that's not what you expected ?! Some more information (config files, ...) would be good. CU Holger > -----Urspr�ngliche Nachricht----- > Von: �輺�� [mailto:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 23. November 1999 19:31 > An: [EMAIL PROTECTED] > Betreff: [Q] Sorry, no mailbox here by that name. (#5.1.1) ??? > > Hi all~ > > I just have installed qmail-1.03 at my RedHat 6.0 system. > > But I can reveive mails. > > The following is a example of returned mail. > > What's the problem? > > ---------------------------------------------------------- > Hi. This is the qmail-send program at mail.webro.net. > 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, no mailbox here by that name. (#5.1.1) > > --- Below this line is a copy of the message. > > Return-Path: <[EMAIL PROTECTED]> > Received: (qmail 27390 invoked by uid 0); 23 Nov 1999 17:01:55 -0000 > Date: 23 Nov 1999 17:01:48 -0000 > Message-ID: <[EMAIL PROTECTED]> > From: [EMAIL PROTECTED] > Cc: recipient list not shown: ; > Subject: mail5 > > 5555 > > >
Hi, I have a qmail server providng services to a small isp (~700 users) using user maildirs Occaisionally, I'll get a user complaint that their email client (Netscape, eudora, Outlook) will hang on "Downloading message X of Y" If I move the offending message out of the Maildir/new directory, the user is able to download the rest of the messages no problem. Once when this problem was happening to several users on the same Mailing list, the offending email had a control-k imbedded in it that the email clients would puke on when down loading it. Often the email contain binary attachments and are usually large (>200 Kb) but I don't know why that would be a problem. It also has been happening a little more frequently as of late. Anyone else experience this problem or have any wisdom to share? Thanks in advance. James
At one of my client sites running qmail, I run into a peculiar problem that occurs about twice per month and I was wondering if anyone else has encountered these sorts of things. This problem has happened with several different users at one time or another at my client's site. qmail-1.03-10 is installed with the msglog patch so duplicates of incoming and outgoing email are kept on my client's server for tape archiving. All of the end users on his LAN are using Windows 95 with MicroSoft Outlook 97 for an email client connecting to the qmail pop-3 server. All of the users have their client software set to NOT leave email on the server. qmail with the exception of this intermittent problem is very stable and I am very pleased with its performance. I'm inclined to suspect this problem might be one in of the following; My first choice would be MS Outlook email client, secondly something I have set up incorrectly somewhere, then lastly and unlikely, the msglog patch. I would doubt its qmail itself that is causing this intermittent problem so I have left it out of my choices of possibilities. *Symptoms of the problem itself* About twice or so per month a user (no one in particular) will have several emails in their $HOME/Maildir/new directory. Their Win95 workstation will attempt to connect to the pop-3 qmail server and they will get a failed download of the emails. All of the messages that _were_ in their $HOME/Maildir/new will be _moved_ from $HOME/Maildir/new to their $HOME/Maildir/cur and all of the messages will have a ;2 appended to the end of the message file name. Their download of email messages will abort. In subsequent attempts by the user to collect email messages from the qmail pop-3 server the user's email client will fail and no email messages will be downloaded. *A temporary fix* However, if the _oldest_ email in the user's $HOME/Maildir/cur is deleted or removed from the directory, and the ;2 suffix is removed from the messages and they are _moved_ back into the user's $HOME/Maildir/new directory, their email client will download the emails without any problems as if nothing had happened. *My question* My question is, has anyone else encountered the same intermittent problem I have been encountering ? If so, I am curious as to what is causing it and also, how could I prevent it ? Regards, Harley Silver
Hi~ I just have installed qmail + MySQL at my RedHat 6.0 system. I can receive mail to shell account. But I can't receive mail to mysql stored user. The following is some part of /var/log/maillog : Nov 24 03:57:45 mail qmail: 943383465.900086 delivery 35: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ But I already made the user's home dir and Maildir like following : [root@mail control]# ls -al /var/webromail/d/dolphin total 40 drwxr-xr-x 3 webroml webroml 1024 Nov 24 02:40 ./ drwxr-xr-x 2321 webroml webroml 37888 Nov 24 01:55 ../ drwx------ 5 webroml webroml 1024 Nov 24 01:57 Maildir/ I want to receive mails to mysql stored user; p.s. pop3 connection for shell account is ok. but pop3 for mysql stored account has error - Authorization failed.
Have you checked the connectivity to the mySQL database? Use the same information you have in /var/qmail/control/sqlserver with your mysqlclient and do the same query. Did the output look good? Best regards Michael Boman PS The mySQL patch uses crypt() ed password by default. It is not the same as mysql crypt() function. There can be a problem there as well. DS > -----Original Message----- > From: �輺�� [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 24 November, 1999 04:10 AM > To: [EMAIL PROTECTED] > Subject: [Q] qmail + MySQL > > > Hi~ > > I just have installed qmail + MySQL at my RedHat 6.0 system. > > I can receive mail to shell account. > > But I can't receive mail to mysql stored user. > > > The following is some part of /var/log/maillog : > > Nov 24 03:57:45 mail qmail: 943383465.900086 delivery 35: > failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ > > But I already made the user's home dir and Maildir like following : > > [root@mail control]# ls -al /var/webromail/d/dolphin > total 40 > drwxr-xr-x 3 webroml webroml 1024 Nov 24 02:40 ./ > drwxr-xr-x 2321 webroml webroml 37888 Nov 24 01:55 ../ > drwx------ 5 webroml webroml 1024 Nov 24 01:57 Maildir/ > > I want to receive mails to mysql stored user; > > > p.s. pop3 connection for shell account is ok. > but pop3 for mysql stored account has error - Authorization failed. >
> -----Original Message----- > From: Chris Mikkelson [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 19. November 1999 16:59 > To: Ekker, Heinz > Cc: 'QMail-List' > Subject: Re: From: and To: - Headers with SMTP-Messages > > > On Fri, 19 Nov 1999 09:25:06 +0100 , "Ekker, Heinz" writes: > > > You could probably use a variant of the fixup/@fixme hack described > in the FAQ. Feed the message through an appropriate formail command > line to add the headers, and then through forward or qmail-inject > to deliver it to the final destination. > > This will send the message twice through the queue, which is a bit > of a performance hit. That's what I did first - but the results were not really satisfying. A bit of a performance hit does not quite describe it... > I'm looking into rewriting headers in a > wrapper around qmail-queue. > I'm thinking about patching qmail-smtpd a little. Basically it does some header-checking (checks the received: and delivered: for loops) already, and that's were I'm putting my little C-Knowledge in. With the use of (basically) the same function that inserts the received: headers, I'm putting a sender: and a to: - header in (taken from the envelope), if its missing. Messages without the blank line between header and body are bounced. Of course, this 'header rewriting' is not quite as sophisticated as it should be, or as qmail-inject is, but it saves a hop. If anyone is interested, drop me a mail! > -Chris > bye! --- Heinz Ekker/ mailto:[EMAIL PROTECTED] -- home: http://www.slatibartfass.org -- work: NETWAY Operations Center/ mailto:[EMAIL PROTECTED] --- refutile is sistance - defect of borg
On Tue, 23 Nov 1999 21:54:55 +0100 , "Ekker, Heinz" writes: > > You could probably use a variant of the fixup/@fixme hack described > > in the FAQ. Feed the message through an appropriate formail command > > line to add the headers, and then through forward or qmail-inject > > to deliver it to the final destination. > > > > This will send the message twice through the queue, which is a bit > > of a performance hit. > > That's what I did first - but the results were not really satisfying. A bit > of a performance hit does not quite describe it... Yeah, I was being charitable ... qmail-send's throughput is limited by the latency of two to three fsync() calls per message. That will pretty much be a constant bottleneck to message processing. The preprocessing should be done in a per-message process, so that this bottleneck disappears. The point is, plugging the extra program into the qmail pipeline is not where you lose performance: going through the pipeline is. > > I'm looking into rewriting headers in a > > wrapper around qmail-queue. [which will run an extra program, but do everything in one trip through the queue] > I'm thinking about patching qmail-smtpd a little. Basically it does some > header-checking (checks the received: and delivered: for loops) already, and > that's were I'm putting my little C-Knowledge in. With the use of > (basically) the same function that inserts the received: headers, I'm > putting a sender: and a to: - header in (taken from the envelope), if its > missing. Messages without the blank line between header and body are > bounced. Of course, this 'header rewriting' is not quite as sophisticated as > it should be, or as qmail-inject is, but it saves a hop. If anyone is > interested, drop me a mail! You might want to take a look at ofmipd -- it is part of Bernstein's mess822 package, and does header rewriting. About the only thing that keeps it from being a good production mail server is that it is an open relaying server. I don't know how hard it would be to patch it to use rcpthosts. I have a bias (even as a reasonably experienced C programmer) toward using other people's tested code, rather than writing my own hacks from scratch. This is why I was turning you toward formail. It would be a reasonably simple hack to write a qmail-queue wrapper that calls formail. The difference is, this hack gives you all the flexibility of formail (lots) with little effort on your part. Even if you don't foresee exploiting all of that flexibility, it can't hurt to leave the option open for later. -- Chris Mikkelson | Einstein himself said that God doesn't roll dice. But [EMAIL PROTECTED] | he was wrong. And in fact, anyone who has played role- | playing games knows that God probably had to roll quite | a few dice to come up with a character like Einstein. | -- Larry Wall
Greetings... I'm having mail bounce back to senders who are trying to reach an address in one of the domains on my qmail-1.03 server. Below is a failure message I received when I tried sending to it myself. The relevant lines from control files are: rcpthosts: davidjfrank.com virtualdomains: davidjfrank.com:alias-djf And there is a file in alias' home directory called .qmail-djf-HRSpec which contains the proper delivery instructions. This system handles several other domains and everything works just fine. Could the capitalization have anything to do with this? Here are the relevant logfile lines for the message below: Nov 23 18:35:03 unix2 qmail: 943403703.814606 new msg 52864 Nov 23 18:35:03 unix2 qmail: 943403703.814964 info msg 52864: bytes 549 from <[EMAIL PROTECTED]> qp 20938 uid 61 Nov 23 18:35:03 unix2 qmail: 943403703.819238 starting delivery 8515: msg 52864 to local [EMAIL PROTECTED] Nov 23 18:35:03 unix2 qmail: 943403703.819450 status: local 1/10 remote 0/20 Nov 23 18:35:03 unix2 qmail: 943403703.843135 delivery 8515: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Nov 23 18:35:03 unix2 qmail: 943403703.843414 status: local 0/10 remote 0/20 Nov 23 18:35:03 unix2 qmail: 943403703.855484 bounce msg 52864 qp 20941 Nov 23 18:35:03 unix2 qmail: 943403703.857122 end msg 52864 Any ideas about what's happening here? TIA... -Brandon :) ----- Forwarded message from [EMAIL PROTECTED] ----- Date: 24 Nov 1999 00:35:03 -0000 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at unix2.netstream.net. 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, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 20938 invoked from network); 24 Nov 1999 00:35:03 -0000 Received: from unix.netstream.net ([EMAIL PROTECTED]) by unix2.netstream.net with SMTP; 24 Nov 1999 00:35:03 -0000 Received: (qmail 24647 invoked by uid 504); 24 Nov 1999 00:37:45 -0000 Date: Tue, 23 Nov 1999 18:37:45 -0600 From: Brandon Ibach <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Testing... Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i Just testing... ----- End forwarded message -----
I'm trying to install qmail... it's all compiled... but when I try to send an email from another system to the box... it goes to the box, but it doesn't report an error message, but doesn't get delivered. What did I do wrong? Thanks ___________________________ --Mike "Life moves pretty quickly, if you don't stop and look around you might miss it" - Ferris Buler ___________________________
I'm using Qmail 1.03.9 (rpm pakcage) Recently, someone reported that he couldn't send e-mail from his domain to my domain with line feeds carriage return or bare line in the message. Is it normal ? Is there any way to fix it ? ddn ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
On Wed, 24 Nov 1999, deden purnamahadi wrote: > I'm using Qmail 1.03.9 (rpm pakcage) > Recently, someone reported that he couldn't send e-mail from his domain to > my domain with line feeds carriage return or bare line in the message. > Is it normal ? Yes. > Is there any way to fix it ? The preferred way to correct that is to tell the sender to stop using broken mail software. -- Sam
Was it sixdgrees? andy -- ----------------------------------------------------------------------- Andy Walden Work Email: [EMAIL PROTECTED] Network Administrator, Pers Email: [EMAIL PROTECTED] MTCO Communications Phone: (800) 859-6826 "A little nonsense now and then, is relished by the wisest men." -Willi Wonka On Wed, 24 Nov 1999, deden purnamahadi wrote: > I'm using Qmail 1.03.9 (rpm pakcage) > Recently, someone reported that he couldn't send e-mail from his domain to > my domain with line feeds carriage return or bare line in the message. > Is it normal ? Is there any way to fix it ? > > > ddn > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com >
> Subject: Re: line feeds with carriage return > > > Was it sixdgrees? I got one from them today! Well two in fact. Telling me some of their users couldn't send to us even though *they* pointed out that RFC822bis disallowed the bare line feeds. I told them I knew it and pointed them to the MS patch site http://support.microsoft.com/support/kb/articles/Q224/9/83.ASP (though they appear to be running sendmail.) I told them to fix their outgoing mail w/ fixcr if needbe... Michael Boyiazis ----- [EMAIL PROTECTED] NetZero Mail/Sys/Network Admin __________________________________________ NetZero - Defenders of the Free World Get your FREE Internet Access and Email at http://www.netzero.net/download/index.html
Earlier this evening, I received a message from the chap at sixdegrees as well. All of the MX records for the domain that this service was having problems sending mail to were Windows NT machines. This isn't a problem with qmail. It's a problem of the technical mediocrity of those at sixdegrees. -- Derek Callaway <[EMAIL PROTECTED]> Programmer; CE Net, Inc. (302) 854-5440 Ext. 206
Thus spake Derek Callaway: ;Earlier this evening, I received a message from the chap at sixdegrees as ;[ ... ] ;It's a problem of the technical mediocrity of those at ;sixdegrees. It's more than mere technical mediocity; it's mediocrity across the board... I used to be a member of sixdegrees, until I realized why I wasn't receiving any of their member updates. :) I tried multiple times to get some response from their "technical" customer service, but they couldn't be bothered to respond. I eventually decided to terminate my account with them, which took several *repeated* requests until they finally got around with it. When I killed my account with them, I told them (yet again) that it was simply because of their refusal to implement a properly behaved mail server. They could not have cared less. So, neither did I. In summary: sixdegrees is lame. // bob -- // Bob Krzaczek, RIT Center for Imaging Science <[EMAIL PROTECTED]>
At 3:18 PM -0500 11/22/99, Russell Nelson wrote: >Jon Rust writes: > > M$ is trying to emulate an IMAP account with this feature called > > "online check." It basically checks the email, but just returns the > > headers. The user can then decide which emails to download to their > > system. With qmail-pop3d, mail is often lost. Anyone know of a work > > around? > >I haven't seen anyone report this problem yet. Could you go into more >details? Customer is using OE 5 on a Mac running OS9. Lots of messages in his mailbox. Uses the "online check" feature of OE. This gives him a list of messages, their authors, and their subjects. If he then selects the first message, which should download it for viewing, OE flips out, selects the last message, and gives him an error. He says at that point mail is missing. That's all I have for now. I'll run some tcpdumps soon (after Turkey Day). The problem is 100% repeatable. jon
Hi to all! I need suggestions/help on my setup. I have setup quotas on my /var/spool/mail and /home directories. I have 2M quota for /home and 5M for /var/spool/mail. Now I am planning to convert all my existing (and incoming) mail accounts to Maildir format. Obviously, the Maildir is located in each user's homedir so the quota for that filesystem will be affected. I also cannot increase the /home quota. Can we instead link each user's Maildir to a different subdirectory so that the /home quota won't be jeopardized? Or does anyone had similar setup like this? Thanks to everybody! Regards, DOODS
Hello, It is possible to deliver mail to a symbolically linked Maildir. I've a similar setting on a system I set up. The persons homedir is under /usr/local/people/$USER, and their maildir is a symbolic link to /usr/local/mail/$USER/Maildir. Thus each person has two indepentant quotas. Regards, David On Wed, Nov 24, 1999 at 04:02:20PM +0800, Edward Castillo-Jakosalem typed: > > Hi to all! > I need suggestions/help on my setup. > I have setup quotas on my /var/spool/mail and /home directories. I have 2M > quota for /home and 5M for /var/spool/mail. Now I am planning to convert > all my existing (and incoming) mail accounts to Maildir format. Obviously, > the Maildir is located in each user's homedir so the quota for that > filesystem will be affected. I also cannot increase the /home quota. Can > we instead link each user's Maildir to a different subdirectory so that > the /home quota won't be jeopardized? > Or does anyone had similar setup like this? > > Thanks to everybody! > > > > Regards, > > DOODS >
Hi,
I use qmail on the main site of my company, Prescom, and now I have to install local mailboxes for the remote site.
We have only one fixed IP address for the domain prescom.fr, at the main site.
When I send a mail to [EMAIL PROTECTED] and toto is on the remote site I forward, with a .qmail file, the mail to the remote bal : [EMAIL PROTECTED]
Then at the remote site I get the mail with fetchmail, pop3, and deliver it localy with qmail.
Ok
Now I am on the remote site and I want to send a mail to [EMAIL PROTECTED] And tyty is at the main site.
How can I sort this mail and put it in the output queue and keep the local [EMAIL PROTECTED]
The discrimination based on the domain name is not enoughSo I declare the remote site as a subdomain : bxl.prescom.fr.
So, when I am at bxl.prescom.fr I can send the mail to [EMAIL PROTECTED] and [EMAIL PROTECTED] Note that bxl.prescom.fr is the same IP addresse that prescom.fr. OKBut , If I am at the main site and I send a mail to [EMAIL PROTECTED] the forward in the .mail don't change the domain name of the address
and on the remote site a will reject the mail to [EMAIL PROTECTED]So, I use formail to process the "To: " address and pipe the mail to sendmail -oi -t . But unfortunetly, sendmail Reprocess the "Cc" field and I get multiple copies of the mail.
So, I use the -i "Cc:" option of formail to avoid the copies by replacing the "Cc: " by a "Old-Cc: ". But, in that way the reader don't know who receive the mail and can't use the "reply to all" of the mail reader.Ok I have no more solution at that moment, So If someone could help me. Itwill be great.
Sincerely.
-- La vie est belle Pierre Léonard Prescom Tel : 01 30 85 55 61 http://www.leonard-pierre.nom.fr [EMAIL PROTECTED]
I want to get of some spammers mailinglist, but unfortinatly it is (almost) impossible. Can I add their e-mail to a file that deny's them from sending mail to the users on my domain? Regards Michael Boman -- Michael Boman, Systems Engineer WizOffice.Com Pte Ltd - 16 Tannery Lane, #06-00 Crystal Time Building, Singapore. 347778 Your Online Office Wizard - http://www.wizoffice.com/
Is it possible to force qmail to try send all the messages in the queue? Best regards /Michael Boman -- Michael Boman, Systems Engineer WizOffice.Com Pte Ltd - 16 Tannery Lane, #06-00 Crystal Time Building, Singapore. 347778 Your Online Office Wizard - http://www.wizoffice.com/
On Wed, Nov 24, 1999 at 06:44:48PM +0800, Michael Boman wrote: > Is it possible to force qmail to try send all the messages in the queue? /var/qmail/bin/qmail-tcpok killall -ALRM qmail-send 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++
sorry if this was already known to everybody else in the list except from me. i just wanted to say that CorelLinux 1.0 (that new Linux distribution) comes with qmail and not with sendmail (the first distribution i know that comes with qmail by default). this just made me happy and wanted to post to the list... love, peace and stuff, dd
