Re: anybody out there at this time ??? confused about checkpassword and pop3
You may have already figured this out by now, but it seems that you may have wrong permissions on the Maildir. Check the ownership and permissions on the maildir. If I remember correctly, the pop daemon will give you that auth failure if the Maildir in question is not owned by the user, even though the username and password are correct. I know I have gotten this error before, and if I remember correctly (it's late) that was the problem. Aijaz. On Sun, Dec 17, 2000 at 01:27:26AM -0500, Peter Drahos wrote: ... > [root@test users]# telnet localhost 110 > Trying 127.0.0.1... > Connected to localhost.localdomain. > Escape character is '^]'. > +OK <[EMAIL PROTECTED]> > user test > +OK > pass test > -ERR authorization failed > Connection closed by foreign host. > > [root@test users]# /var/qmail/bin/qmail-popup test.com /bin/checkpassword pwd > +OK <[EMAIL PROTECTED]> > user test > +OK > pass test > -ERR authorization failed -- 8 8 8/\8 === = 888888 E M I G R A T U S630-495-3000 == <>Internet Hosting Centerwww.emigratus.com = === 888888 [ENoor is now Emigratus] [EMAIL PROTECTED] 8\/8 8 8 Hosting, Net Security, Web Apps, Custom Services
Re: Trailing Spaces?
Check the archives, I seem to remember something about fixrcio or some tool named similar to fixup broken windows messages before they hit qmail-smtpd - Original Message - From: "Adam Fladwood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 19, 2000 7:36 PM Subject: RE: Trailing Spaces? > Do you (or anyone else) have any idea how I would go about making this > modification? There are hundreds of messages being rejected because of it, > and some users arn't happy about my suggestion to upgrade to a new client. > > If I can't get this solved I might have to go back to sendmail for a while. > :( > > I would imagine a fix couldn't be that hard, but I don't know much about C > at all. > > Thanks, > Adam > > > -Original Message- > From: Markus Stumpf [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 19, 2000 10:21 AM > To: [EMAIL PROTECTED] > Subject: Re: Trailing Spaces? > > > On Tue, Dec 19, 2000 at 08:28:28AM -0600, Charles Cazabon wrote: > > Please explain a little more clearly. What trailing spaces? What > rejected > > mail? Are you referring perhaps to the bare linefeed problem? > > I see this occasionally. The problem ist that some idiotic mailprograms > don't remove " " or even a "\n" at the end of an email address. > (The "\n" probably happens when the user inputs the address in a > GUI window and "incorrectly" presses ). > > These emails are seen by qmail-smtpd as >RCPT TO: <[EMAIL PROTECTED] > > or >MAIL FROM: <[EMAIL PROTECTED] > > and rejected. > > And to answer the question: > - no, I don't know of any patch, but it shouldn't be hard to modify > qmail-smtpd if you really think you have to. > - I personally wouldn't do it. The client is broken. > > \Maex > > -- > SpaceNet AG | http://www.Space.Net/ | Stress is when you > wake > Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you > Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't > D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet. > > Adam > > >
RE: Trailing Spaces?
Do you (or anyone else) have any idea how I would go about making this modification? There are hundreds of messages being rejected because of it, and some users arn't happy about my suggestion to upgrade to a new client. If I can't get this solved I might have to go back to sendmail for a while. :( I would imagine a fix couldn't be that hard, but I don't know much about C at all. Thanks, Adam -Original Message- From: Markus Stumpf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 10:21 AM To: [EMAIL PROTECTED] Subject: Re: Trailing Spaces? On Tue, Dec 19, 2000 at 08:28:28AM -0600, Charles Cazabon wrote: > Please explain a little more clearly. What trailing spaces? What rejected > mail? Are you referring perhaps to the bare linefeed problem? I see this occasionally. The problem ist that some idiotic mailprograms don't remove " " or even a "\n" at the end of an email address. (The "\n" probably happens when the user inputs the address in a GUI window and "incorrectly" presses ). These emails are seen by qmail-smtpd as RCPT TO: <[EMAIL PROTECTED] > or MAIL FROM: <[EMAIL PROTECTED] > and rejected. And to answer the question: - no, I don't know of any patch, but it shouldn't be hard to modify qmail-smtpd if you really think you have to. - I personally wouldn't do it. The client is broken. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet. Adam
Re: rcpt/backup mx based on IP ?
[EMAIL PROTECTED] (Markus Stumpf) writes: > simply by having qmail-smtpd read in about 700 MB rcpthosts and > qmail-remote read in a 300 KB smtproutes file on every incarnation. > a cdb would do any good here, as the lookup would be faster, but a cdb > is even bigger than the plain files. When qmail-smtpd reads in rcpthosts, it reads it into a hashed structure. cdb files are also hashed, but the entire thing isn't read in. It relies on the filesystem's cache to keep the hash tables and commonly accessed records in memory. ^L
Re: rcpt/backup mx based on IP ?
On Wed, Dec 20, 2000 at 03:28:18AM +0100, Markus Stumpf wrote: > However one of our mailservers is sitting on an elder machine with only > one disk (we're moving it to a newer/fast machine with raid by now) > and what I did is experience the last weeks was a performance loss > simply by having qmail-smtpd read in about 700 MB rcpthosts and > qmail-remote read in a 300 KB smtproutes file on every incarnation. > a cdb would do any good here, as the lookup would be faster, but a cdb > is even bigger than the plain files. cdb lookup routines mmap the cdb file into the process address space and then access it. If your OS has a strong VM system this makes cdb lookups very fast access-wise. PGP signature
Re: rcpt/backup mx based on IP ?
On Wed, Dec 20, 2000 at 02:00:08AM +, Mark Delany wrote: > > Reason being, anyone can point their domain's MX records to your server > > and then freely send mail to/through it. Nope ;-) If I would implement it I'd have a small file e.g. "mxips" which would contain IPs/IP ranges and only if a MX hosts IP is in there I'd accept it. > > I'm curious to know if qmail starts having performance issues at higher > > numbers of rcpthosts. We're currently running about 1800 domains, most of > > them in the morercpthosts file. > > cdb has pretty linear performance regardless of the number of > entries. cdb is used for databases that can typically get *much* > larger, such as name server data and /var/qmail/users. 1800 entries is > nothing for cdb. This is true. However one of our mailservers is sitting on an elder machine with only one disk (we're moving it to a newer/fast machine with raid by now) and what I did is experience the last weeks was a performance loss simply by having qmail-smtpd read in about 700 MB rcpthosts and qmail-remote read in a 300 KB smtproutes file on every incarnation. a cdb would do any good here, as the lookup would be faster, but a cdb is even bigger than the plain files. What really helped in that situation was a small mod to qmail-smtpd (1.01) to only read in rcpthosts if relayclient wasn't set. So the problem is (soon was ;-) IO bound not CPU bound. What I'd also wanted to overcome is the "explanative" overhead of managing rcpthosts for customers that order/release domains without telling us and then complain that mail gets bounced. Argueing them is IMHO a waste of time ... they're customers, they don't want to think oder understand how things work, they want it to work and go mad on you if it doesn't regardless whose fault it is. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: rcpt/backup mx based on IP ?
On Tue, Dec 19, 2000 at 08:49:54PM -0500, Jamin A. Brown wrote: > Sendmail has a switch to turn this on, which is off by default... > > Reason being, anyone can point their domain's MX records to your server > and then freely send mail to/through it. > > I'm curious to know if qmail starts having performance issues at higher > numbers of rcpthosts. We're currently running about 1800 domains, most of > them in the morercpthosts file. cdb has pretty linear performance regardless of the number of entries. cdb is used for databases that can typically get *much* larger, such as name server data and /var/qmail/users. 1800 entries is nothing for cdb. Unless the reason for the rcpthost is solely as a secondary MX, then an entry has to be placed in virtualdomains or locals anyway, so removing the administrative need to have an entry in recipienthosts doesn't strike me as a very useful gain. Regards.
Re: rcpt/backup mx based on IP ?
Sendmail has a switch to turn this on, which is off by default... Reason being, anyone can point their domain's MX records to your server and then freely send mail to/through it. I'm curious to know if qmail starts having performance issues at higher numbers of rcpthosts. We're currently running about 1800 domains, most of them in the morercpthosts file. I personally prefer having more control through these files. Easier to deny access to someone who leaves or whose server gets compromised. Jamin On Wed, 20 Dec 2000, Markus Stumpf wrote: > Our rcpthosts file ist getting quite big, adding all the domains > we're doing POP Boxes for and those our customer request backup MX > for. > > Has anyone thought of/patched qmail-smtpd to accept messages based on > the IP of the MX records? > > Are there any pitfalls that I don't think of in the moment that would make > the mailserver relay open? > > \Maex > > - Jamin A. Brown Systems Operations Department [EMAIL PROTECTED] * Great Works Internet * 207.286.8686 x142 RSA PGP Key: http://www.gwi.net/~jamin/pgp/jamin.asc
rcpt/backup mx based on IP ?
Our rcpthosts file ist getting quite big, adding all the domains we're doing POP Boxes for and those our customer request backup MX for. Has anyone thought of/patched qmail-smtpd to accept messages based on the IP of the MX records? Are there any pitfalls that I don't think of in the moment that would make the mailserver relay open? \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: Redirect addresses
On Tue, Dec 19, 2000 at 10:50:16PM -0300, Ari Arantes Filho wrote: > How can I configure qmail to every email @domain.com.br is sent to same > [EMAIL PROTECTED]? Like: *@domain.com.br goes to > *@intranet.domain.com.br I'd do it via a virtualdomain (domain.com.br) and have a .qmail-default file that contains: |forward "$LOCAL"@intranet.domain.com.br You have to pay attention however if you also want to catch up allsubdomain/host.domain.com.br like with (in virtualdomains) domain.com.br:virtuser .domain.com.br:virtuser In this case you'll also have to have a line there intranet.domain.com.br: to map intranet.domain.com.br to "standard" delivery and not make it local (otherwise it'll loop and bounce). \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: Redirect addresses
Ari, As appears to be normal in qmail, there are a few ways to do this. You could setup the smtproutes file with an entry like: domain.com.br:intranet.domain.com.br Or, you could setup an entry in virtualdomains: domain.com.br:alias-domain_com And create the file ~alias/.qmail-domain_com-default which would contain: |forward ${DEFAULT}@intranet.domain.com.br Hope that helps. Jamin On Tue, 19 Dec 2000, Ari Arantes Filho wrote: > Hi, > > I need to integrate an qmail instalation on a real IP machine with an > intranet (192.168.1.2) machine with NT and Exchange. > > How can I configure qmail to every email @domain.com.br is sent to same > [EMAIL PROTECTED]? Like: *@domain.com.br goes to > *@intranet.domain.com.br > > The DNS is ok and I can send emails to @intranet.domain.com.br > (exchange). > > I know I can create a /var/qmail/alias/.qmail- and redirect it to > [EMAIL PROTECTED], but this problem is to avoid double user > management, the customer only wants to create user in Exchange!!! > > Is it possible? > > Best regards, > > Ari > > - Jamin A. Brown Systems Operations Department [EMAIL PROTECTED] * Great Works Internet * 207.286.8686 x142 RSA PGP Key: http://www.gwi.net/~jamin/pgp/jamin.asc
Re: unable to install
On Tue, Dec 19, 2000 at 04:35:44PM -0800, Thomas Holton wrote: > states this: > qmail: 977266457.397384 delivery 44: deferral: > Unable_to_open_.qmail-testlist2-default:_access_denied._(#4.3.0)/ The problem ist not the file .qmail-testlist2-default itself, as this is most probably a link to a file in a directory, where you have the whole list installed. qmail has a user under which permissions it tries to deliver the email. I'd assume that this user cannot read the mailing list directory, as this is of course protected for global access. You can try a chown -R where is the user under which permissions the list is run is the directory that you specified when creating the list with ezmlm-make. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Redirect addresses
Hi, I need to integrate an qmail instalation on a real IP machine with an intranet (192.168.1.2) machine with NT and Exchange. How can I configure qmail to every email @domain.com.br is sent to same [EMAIL PROTECTED]? Like: *@domain.com.br goes to *@intranet.domain.com.br The DNS is ok and I can send emails to @intranet.domain.com.br (exchange). I know I can create a /var/qmail/alias/.qmail- and redirect it to [EMAIL PROTECTED], but this problem is to avoid double user management, the customer only wants to create user in Exchange!!! Is it possible? Best regards, Ari
unable to install
I have installed qmail and ezmlm but it does not seem to work, nor do i get any messages about why it is not working. I can make lists, and i have done this tree times, and have sent messages to them, but they do not seem to go, nor do i get messages why, except in the maillog file in /var/log/ states this: qmail: 977266457.397384 delivery 44: deferral: Unable_to_open_.qmail-testlist2-default:_access_denied._(#4.3.0)/ obviously, i need to change permissions, but to what i already changed them to 777 but still get the same error in the log. who exactly needs the permissions? Is it the user qmail? what does this user need to do, write and read this dir? qmail is running, however, i do not have a qmail-smtp running... this is what i get with ps -ef qmails9204 0.0 0.0 1140 400 pts/3S13:00 0:00 qmail-send qmaill9205 0.0 0.0 1112 424 pts/3S13:00 0:00 splogger qmail root 9206 0.0 0.0 1100 348 pts/3S13:00 0:00 qmail-lspawn ./Ma qmailr9207 0.0 0.0 1100 356 pts/3S13:00 0:00 qmail-rspawn qmailq9208 0.0 0.0 1092 352 pts/3S13:00 0:00 qmail-clean is anything missing here? 1. Documentation says use the programs: ezmlm-check and ezmlm-test to determine if there are any errors, however, these programs are not part of my distribution. I have programs called ezmlm-test.sh and ezmlm-test.0 and ezmlm-test.1, but no ezmlm-check at all. 2. I tried the ezmlm-idx patch, untarred it and put all files into the ezmlm-0.53 dir... no where in the documentation does it say anything about whether i should copy over some files already there... ! Is this the source of my problem? I realize that these questions may be fundamental to qmail and mail stuff, so if i could get pointed in the right direction on basic documentation, i am very grateful. Thanks in advance!
Re: Should I try the Qmail-scanner?
We have been using qmail-scanner several months now, I can highly recomend this solution. We are splitting the load on two dual PIII 700 proc. servers with 512MB each. Also running the QMAILQUEUE patch with no problems. Here are the viruses trapped since 23/08/2000 15:30:48, and I must say that this solution is doing it's job. 230 virus TROJ_NAVIDAD.A 202 virus VBS_LOVELETTR.AS 58 virus TROJ_MTX.A 53 virus VBS_KAKWORM.A 33 virus TROJ_HYBRIS.B 23 virus VBS_LOVELETTER-O 22 virus VBS_COLOMBIA 21 virus TROJ_PRETTY_PARK 19 virus PE_CIH 18 virus TROJ_SKA 15 virus PE_MTX.A 13 virus W97M_ETHAN.A 13 Possibly a misdisinfected virus 12 Love Letter Virus/Trojan 12 virus VBS_STAGES.A 10 Joke program 7 virus W97M_THUS 6 virus JOKE_WOW 6 virus JOKE_FLIPPED 5 virus JOKE_RABBIT 5 virus JOKE_CURSOR.A 5 the W97M/Thus.gen virus !!! 4 virus JOKE_GESCHENK 4 virus JOKE_BUTTONS 4 the WScript/Kak.worm virus !!! 3 virus WM_CAP 3 virus W97M_MARKER 3 virus TROJ_HYBRIS.D 3 the JS/Kak@M virus !!! 2 Joke/Win-Wobble 2 Joke/Cokegift 2 virus W97M_WRENCH.E 2 virus W97M_OCARD.A 2 virus W97M_CLASS.Q 2 virus TROJ_SHOCKWAVE.A 2 virus O97M_TRISTATE 2 virus JOKE_SMALLPEN 2 virus JOKE_POINTER.A 2 virus JOKE_KNIJPME 2 virus JOKE_32 2 the JS/Kak.worm virus !!! 1 Happy99 Trojan 1 virus X97M_LAROUX.JH 1 virus X97M_LAROUX.BU 1 virus WM_MENTAL.A 1 virus W97M_TITCH.A 1 virus W97M_THUS.I 1 virus W97M_SELIUQ.B 1 virus W97M_SATELLITE 1 virus W97M_PRI.B 1 virus W97M_Generic 1 virus W97M_CLASS.QA 1 virus W97M_CHACK 1 virus W97M_BDOC2X 1 virus W97M_A_OPEY_03 1 virus TROJ_COCED.240 1 virus JOKE_FREIBIER.B 1 virus JOKE_DEL_WINDOWS 1 the W97M/Nalp.gen virus !!! 1 the W95/MTX@M virus !!! 1 the W32/Pretty.worm.gen virus !!! 1 the W32/MTX@M virus !!! 1 the BackDoor-HO.cli trojan !!! -- IDG New MediaEinar Bordewich Development Manager Phone: +47 2336 1420 E-Mail: eibo(at)newmedia.no
Re: Should I try the Qmail-scanner?
On Tue, Dec 19, 2000 at 12:30:18PM -0800, Eric Wang wrote: > I am thinking to apply the Qmail-scanner to block the virus attachement, > but I am wondering if this thing is a stable and efficient add-on and > worth to have a try, because for our production mail and mail list > server the stability and efficiency is extremely high demand. > Any suggestion and experience are highly appreciated. we're using qmail-scanner + f-secure since a few weeks, and it seems to work really well : already trapped some mails with word macro viruses. Olivier -- _ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch PGP signature
Re: Should I try the Qmail-scanner?
Jason Haar <[EMAIL PROTECTED]> wrote: > > Is there anyone out there with an altered distribution of qmail-1.03 that > contains the QMAILQUEUE patch? Pointing people to such a beast would > certainly allow some less experienced people to get going... Bruce Guenter's qmail SRPM might contain the patch, considering that he wrote it: http://em.ca/~bruceg/ Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
ETRN
Has anyone tried to use the ETRN command from behind a router using NAT. Our problem is we can send out the ETRN command to port 25 on the ISP's box but they cannot come in? Thanks, Richard.
Re: how to ignore $HOME/.qmail ?
On Mon, Dec 18, 2000 at 10:22:26AM -0500, Dave Sill wrote: > > Did you forget to terminate "assign" with a '.' line? nope, that was my problem. thanks for pointing me in the right direction. ---Matt
Re: Should I try the Qmail-scanner?
On Tue, Dec 19, 2000 at 09:00:38PM +0100, Ruprecht Helms wrote: > Am Die, 19 Dez 2000 schrieb Eric Wang: > > Hi, guys > > > > I am thinking to apply the Qmail-scanner to block the virus attachement, > > better you try Amavis Scanner. The qmail-scanner is buggy and there isn't > a fix for the wanted patch qmailscanner is asking for. Please don't report FUD about my work! :-) Qmail-Scanner is NOT buggy. The patch referred to on the homepage DOES work and works for (almost) everyone who tries it. I'd guess your system has a broken patch program or you are just calling it incorrectly. Is there anyone out there with an altered distribution of qmail-1.03 that contains the QMAILQUEUE patch? Pointing people to such a beast would certainly allow some less experienced people to get going... http://qmail-scanner.sourceforge.net/ -- Cheers Jason Haar Unix/Special Projects, Trimble NZ Phone: +64 3 9635 377 Fax: +64 3 9635 417
Re: Should I try the Qmail-scanner?
Markus Stumpf wrote: > > On Tue, Dec 19, 2000 at 12:30:18PM -0800, Eric Wang wrote: > > server the stability and efficiency is extremely high demand. > > Any suggestion and experience are highly appreciated. > > First I have to say that we don't use the scanner. > > Some month ago someone posted to this list that plugging a virus scanner > in at a busy mail server demands a magnitude of 300-400% more cpu > power as compared to running without one. > So, if efficiency is a extremely high demand for you check your ressources. > > I don't think that the qmail-scanner alone will have any effect on the > stability tho. > > \Maex > > -- > SpaceNet AG | http://www.Space.Net/ | Stress is when you wake > Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you > Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't Consider this scenario for incoming mail: mail.company.com on one side of firewall - firewall.internal.company.com on inside running sendmail forwarding to scanningbox.internal.company.com that is aliased in dns to smtp.internal.company.com forwards everything to imap.internal.company.com (this is your main qmail server) Consider this scenario for outgoing mail: smtp in clients configured to use scanningbox.internal.company.com scanningox forwards everything to imap.internal.company.com imap.internal.company.com forwards all outgoing mail to firewall.internal.company.com Configuration: smtp.internal.company.com (scanningbox) is the highest mx record in the company. This way, scanningbox scans all incoming and outgoing messages and doesn't put a load on the mail server. Mike
RE: Should I try the Qmail-scanner?
I run the scanner to block vbs attachments. I'm only handling mail for 35 people (with very light/moderate mail traffic) so it doesn't make any noticeable dent in performance. Keep in mind that it is written in perl and on the page they tell you what to expect in terms of getting hardware to compensate for using the scanner on a production machine. -Original Message- From: Markus Stumpf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 12:46 PM To: qmail list Subject: Re: Should I try the Qmail-scanner? On Tue, Dec 19, 2000 at 12:30:18PM -0800, Eric Wang wrote: > server the stability and efficiency is extremely high demand. > Any suggestion and experience are highly appreciated. First I have to say that we don't use the scanner. Some month ago someone posted to this list that plugging a virus scanner in at a busy mail server demands a magnitude of 300-400% more cpu power as compared to running without one. So, if efficiency is a extremely high demand for you check your ressources. I don't think that the qmail-scanner alone will have any effect on the stability tho. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: Should I try the Qmail-scanner?
Am Die, 19 Dez 2000 schrieb Eric Wang: > Hi, guys > > I am thinking to apply the Qmail-scanner to block the virus attachement, better you try Amavis Scanner. The qmail-scanner is buggy and there isn't a fix for the wanted patch qmailscanner is asking for. If someone has fixed the problem, please post a file in this list that all members of the list can use it. Regards, Ruprecht
Re: Should I try the Qmail-scanner?
On Tue, Dec 19, 2000 at 12:30:18PM -0800, Eric Wang wrote: > server the stability and efficiency is extremely high demand. > Any suggestion and experience are highly appreciated. First I have to say that we don't use the scanner. Some month ago someone posted to this list that plugging a virus scanner in at a busy mail server demands a magnitude of 300-400% more cpu power as compared to running without one. So, if efficiency is a extremely high demand for you check your ressources. I don't think that the qmail-scanner alone will have any effect on the stability tho. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Should I try the Qmail-scanner?
Hi, guys I am thinking to apply the Qmail-scanner to block the virus attachement, but I am wondering if this thing is a stable and efficient add-on and worth to have a try, because for our production mail and mail list server the stability and efficiency is extremely high demand. Any suggestion and experience are highly appreciated. Thanks!
Re: Help to solve DNS
On Tue, Dec 19, 2000 at 02:07:44PM -0500, Tim Hunter wrote: > I have a bunch of my mail stuck in the queue to vickers-systems.com As Charles said: look at the logs. That's what they are for. You will probably see "cannot connect" errors, as: dig mx vickers-systems.com -> no MX records dig a vickers-systems.com -> 206.242.77.113 telnet 206.242.77.113 smtp Trying 206.242.77.113... telnet: Unable to connect to remote host: Connection refused Their mailserver is down. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: Qmail and Large Scale Dynamic Mailings
if the newsletters are all the same, you could pre-process the list, organizing by recipent domain and starting qmail-remote processes with a few dozen recipients, and only give qmail the ones that don't go through on the first attempt, and even then after some back-off time. That way you won't clog up all incoming channels somewhere, denying service, and getting barred. Some perl code that can work with qmail-remote is available at http://www.davidnicol.com/qmail.html You could open one channel per recipent domain by inserting fork and next; right after the for(keys %Recipients) line. Adding a random backoff timer, something like sleep(rand 3600) before invoking qmail-inject might ease things too, as long as your machine has enough swap space to have all these forked perls sitting around sleeping. YMMV. Henning Brauer wrote: > > Am Mittwoch, 6. Dezember 2000 22:04 schrieb Thomas Duterme: > > > > How about increasing your concurrencyremote to something > > > like 100? you most likely are hitting your limits. > > > > Good point. Will try that tonight. I've gotten some > > problems before from ISP's blocking us > > when I went up to 240...I'm not quite sure what the highest > > polite limit on this should be. > > Hmm, even with 20 concurrent connections our servers was blocked by some > braindead freemailer's servers when one of our customers sent out a > newsletter... > I don't think there is a common "highest polite limit", you have to figure it > out for your country, even for your typical recipients. > > Greetings > > Henning > > -- > > Henning Brauer | BS Web Services > Hostmaster BSWS| Roedingsmarkt 14 > [EMAIL PROTECTED] | 20459 Hamburg > www.bsws.de| Germany -- David Nicol 816.235.1187 [EMAIL PROTECTED] damfino
Re: Help to solve DNS
Tim Hunter <[EMAIL PROTECTED]> wrote: > I have a bunch of my mail stuck in the queue to vickers-systems.com > > I am 95% sure its an error on their end, but I don't want to contact them > until I am 100% sure. > > Can anyone help me out to solve why I cannot send mail to them? What Do The Logs Say?(TM) Your qmail logs will say exactly why messages are not being delivered to them. Post the relevant entries from your logs, and we can help you. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: www.abuse.net test and mail Qmail server - Help
> Maybe we ought to ask John Levine (being a qmail guy himself) if he > can add blinking text when it fails on the user%foo.com@[] test, > where the test always stops with vanilla qmail: > After read the Qmail Spam Howto I discovered that the spam that I was receiving was just because I didn't disable my .qmail-default alias. I think some qmail spam problems is due this file. Roberto Samarone Araujo
Help to solve DNS
I have a bunch of my mail stuck in the queue to vickers-systems.com I am 95% sure its an error on their end, but I don't want to contact them until I am 100% sure. Can anyone help me out to solve why I cannot send mail to them? Thanks, Tim Hunter -- [EMAIL PROTECTED] SysAdmin -- CIMx http://www.cimx.com
accept only mails from or for local domain
Hi, my config is: FreeBSD 4.2, qmail 1.03, smtp-auth. my problem: I do not want my users to use a different "From-domain". Some people use their businnes-account for (heavy-traffic) private mail exchange. They simply replace their "[EMAIL PROTECTED]" with "[EMAIL PROTECTED]" in their private Mailprogs. smtp-auth makes it easy for them because they have a valid login. So is there any possibility to reject any mail which does not contain my local domain either as part of the sender adress or as part of the recipient adress? thanks for your hints /clemens
Re: Aliases
On Tue, 19 Dec 2000, Alex Le Fevre wrote: > Please pardon what is likely a really dumb > question...I'm a true newbie. > > In installing qmail, I'm told to set up > ~alias/.postmaster, etc., etc. Only problem is, I > don't quite understand the alias concept as it relates > to mail. I understand the idea of an alias for a > directory name...but mail? Is there some standard > directory I'm pointing to with this alias, or some > other standard concept behind it? I just answered this one (in a slightly different context). See message 59749. Also see the qmail pictures in /var/qmail/doc. -- 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"
Re: Aliases
Alex Le Fevre <[EMAIL PROTECTED]> wrote: > In installing qmail, I'm told to set up > ~alias/.postmaster, etc., etc. Only problem is, I > don't quite understand the alias concept as it relates > to mail. I understand the idea of an alias for a > directory name...but mail? Is there some standard > directory I'm pointing to with this alias, or some > other standard concept behind it? Simplified: In qmail, alias is a system user account. qmail, when delivering mail to a local user, will first check ~username for validity, .qmail file(s), etc. If that fails, it will then check ~alias/.qmail-username(-default, etc). Therefore ~alias/.qmail-root is a .qmail file (`man dot-qmail`) which controls delivery of mail to "root@localdomain". A dot mail file (read the man page referenced above) consists of comments, blank lines, and delivery instructions. A delivery instruction can be one of several things: -instruction to deliver to a Maildir. Starts with . or / and ends with /. ./path/to/Maildir/ -instruction to deliver to an mbox file. Starts with . or / and does not end with /. ./path/to/mbox -instruction to deliver to a program. Starts with |; `man qmail-command` for details. |/path/to/my/script -forwarding instructions. Either starts with &, or doesn't fit one of the above. &[EMAIL PROTECTED] Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: qmail install
On Tue, 19 Dec 2000, Timothy Falardeau wrote: > does anyone know where I can find an install procedure > for just a qmail install without the daemontools and > not the docs the tar comes withI do everything it > says and I still can't get it to deliver locally...I > can telnet to port 25 and run through but no delivery... > What do the logs say? (tm) -- 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"
Aliases
Please pardon what is likely a really dumb question...I'm a true newbie. In installing qmail, I'm told to set up ~alias/.postmaster, etc., etc. Only problem is, I don't quite understand the alias concept as it relates to mail. I understand the idea of an alias for a directory name...but mail? Is there some standard directory I'm pointing to with this alias, or some other standard concept behind it? Thanks for any help. Alex Le Fevre __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
qmail install
does anyone know where I can find an install procedure for just a qmail install without the daemontools and not the docs the tar comes withI do everything it says and I still can't get it to deliver locally...I can telnet to port 25 and run through but no delivery...
Re: www.abuse.net test and mail Qmail server - Help
Quoting Vince Vielhaber ([EMAIL PROTECTED]): > On Tue, 19 Dec 2000, Russell Nelson wrote: > > > Michael Boyiazis writes: > > > Perhaps Russ can make "SEARCH THE ARCHIVES" appear in large > > > blinking text on www.qmail.org so people will see it. > > > > We have the technology, but ... do you really think it would help? > > Of course not. I've found that the more obvious the item is, the less > likely most folks will find it. Maybe we ought to ask John Levine (being a qmail guy himself) if he can add blinking text when it fails on the user%foo.com@[] test, where the test always stops with vanilla qmail: "If you are a qmail luser, CLICK HERE." .. and a web page that briefly tells the luser what's going on. Aaron
RE: www.abuse.net test and mail Qmail server - Help
On Tue, 19 Dec 2000, Russell Nelson wrote: > Michael Boyiazis writes: > > Perhaps Russ can make "SEARCH THE ARCHIVES" appear in large > > blinking text on www.qmail.org so people will see it. > > We have the technology, but ... do you really think it would help? Of course not. I've found that the more obvious the item is, the less likely most folks will find 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 ==
Re: Changing the Received line in header
On Tue, Dec 19, 2000 at 08:35:58AM -0600, Charles Cazabon wrote: > You can do this with a tcprules file if running from tcpserver. Set up so > your internal addresses have something like the following. Note I've also > added the RELAYCLIENT variable, to allow relaying from the internal addresses: Sorry, one cannot change the info about the HELO host via environment variables. from qmail-smtpd.c: fakehelo = case_diffs(remotehost,helohost.s) ? helohost.s : 0; [ ... ] received(&qqt,"SMTP",local,remoteip,remotehost,remoteinfo,fakehelo); Depending how "internal" is defined adding the line if (relayclient) fakehelo=0; as the last line in dohelo() (in qmail-smtpd.c) might do the trick. Another solution is to sync the DNS entries with what the client/server thinks he is, as the HELO info is only display for hosts where the HELO host differs from what one get via DNS. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
RE: www.abuse.net test and mail Qmail server - Help
Michael Boyiazis writes: > Perhaps Russ can make "SEARCH THE ARCHIVES" appear in large > blinking text on www.qmail.org so people will see it. We have the technology, but ... do you really think it would help? -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | If I knew the Crynwr sells support for free software | PGPok | destination of the 521 Pleasant Valley Rd. | +1 315 268 1925 voice | handbasket, I never would Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | have gotten into it!
Re: How User can change password
Ould <[EMAIL PROTECTED]> wrote: > > I want to know is possible that users can change their > password. I'm using MUA's (Netscape, Outlouk). > Actually users have not choice to change password given by > system. Not really a qmail question. If you're dealing with virtual domains/users, some of the virtual domain packages have CGIs or whatnot which allow the user to change their POP3/IMAP password. If you're dealing with system accounts which don't need shell access but you want the users to be able to change their passwords, make their shell in /etc/passwd be /usr/bin/passwd -- then they can telnet in to the mail server and change their password. Note of course that in this case, their passwords are being sent in cleartext, just like with POP3. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Potentially stupid question about bounces...
- Original Message - From: "Charles Cazabon" <[EMAIL PROTECTED]> To: "QMail Mailing List" <[EMAIL PROTECTED]> Sent: Monday, December 18, 2000 7:44 PM Subject: Re: Potentially stupid question about bounces... > Kris Kelley <[EMAIL PROTECTED]> wrote: > > I'm trying to get an idea of exactly how qmail does bounce messages, since I > > will probably have to write various delivery programs to deal with special > > quotas and such in the near future. > > You're not clear on what you're trying to accomplish here. You're right, I'm not. Right now all sorts of exotic quota ideas are being bandied about the office: x number of messages sent/received in y time, different numbers for different senders and recipients, and on and on. Any of these ideas that gets turned into a requirement will need a custom delivery instruction to go with it, if it's not already covered by programs like Sam Varshavshik's deliverquota. > qmail-local signals delivery status to qmail-lspawn with its exit codes. > You can do things in a .qmail file and exit with the appropriate codes to > get the behaviour you want; man qmail-command and man dot-qmail for more > details. I think that answers my question. I'll study those man pages a little more closely. Thanks. ---Kris Kelley
(no subject)
unsuscribe
Re: alias and qmail-users
On Tue, 19 Dec 2000, pedro wrote: > Hi all, > what is the difference between .../qmail/alias and .../qmail/users ? > > Thanks in advance. qmail delivers mail as follows: is the domain portion of the address a local or virtualdomain no -> deliver remotely yes -> deliver locally does the user portion of the address have an entry in /var/qmail/users/cdb (as built from /var/qmail/users/assign) yes -> deliver mail according to the .qmail file referenced by the cdb entry no -> does the user portion of the address match a user according to getpwnam() yes -> deliver the mail to that user no -> is there a corresponding .qmail-user file in /var/qmail/alias yes -> deliver the mail according to the delivery instructions in that file no -> bounce the message. This is a little simplified as it doesn't describe user-ext style addresses, but it gives you a good idea of the flow. Have a look at the qmail pictures which should be in /var/qmail/doc. They give a better description of each type of delivery. Also see the qmail-users man page. -- 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"
Re: Trailing Spaces?
On Tue, Dec 19, 2000 at 08:28:28AM -0600, Charles Cazabon wrote: > Please explain a little more clearly. What trailing spaces? What rejected > mail? Are you referring perhaps to the bare linefeed problem? I see this occasionally. The problem ist that some idiotic mailprograms don't remove " " or even a "\n" at the end of an email address. (The "\n" probably happens when the user inputs the address in a GUI window and "incorrectly" presses ). These emails are seen by qmail-smtpd as RCPT TO: <[EMAIL PROTECTED] > or MAIL FROM: <[EMAIL PROTECTED] > and rejected. And to answer the question: - no, I don't know of any patch, but it shouldn't be hard to modify qmail-smtpd if you really think you have to. - I personally wouldn't do it. The client is broken. \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: Disable envnoathost?
Charles Cazabon wrote: > If I'm not mistaken, qmail-smtpd calls qmail-inject, which calls qmail-queue. According to DJB's schematics, qmail-smtpd calls qmail-queue directly. >From the INTERNALS file (also noted by Peter Samuel): qmail-smtpd --- qmail-queue --- qmail-send --- qmail-rspawn --- qmail-remote / | \ qmail-inject _/ qmail-clean \_ qmail-lspawn --- qmail-local > I belive Bruce's patch changes _all_ qmail programs which call qmail-queue... > Therefore it would work in this case. You're right, it would. I was just being a tad anal. :) Also, to be completely fair, you provided a solution that's exactly what I asked for. Mark Delany's solution will still result in the message being accepted and then bounced, but in this case the bounce will have a more accurate explanation about why it was bounced. That's good enough for me. Again, thanks for the help! ---Kris Kelley
alias and qmail-users
Hi all, what is the difference between .../qmail/alias and .../qmail/users ? Thanks in advance. Pedro.
How User can change password
Hello, I want to know is possible that users can change their password. I'm using MUA's (Netscape, Outlouk). Actually users have not choice to change password given by system. Thanks __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
Re: odd problem...
i know! thanks tho 30 seconds after i sent the mail, it occured to me that the old sendmail binary was still in place, so i replaced it with the qmail sendmail and now all is well jeremy - Original Message - From: Dave Sill <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 19, 2000 8:57 AM Subject: Re: odd problem... > Jeremy Anthony <[EMAIL PROTECTED]> wrote: > > >ookay...mail being sent from users works just fine, however when a cgi > >script or other server program tries to send mail, this happens: > > > > > - Transcript of session follows - > > > 553 5.3.5 mail.mydarkness.com. config error: mail loops back to me (MX > >problem?) > > > 554 5.3.5 [EMAIL PROTECTED] Local configuration > >errorReporting-MTA: dns; darkestweb.com > >Arrival-Date: Mon, 18 Dec 2000 03:42:15 -0700 > > > >the mail goes to root with this error... > > > >what's wrong?!?! > > That's a Sendmail message. > > -Dave >
Re: Qmail support in Australia ?
On Tue, 19 Dec 2000, Russell Nelson wrote: > Mark Delany writes: > > If you don't need it to be onsite support, then does it matter where > > the support comes from? > > Time zones. I have a customer in India. If I stay up late enough, > the very end of my waking hours overlaps with their business day. > Plus, if you're needed on site, being on the same continent is a > help. It's a twenty-hour trip to India for me. It's 24 hours from Sydney to Ottawa :) And then there is the 15 or 16 hours timezone difference. > > Plus there's jet lag. I did some qmail training the first day I got > there, after two missed flights and a four hour layover in Dubai. > About three or four times I woke myself up with the sound of my own > voice. Very strange to wake up talking, and to realize that you have > NO IDEA what you should say next. :) You have to be asleep to do that? I do that when I'm wide awake! :) -- 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"
Re: Qmail support in Australia ?
Mark Delany writes: > If you don't need it to be onsite support, then does it matter where > the support comes from? Time zones. I have a customer in India. If I stay up late enough, the very end of my waking hours overlaps with their business day. Plus, if you're needed on site, being on the same continent is a help. It's a twenty-hour trip to India for me. Plus there's jet lag. I did some qmail training the first day I got there, after two missed flights and a four hour layover in Dubai. About three or four times I woke myself up with the sound of my own voice. Very strange to wake up talking, and to realize that you have NO IDEA what you should say next. :) -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | If I knew the Crynwr sells support for free software | PGPok | destination of the 521 Pleasant Valley Rd. | +1 315 268 1925 voice | handbasket, I never would Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | have gotten into it!
RE: ?
How about some relevant logs and examples. -Original Message- From: richard morris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 9:49 AM To: qmail help Subject: ? Hi, I'm seem to be having a local delivery problem, yet external mail? The server accepts mail but does not deliver? Thanks, Richard.
Re: ?
On Tue, 19 Dec 2000, richard morris wrote: > > Hi, > > I'm seem to be having a local delivery problem, yet external mail? The > server accepts mail but > does not deliver? What do the logs say (tm)? -- 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"
Re: Creating new aliases
On Tue, 19 Dec 2000, Joao Costa wrote: > Hi, > > I successfully installed qmail on Solaris 5.8 by following Dave Sill's > web-page. Now, I'd like to create an alias to specific users. I created > a file (assign) on /var/qmail/users/. What are the following > instructions? Examine man -M /var/qmail/man qmail-users It gives detailed instructions of the format of the assign file. Two important things to remember 1) the file MUST end with a single dot on a line by itself 2) you MUST run /var/qmail/bin/qmail-newu for your changes to take effect -- 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"
Re: Disable envnoathost?
On Mon, 18 Dec 2000, Charles Cazabon wrote: > Kris Kelley <[EMAIL PROTECTED]> wrote: > > > > > > To save some work, you could use Bruce Guenter's QMAILQUEUE patch, and > > > insert your filter inbetween qmail-inject and qmail-queue instead... > > > > Actually, there are no local users on these boxes, per se, so the filter > > would have to be between qmail-smtpd and qmail-queue. Otherwise, this makes > > sense. I'll keep it in mind. > > If I'm not mistaken, qmail-smtpd calls qmail-inject, which calls qmail-queue. This time you are mistaken :) qmail-smtpd calls qmail-queue. See the INTERNALS file that is shipped with the source. > I belive Bruce's patch changes _all_ qmail programs which call qmail-queue > to look at the contents of QMAILQUEUE (or similar) environment variable, and > if set, to call that instead of qmail-queue directly. Therefore it would > work in this case. Just have tcpserver set QMAILQUEUE to > "/path/to/my/filter", and filter calls qmail-queue. Correct. -- 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"
?
Hi, I'm seem to be having a local delivery problem, yet external mail? The server accepts mail but does not deliver? Thanks, Richard.
Re: How can I change return path "Return Path?"
joaquim <[EMAIL PROTECTED]> wrote: > I am sending email from inside a firewall. When qmail sends mail the > Return Path: on the envelope is my hostname inside my network which is > not valid outside this network. This causes some site to bounce the email > back to me. Set up your MUA so that it creates a proper envelope sender in the first place. If qmail-inject is called with no special arguments, it will use any existing Return-Path: header as the envelope sender. If injecting through qmail-smtpd, the envelope sender supplied by your MUA is what is used by qmail. If you want to arbitrarily rewrite headers of mail injected via SMTP, look at using the "@fixme" option in Dan's qmail FAQ. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Changing the Received line in header
Denis Gasparin <[EMAIL PROTECTED]> wrote: > The qmail server displays in the Received line of the header field the HELO > command given by the remote client. I would like to change qmail behaviour > so that it displays the HELO command only for hosts coming from the internet > and not for hosts coming from the internal local network. qmail-smtpd gets that information from environment variables set up by tcpserver (or tcp-env). If you clear those environment variables before qmail-smtpd gets run, it'll log blank/meaningless values. You can do this with a tcprules file if running from tcpserver. Set up so your internal addresses have something like the following. Note I've also added the RELAYCLIENT variable, to allow relaying from the internal addresses: 192.168.1.:allow,TCPREMOTEIP="",TCPREMOTEHOST="",TCPREMOTEINFO="",RELAYCLIENT="" :allow Of course you'll need to compile this rules file into a cdb for tcpserver. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Creating new aliases
Hi, I successfully installed qmail on Solaris 5.8 by following Dave Sill's web-page. Now, I'd like to create an alias to specific users. I created a file (assign) on /var/qmail/users/. What are the following instructions? -- Joao Costa == DevWeb
Re: Trailing Spaces?
Adam <[EMAIL PROTECTED]> wrote: > > I've read some of the archives and people have posted before about the > trailing spaces. I have a lot of mail that is getting rejected because if > it, I realize that it's not qmail's fault by any means but is there a way (a > patch perhaps?) that I can have it strip the trailing spaces. Please explain a little more clearly. What trailing spaces? What rejected mail? Are you referring perhaps to the bare linefeed problem? The following will help us actually determine what the problem is: -what error message(s) you are getting, and from where -relevant log entries from your qmail logs -sample headers of mail which is rejected, if that is the problem -the output of qmail-showctl is in most cases helpful -how you installed qmail, and what patches, if any, are in use Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: relay-ctrl problem
Adam Stiles <[EMAIL PROTECTED]> wrote: > > I installed relay-ctrl 2.5 per the instructions. [...] > I get the standard '553 sorry' message about not relaying. This isn't actually a qmail issue, so you may not get an answer here. Try on one of Bruce Guenter's mailing lists, which are specifically for his software. The one you want is probably [EMAIL PROTECTED] IIRC. Check the relay-ctrl web page for the subscription address: http://em.ca/~bruceg/relay-ctrl/ Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: How Using IMAP4/POP3
Ould <[EMAIL PROTECTED]> wrote: >I use actually POP3 with tcpserver. >I Want to use IMAP4 in order to dump users message's. > >I'm based on LWQ. But I don't know how to include togheter >POP3/IMAP4? There's nothing to tricky about running POP3 and IMAP together. You just have to install an IMAP daemon that uses the same mailbox format and location as your POP3 daemon. LWQ has pointers to some IMAP daemons, but if you're using qmail-pop3d, you probably want to use courier-imap. -Dave
Re: Life With qmail -- INCOMPLETE ???
[Please don't send the identical query to every qmail-related address you can find.] RAGHVENDRA SHUKLA <[EMAIL PROTECTED]> wrote: > i have followed the life with qmail for installing > the qmail . But after that i run the qmail by > qmail start --> following the script. > > But it didn't started sending/receiving mail with this. Hmm. "Life with qmail" is not so incomplete that the installation instructions don't result in a working qmail. If yours didn't work, something was not done exactly right. > Then i have gone to the /var/qmail/boot and explicitly > and then runned the ./home script in which the > the qmail-start ... was there. That's neither necessary nor recommended with an LWQ installation. > Why i have to start it explicitly the qmail. You don't...if you've followed the instructions carefully. > after starting the above script only the > > 3 daemons started --> lspawn , clean , rspawn. That's because the boot script doesn't start everything that "qmail start" does. > Please Read The next 4 lines after the 2.8.2.1. (The qmail Script). Which four lines are you referring to? What's your point? -Dave
Re: odd problem...
Jeremy Anthony <[EMAIL PROTECTED]> wrote: >ookay...mail being sent from users works just fine, however when a cgi >script or other server program tries to send mail, this happens: > > > - Transcript of session follows - > > 553 5.3.5 mail.mydarkness.com. config error: mail loops back to me (MX >problem?) > > 554 5.3.5 [EMAIL PROTECTED] Local configuration >errorReporting-MTA: dns; darkestweb.com >Arrival-Date: Mon, 18 Dec 2000 03:42:15 -0700 > >the mail goes to root with this error... > >what's wrong?!?! That's a Sendmail message. -Dave
Re: smtp-auth problem
Am 19.12.2000 um 10:08:05 schrieb Clemens Hermann: Hi, Problem solved, > /bin/true is /usr/bin/true in FreeBSD ;-) thanks for the help /clemens
How can I change return path "Return Path?"
I am sending email from inside a firewall. When qmail sends mail the Return Path: on the envelope is my hostname inside my network which is not valid outside this network. This causes some site to bounce the email back to me. My organization have five units. Each unit have a local qmail server. When a unit send mail to another unit the return path may be the local domain (xxx.jamef). When a unit send mail to outside of organization then domain may be the organization domain (jamef.com.br). how do I to change the return path to all message send outside in my firewall, if I have a qmail in my firewall. thank Joaquim ABC
RE: 501 Badly structured mime attachment
John Logiudice wrote : >I've recently set up a server on Linux using qmail 1.03. Several =>different users here received bounces like this one when sending mail:>> Hi. This is the qmail-send program at opalgroup.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]>:>> 209.116.174.162 failed after I sent the message.>> Remote host said: 501 Badly structured mime attachment. I have also encountered this, sending some stationaries (html formatted mail) with attachments from express to sendmail (and only sendmail) servers - this happends not only from qmail - i tried to send from other servers too with the same result. anybody knows if this can be fixed from the sending server side (qmail in this case), so complicated mime-structured mail would be sent successfully to sendmail ? Alex Incredimail Admin. -Original Message-From: John Logiudice [mailto:[EMAIL PROTECTED]]Sent: Monday, December 18, 2000 11:35 PMTo: [EMAIL PROTECTED]Subject: 501 Badly structured mime attachment Hello,I've recently set up a server on Linux using qmail 1.03. Several =different users here received bounces like this one when sending mail:> Hi. This is the qmail-send program at opalgroup.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]>:> 209.116.174.162 failed after I sent the message.> Remote host said: 501 Badly structured mime attachment.Most attachments are going through fine, and the same users were able to =send attachments to other recipients. The attachments that had this =trouble ranged in size from a 128kb .DOC file, to a 4mb .EPS file. =20Although not a major problem -- yet -- I'd like to know if there is some =configuration issue on my end that will prevent this. All the users who =had this trouble are using Outlook Express 5.Please let me know if there is any more info I should supply.Thanks,John
RE: More on relay problem, something to do with tcpserver
Boz, This is a FAQ - three options: - Inform the sysadmin of the offending remote machine that it's broken - Use fixcrio - Edit qmail-smtpd to return a permanent rather than a temporary error on receiving a bare-LF. Search the archive for more detail on any of the above. cheers, Andrew. -- From: Boz Crowther[SMTP:[EMAIL PROTECTED]] Sent: 18 December 2000 19:05 To: [EMAIL PROTECTED] Subject:Re: More on relay problem, something to do with tcpserver Interesting. I couldn't check the return from my mailer, since it didn't provide one (VERY basic utility). Upgrading to a new version of the mailer corrects the problem, however. Now, is there any way to resolve the stray-LF problem, short of upgrading all the workstations on my network? Thanks. - Original Message - From: "Charles Cazabon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 16, 2000 11:31 AM Subject: Re: More on relay problem, something to do with tcpserver > Boz Crowther <[EMAIL PROTECTED]> wrote: > > Ok, by checking the logs I've determined that from certain clients (namely a > > command-line DOS smtp mailer we use) the smtp connection ends before getting > > any data, with the following message in /var/log/qmail/qmail-smtpd/current: > > > > tcpserver: end xxx status 256 > [...] > > Simple question: where can I find out what the end statuses provided by > > tcpserver mean? > > The status is that provided by the program tcpserver runs -- in this case, > qmail-smtpd. > > Did you check what error message your DOS mailer was returning? It should > point you to http://cr.yp.to/docs/smtplf.html, which explains the problem. > > Also, please fix your mailer; your message gets a little difficult to read with > 200+ character lines. On mailing lists, try to limit your line length to > 72-78 characters. > > Charles > -- > --- > Charles Cazabon<[EMAIL PROTECTED]> > GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ > Any opinions expressed are just that -- my opinions. > --- >
qmail Digest 19 Dec 2000 11:00:00 -0000 Issue 1218
qmail Digest 19 Dec 2000 11:00:00 - Issue 1218 Topics (messages 54168 through 54195): unsubsribe 54168 by: ±è¿ìÇö Re: Newbie to qmail 54169 by: Charles Cazabon Re: Qmail to forward remote mail 54170 by: Charles Cazabon Re: how to ignore $HOME/.qmail ? 54171 by: Dave Sill Re: Qmail support in Australia ? 54172 by: Peter Samuel cyclog... 54173 by: Seby Re: More on relay problem, something to do with tcpserver 54174 by: Boz Crowther email list working with ldap ? 54175 by: Marcio Sa Disable envnoathost? 54176 by: Kris Kelley 54178 by: Charles Cazabon 54179 by: Mark Delany 54180 by: Mike Jackson 54184 by: Kris Kelley 54185 by: Charles Cazabon 501 Badly structured mime attachment 54177 by: John Logiudice 54188 by: David Dyer-Bennet smtp-auth problem 54181 by: Clemens Hermann 54193 by: Clemens Hermann Re: qmail scanner 54182 by: Rainer Link Potentially stupid question about bounces... 54183 by: Kris Kelley 54186 by: Charles Cazabon relay-ctrl problem 54187 by: Adam Stiles Trailing Spaces? 54189 by: Adam odd problem... 54190 by: Jeremy Anthony A problem with pipes 54191 by: Jim Breton Life With qmail -- INCOMPLETE ??? 54192 by: RAGHVENDRA SHUKLA How Using IMAP4/POP3 54194 by: Ould Changing the Received line in header 54195 by: Denis Gasparin 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] -- unsubsribe Jeff Jensen <[EMAIL PROTECTED]> wrote: > > I have just install qmail + vmailmgr and courier-imap. I have followed the > how-to document, and haven't had any problems here, but when I reboot my > machine all qmail service report the error: "svscan is not running". > > How can I fix this. I use RH 6.2 Depends how you installed the various packages. The normal methods of starting qmail services use svscan to monitor them; but as the error message above says, you're not running svscan. If you're using /etc/rc.d/init.d type scripts, make sure svscan is started before any of the other services; this will allow it to be used to start qmail, qmail-smtpd, etc. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. --- Luiz de Almeida <[EMAIL PROTECTED]> wrote: > I have an issue in that I have Remote users that need to use my E-Smith Mail > server and I have toyed with the idea of opening up the box for RELAY but > have been firmly told not to even consider this. Your remote users should use their ISP's SMTP server for their outgoing mail. This is what ISP smarthosts are for. If for some reason this isn't feasible, you could use controlled relaying (as opposed to being an open relay). The best solution, in my opinion, is to use an SMTP-after-POP scheme like Bruce Guenter's relay-ctrl (http://em.ca/~bruceg/relay-ctrl/). > My next option has been Webmail which I now have working but the last hurdle > is getting the remote users to login and be able to send. [...] > Then I can send a message to any user that has been created on that server > and is therefore a local user on the LAN. BUT if I try to send a mail to a > user that is not a user that has been created on the local server i.e. to the > 'your' being you the readers mail address it does not go. Kind of like it is > not allowing RELAY although I am under the impression that RELAY is not an > issue here. Relaying is most definitely the issue here if your webmail program sends mail by SMTP, rather than by calling qmail-inject directly. What you probably need to do is set the RELAYCLIENT environment variable for connections from 127... addresses in your tcpserver tcprules file. See the qmail FAQ for more information. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. --- Matt Harrington <[EMAIL PROTECTED]> wrote: >i put this line in /var/qmail/users/assign: > >=joe:alias:81:81:/var/qmail/alias:-:joe: > > >but qmail-newu complains: > >msg# /var/qmail/bin/qmail-newu >qmail-newu: fatal: bad format in users/assign > > >what am i doing wrong? Did you forg
Changing the Received line in header
The qmail server displays in the Received line of the header field the HELO command given by the remote client. I would like to change qmail behaviour so that it displays the HELO command only for hosts coming from the internet and not for hosts coming from the internal local network. Here is an example: Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 1982 invoked from network); 19 Dec 2000 09:29:59 - -->Here is the incriminated line Received: from proxy.edinet.it (HELO edspctec12.edinet.it) (127.0.0.1) by proxy.edinet.it with SMTP; 19 Dec 2000 09:29:59 - Message-Id: <[EMAIL PROTECTED]> Date: Tue, 19 Dec 2000 10:32:19 +0100 To: [EMAIL PROTECTED] From: Denis Gasparin <[EMAIL PROTECTED]> Subject: Example Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Status: Sending example Thanks to all Denis
How Using IMAP4/POP3
Hello, I use actually POP3 with tcpserver. I Want to use IMAP4 in order to dump users message's. I'm based on LWQ. But I don't know how to include togheter POP3/IMAP4? Thanks __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
Re: smtp-auth problem
Am 18.12.2000 um 18:13:49 schrieb Kris Kelley: Hi Kris, thanks for your help! > It may be a matter of permissions. When invoked from patched qmail-smtpd, > both checkpassword and cmd5checkpw do not have root access. Therefore, they > must be given permission to look at /etc/poppasswd. One way to grant this > permission is to set /etc/poppasswd world writable, but obviously that is > NOT a good idea. I did it as described in the INSTALL-file of cmd5checkpw > The latest version of cmd5checkpw (0.22) handles both clear-text and > CRAM-MD5 authentication schemes, so I would recommend using it exclusively, It is the version I use. > for simplicity's sake. Assuming you have 0.22, change your > /var/qmail/supervise/qmail-smtpd/run file to look like this: > > #!/bin/sh > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > exec /usr/local/bin/softlimit -m 200 \ > /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ > -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd > \ > /bin/cmd5checkpw /bin/true /bin/cmd5checkpw /bin/true I changed it according to this example. > Next, follow these instructions, taken from the cmd5checkpw INSTALL file: > > Now select a free user id in your system. Create that user in > /etc/passwd > do "chown thatuser /etc/poppasswd" , "chmod 400 /etc/poppasswd", > "chown thatuser /bin/cmd5checkpw" and "chmod a+s /etc/cmd5checkpw". > Of course replace "thatuser" with username of the user you have > created. I have done this when I installed cmd5checkpw. (I thing it should be "chmod a+s /bin/cmd5ckeckpw" instead of "chmod a+s /etc/". If Krzysztof is not reading the List I will drop him a note) > This makes cmd5checkpw set itself to be owned by the same UID that owns > /etc/poppasswd, thus allowing it to read the file. it should always have been able to read it, I double-checked te permissions, they look like this: -r 1 smtpauth smtpauth 10 Dec 19 09:51 /ec/poppasswd -rwsr-sr-x 1 smtpauth smtpauth 22701 Dec 18 21:36 /bin/cmd5checkpw it still does not work, still the same problem. I tried it with a system user (included in /etc/passwd) and with a trest-user (not in /etc/passwd but only in /etc/poppasswd) it worked in no case. Thanks for your help /Clemens