Re: Qmail POP3 Configuration
> On Tue, Feb 02, 1999 at 06:11:09PM -0500, MountaiNet Tech Support wrote: > > Ok, I know I will get badgered and flamed over this one, but Im having a > > problem setting up Qmail to run for my POP3 server. Ive had no problems > > getting it to run up to this point. It delivers messages fine to Mailbox > > in any home directory. I changed the line in /var/qmail/rc from Mailbox to > > Maildir. It will deliver fine to a Maildir in any home directory now. If > > I run /var/qmail/bin/maildirmake /home/username/Maildir it creates that > > directory fine. Inside of it i have cur, new, and tmp. It will not > > deliver to this Maildir. When I try to check e-mail on port 110 I get the > > dreaded -ERR this user has no $HOME/Maildir message. I run tcpserver with > > the lines: > Hmm... do you maildirmake as the user or as root? If as root, you'll have to chown -R > user /home/username/Maildir after that. > qmail can't deliver if the maildir is owned by root, and neither can qmail-pop3d read > from it. Possibly you have also the wrong permissions, try: chmod -R 700 /home/XYZ/Maildir Regards Stephan
Re: Permissions - what does qmail demand?
On Sun, Feb 14, 1999 at 11:59:22PM +0100, Harald Hanche-Olsen wrote: > | However I have one final little question (final - ha, ha!), what > | permissions does qmail require on users' home directories? > > You must be able to stat() the home dir without any special > privileges. This means all directories above the home must be > executably by anyone (well, you can get away with less, actually). > And the user must own his home directory and should have rwx > privileges (again, you can sometimes get away with a bit less). The > home directory must not be world writable, or (depending on how qmail > was configured during compilation) group writable. > Thanks, the last bit about world/group writable was what I wanted to know. I think the best approach for me may be to create a set of new users (e.g. chrismail, user1mail, user2mail, etc.) which can have the restrictive permissions required for qmail and the Windows MUAs can then be set up to point at these accounts to collect their mail. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
The ppiamdn annoyance
Now ppiamdn is at it again. I am beginning to think that this is not a sign of incompetence on ppiamdn's part, but a deliberate attempt at annoying the list. I have no idea why, and I couldn't care less... Anyway, in an attempt at solving this in a civilized manner, I sent the following message to [EMAIL PROTECTED] (but I don't include the attachments here). If others on the list have already tried this to no avail, or if the problem continues after this, I guess we should try to get the site blackholed. - Harald Hanche-Olsen <[EMAIL PROTECTED]>: | Dear postmaster, | | Please find enclosed a small sampling of email messages from | ppiamdn@@idola.net.id. These are messages sent by other users to a | mailing list, and forwarded from ppiamdn back to the list as well as | the message's originator. I find this unacceptable. I hope you | agree, and will take steps to stop this from happening in the future. | | Sincerely, | | - Harald Hanche-Olsen | Dept of Mathematical Sciences | The Norwegian University of Science and Technology (NTNU) | N-7034 Trondheim, NORWAY | Email: <[EMAIL PROTECTED]> |
Re: The ppiamdn annoyance
Is it possible that ppiadmn is some sort of bizzare auto-responder script that some (not very competent) person is playing with? Is this the first time that Dan uses badmailfrom himself? Regards. At 10:25 AM 2/15/99 +0100, Harald Hanche-Olsen wrote: >Now ppiamdn is at it again. I am beginning to think that this is not >a sign of incompetence on ppiamdn's part, but a deliberate attempt at >annoying the list. I have no idea why, and I couldn't care less... > >Anyway, in an attempt at solving this in a civilized manner, I sent >the following message to [EMAIL PROTECTED] (but I don't include >the attachments here). > >If others on the list have already tried this to no avail, or if the >problem continues after this, I guess we should try to get the site >blackholed. > >- Harald Hanche-Olsen <[EMAIL PROTECTED]>: > >| Dear postmaster, >| >| Please find enclosed a small sampling of email messages from >| ppiamdn@@idola.net.id. These are messages sent by other users to a >| mailing list, and forwarded from ppiamdn back to the list as well as >| the message's originator. I find this unacceptable. I hope you >| agree, and will take steps to stop this from happening in the future. >| >| Sincerely, >| >| - Harald Hanche-Olsen >| Dept of Mathematical Sciences >| The Norwegian University of Science and Technology (NTNU) >| N-7034 Trondheim, NORWAY >| Email: <[EMAIL PROTECTED]> >| > >
Re: The ppiamdn annoyance
On Mon, 15 Feb 1999, Mark Delany wrote: > Is it possible that ppiadmn is some sort of bizzare auto-responder script > that some (not very competent) person is playing with? > > Is this the first time that Dan uses badmailfrom himself? It's doubtful it's any kind of script. Last time (and the time before) I looked at the headers and noticed it came from a windoze95 client - I think it was Netscape. I haven't gotten anywhere with the postmaster at his site either. Vince. -- == Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null # includeTEAM-OS2 Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
qmail Co-existence Question
Greetings, I have installed Qmail (1.03) on a Solaris 2.5.1 Sparc box in anticipation of adding the Lyris mailing list software to the server. The Lyris installation notes that: 3) Append the following line to the /var/qmail/control/smtproutes -- changing "lyris.shelby.com" to be whatever the alias was you defined in your DNS entry above. For example: lyris.shelby.com:[127.0.0.1]:26 (I have obtained the necessary A record in the DNS tables and followed other installation steps.) Unfortunately my installation of qmail does not have an smtproutes file in /var/qmail/control nor do I know the equivalent (if any) under Solaris. I contacted Lyris with this question and they replied that they relied upon the qmail discussion group for the co-existence part of the instructions. (The purpose of all this is to have qmail acting as the mail mail program on my Unix box and allow Lyris to obtain mail for the alias also on port 26. I avoid having to use another IP number and it will be cleaner when I set it up on my production server.) Tips or suggestions? Many thanks! Patrick -- Patrick Durusau Information Technology Services Scholars Press [EMAIL PROTECTED] Interim Manager, ITS
Re: qmail Co-existence Question
On Mon, Feb 15, 1999 at 07:53:06AM -0500, Patrick Durusau wrote: > Greetings, > > I have installed Qmail (1.03) on a Solaris 2.5.1 Sparc box in > anticipation of adding the Lyris mailing list software to the server. > The Lyris installation notes that: > > > > 3) Append the following line to the /var/qmail/control/smtproutes -- > changing "lyris.shelby.com" to be > whatever the alias was you defined in your DNS entry above. For example: > > lyris.shelby.com:[127.0.0.1]:26 > > > > (I have obtained the necessary A record in the DNS tables and followed > other installation steps.) > > Unfortunately my installation of qmail does not have an smtproutes file > in /var/qmail/control nor do I know the equivalent (if any) under > Solaris. Just create /var/qmail/control/smtproutes then. A default installation does not have it. Solaris or not doesn't make any difference. Greetz, Peter. -- .| Peter van Dijk | stoned worden of coden .| [EMAIL PROTECTED] | dat is de levensvraag | coden of stoned worden | stonend worden En coden | hmm | dan maar stoned worden en slashdot lezen:)
Can you limit size of outgoing messages?
Hello. After having studied hopefully most of the FAQs I didn't find a hint of how to reject a message that is larger than a given size of, say, 2MB. I'd like to enforce our local policies. Could you help me, please? Thank you, Andreas Wehler -- CAD/CAM straessle GmbHTel.: (+49) 211 - 52740 - 228 Dr.-Ing. Andreas Wehler Fax.: (+49) 211 - 52740 - 280 http://www.cc-straessle.com
Re: Can you limit size of outgoing messages?
On Mon, Feb 15, 1999 at 02:15:41PM +0100, Dr. Andreas Wehler wrote: > Hello. > > After having studied hopefully most of the FAQs I didn't find a > hint of how to reject a message that is larger than a given size > of, say, 2MB. I'd like to enforce our local policies. Could you > help me, please? Thank you, Do "man qmail-smtpd" and search for "databytes". -- Anand System Administrator Africa Online Ltd http://www.anand.org
Re: Can you limit size of outgoing messages?
Anand Buddhdev wrote: > > On Mon, Feb 15, 1999 at 02:15:41PM +0100, Dr. Andreas Wehler wrote: > > > Hello. > > > > After having studied hopefully most of the FAQs I didn't find a > > hint of how to reject a message that is larger than a given size > > of, say, 2MB. I'd like to enforce our local policies. Could you > > help me, please? Thank you, > > Do "man qmail-smtpd" and search for "databytes". > > -- > Anand > System Administrator > Africa Online Ltd > http://www.anand.org Oh, this is new since 1.02, and I still have 1.01-5. So it's upgrade time. 1.03 is current. Thank you very much. Andreas Wehler -- CAD/CAM straessle GmbHTel.: (+49) 211 - 52740 - 228 Dr.-Ing. Andreas Wehler Fax.: (+49) 211 - 52740 - 280 http://www.cc-straessle.com
Deny Spam Mail
Is there a way to set qmail to refuse mail without proper reverse DNS Lookup? TIA, Todd Reese [EMAIL PROTECTED]
Re: On demand?
> I belive richard means that the secondary mx will sit there uselessly > trying to deliver to the nonexistant primary mx. > > Which is why the secondary needs to be modified only to deliver when > primary is up. But isn't it possible to have the secondary MX be a near-clone of the primary, and do the delivery itself to the clients instead of sending the mails back to the primary when it comes back up ? This implies of course adequate configuration. Is it unadvisable ? If so why ? I'm asking because I about to install such a setup here. Florent Guillaume
Re: Permissions - what does qmail demand?
On Mon, Feb 15, 1999 at 08:41:51AM +, Chris Green wrote: > On Sun, Feb 14, 1999 at 11:59:22PM +0100, Harald Hanche-Olsen wrote: > > | However I have one final little question (final - ha, ha!), what > > | permissions does qmail require on users' home directories? > > > > You must be able to stat() the home dir without any special > > privileges. This means all directories above the home must be > > executably by anyone (well, you can get away with less, actually). > > And the user must own his home directory and should have rwx > > privileges (again, you can sometimes get away with a bit less). The > > home directory must not be world writable, or (depending on how qmail > > was configured during compilation) group writable. This is not a correct advice, I think: just recompile qmail with changing conf-patrn to 000, and you are in business. -- --- Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Re: Deny Spam Mail
Todd Reese writes: > Is there a way to set qmail to refuse mail without proper reverse DNS > Lookup? No, but you can run Obtuse SMTPD instead of qmail-smtpd, and it has that capability. -- -russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson Crynwr supports Open Source(tm) Software| PGPok | There is good evidence 521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.
Re: On demand?
On Mon, Feb 15, 1999 at 03:22:02PM +0100, Florent Guillaume wrote: > > I belive richard means that the secondary mx will sit there uselessly > > trying to deliver to the nonexistant primary mx. > > > > Which is why the secondary needs to be modified only to deliver when > > primary is up. > > But isn't it possible to have the secondary MX be a near-clone of the > primary, and do the delivery itself to the clients instead of sending > the mails back to the primary when it comes back up ? This implies > of course adequate configuration. Definitely. But, depending on your network, you might as well have your secondary on the same MX preference. If it's farther away netwise, keep it at a lower preference. > Is it unadvisable ? If so why ? I'm asking because I about to install > such a setup here. No it would be very good, but be sure to keep them _in_sync_. I've had _way_ too much trouble sending mail to ISPs where configurations like this were totally fucked up. So.. go ahead, but _be_ _careful_. Greetz, Peter. -- .| Peter van Dijk | stoned worden of coden .| [EMAIL PROTECTED] | dat is de levensvraag | coden of stoned worden | stonend worden En coden | hmm | dan maar stoned worden en slashdot lezen:)
Re: Can you limit size of outgoing messages?
Now I've set up qmail-1.02-1 from debian with a limit of databytes = 1MB. A test shows that a message larger than this will not be sent. BUT, nor will a message be received larger than this size. So, can sned and receive be handled separately? Furthermore, the bounced message will go back the whole length to the sender, couldn't it be cut to the error message and perhaps the first few lines? Thanks. Andreas Wehler -- CAD/CAM straessle GmbHTel.: (+49) 211 - 52740 - 228 Dr.-Ing. Andreas Wehler Fax.: (+49) 211 - 52740 - 280 http://www.cc-straessle.com
Re: Can you limit size of outgoing messages?
Are you all sure that putting a limit in databytes limits the size of an outgoing msg? I'm not positive, but thought the only way to limit the size of outgoing msgs was with some tcpserver tool, or something like that. - eric "Dr. Andreas Wehler" escribió: > Now I've set up qmail-1.02-1 from debian with a limit of databytes > = 1MB. A test shows that a message larger than this will not be > sent. BUT, nor will a message be received larger than this size. > > So, can sned and receive be handled separately? > > Furthermore, the bounced message will go back the whole length to > the sender, couldn't it be cut to the error message and perhaps > the first few lines? > > Thanks. > > Andreas Wehler > > -- > CAD/CAM straessle GmbHTel.: (+49) 211 - 52740 - 228 > Dr.-Ing. Andreas Wehler Fax.: (+49) 211 - 52740 - 280 > http://www.cc-straessle.com
Re: Can you limit size of outgoing messages?
Dr. Andreas Wehler wrote/schrieb/scribsit: > So, can sned and receive be handled separately? Have tcpserver or tcpd set the DATABYTES environment variable for local clients instead of carrying it in /var/qmail/control/databytes. > Furthermore, the bounced message will go back the whole length to > the sender, couldn't it be cut to the error message and perhaps > the first few lines? mailto:[EMAIL PROTECTED] [1] Stefan [1] gotta love ezmlm...
Licensing on "libdjb"
Howdy, folks, A while ago there was a thread about making a "libdjb" containing nuggets like stralloc, substdio, etc.. Has anyone taken steps to contribute documentation or anything else to such a package? I'd certainly like to help. On the same note, though, does anyone know Dan's position on derived works? On his website, he provides a sort of "I can't stop you from tinkering" license, but doesn't take a stand, for example, on people producing commercial software using stralloc. Has Dan stated a position on this? If not, then Dan, what is your position on it? Your code is most edifying, but there is an arguable line between "getting edified" and "stealing code". I certainly don't want to cross that line. Thanks for any info, Len. -- 78. Make no Comparisons and if any of the Company be Commended for any brave act or Vertue, commend not another for the Same. -- George Washington, "Rules of Civility & Decent Behaviour"
RELAYCLIENT and inetd
Hello list friends, First, there is no way set RELAYCLIENT (via inetd, tcpserver, or some patch) based on domain name rather than IP, correct? (I realize it would be weak) Second, with inetd it is not possible to set RELAYCLIENT with a wildcard * (24.232.12.*), but with tcpserver yes, correct? Regards - eric
Maildir/cur ???
Hello all, What is the meaning of the Maildir/cur directory? I have a user with 300 messages and they are not in the Maildir/new, they are in Maildir/cur. What puts them into that dir? He checks his mail with Netscape Communicator 4.x and and say's he download then every time he checks the mail. Thanks. Paul D. Farber II Farber Technology 717-628-5303 [EMAIL PROTECTED]
Re: RELAYCLIENT and inetd
Eric Dahnke writes: > Hello list friends, > > First, there is no way set RELAYCLIENT (via inetd, tcpserver, or some > patch) based on domain name rather than IP, correct? (I realize it would > be weak) There's a patch on www.qmail.org. Search for Chuck Foster. Yes, it is weaker than relying on an IP address; fortunately most spammers do not have access to DNS servers. This is the algorithm that PostFix uses. > Second, with inetd it is not possible to set RELAYCLIENT with a wildcard > * (24.232.12.*), but with tcpserver yes, correct? Well, you *can* with inetd, but tcpserver performs better. -- -russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson Crynwr supports Open Source(tm) Software| PGPok | There is good evidence 521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.
Re: RELAYCLIENT and inetd
- Eric Dahnke <[EMAIL PROTECTED]>: | First, there is no way set RELAYCLIENT (via inetd, tcpserver, or | some patch) based on domain name rather than IP, correct? (I realize | it would be weak) tcpserver won't do it out of the box, but it's almost trivial to do with a little wrapper. Just have tcpserver run a program which looks up TCPREMOTEHOST in a database, and sets RELAYCLIENT accordingly before running the real qmail-smtpd. If you run tcpserver with the -p (paranoid) flag, it is perhaps not totally trivial to break either - but then, I am no expert on DNS security. Maybe someone will comment? (Sorry I can't answer inetd questions.) - Harald
RE: RELAYCLIENT and inetd
Eric Dahnke wrote/schrieb/scribsit: > First, there is no way set RELAYCLIENT (via inetd, tcpserver, or some > patch) based on domain name rather than IP, correct? There is a patch to tcpserver to make it act on the remote hostname. But you can of course wrap it in sth. like: #!/bin/sh case "$TCPREMOTEHOST" in *.domain.com) export RELAYCLIENT="" ;; esac exec /var/qmail/bin/qmail-smtpd #end > Second, with inetd it is not possible to set RELAYCLIENT with a wildcard > * (24.232.12.*), but with tcpserver yes, correct? According to hosts_access.5 it is possible to use both: "tcp-env: 10.0.0.: sentenv=RELAYCLIENT" and "tcp-env: 10.0.0.0/255.255.255.0: setenv=RELAYCLIENT". Stefan
Re: Maildir/cur ???
Umm, Those are messages that the user has downloaded but not deleted from the server. Gerry At 11:55 AM 2/15/99 -0500, Paul Farber <[EMAIL PROTECTED]> wrote: >Hello all, > >What is the meaning of the Maildir/cur directory? I have a user with 300 >messages and they are not in the Maildir/new, they are in Maildir/cur. > >What puts them into that dir? He checks his mail with Netscape >Communicator 4.x and and say's he download then every time he checks the >mail. > >Thanks. > >Paul D. Farber II >Farber Technology >717-628-5303 >[EMAIL PROTECTED] >
Re: Maildir/cur ???
On Mon, Feb 15, 1999 at 11:55:57AM -0500, Paul Farber wrote: > Hello all, > > What is the meaning of the Maildir/cur directory? I have a user with 300 > messages and they are not in the Maildir/new, they are in Maildir/cur. > > What puts them into that dir? He checks his mail with Netscape > Communicator 4.x and and say's he download then every time he checks the > mail. >From man maildir: Files in cur are just like files in new. The big differ- ence is that files in cur are no longer new mail: they have been seen by the user's mail-reading program. Your user has his client set to leave messages on the server, rather than delete them. Chris
Re: Maildir/cur ???
"Chris" == Chris Johnson <[EMAIL PROTECTED]> writes: Chris> On Mon, Feb 15, 1999 at 11:55:57AM -0500, Paul Farber wrote: >> Hello all, >> >> What is the meaning of the Maildir/cur directory? I have a user >> with 300 messages and they are not in the Maildir/new, they are in >> Maildir/cur. >> >> What puts them into that dir? He checks his mail with Netscape >> Communicator 4.x and and say's he download then every time he >> checks the mail. Chris> From man maildir: Files in cur are just like files in new. The big differ- ence is that files in cur are no longer new mail: they have been seen by the user's mail-reading program. Actually, I believe that qmail-pop3d moves whatever messages are in new when at the time qmail-pop3d is started to cur once qmail-pop3d receives a quit command from the client, regardless of whether or not the client has downloaded the messages: On mail server: root@mail:/var/MailDirs/testuser/ # find . ./tmp ./new ./new/919101259.11212.mail.cimedia.com ./new/919101260.11231.mail.cimedia.com ./new/919101260.11240.mail.cimedia.com ./new/919101261.11262.mail.cimedia.com ./new/919101261.11270.mail.cimedia.com ./new/919101262.11278.mail.cimedia.com ./cur >From a client: redshift:~> telnet mail 110 Trying 172.16.0.2... Connected to mail.cimedia.com. Escape character is '^]'. +OK <[EMAIL PROTECTED]> user testuser +OK pass testuser +OK quit +OK Connection closed by foreign host. redshift:~> Even though the client didn't actually see the messages, back on mail server: root@mail:/var/MailDirs/testuser/ # find . ./tmp ./new ./cur ./cur/919101259.11212.mail.cimedia.com:2, ./cur/919101260.11231.mail.cimedia.com:2, ./cur/919101260.11240.mail.cimedia.com:2, ./cur/919101261.11262.mail.cimedia.com:2, ./cur/919101261.11270.mail.cimedia.com:2, ./cur/919101262.11278.mail.cimedia.com:2, I'm not sure I like this behavior. I'm thinking about patching qmail-pop3d so that it only moves messages that the user has RETR'ieved. Either that or at least add a flag to the Info field of the filename. We'd like to delete messages on the mailserver that are older than X that we know the client has retrieved and we don't really know for sure which those message are. Yes, we could make assumptions about the behavior of pop cients, but I'd rather not do that. j. -- Jay Soffian <[EMAIL PROTECTED]> UNIX Systems Administrator 404.572.1941 Cox Interactive Media
this user has no $HOME/Maildir
Hi i set up qmail and it works fine except for my users who login through pop server. When they try to login they get the message: "The mail server responded: this user has no $HOME/Maildir Please enter a new password" I read the man page on "Maildir". My question is how do i set up a maildir if it is not set up when i add a new user? If i have to manually set up a "Maildir" and its subdirectories how do i get the messages in the current $HOME/Mailbox file exported into the "Maildir" ? Also what permissions do i set for the "Maildir" and its subdir's ? === Gone to check FAQ. === Ok i checked the FAQ and i installed ucspi-tcp and checkpassword. I am no longer getting the above mentioned error message. Also when i ran the tests from the command line it worked fine. However now i try to check the mail through Netcape mail client and i get the following message: "The mail server responded: authorization failed Please enter a new password." I am 100% sure i entered the right password. any help would be appreciated. thanks in advance td
ADV: ALASKAN TRAVEL
ALASKA MAGAZINE in their July 98 issue says "The best source of information on snowmachining is Alaska's Snowmachiners' Directory. Published once a year, this glossy magazine is loaded with information vital to planning a winter vacation in Alaska" Alaska's Snowmachiners' Directory is the ultimate travel guide for snowmobiling in Alaska. Alaska's Snowmachiners' Directory is the most comprehensive guide ever published covering the State of Alaska, with regards to snowmobiling. It is a full color, glossy publication filled with over 100 pages of information for anyone wanting to travel or ever thought of traveling to Alaska in the winter time. Inside you will find Directories for; Lodges, Snowmobile Tour Companies, Snowmobile Rentals, Motorhome Rentals, Snowmobile Clubs, Trail Systems, Events unique to Alaska along with phone numbers and websites. You can order yours for only $5.95 + S/H. For more info and to order, check us out at http://www.mustgohere.com/aksnowmachiner http://www.mustgohere.com/aksnowmachiner">Click Here Reply with remove to be removed. MediaWeb AA,MI48103 7346698750
Re: this user has no $HOME/Maildir
Your pop username is case sensitive. If the account is named TonyD, then tonyd@pop will not work. It must be TonyD@pop HTH, Glenn <[EMAIL PROTECTED]> On Mon, 15 Feb 1999, Tony D'Andrade wrote: > > Hi i set up qmail and it works fine except for my users who login through > pop server. When they try to login they get the message: > > "The mail server responded: > this user has no $HOME/Maildir > Please enter a new password" > > I read the man page on "Maildir". My question is how do i set up a > maildir if it is not set up when i add a new user? If i have to manually > set up a "Maildir" and its subdirectories how do i get the messages in the > current $HOME/Mailbox file exported into the "Maildir" ? Also what > permissions do i set for the "Maildir" and its subdir's ? > > === > Gone to check FAQ. > === > > Ok i checked the FAQ and i installed ucspi-tcp and checkpassword. I am no > longer getting the above mentioned error message. Also when i > ran the tests from the command line it worked fine. However now i try to > check the mail through Netcape mail client and i get the following > message: > > "The mail server responded: > authorization failed > Please enter a new password." > > I am 100% sure i entered the right password. > > any help would be appreciated. > thanks in advance > > td > >
POP-Before-SMTP Solution
I am trying to figure out the best soulution for remote relaying. I have already looked at the packages on the qmail web site. A few questions: Can a cdb file be rebuilt multiple times per minute without any problems? What about if the cdb file is on a nfs filesystem? My original thought for handling this would be to simple have my checkpassword 'touch' a file (with remote ip addr as name), and then either modify tcpserver to check if the file exists to allow access, or build a cdb from all the files in the directory. Anyone have any thoughts? James
Re: Maildir/cur ???
And if the user then switches his mail client to "not leave msgs on server" they are removed from cur, no? - eric >> Hello all, > >> > >> What is the meaning of the Maildir/cur directory? I have a user > >> with 300 messages and they are not in the Maildir/new, they are in > >> Maildir/cur. > >> > >> What puts them into that dir? He checks his mail with Netscape > >> Communicator 4.x and and say's he download then every time he > >> checks the mail. > > Chris> From man maildir: > >Files in cur are just like files in new. The big differ- >ence is that files in cur are no longer new mail: they >have been seen by the user's mail-reading program. > > Actually, I believe that qmail-pop3d moves whatever messages are in > new when at the time qmail-pop3d is started to cur once qmail-pop3d > receives a quit command from the client, regardless of whether or not > the client has downloaded the messages: > > On mail server: > > root@mail:/var/MailDirs/testuser/ # find > . > ./tmp > ./new > ./new/919101259.11212.mail.cimedia.com > ./new/919101260.11231.mail.cimedia.com > ./new/919101260.11240.mail.cimedia.com > ./new/919101261.11262.mail.cimedia.com > ./new/919101261.11270.mail.cimedia.com > ./new/919101262.11278.mail.cimedia.com > ./cur > > >From a client: > > redshift:~> telnet mail 110 > Trying 172.16.0.2... > Connected to mail.cimedia.com. > Escape character is '^]'. > +OK <[EMAIL PROTECTED]> > user testuser > +OK > pass testuser > +OK > quit > +OK > Connection closed by foreign host. > redshift:~> > > Even though the client didn't actually see the messages, back on mail server: > > root@mail:/var/MailDirs/testuser/ # find > . > ./tmp > ./new > ./cur > ./cur/919101259.11212.mail.cimedia.com:2, > ./cur/919101260.11231.mail.cimedia.com:2, > ./cur/919101260.11240.mail.cimedia.com:2, > ./cur/919101261.11262.mail.cimedia.com:2, > ./cur/919101261.11270.mail.cimedia.com:2, > ./cur/919101262.11278.mail.cimedia.com:2, > > I'm not sure I like this behavior. I'm thinking about patching > qmail-pop3d so that it only moves messages that the user has > RETR'ieved. Either that or at least add a flag to the Info field of > the filename. We'd like to delete messages on the mailserver that are > older than X that we know the client has retrieved and we don't really > know for sure which those message are. Yes, we could make assumptions > about the behavior of pop cients, but I'd rather not do that.
Re: The ppiamdn annoyance
These 43 useless messages from ppiamdn illustrate that unsolicited mail doesn't have to be commercial to be annoying. Note that majordomo's filters wouldn't have caught the messages. Anyway, I've prohibited messages from that address to the mailing list. Not secure, of course, but we'll see what happens. After the first mailbomb I asked [EMAIL PROTECTED] to check his logs, disable the ppiamdn account if it was in fact sending messages to [EMAIL PROTECTED], and tell me ppiamdn's name and address. I didn't hear back. Meanwhile, messages to [EMAIL PROTECTED] are bouncing. ---Dan
Re: Maildir/cur ???
On Mon, Feb 15, 1999 at 07:18:02PM -0300, Eric Dahnke wrote: > And if the user then switches his mail client to "not leave msgs on server" they > are removed from cur, no? Ofcourse. Greetz, Peter. -- .| Peter van Dijk | stoned worden of coden .| [EMAIL PROTECTED] | dat is de levensvraag | coden of stoned worden | stonend worden En coden | hmm | dan maar stoned worden en slashdot lezen:)
Re: POP-Before-SMTP Solution
On Mon, Feb 15, 1999 at 04:05:09PM -0500, [EMAIL PROTECTED] wrote: > I am trying to figure out the best soulution for remote relaying. I have > already looked at the packages on the qmail web site. > > A few questions: > > Can a cdb file be rebuilt multiple times per minute without any problems? Sure. Just do some measurements of the load that causes. Should be minimal. > What about if the cdb file is on a nfs filesystem? I think it's atomic, not completely sure though. > My original thought for handling this would be to simple have my > checkpassword 'touch' a file (with remote ip addr as name), and then > either modify tcpserver to check if the file exists to allow access, or > build a cdb from all the files in the directory. Anyone have any > thoughts? Well I've been thinking about that too and my ideas were -exactly- the same. Using a cdb will be faster, but you should see for yourself if that weighs up to the loss of creating a cdb file everytime. [yes, I -know- I'm sounding very vague :)] Greetz, Peter. -- .| Peter van Dijk | stoned worden of coden .| [EMAIL PROTECTED] | dat is de levensvraag | coden of stoned worden | stonend worden En coden | hmm | dan maar stoned worden en slashdot lezen:)
Supervise/Cyclog
Hello, I know this was discussed here already, but I'm getting trouble when giving svc -h /var/run/qmail . Here is what I've put on my /etc/rc.d/rc.local: csh -cf '/usr/local/bin/supervise /var/run/qmail /var/qmail/rc &' And I have the following on /var/qmail/rc : exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ /usr/local/bin/accustamp \ | /usr/local/bin/setuser qmaill /usr/local/bin/cyclog -s 1000 -n 10 \ /var/log/qmail When I give svc -h /var/run/qmail, I got the famous message "alert: cannot start: qmail-send is already running" everytime on the logs. After searching the list, I saw this could be caused when running qmail.start on background (putting a '&' in /var/qmail/rc), but it's not the case. Can someone give me some help ?!?! Thanks in advance, Claudio Neves
Re: The ppiamdn annoyance
On Mon, Feb 15, 1999 at 11:19:13PM -, D. J. Bernstein wrote: > These 43 useless messages from ppiamdn illustrate that unsolicited mail > doesn't have to be commercial to be annoying. Note that majordomo's > filters wouldn't have caught the messages. Gosh, it doesn't look like ezmlm did, either. -- Regards, Tim Pierce RootsWeb Genealogical Data Cooperative system obfuscator and hack-of-all-trades
Re: The ppiamdn annoyance
On 16-Feb-99 Tim Pierce wrote: > On Mon, Feb 15, 1999 at 11:19:13PM -, D. J. Bernstein wrote: >> These 43 useless messages from ppiamdn illustrate that unsolicited mail >> doesn't have to be commercial to be annoying. Note that majordomo's >> filters wouldn't have caught the messages. > > Gosh, it doesn't look like ezmlm did, either. IIRC, ezmlm isn't designed to. This is the message I recall seeing from the welcome message: DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST! If you do, I won't see them, and subscribers will yell at you. Vince. -- == Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null # includeTEAM-OS2 Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
Re: Qmail, Majordomo, and virtual domains
Jeez, you go away on a trip for a few days, and someone asks one of the few questions to which you have an answer. I run qmail 1.03 and majordomo 1.94 on two servers. One server (this one) has majordomo lists in its native domain iecc.com and also four virtual domains, three of which live here (as in, this is the MX for the domain) and one of which doesn't. The other server runs lists in three virtual domains. The lists are secure, in that unlike typical sendmail setups, knowing the true name of the outgoing list doesn't let you spoof a message onto the list. I use VERP to automatically take people off lists when there are a lot of bounces. The domains are logically separate, if you write to [EMAIL PROTECTED] you only get the lists that are @abuse.net, and you can have lists with the same name in each domain. (Each domain in fact has a separate bounces list.) All of the domains also have other addresses not handled by majordomo. My approach is different from Russ' in that I use a whole lot of .qmail files, as many as eight .qmail files per list or 12 if there's also a digest, but since all of the files are generated mechanically by a script, they don't cause me any trouble. The reason there's so many files is that I have a user majordom that owns all of the majordomo software and lists, and the lists all have aliases like majordom-domain-list-out and majordom-domain-list-out-owner-default so that qmail runs the software as majordom automatically. If this sounds interesting, let me know and I'll pack up my scripts. There's a perl script to handle the bounces, and a shell script that creates the lists and makes the .qmail files. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
qmail Digest 15 Feb 1999 11:00:00 -0000 Issue 552
qmail Digest 15 Feb 1999 11:00:00 - Issue 552 Topics (messages 21982 through 21993): Permissions - what does qmail demand? 21982 by: Chris Green <[EMAIL PROTECTED]> 21984 by: Harald Hanche-Olsen <[EMAIL PROTECTED]> 21987 by: ppiamdn <[EMAIL PROTECTED]> 21988 by: ppiamdn <[EMAIL PROTECTED]> 21990 by: Chris Green <[EMAIL PROTECTED]> vacation 21983 by: "Peter Samuel" <[EMAIL PROTECTED]> 21986 by: ppiamdn <[EMAIL PROTECTED]> Some performance numbers 21985 by: Simon Casady <[EMAIL PROTECTED]> Qmail POP3 Configuration 21989 by: Stephan Müller <[EMAIL PROTECTED]> The ppiamdn annoyance 21991 by: Harald Hanche-Olsen <[EMAIL PROTECTED]> 21992 by: Mark Delany <[EMAIL PROTECTED]> 21993 by: Vince Vielhaber <[EMAIL PROTECTED]> Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- I now seem to have qmail set up to do just about all I want, the 'holdremote' patch is sending non-local mail when the PPP connection comes up, using tcpserver to set RELAYCLIENT is allowing other machines on the locla network to send mail. However I have one final little question (final - ha, ha!), what permissions does qmail require on users' home directories? I know there are some requirements but I tried grepping for just about all the relevant words I could think of in qmail's doc directory and couldn't find anything to tell me what I wanted. The problem is that the easiest way to set up Samba shares here on the local LAN is to allow writing to anywhere on /home, this avoid having to synchronise Windows logins with Unix user logins and so on. Since we're a small friendly (!?) family security isn't a problem and having write enabled everywhere often simplifies things. However qmail objects, is there any way around this? The simplest answer may well be to set up a special mail user for each of us which just has the Maildir directory and nothing else. Does anyone have any better ideas? -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/ - Chris Green <[EMAIL PROTECTED]>: | However I have one final little question (final - ha, ha!), what | permissions does qmail require on users' home directories? You must be able to stat() the home dir without any special privileges. This means all directories above the home must be executably by anyone (well, you can get away with less, actually). And the user must own his home directory and should have rwx privileges (again, you can sometimes get away with a bit less). The home directory must not be world writable, or (depending on how qmail was configured during compilation) group writable. - Harald Harald Hanche-Olsen wrote: > > - Chris Green <[EMAIL PROTECTED]>: > > | However I have one final little question (final - ha, ha!), what > | permissions does qmail require on users' home directories? > > You must be able to stat() the home dir without any special > privileges. This means all directories above the home must be > executably by anyone (well, you can get away with less, actually). > And the user must own his home directory and should have rwx > privileges (again, you can sometimes get away with a bit less). The > home directory must not be world writable, or (depending on how qmail > was configured during compilation) group writable. > > - Harald Unsubscribe Harald Hanche-Olsen wrote: > > - Chris Green <[EMAIL PROTECTED]>: > > | However I have one final little question (final - ha, ha!), what > | permissions does qmail require on users' home directories? > > You must be able to stat() the home dir without any special > privileges. This means all directories above the home must be > executably by anyone (well, you can get away with less, actually). > And the user must own his home directory and should have rwx > privileges (again, you can sometimes get away with a bit less). The > home directory must not be world writable, or (depending on how qmail > was configured during compilation) group writable. > > - Harald Unsubscribe On Sun, Feb 14, 1999 at 11:59:22PM +0100, Harald Hanche-Olsen wrote: > | However I have one final little question (final - ha, ha!), what > | permissions does qmail require on users' home directories? > > You must be able to stat() the home dir without any special > privileges. This means all directories above the home must be > executably by anyone (well, you can get away with less, actually). > And the user must own his home directory and should have rwx > privileges (again, you can sometimes get away with a bit less). The > home directory must not be world writable, or (depend