RE: POP3
On Tue, 29 Aug 2000, Jerry Hsieh wrote: Hi, A stupid question again. I have installed the tcpserver. But there is one thing I don't understand in the menu: tcpserver host port "program" what does the "program" mean? Thanks for your time. Program is what you want to run. eg: /usr/local/bin/tcpserver 0 25 /var/qmail/bin/qmail-smtpd That's just a generalisation, if you want the relay control you'd use the -x option, etc. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
Re: Help getting Qmail to run with tcpserver
On Tue, 29 Aug 2000, Peter Janett wrote: I really can't seem to get Qmail to run with tcpserver as far as the pop service goes. I've followed all the directions on LWQ, with the exception of Paul Gregg's checkpasswd. Inetd will probably work for me, but I need to setup pop-before SMTP, and I can't seem to get the IP address of the calling client when I run Qmail through inetd. I'm wondering if my startup scripts are wrong, or in the wrong order, etc. I've included all the relevant file contents below, including the inetd lines that work. I'm looking to get tcpserver to work, or finding a way to pass the IP address of the calling client to pass through checkpassword using inetd. I'm on a Sun Sparc 2.6. I no longer run inetd, however I had an hpux machine that couldn't live without running telnetd thru it (FreeBSD does it just fine). That said.. It depends on what you're using for pop before smtp. I'm using smtp-poplock by David Harris (http://www.davideous.com/smtp-poplock/) and have had no problems at all with it. I'm starting everything thru rc.local, here's how I start the pop3 service: /usr/local/bin/tcpserver 0 110 /usr/local/sbin/spop3d 2 /var/log/poplog and here's how I start qmail-smtpd: /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -g 1001 -u 1004 0 25 \ /usr/sbin/relaylock /var/qmail/bin/qmail-smtpd The -x /etc/tcp.smtp.cdb isn't really needed in my case as it only has the 127. line in it. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
Mail Protocol Issue: BCC only?
Hi everyone, I asked a few weeks ago about known issues with qmail not delivering BCC messages. After investigating further, the client is claiming that the messages that are not delivered have ONLY a BCC (no to, no cc). In a quick reading of RFC822, it appears that there is some ambiguity to the spec (surprise!)... a "destination" is required, where destination is defined as a To:, CC: or Bcc:. But, it also says that the Bcc: can be put only on the author's copy, or on all Bcc recipients copies, but NOT on To: or CC: recipient copies of the message. It's optional in the first two cases. So, in theory, a message with a BCC only would have no To:, CC:, or Bcc: headers, at least in some cases. Question is, is the message then a "legal" message, or would qmail just drop it since there is no "destination"? I know Dan is a stickler for observing correct protocol (I agree with him), but I'm not sure if this is a bug or "expected behavior". Thanks! -Scott
Re: Mail Protocol Issue: BCC only?
On Wed, Aug 30, 2000 at 08:10:29AM -0400, Scott Sharkey wrote: I asked a few weeks ago about known issues with qmail not delivering BCC messages. I don't think that there is such a problem *in general*. Unfortunately, I don't have your previous message handy. After investigating further, the client is claiming that the messages that are not delivered have ONLY a BCC (no to, no cc). In a quick reading of RFC822, it appears that there is some ambiguity to the spec (surprise!)... a "destination" is required, where destination is defined as a To:, CC: or Bcc:. But, it also says that the Bcc: can be put only on the author's copy, or on all Bcc recipients copies, but NOT on To: or CC: recipient copies of the message. It's optional in the first two cases. Your analysis is correct. The only part of qmail that handles this is qmail-inject, and it handles this case correctly by always removing the Bcc: header and inserting a dummy, but valid Cc: header if no Addresses are left: if (!htypeseen[H_TO] !htypeseen[H_CC]) puts("Cc: recipient list not shown: ;\n"); The rest of qmail couldn't care less about the contents of previous headers. qmail will happily deliver an incoming mail with no headers at all. It will insert its own Received: headers, of course. The only way I can think of that qmail may drop a Bcc: mail is the following: An external Bcc mail comes in without any destination headers and is fed to some script that tries to reinsert the mail without giving new destination addresses, but that would be nonsensical, I think. So, in theory, a message with a BCC only would have no To:, CC:, or Bcc: headers, at least in some cases. Question is, is the message then a "legal" message, or would qmail just drop it since there is no "destination"? I know Dan is a stickler for observing correct protocol (I agree with him), but I'm not sure if this is a bug or "expected behavior". There's also the important point of "being liberal in what you accept". Could you please (re-)provide some more details, maybe it is a MUA problem. Jost -- | [EMAIL PROTECTED] Please help stamp out spam! | | Postmaster, JAPH, resident answer machine am RZ der RUB | | Pluralitas non est ponenda sine necessitate | | William of Ockham (1285-1347/49) |
Re: Mail Protocol Issue: BCC only?
Scott Sharkey [EMAIL PROTECTED] wrote: I asked a few weeks ago about known issues with qmail not delivering BCC messages. None I know of. After investigating further, the client is claiming that the messages that are not delivered have ONLY a BCC (no to, no cc)...So, in theory, a message with a BCC only would have no To:, CC:, or Bcc: headers, at least in some cases. Dan thought of this. He puts an empty list in the "cc:" field, so his messages are definitely valid. It is possible that the client's MTA is broken, and can't handle empty recipient lists; they look like this: "CC: recipient list not shown: ;". Len. -- Moral: Don't assume that you can omit random pieces of punctuation. -- Dan Bernstein
fastforward and :include:
Hi all I am trying to use :include: lines in /etc/aliases with fastforward, but aren't getting very far and the man pages aren't helping me. I think I'm just going through some kind of mental dropout here...Anyway could someone please brief me on the usage of :include: files with fastforward and qmail? Thanks! /BR Manager InterPlanetary Solutions http://ipsware.com/
Sendmail problem...BUG !
I have a problem with the /var/qmail/bin/sendmail program i try to send a mail via a script (AMaViS) but the command line doesn't work : #!/bin/sh cat EOF | /usr/lib/sendmail -i -t From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test my test text. EOF i find my problem ! there is a little bug in qmail ! if you use qmail-inject as a link to datemail (to put the date) AND try to use sendmail with any option you want it add the -H or -a option (sgetopt.c) ... so when i want to call sendmail, it call qmail-inject which call datemail which call sendmail with not recognized options -H or -a ... BUG (or bad utilisation) reported :) Dji -- Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences Informatiques) e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED] www: http://djidji.citeweb.net / http://www.essi.fr/~audouy
Re: Sendmail problem...BUG !
On Wed, Aug 30, 2000 at 03:14:19PM +0200, Audouy J?r?me wrote: I have a problem with the /var/qmail/bin/sendmail program i try to send a mail via a script (AMaViS) but the command line doesn't work : #!/bin/sh cat EOF | /usr/lib/sendmail -i -t From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test my test text. EOF i find my problem ! there is a little bug in qmail ! if you use qmail-inject as a link to datemail (to put the date) If I understand you correctly, then this is not the way you are meant to arrange these programs. You might link /var/qmail/bin/datemail to sendmail or maybe link /var/qmail/bin/sendmail to sendmail but definitely *do not* link anything to /var/qmail/bin/qmail-inject. Show us the output of: ls -l /var/qmail/bin BUG (or bad utilisation) reported :) If I understand you correctly, then "bad utilisation". Regards.
RBL/MAPS/DUL etc. without rblsmtpd?
Am i to understand that rblsmtpd's devlopment has ceased? I think DJB's page says some mention of that, and also instructs that the functionality has been introduced into tcpserver now. LWQ still makes mention of using rblsmtpd, and i'm trying to set this up on a new server i'm toying with. Anybody know any good instructions on setting these black hole lists up with tcpserver? -- ___ _ __ _ __ /___ ___ /__ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [-[system info]---] 8:20am up 111 days, 14:23, 2 users, load average: 0.06, 0.10, 0.13
Re: RBL/MAPS/DUL etc. without rblsmtpd?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30 Aug 2000, at 8:24, John Gonzalez/netMDC admin wrote: Am i to understand that rblsmtpd's devlopment has ceased? I think DJB's page says some mention of that, and also instructs that the functionality has been introduced into tcpserver now. You're reading it wrong. It says that rblsmtpd became part of ucspi-tcp package, not of tcpserver. Get the newest ucspi-tcp from http://cr.yp.to/ucspi-tcp.html and when you build the programs, rblsmtpd gets built, too. -BEGIN PGP SIGNATURE- Version: PGP 6.5.2 -- QDPGP 2.61a Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOa0MpFMwP8g7qbw/EQIeCwCeISpDc9PqtjQ5X7T1yhFm1KziuH4AoLCK 1MRn3AB81jPQ7emD89XZuYj1 =4DGc -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Re: RBL/MAPS/DUL etc. without rblsmtpd?
On Wed, 30 Aug 2000, Petr Novotny wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | On 30 Aug 2000, at 8:24, John Gonzalez/netMDC admin wrote: | | Am i to understand that rblsmtpd's devlopment has ceased? I think | DJB's page says some mention of that, and also instructs that the | functionality has been introduced into tcpserver now. | | You're reading it wrong. It says that rblsmtpd became part of | ucspi-tcp package, not of tcpserver. Get the newest ucspi-tcp from | http://cr.yp.to/ucspi-tcp.html and when you build the programs, | rblsmtpd gets built, too. Ah :) no wonder i cant find any information on anything but rblsmtpd :) I thought perhaps everybody was being lazy and hadnt switched over to the 'new method' yet :) -- ___ _ __ _ __ /___ ___ /__ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [-[system info]---] 8:30am up 111 days, 14:33, 3 users, load average: 0.11, 0.13, 0.13
Re: RBL/MAPS/DUL etc. without rblsmtpd?
You misunderstood the statement. rblsmtpd is now part of the ucspi-tcp package. See: http://cr.yp.to/ucspi-tcp.html On Wed, 30 Aug 2000, John Gonzalez/netMDC admin wrote: Am i to understand that rblsmtpd's devlopment has ceased? I think DJB's page says some mention of that, and also instructs that the functionality has been introduced into tcpserver now. LWQ still makes mention of using rblsmtpd, and i'm trying to set this up on a new server i'm toying with. Anybody know any good instructions on setting these black hole lists up with tcpserver? -- ___ _ __ _ __ /___ ___ /__ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [-[system info]---] 8:20am up 111 days, 14:23, 2 users, load average: 0.06, 0.10, 0.13 - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: [maildropl] upper and lower case
Daniel Augusto Fernandes [EMAIL PROTECTED] wrote: I didn't find how to make qmail lowecase the username... How do I do that? qmail folds the case on the local part of email addresses automatically. You don't need to do anything. Mail received for "JoeBob" will automatically be delivered to local user "joebob". Charles -- -- Charles Cazabon [EMAIL PROTECTED] QCC Communications Corporation Saskatoon, SK My opinions do not necessarily represent those of my employer. --
Re: Changing mail deliver program to MAILDROP
David Benfell [EMAIL PROTECTED] wrote: Perhaps someone can help me to see the light here. I'm given to understand that people here complain about fetchmail's handing off of mail to the MTA as being flawed. It is. It causes mail loops, bogus bounces, bogus double-bounces, and generally creates headaches for any postmaster which cares about the stuff that ends up in their inbox. Note that I'm biased; I'm the author of getmail. I had trouble with it when I was still using sendmail, blamed it on sendmail (another "Lost in Space" episode), and bypassed the problem by having fetchmail hand off directly to procmail. This is a good solution to many of the problems with fetchmail. These days, having had way too many sendmail adventures, I've switched to qmail. Calling the MDA (now maildrop) directly from fetchmail is an inherited arrangement from a resolution to earlier troubles. And, with this arrangement, I've had no trouble with fetchmail. I would consider switching to getmail, but I didn't see a way to run this via ssh. Is this possible? As in, run getmail in a shell which happens to be communicating over an SSH session? I don't see the problem. This isn't particularly germane to qmail, so contact me in private email for further info. Charles -- -- Charles Cazabon [EMAIL PROTECTED] --
Re: Changing mail deliver program to MAILDROP
David Benfell wrote: On Wed, Aug 23, 2000 at 08:08:44PM -0200, Daniel Augusto Fernandes wrote: Could you help me on how to change my qmail start scripts to use maildrop as the deliver program? This isn't how it's done. Each user chooses to use maildrop, as he would procmail. I guess you can use the .qmail file to do this, but I call it directly from fetchmail in my .fetchmailrc file with: mda "/usr/local/bin/maildrop" Well, I would like to use maildrop to be my MDA not just like a replacement to procmail. But, thanks... . . . Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] GCSNethttp://www.gcsnet.com.br/ Se você não encontra o sentido das coisas é porque este não se encontra, se cria. Antoine Saint-Exupéry
RE: fastforward and :include:
The :include: line looks like this: name: :include: /path/to/file ^ ^ What does the name signify? And are there meant to be two colons immediately after each other (shown)? Also, is the /path/to/file meant to be to the .bin file or the un-binarised version? Thanks again /BR Manager InterPlanetary Solutions http://ipsware.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 31, 2000 1:02 AM To: qmail Subject: Re: fastforward and :include: On Mit, 30 Aug 2000, Brett Randall wrote: Hi all I am trying to use :include: lines in /etc/aliases with fastforward, but aren't getting very far and the man pages aren't helping me. I think I'm just going through some kind of mental dropout here...Anyway could someone please brief me on the usage of :include: files with fastforward and qmail? Thanks! Have you read the file ALIAS in the fastforwarrd-package? After newinclude and newaliases everything works fine for me. The file is just a list of email-adresses. Don't forget to run newinclude and don't forget to put | fastforward -d /etc/aliases.cdb in your ~alias/.qmail-default. hih, -- Oliver Koch Registered Linux User 163952 Oh, I am a C programmer and I'm okay I muck with indices and structs all day And when it works, I shout hoo-ray Oh, I am a C programmer and I'm okay
AW: QMail not allways online
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Try serial mail. I have similar setup and it works fine. I installed serialmail and now everything is good. Thanks to you and all other who answered... Bye, *B* erny -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.0.2i iQA/AwUBOa0WHSpywmLWA7OwEQLougCfRywsz1eC2S3qo79L1sYyuXE1rn4AoJTu jIIYYa6ZyK6meVnYUsNdpK41 =ja75 -END PGP SIGNATURE-
Re[2]: Sendmail problem...BUG !
Le mercredi 30 août 2000 à 4:11:49 PM, [EMAIL PROTECTED] a écris: On Wed, Aug 30, 2000 at 03:14:19PM +0200, Audouy J?r?me wrote: I have a problem with the /var/qmail/bin/sendmail program i try to send a mail via a script (AMaViS) but the command line doesn't work : #!/bin/sh cat EOF | /usr/lib/sendmail -i -t From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test my test text. EOF i find my problem ! there is a little bug in qmail ! if you use qmail-inject as a link to datemail (to put the date) If I understand you correctly, then this is not the way you are meant to arrange these programs. You might link /var/qmail/bin/datemail to sendmail or maybe link /var/qmail/bin/sendmail to sendmail but definitely *do not* link anything to /var/qmail/bin/qmail-inject. Show us the output of: ls -l /var/qmail/bin now i have (normal way): /var/qmail/bin: ... -rwxr-xr-x 1 root qmail 126 Aug 30 15:30 datemail ... -rwxr-xr-x 1 root qmail33244 Aug 30 15:34 qmail-inject ... -rwxr-xr-x 1 root qmail8700 Aug 30 15:35 sendmail ... but when i had the problem, i had (wrong way): /var/qmail/bin: ... -rwxr-xr-x 1 root qmail 126 Aug 30 15:30 datemail ... lrwxrwxrwx 1 root qmail33244 Aug 30 15:34 qmail-inject - datemail ... -rwxr-xr-x 1 root qmail8700 Aug 30 15:35 sendmail ... and i try : cat EOF | /usr/sbin/sendmail -i -t From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test test text. EOF of course in /usr/sbin : ... lrwxrwxrwx 1 root root 23 Aug 24 16:25 sendmail - /var/qmail/bin/sendmail ... it tells me: sendmail: illegal option -- H sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ] BUG (or bad utilisation) reported :) If I understand you correctly, then "bad utilisation". no really because if i want to put the local date in all mails i could use: ln -s /var/qmail/bin/datemail /var/qmail/bin/qmail-inject without any problem with /var/qmail/bin/sendmail no ? (i saw this solution somewhere but i don't remind where exactly) Dji. -- Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences Informatiques) e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED] www: http://djidji.citeweb.net / http://www.essi.fr/~audouy
Re: [maildropl] upper and lower case
Charles Cazabon wrote: . . . qmail folds the case on the local part of email addresses automatically. You don't need to do anything. Mail received for "JoeBob" will automatically be delivered to local user "joebob". So I thing I am not understanding something... Attached is part of my mailog in which we can see local trying to deliver usernames in caps. I was just wondering if maildrop searches the userdb in case sensitive! Mr. Sam? Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] GCSNethttp://www.gcsnet.com.br/ Se você não encontra o sentido das coisas é porque este não se encontra, se cria. Antoine Saint-Exupéry Aug 29 09:36:56 catope qmail: 967552616.126485 starting delivery 587: msg 731434 to local [EMAIL PROTECTED] Aug 29 09:36:56 catope qmail: 967552616.126979 status: local 1/10 remote 0/20 Aug 29 09:36:56 catope maildrop[2888]: Invalid user specified. Aug 29 09:36:56 catope qmail: 967552616.520117 delivery 587: deferral: maildrop:_Invalid_user_specified./ Aug 29 09:36:56 catope qmail: 967552616.520589 status: local 0/10 remote 0/20 Aug 29 13:04:34 catope qmail: 967565074.621529 starting delivery 588: msg 731442 to local [EMAIL PROTECTED] Aug 29 13:04:34 catope qmail: 967565074.622024 status: local 1/10 remote 0/20 Aug 29 13:04:34 catope qmail: 967565074.871207 starting delivery 590: msg 731437 to local [EMAIL PROTECTED] Aug 29 13:04:34 catope qmail: 967565074.871584 status: local 2/10 remote 1/20 Aug 29 13:04:35 catope qmail: 967565075.036302 starting delivery 593: msg 731446 to local [EMAIL PROTECTED] Aug 29 13:04:35 catope qmail: 967565075.036676 status: local 3/10 remote 3/20 Aug 29 13:04:35 catope qmail: 967565075.039107 starting delivery 595: msg 731450 to local [EMAIL PROTECTED] Aug 29 13:04:35 catope qmail: 967565075.039577 status: local 4/10 remote 4/20 Aug 29 13:04:35 catope qmail: 967565075.042744 starting delivery 596: msg 731445 to local [EMAIL PROTECTED] Aug 29 13:04:35 catope qmail: 967565075.285302 delivery 588: deferral: maildrop:_Invalid_user_specified./ Aug 29 13:04:35 catope qmail: 967565075.285778 status: local 5/10 remote 6/20 Aug 29 13:04:35 catope maildrop[2900]: Invalid user specified. Aug 29 13:04:36 catope qmail: 967565076.068265 delivery 590: deferral: maildrop:_Invalid_user_specified./ Aug 29 13:04:36 catope qmail: 967565076.068745 status: local 9/10 remote 11/20 Aug 29 13:04:36 catope qmail: 967565076.069135 delivery 593: deferral: maildrop:_Invalid_user_specified./ Aug 29 13:04:36 catope qmail: 967565076.069501 status: local 8/10 remote 11/20 Aug 29 13:04:36 catope qmail: 967565076.069867 delivery 595: success: did_0+0+1/ Aug 29 13:04:35 catope maildrop[2908]: Invalid user specified. Aug 29 13:04:36 catope qmail: 967565076.070304 status: local 7/10 remote 11/20 Aug 29 13:04:36 catope qmail: 967565076.070698 delivery 596: deferral: maildrop:_Invalid_user_specified./
QmailAdmin: Invalid Login
Hi, On Linux 6.0, using vadduser dominname postmaster_password account for domian is created, but when I try to login QMailAdmin screen: POP Account : postmaster Password : postmaster_password Domain : domainname.com gives me Invalid Login Does anyone had this problem and found solution?
Re: QmailAdmin: Invalid Login
Hi I had this problem and the solution was to put the option --enable-vpopuser=vpopmail in the ./config phase of the installation, where vpopmail is the user belonging to vchkpw group previously created. It worked. Bye - Original Message - From: swapna To: [EMAIL PROTECTED] Sent: Wednesday, August 30, 2000 5:48 PM Subject: QmailAdmin: Invalid Login Hi, On Linux 6.0, using vadduser dominname postmaster_password account for domian is created, but when I try to login QMailAdmin screen: POP Account : postmaster Password : postmaster_password Domain : domainname.com gives me Invalid Login Does anyone had this problem and found solution?
Re: Strange Problems with tcprules.
"TD" [EMAIL PROTECTED] wrote: I am running qmail and vpopmail. Hi. My qmail server has been humming along quite nicely. Its a small server with a small amount of users. I noticed logging in via POP had become very slow so I decided to talk a closer look. I notice that the tcprules process and the vchkpw process is sometimes using up to 90% of CPU consitently. I also noticed a lot of large files in the /etc/tcprules.d directory with the following type of names: qmail-smtpd.tmp.24168 qmail-smtpd.tmp.24105 etc Hmm. Using an SMTP-after-POP patch? Sounds like it's fubar'd. -Dave
Problems with rblsmtpd again..
I'm sure it's something i'm doing, but for some reason, whenever i add rblsmtpd stuff to my qmail-smtpd startup script, it gets fubar'ed. I have the normal stuff commented out, which if i put it back it works fine. With the rblsmtpd stuff in there, when telnetting to port 25, it's just dead... I'm sure it's some kind of syntax error, but i cant figure it. This is also a patched rblsmtpd for the new MAPS no TXT records, i dont think that has anything to do with it tho, any ideas? Here's the relevant info: oblivion:/var/qmail/supervise/qmail-smtpd# cat run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILUID -g $NOFILESGID 0 smtp \ /usr/local/bin/rblsmtpd -rrbl.maps.vix.com \ /usr/local/bin/rblsmtpd -rdul.maps.vix.com \ /usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd 21 #/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ #-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 -- ___ _ __ _ __ /___ ___ /__ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [-[system info]---] 10:25am up 111 days, 16:28, 3 users, load average: 0.41, 0.22, 0.20
Re: [maildropl] upper and lower case
Daniel Augusto Fernandes [EMAIL PROTECTED] wrote: I didn't find how to make qmail lowecase the username... How do I do that? qmail-local does it automatically. -Dave
TCPSERVER + RBLSMTPD
DJB: Are there any plans to release the official version of rblsmtpd (in tcpserver) with the patch to work with the A records when TXT records aren't available?
Re: [Fwd: Re: Timezone]
Eric Cox wrote: Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 8713 invoked from network); 30 Aug 2000 03:20:52 - Received: from muncher.math.uic.edu (131.193.178.181)by 192.dsl7839.rcsis.com with SMTP; 30 Aug 2000 03:20:52 - Received: (qmail 31869 invoked by uid 1002); 30 Aug 2000 03:19:49 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 24239 invoked from network); 30 Aug 2000 03:19:48 - Received: from dsl-cap-209-115-249-138-cgy.nucleus.com (HELO dsl-ch-l15-c80-n249-i138-cgy.nucleus.com) (209.115.249.138)by muncher.math.uic.edu with SMTP; 30 Aug 2000 03:19:48 - Received: (qmail 19854 invoked from network); 29 Aug 2000 21:19:18 -0600 Received: from dsl-cap-209-115-249-136-cgy.nucleus.com (HELO vodacomm.ca) ([EMAIL PROTECTED])by dsl-cap-209-115-249-138-cgy.nucleus.com with SMTP; 29 Aug 2000 21:19:18 -0600 Sender: sfbosch Message-ID: [EMAIL PROTECTED] Date: Tue, 29 Aug 2000 21:14:15 -0600 From: "Stephen F. Bosch" [EMAIL PROTECTED] X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.16 i586) X-Accept-Language: en MIME-Version: 1.0 CC: Qmail Mailing List [EMAIL PROTECTED] Subject: Re: Timezone References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mozilla-Status: 8011 X-Mozilla-Status2: X-UIDL: 967605652.8716.dream Are you sure? I've quoted the all the headers above to show you my Netscape clearly does not do it. Here are some dates from other messages, all in Netscape: Date: Tue, 29 Aug 2000 22:34:04 GMT Date: Tue, 29 Aug 2000 22:51:22 +0200 Date: Tue, 29 Aug 2000 18:04:11 -0400 (EDT) If Netscape is translating them, should they not all be a common timezone? Okay, for outgoing messages, perhaps... right... we're getting confused over what is where, etc... The point is that Outlook incorrectly translates the header information and shows the UTC time for mail that comes through a qmail server, whereas Netscape properly translates and shows the local time of arrival. I'm curious -- how does my mail appear in your mailbox? Does it show UTC or local time of arrival? -Stephen-
Re: [Fwd: Re: Timezone]
"Stephen F. Bosch" wrote: . . . Okay, for outgoing messages, perhaps... right... we're getting confused over what is where, etc... The point is that Outlook incorrectly translates the header information and shows the UTC time for mail that comes through a qmail server, whereas Netscape properly translates and shows the local time of arrival. I'm curious -- how does my mail appear in your mailbox? Does it show UTC or local time of arrival? -Stephen- As far as I know Netscape show the localtime in the message list but doesn't change anything in the header. But, in some cases it doesn't show it correctly. Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] GCSNethttp://www.gcsnet.com.br/ Se você não encontra o sentido das coisas é porque este não se encontra, se cria. Antoine Saint-Exupéry
Re: [maildropl] upper and lower case
On Wed, 30 Aug 2000, Dave Sill wrote: Daniel Augusto Fernandes [EMAIL PROTECTED] wrote: I didn't find how to make qmail lowecase the username... How do I do that? qmail-local does it automatically. [snip] I have to say that we are having a similar problem with qMail+Cyrus (a system I inherited some months back and have been toying with converting to qMail+Courier instead). I'm begining to think it has something to do with case sensitivity in the alias assignments within users/assign (all real-world addresses are assigned to the cyrus user for local delivery). I get regular complaints from people who continue to give out capitalized versions of their E-mail address (or set them as authoritative addresses in their mail clients), regardless of how often we tell them not to do that. -- Jeremy Stanley, Information Security Specialist Foveon Corporation --
Slooooooooowwww attachment upload
Howdy, I've sent this problem to the list once before and never got any responses that helped, so I'm trying again. Whenever I send an email (To my Linux server running qmail-ldap) with an attachment, no matter how small, it gets to a certain point, and simply hangs. Here's the kicker though: When I use Linux Netscape as the client, this happens. When I use any Mac based email client, it's still abnormally slow, but it doesn't hang. Eventually it goes. I've determined that it's not a network problem, as I can download mail with attachments with no problems. I can also upload files via scp at a normal 10Mbps network rate. This is the command line used to start the smtp server: /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -u 401 -g 417 0 smtp /var/qmail/bin/qmail-smtpd Anyone have any insights? Thanks in advance. -- Daniel Ceregatti Systems and Technology Manager Kick Media Corporation (310)280-5421 (310)280-5440 Fax
Re: Slooooooooowwww attachment upload
On Wed, Aug 30, 2000 at 10:23:36AM -0700, Daniel Ceregatti wrote: Howdy, I've sent this problem to the list once before and never got any responses that helped, so I'm trying again. Whenever I send an email (To my Linux server running qmail-ldap) with an attachment, no matter how small, it gets to a certain point, and simply hangs. Here's the kicker though: When I use Linux Netscape as the client, this happens. When I use any Mac based email client, it's still abnormally slow, but it doesn't hang. Eventually it goes. I've determined that it's not a network problem, as I can download mail with attachments with no problems. I can also upload files via scp at a normal 10Mbps network rate. What do the logs say? Does this happen when you send a really long message without attachments through qmail? PGP signature
Upper/lower case
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, following the current debate, could anyone please give a simple true/false to each of the following questions (and, hopefully, point out the right manpage)? Some are trivial, some I could not find. 1. Matching a username, qmail-local smashes the case to lower. 1a. Consequence or 1: BoB never gets mail. 2. Matching an extension, qmail-local smashes the case to lower. 2a. Consequence: .qmail-ExTension is useless. 3. $DEFAULT contains the string as typed by sender, not the lowercased version. 4. Dtto for $EXT, $EXT2 etc. 5. Dtto for $HOST, $HOST2 etc. 5. Dtto for $LOCAL. Anyone? -BEGIN PGP SIGNATURE- Version: PGP 6.5.2 -- QDPGP 2.61a Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOa02xlMwP8g7qbw/EQJrIQCdH9qbjGeORBqm8Yb1lnuLmVhMy04AoNcg GUoy1C8DdSvOf8pIVap9/gzd =aUYw -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Re: [maildropl] upper and lower case
Jeremy Stanley [EMAIL PROTECTED] wrote: On Wed, 30 Aug 2000, Dave Sill wrote: Daniel Augusto Fernandes [EMAIL PROTECTED] wrote: I didn't find how to make qmail lowecase the username... How do I do that? qmail-local does it automatically. [snip] I have to say that we are having a similar problem with qMail+Cyrus (a system I inherited some months back and have been toying with converting to qMail+Courier instead). I'm begining to think it has something to do with case sensitivity in the alias assignments within users/assign (all real-world addresses are assigned to the cyrus user for local delivery). I get regular complaints from people who continue to give out capitalized versions of their E-mail address (or set them as authoritative addresses in their mail clients), regardless of how often we tell them not to do that. I looked at the PIC's and realized qmail-lspawn checks users/cdb before calling qmail-local, ,and thought I might be on to something, but qmail-lspawn lowercases the local part before looking for it in users/cdb, so we're back to square one. Is this repeatable? Do mixed-case local parts always fail? -Dave
Re: Slooooooooowwww attachment upload
It's a MUA problem. Mails with attachments are still normal ascii mails. It completely indifferent to the MTA (unless that MTA looks at the body. Do you have some kind of filter, virus scanner, etc?) RC On Wed, Aug 30, 2000 at 10:23:36AM -0700, Daniel Ceregatti wrote: Howdy, I've sent this problem to the list once before and never got any responses that helped, so I'm trying again. Whenever I send an email (To my Linux server running qmail-ldap) with an attachment, no matter how small, it gets to a certain point, and simply hangs. Here's the kicker though: When I use Linux Netscape as the client, this happens. When I use any Mac based email client, it's still abnormally slow, but it doesn't hang. Eventually it goes. I've determined that it's not a network problem, as I can download mail with attachments with no problems. I can also upload files via scp at a normal 10Mbps network rate. This is the command line used to start the smtp server: /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -u 401 -g 417 0 smtp /var/qmail/bin/qmail-smtpd Anyone have any insights? Thanks in advance. -- Daniel Ceregatti Systems and Technology Manager Kick Media Corporation (310)280-5421 (310)280-5440 Fax -- +--- | 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 010 - Fax: +351 21 011 PGP signature
.qmail-default contents incorrect
Qmailers: I have the following in my /var/qmail/etc/.qmail-default file: (all on one line) | RESPONSE=`/var/qmail/bin/fastforward -nd /etc/aliases.cdb`; STRING='Sorry, no mailbox here by that name. (#5.1.1)'; if [ $RESPONSE = $STRING ]; then /var/qmail/bin/forward "$EXT"~"$HOST"@smtp.bigmaildomain.com; else /var/qmail/bin/fastforward -d /etc/aliases.cdb; fi I am getting the following error message in /var/log/syslog Aug 30 10:38:44 smtp01.load.com qmail: [ID 748625 mail.info] 967657124.271047 starting delivery 1: msg 972173 to local [EMAIL PROTECTED] Aug 30 10:38:44 smtp01.load.com qmail: [ID 748625 mail.info] 967657124.273059 status: local 1/10 remote 0/20 Aug 30 10:38:44 smtp01.load.com qmail: [ID 748625 mail.info] 967657124.328453 delivery 1: deferral: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)//bin/sh:_test:_unknown_operato r_Sorry,/ Now I have an /etc/aliases.cdb file which does not contain the email address: [EMAIL PROTECTED] and I want to check if it will be able to be passed through to a default forward line. The reason for this is that it seems that using fastforward with /etc/aliases.cdb and virtualdomains are kind of mutually exclusive. The virtualdomains file gets processed before any check of the /etc/aliases.cdb file is performed thus bypassing fastforward. And if there are several (100's) of emails which don't stay local, then I have hundreds of .qmail files for the exceptions seems to me that would be very inefficient. Here is an example of my environment: I have some very fast front-end smtp (qmail) systems that receive mail to be either forwarded to an external email address or forwarded to an internal email database. So Say I have a virtual domain: virtdom.com and most mail gets delivered internally and forwarded to the mail database system in the format of username~[EMAIL PROTECTED] and some other emails get forwarded via an aliases file to an external email address. Would the above .qmail-default file work if correctly formatted. Thanks. -- Specializing in computer and network consulting... Timothy Lorenc USmail: Lorenc Advantage, Inc. Consultant/President 6732 E. State Blvd. PMB 304 Email: [EMAIL PROTECTED] Fort Wayne, IN 46815-7762
Re: .qmail-default contents incorrect
On Wed, Aug 30, 2000 at 01:13:20PM -0500, Timothy Lorenc wrote: Qmailers: I have the following in my /var/qmail/etc/.qmail-default file: (all on one line) | RESPONSE=`/var/qmail/bin/fastforward -nd /etc/aliases.cdb`; STRING='Sorry, no mailbox here by that name. (#5.1.1)'; if [ $RESPONSE = $STRING ]; then /var/qmail/bin/forward "$EXT"~"$HOST"@smtp.bigmaildomain.com; else /var/qmail/bin/fastforward -d /etc/aliases.cdb; fi Put the $RESPONSE and $STRING in quotes. Also note that if fastforward is sending the error on standard error it might not be caught. PGP signature
Re: Slooooooooowwww attachment upload
Yes, I forgot to mention that I have Amavis scanning the emails for virii. But Amavis basically boils down to renaming qmail-remote and qmail-local to qmail-remote-real and qmail-local-real, respectively, and linking the Amavis virus scanner program to qmail-local and qmail-remote. I have conducted tests where I've removed these links and renamed the files back to their original names then restarted qmail, and this has not solved the problem. Since I did not do the original installation of qmail on this machine, I'm not aware of any other filters. Also, the logs don't show anything out of the ordinary. I'm looking through /var/log/maillog. Is there some other log file that might help? I'm somewhat new to qmail. Where would I look for other filters? Thanks Ricardo Cerqueira wrote: It's a MUA problem. Mails with attachments are still normal ascii mails. It completely indifferent to the MTA (unless that MTA looks at the body. Do you have some kind of filter, virus scanner, etc?) RC On Wed, Aug 30, 2000 at 10:23:36AM -0700, Daniel Ceregatti wrote: Howdy, I've sent this problem to the list once before and never got any responses that helped, so I'm trying again. Whenever I send an email (To my Linux server running qmail-ldap) with an attachment, no matter how small, it gets to a certain point, and simply hangs. Here's the kicker though: When I use Linux Netscape as the client, this happens. When I use any Mac based email client, it's still abnormally slow, but it doesn't hang. Eventually it goes. I've determined that it's not a network problem, as I can download mail with attachments with no problems. I can also upload files via scp at a normal 10Mbps network rate. This is the command line used to start the smtp server: /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -u 401 -g 417 0 smtp /var/qmail/bin/qmail-smtpd Anyone have any insights? Thanks in advance. -- Daniel Ceregatti Systems and Technology Manager Kick Media Corporation (310)280-5421 (310)280-5440 Fax -- +--- | 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 010 - Fax: +351 21 011 --- Part 1.2Type: application/pgp-signature -- Daniel Ceregatti Systems and Technology Manager Kick Media Corporation (310)280-5421 (310)280-5440 Fax
Re: Timezone
Stephen F. Bosch [EMAIL PROTECTED] writes on 29 August 2000 at 22:00:15 + Daniel Augusto Fernandes wrote: qmail uses UTC for the timezone in headers, as it should. Set the timezone in your MUA/mail reader, and it should automatically translate timestamps to local time, if it's intelligent enough. Yes, I agree with the MUA being responsible for doing the translation. But some doesn't do that. Like Mickeysoft's Outlook Excess, for example. Outlook is not standards compliant. What you're essentially asking for a way to break qmail so that it will work with Microsoft's mediocre product. =) In my years of working with computers, networks, and email, I don't think I've *ever* seen an MUA that performs this theoretically desirable function. I'm sure people can cite several, but it doesn't appear to be at all common. I'm all for it; I think MUA's *should* do that. But in practice, I don't think they mostly parse the headers at all, they just filter which to display and which to not display, and display the actual text of any chosen. -- Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
Re: few Qs from newbie
Quoted from [EMAIL PROTECTED]: I changed both MAIL_DIR and QMAIL_DIR to Maildir and still nothing. What do you mean by saying "upgrade login program"? Upgrade it to what? And how am I to know what login program I have now? I presume you're dealing with some sort of Linux distribution here. A Linux distribution is built up of many separate components, so that each component is developed on its own. So, it doesn't surprise me that there may be newer versions of the login program around. The login program is in a package called ``shadow'', unless you use Debian, in which case I think it's called ``login''. Which distribution (e.g., Debian, Red Hat, SuSE, c) do you use? What is qbiff? See qbiff(1). In short, it's a program you invoke in a .qmail file to notify you whenever you get a new message. ---Chris K. -- Chris, the Young One |_ but what's a dropped message between friends? Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. http://cloud9.hedgee.com/ |_ Robinson, IV
SUMMARY: .qmail-default contents incorrect
Thanks to: Alexander Pennace Petr Novotny They both stated: if [ $RESPONSE = $STRING ]; Make this "$RESPONSE" = "$STRING" and try again. And Alexander noted: Also note that if fastforward is sending the error on standard error it might not be caught. So my final .qmail-default contents are: (ALL ON ONE LINE) | RESPONSE=`/var/qmail/bin/fastforward -nd /etc/aliases.cdb 21`; STRING='Sorry, no mailbox here by that name. (#5.1.1)'; if [ "$RESPONSE" = "$STRING" ]; then /var/qmail/bin/forward "$EXT"~"$HOST"@smtp.loadmail.com; else /var/qmail/bin/fastforward -d /etc/aliases.cdb; fi I tested it and it works great! Thanks for all your help -Original Message- From: Timothy Lorenc [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 30, 2000 1:13 PM To: qmail Subject: .qmail-default contents incorrect Qmailers: I have the following in my /var/qmail/etc/.qmail-default file: (all on one line) | RESPONSE=`/var/qmail/bin/fastforward -nd /etc/aliases.cdb`; STRING='Sorry, no mailbox here by that name. (#5.1.1)'; if [ $RESPONSE = $STRING ]; then /var/qmail/bin/forward "$EXT"~"$HOST"@smtp.bigmaildomain.com; else /var/qmail/bin/fastforward -d /etc/aliases.cdb; fi I am getting the following error message in /var/log/syslog Aug 30 10:38:44 smtp01.load.com qmail: [ID 748625 mail.info] 967657124.271047 starting delivery 1: msg 972173 to local [EMAIL PROTECTED] Aug 30 10:38:44 smtp01.load.com qmail: [ID 748625 mail.info] 967657124.273059 status: local 1/10 remote 0/20 Aug 30 10:38:44 smtp01.load.com qmail: [ID 748625 mail.info] 967657124.328453 delivery 1: deferral: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)//bin/sh:_test:_unknown_operato r_Sorry,/ Now I have an /etc/aliases.cdb file which does not contain the email address: [EMAIL PROTECTED] and I want to check if it will be able to be passed through to a default forward line. The reason for this is that it seems that using fastforward with /etc/aliases.cdb and virtualdomains are kind of mutually exclusive. The virtualdomains file gets processed before any check of the /etc/aliases.cdb file is performed thus bypassing fastforward. And if there are several (100's) of emails which don't stay local, then I have hundreds of .qmail files for the exceptions seems to me that would be very inefficient. Here is an example of my environment: I have some very fast front-end smtp (qmail) systems that receive mail to be either forwarded to an external email address or forwarded to an internal email database. So Say I have a virtual domain: virtdom.com and most mail gets delivered internally and forwarded to the mail database system in the format of username~[EMAIL PROTECTED] and some other emails get forwarded via an aliases file to an external email address. Would the above .qmail-default file work if correctly formatted. Thanks. -- Specializing in computer and network consulting... Timothy Lorenc USmail: Lorenc Advantage, Inc. Consultant/President 6732 E. State Blvd. PMB 304 Email: [EMAIL PROTECTED] Fort Wayne, IN 46815-7762
Re: Timezone
Quoted from David Dyer-Bennet: [Re: timezone translation in Date fields] In my years of working with computers, networks, and email, I don't think I've *ever* seen an MUA that performs this theoretically desirable function. Well, I can name one: mutt. You can use %D, or %[...] (where ... is replaced by a strftime(3)-format string). Not that I know how to make this affect the actual display of the header when reading a message, but you can definitely tweak the index this way. I sometimes wish mutt has a conversion for ``adjust to UTC''. Oh well. ---Chris K. -- Chris, the Young One |_ but what's a dropped message between friends? Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. http://cloud9.hedgee.com/ |_ Robinson, IV
Re: fastforward and :include:
Quoted from Brett Randall: The :include: line looks like this: name: :include: /path/to/file ^ ^ What does the name signify? Whichever address you want to have expanded. And are there meant to be two colons immediately after each other (shown)? Yes, just like sendmail. Also, is the /path/to/file meant to be to the .bin file or the un-binarised version? Quoted from newaliases(1): A recipient address of the form :include:file means ``every address listed in file.'' (Actually fastforward reads file.bin; see newinclude(1) for further details.) Conclude as appropriate. ---Chris K. -- Chris, the Young One |_ If you can't afford a backup system, you can't Auckland, New Zealand |_ afford to have important data on your computer. http://cloud9.hedgee.com/ |_ ---Tracy R. Reed
qmail-queue wrapper (like qmail-qfilter)
Any had implemented qmail-qfilter sucefully or any qmail-queue wrapper ? RDA.-
Detailed log for SMTP transaction
Hi Folks; Where can I locate the detailed log/SMTP transaction record for a mail that was delevered to my mail server (qmail-1.03)? Need to track the sender by IP address Thanks Dan
RE: Detailed log for SMTP transaction
Receipt IP info is found in the message headers. David -Original Message- From: net admin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 30, 2000 1:13 PM To: [EMAIL PROTECTED] Subject: Detailed log for SMTP transaction Hi Folks; Where can I locate the detailed log/SMTP transaction record for a mail that was delevered to my mail server (qmail-1.03)? Need to track the sender by IP address Thanks Dan
Re: qmail-queue wrapper (like qmail-qfilter)
On Wed, 30 Aug 2000, Ricardo Albano wrote: Any had implemented qmail-qfilter sucefully or any qmail-queue wrapper ? RDA.- I have a generic qmail-queue-wrapper program. It's written in perl and in its standard form, does nothing but add another Received header to the message before calling the real qmail-queue. If you can program in perl you can get it to do whatever you want. I'm using it to do header rewrites at one site. It should be installed with no special permissions -rwx--x--x qmailq qmail /var/qmail/bin/qmail-queue Program is attached. You can also have a look at Jason Haar's scan4virus program. It too is a perl qmail-queue-wrapper. Details at www.qmail.org. -- Regards Peter -- Peter Samuel[EMAIL PROTECTED] http://www.e-smith.org (development)http://www.e-smith.com (corporate) Phone: +1 613 368 4398 Fax: +1 613 564 7739 e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada "If you kill all your unhappy customers, you'll only have happy ones left" #!/pkgs/bin/perl -w # # $Id: qmail-queue-wrapper.pl,v 1.1 2000/05/31 07:20:37 psamuel Exp $ # # qmail-queue wrapper program. # # This program should be used when you wish to manipulate a mail # message BEFORE it is placed in the queue. Possible uses include: # #- header rewriting #- Firstname.Lastname replacements #- virus scanning #- anything else you can think of # # There are at least 2 ways of using this program: # #1) Replace the original qmail-queue with this program: # # mv /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.orig # cp qmail-queue-wrapper /var/qmail/bin/qmail-queue # #Change the value of $qmailqueue below, to reflect the new name of #the original qmail-queue program. For example # # my $qmailqueue = "/var/qmail/bin/qmail-queue.orig"; # #2) Recompile qmail with Bruce Guenter's QMAILQUEUE patch. (See #http://www.qmail.org/qmailqueue-patch). Then any program that #needs to use this program can be called with the environment #variable QMAILQUEUE set to /var/qmail/bin/qmail-queue-wrapper # # How does it work? The interface to the real qmail-queue is simple: # # - the body of the message is read from file descriptor 0 # - the envelope details are read from file descriptor 1. # # qmail-queue-wrapper also adheres to the same interface. After doing # whatever manipulations are necessary, it calls the real qmail-queue # and provides the message body on file descriptor 0 and the envelope # details on file descriptor 1. # # Exit codes conform to those mentioned in the qmail-queue(8) manual page. # ### require 5; use strict; my $child; my $debug = 0; my $envelope; my %errors; my @months; my $new_received_header; my $qmailqueue = "/var/qmail/bin/qmail-queue.orig"; my @recipients; my $sender; ### initialise(); if ($child = fork()) { # Parent my $timeout = 86400;# See qmail-queue.c, line 20 alarm($timeout); fatal(82) unless close MESSAGE_READER; fatal(82) unless close ENVELOPE_READER; process_message(); process_envelope(); # Wait for the child to terminate waitpid($child, 0); # Return with the exit status of the child exit($? % 255); } elsif (defined $child) { # Child fatal(82) unless close MESSAGE_WRITER; fatal(82) unless close ENVELOPE_WRITER; fatal(82) unless defined open(STDIN, "MESSAGE_READER"); fatal(82) unless defined open(STDOUT, "ENVELOPE_READER"); if ($debug) { debug_message("$$: Reading message from STDIN\n\n"); while (STDIN) { debug_message("$$: $_"); } fatal(82) unless close MESSAGE_READER; debug_message("\n$$: \n\n"); debug_message("$$: Reading envelope from STDOUT\n"); while (ENVELOPE_READER) { s/\0/ /g; debug_message("$$: $_\n"); } fatal(82) unless close ENVELOPE_READER; exit(0); } else { unless (exec $qmailqueue) { # We shouldn't be here unless the exec failed fatal(82); } } } else { # Unable to fork fatal(82); } ### sub initialise { prepare_months(); prepare_error_messages(); ignore_signals(); catch_signals(); generate_new_received_header(); setup_pipes(); } sub prepare_months { @months = ( "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ); } sub prepare_error_messages {
queue problem
Hello all. I have a strange problem. I fiddled around with my qmail, and sent a message to a local domain, but the user doesnt exist, and i get a lot of deferal unable to change to mailbox errors!! my question is: how can i delete this message from the quere?? i guess its a simple FAQ, but i cant seem to find it. i see it when i type qmail-qstat i get: messages in queue: 1messages in queue but not yet preprocessed: 0when i type qmail-qread i get: 24 Aug 2000 21:19:20 GMT #669258 1819 #@[] local [EMAIL PROTECTED] i want to delete this message!!! how can i do this?? thanks in advance!!
Re: queue problem
You're not serious are you? "I fiddled around with qmail". We're meant to deduce what you did from this? On Wed, Aug 30, 2000 at 11:42:44PM +0200, çééí äìôøï wrote: Hello all. I have a strange problem. I fiddled around with my qmail, and sent a message to a local domain, but the user doesnt exist, and i get a lot of deferal unable to change to mailbox errors!! You show us no logs. We're meant to deduce what qmail is trying to do from this? my question is: how can i delete this message from the quere?? i guess its a simple FAQ, but i cant seem to find it. I'll bet you're guessing. i see it when i type qmail-qstat i get: messages in queue: 1 messages in queue but not yet preprocessed: 0 when i type qmail-qread i get: 24 Aug 2000 21:19:20 GMT #669258 1819 #@[] local [EMAIL PROTECTED] You purposely corrupt the output of this command. We're meant to deduce what is really in the queue from this? i want to delete this message!!! how can i do this?? You need to use the -d option on the qmail-fiddle command. Don't forget to run it from a special place reserved for people who are especially well suited to using this command. thanks in advance!! The pleasure is all yours. Regards.
Re: Timezone
David Dyer-Bennet [EMAIL PROTECTED] writes: In my years of working with computers, networks, and email, I don't think I've *ever* seen an MUA that performs this theoretically desirable function. Gnus does, of course. -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/
Relaying and /control/rcpthosts
Hi; I am trying to setup selective relaying for a client who wants to send email through our Qmail server from his office LAN. I allowed his office IP block in my /etc/tcp.smtp file as follows xxx.yyy.zzz.:allow,RELAYCLIENT="" . . . :allow This I assume this will let him relay as long as he comes from the IP address pool above regardles of what his email address is. But relay fails until I also put his domain in the /control/rcpthosts file! I don't want everybody in his domain to relay just him. How to do that? Thanks Dan
RE: Relaying and /control/rcpthosts
Have you rebuilt the tcp.smtp.cdb file? See the cdb) entry in the qmail rc file in Life With Qmail (links to it in www.qmail.org) for more... /BR Manager InterPlanetary Solutions http://ipsware.com/
Re: Relaying and /control/rcpthosts
net admin wrote: Hi; I am trying to setup selective relaying for a client who wants to send email through our Qmail server from his office LAN. I allowed his office IP block in my /etc/tcp.smtp file as follows xxx.yyy.zzz.:allow,RELAYCLIENT="" . . . :allow This I assume this will let him relay as long as he comes from the IP address pool above regardles of what his email address is. But relay fails until I also put his domain in the /control/rcpthosts file! I don't want everybody in his domain to relay just him. How to do that? You could try a pop before smtp program that you use with qmail. It will in real time add and remove (based on a time limit) ip's to the relay control file for people who have pop accounts your system. The way it works is a person would check their mail which involves their mail client contacting the server's pop daemon. The pop before smtp program would let the user get verified and logged in then record their IP address to the relay file so that when they go to send mail via smtp it will allow his ip address. I have it working with Vpopmail (which is a virtual mail add-on to qmail but also has the above feature) and it works fine. Another program which doesn't do virtual mail it just does the pop before smtp is by Bruce Guenter and can be downloaded and etc from em.ca/~bruceg/relay-ctrl/ . I haven't personally tried it but I have heard it mentioned many times here in the list. Take Care, -- Dale Miracle System Administrator Teoi Virtual Web Hosting
Stupid question. SMTP gateways from dynamic IP.
I've been refused delievery from the qmail program running (from inet.d) on my Linux box to a local ISP - the reason being I was sending from a dialup account with dynamic IP - and mail-abuse.org have decided that this is a bad thing and that I should use a feature called SMTP gateways. Erm, (a) Could someone explain how this works and (b) How I get my qmail prog to use this, so I don't get nasty refused headers from servers. Please, go easy on me...I'll need the idiots guide version to doing this. I do not have a permanent ppp connection - it is up a few hours per day, dynamic IP. Cheers. Baz. -- Barrie J. Bremner Email: [EMAIL PROTECTED] (PGP public key available at pgp.mit.edu) URL: http://www.geocities.com/thefatenglishman Telephone: UK 01672 811246 Mobile:UK 07968 792975 Quis custodiet ipsos custodes?
virtual domain error.
hi.. I've set up a virtual domain, say domain1. before setting up that virtual domain, I use domain0. I put domain0 in rcpthosts and virtualdomains. but when I try to send an e-mail to domain1 from another machine. it sent to domain0. is there anyone can help me with this?? thx in advance. yusuf
RE: virtual domain error.
Look at vpopmail http://www.inter7.com/vpopmail/ It's the perfect utility to set up vdomains... I would first erase any files you started messing around with. Reset them back to orignal state and then install.. It's almost to simple On 31-Aug-2000 Muhammad Yusuf wrote: hi.. I've set up a virtual domain, say domain1. before setting up that virtual domain, I use domain0. I put domain0 in rcpthosts and virtualdomains. but when I try to send an e-mail to domain1 from another machine. it sent to domain0. is there anyone can help me with this?? thx in advance. yusuf -- Jason J. Czerak ([EMAIL PROTECTED]) Linux Systems Evangelist Jasnik Services, LLC http://www.Jasnik.net
Alias Support Question
I have a QMAIL-alias problem. Can you please show me the way? Thanks! QMAIL Problem Summary I am attempting to setup the postmaster alias, and as the FAQ of the site http://www.flounder.net/qmail/qmail-howto.html instructs me, I have done. Following is the contents of the ~alias/.qmail-postmaster script: john.doe.jr In the users/assign file, there is an entry: =organization-com-john.doe.jr:pop3ctrl:508:503:/popboxes/organization/do ej2 When I attempt to send EMAIL to the postmaster account, I receive the dreaded 'no mailbox here...' message as a return EMAIL. I can send and receive EMAIL from the john.doe.jr account. The ~alias directory has the following attribs: drwxr-sr-x 2 alias qmail 4096June 22 12:12 alias/ And the .qmail-postmaster file has the following attribs: -rw-rw-r-- 1 alias qmail 8 Aug 24 05:33 .qmail-postmaster I am using ./Maildir/ *** I have searched the Archive for someone else that may have had a similar problem, and so far, I found one thread that was close. Thread Title: .qmail-USER fails In this thread dated 5 March, 1998, instructions were given to the reader to complete the following test: /var/qmail/bin/qmail-getpw postmaster | tr '\0' '\012' The output that I received was: alias 501 501 /var/qmail/alias - postmaster *** Can you please help? Thanks! Tom Sarratt
partially local
Hi folks! I would like to know how can I make the address '[EMAIL PROTECTED]' local and to be delivered to the user joe(@localhost). I've tried this config: /users/assign [EMAIL PROTECTED]:joe:503:78:/home/joe::: /control/locals [..] yahoo.com # silly ain't it? /control/rcpthosts [..] yahoo.com /control/virtualdomains fixme:fixup :alias-ppp I don't run a dns server. This way joe gets the message but all the yahoo can't be local, right ;) Any help would be greatly appreciated. Thanks for your time, Peter BTW I would like to congratulate the person who wrote LWQ. It's the best doc I've ever read.
RE: partially local
Pete, The only way your gonna achieve this is to contact YAHOO (probably at the home page), and set up a dot forward function on that mail account. This will instruct Yahoo to forward the messages bound for [EMAIL PROTECTED] to another mail account (which you will specify). Configuring QMAIL as you are attempting to do will have no effect. DO NOT attempt to research and configure a DNS to approach this problem. Attempting to "masquerade" as YAHOO.COM will get you in a heap of trouble, not to mention cause a lot of trouble on the internet. Regards, Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Petre Rodan Sent: Wednesday, August 30, 2000 11:27 PM To: [EMAIL PROTECTED] Subject: partially local Hi folks! I would like to know how can I make the address '[EMAIL PROTECTED]' local and to be delivered to the user joe(@localhost). I've tried this config: /users/assign [EMAIL PROTECTED]:joe:503:78:/home/joe::: /control/locals [..] yahoo.com # silly ain't it? /control/rcpthosts [..] yahoo.com /control/virtualdomains fixme:fixup :alias-ppp I don't run a dns server. This way joe gets the message but all the yahoo can't be local, right ;) Any help would be greatly appreciated. Thanks for your time, Peter BTW I would like to congratulate the person who wrote LWQ. It's the best doc I've ever read.
Re: Changing mail deliver program to MAILDROP
On Wed, Aug 30, 2000 at 11:53:11AM -0300, Daniel Augusto Fernandes wrote: Well, I would like to use maildrop to be my MDA not just like a replacement to procmail. But, thanks... It appears you are confusing a mail transfer agent (MTA, e.g. qmail) with a mail delivery agent (MDA, e.g. maildrop or procmail). There's only one other item I can think of in the M's of the e-mail alphabet soup -- that would be a mail user agent (MUA, e.g. mutt or pine). This makes it really unclear what you are really attempting to accomplish; I'm assuming you aren't really trying to replace qmail with maildrop, but this is what it sounds like. -- David Benfell [EMAIL PROTECTED] ICQ 59438240 [e-mail first for access] --- There are no physicists in the hottest parts of hell, because the existence of a "hottest part" implies a temperature difference, and any marginally competent physicist would immediately use this to run a heat engine and make some other part of hell comfortably cool. This is obviously impossible. -- Richard Davisson [from fortune] PGP signature
Qmail 1.03
Something I have not noticed in many years has started the last few weeks. Qmail has been getting very slow at responding. I also noticed in the logs that it is handling a lot of email that can't be returned(spam.) Is there a way to clear out the old mail if this is the cause. Customers have been receiving a lot of errors that the server has not responded in 60 seconds do they want to wait or stop. Thanks Bob Ross Thanks Bob Ross