qmail Digest 26 Jan 2000 11:00:01 -0000 Issue 892
Topics (messages 36062 through 36121):
cyclog loggin?
36062 by: Michael Boman
36072 by: Dave Sill
smtp auth
36063 by: Thomas Schachner
Re: High-load servers...
36064 by: Dave Sill
Re: Configuration for high volume qmail box
36065 by: Dave Sill
Re: QMQP and QMTP
36066 by: Dave Sill
Re: problems retrieving email
36067 by: Dave Sill
Re: qpopper vs washington edu pop
36068 by: Dave Sill
Re: error message help
36069 by: Dave Sill
Re: Truncating large attachments in bounced mail
36070 by: Dave Sill
Re: mbox format on qmail
36071 by: Dave Sill
qmail anti-relay [EMAIL PROTECTED]?
36073 by: Marc Evans
36074 by: Dave Sill
Web + (Qmail + LDAP)
36075 by: Andrea Verni
36094 by: Sam
What to do with screwed queue state
36076 by: Albert Hopkins
36080 by: Dave Sill
36082 by: Eric Huss
Sounds strange
36077 by: Manuel de Ferran
36081 by: Dave Sill
[OT] Re: NOT Exchange and OUTLOOK
36078 by: Jennifer Tippens
Re: Ryan Sharon's new address
36079 by: Molly McCahan
Not so high load server!
36083 by: Juan E Suris
36084 by: Dave Sill
Mail queues and how they work
36085 by: Rick McMillin
36086 by: Petr Novotny
36087 by: Rick McMillin
Cannot remotely send mail.
36088 by: Eric LaLonde
36089 by: Keith Warno
oops.. sorry
36090 by: Keith Warno
36091 by: Steve Wolfe
36107 by: Magnus Bodin
Adding Users when Installing (NEWBIE)
36092 by: Joe Millay
36115 by: Alexander Jernejcic
Help starting qmail...
36093 by: Max
qmail aliases
36095 by: Mike Denka
36108 by: Anand Buddhdev
WOW !!!! 6771
36096 by: tarvin.mdb.ku.dk
LOOK AT HER !!! 687
36097 by: tarvin.mdb.ku.dk
Newsgroup
36098 by: Jacob Joseph
Problems with Subscription
36099 by: Juan E Suris
pop3 check failed
36100 by: chenweih.PAIC.com.cn
qmail RBL handling....
36101 by: cmikk.uswest.net
SetEnv QMAILSUSER not working in Apache conf
36102 by: Chris Hardie
36103 by: Vince Vielhaber
36106 by: Chris Hardie
36112 by: Aaron L. Meehan
36121 by: Frank D. Cringle
users/assign format question
36104 by: Brian Baquiran
36116 by: Alexander Jernejcic
problems with 'mail' (procmail?)
36105 by: Eric LaLonde
qmail-analog
36109 by: Dewald Strauss
36111 by: Brian Baquiran
36117 by: Alexander Jernejcic
Re: High-load servers
36110 by: Curtis Generous
36113 by: Neil Blakey-Milner
Queue Problem
36114 by: Agreencash.aol.com
qmail-pop3d: unable to write pipe
36118 by: John White
Re: HTML -> TEXT convertors
36119 by: Curtis Generous
Re: Scenario
36120 by: Muhammad Ali
Administrivia:
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
I have big problems to get cyclog to log. Here is my SMTP init script: /usr/local/bin/supervise /var/run/smtp \ /usr/local/bin/tcpserver -v -H -R -x/etc/tcp.smtp.cdb -c 1000 \ -u 1001 -g 101 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 \ | setuser qmaill cyclog -s 1000000 /var/log/smtp & (its _one_ line in the script, but broken down here for readability) mailhosting:/var/log/smtp# ls -la total 7 drwxr-xr-x 2 qmaill nofiles 1024 Jan 25 20:12 ./ drwxr-xr-x 13 root root 1024 Jan 25 19:28 ../ -rw-r----- 1 qmaill nofiles 60 Jan 25 19:29 \@00000948799783 -rw-r----- 1 qmaill nofiles 60 Jan 25 19:30 \@00000948799830 -rw-r----- 1 qmaill nofiles 60 Jan 25 19:32 \@00000948799973 -rw-r----- 1 qmaill nofiles 60 Jan 25 20:12 \@00000948802375 -rw-r----- 1 qmaill nofiles 60 Jan 25 20:12 \@00000948802376 Best regards Michael Boman -- W I Z O F F I C E . C O M P T E L T D - Your Online Wizard 16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778 Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228 email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
Michael Boman <[EMAIL PROTECTED]> wrote: >I have big problems to get cyclog to log. Here is my SMTP init script: > >/usr/local/bin/supervise /var/run/smtp \ >/usr/local/bin/tcpserver -v -H -R -x/etc/tcp.smtp.cdb -c 1000 \ >-u 1001 -g 101 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 \ >| setuser qmaill cyclog -s 1000000 /var/log/smtp & > >(its _one_ line in the script, but broken down here for readability) > >mailhosting:/var/log/smtp# ls -la >total 7 >drwxr-xr-x 2 qmaill nofiles 1024 Jan 25 20:12 ./ >drwxr-xr-x 13 root root 1024 Jan 25 19:28 ../ >-rw-r----- 1 qmaill nofiles 60 Jan 25 19:29 \@00000948799783 >-rw-r----- 1 qmaill nofiles 60 Jan 25 19:30 \@00000948799830 >-rw-r----- 1 qmaill nofiles 60 Jan 25 19:32 \@00000948799973 >-rw-r----- 1 qmaill nofiles 60 Jan 25 20:12 \@00000948802375 >-rw-r----- 1 qmaill nofiles 60 Jan 25 20:12 \@00000948802376 When cyclog closes a file, it changes the mode to 440. It looks like something is killing cyclog--or tcpserver--which causes it to open a new file. -Dave
HI! First of all qmail is great and very flexible! I use it with ldap-patch to automate e-mail users from a big db System where employes are registerd with their attributes. ( So the whole system is steered by the program which runs over the database ) The employe-attr (qmailUser) is injected in the ldap base and automat. updated. All works great, but there are few questions where i found no answers: When a user connects with an MUA ( Outlook for example ) and he sends a mail over the smtp connection ( no local inject ) i also want to set qmail to authenticate the smtp connection against the information given in the ldap database and then relay the mail from this connection for further delivery ( I want then ALL recipient adresses to be relayed !!! -> how do i set the rcpthosts file in control to accept mails for all recipients ?( Only if the smtp connection was authenticated before )). General: Is it possible to make qmail work in the following manner: ( I suggest that smtp authentication is possible ) MUA ( no local inject ) to MTA The smtp server signals that he needs authentication ( I saw settings in the Outlook Client so i suggest that this is possible )-> User authenticates -> auth ok -> set qmail to relay the incoming mail and no check against rcpthosts -> all mail messages are delivered -> or bounced if they could not get delivered MTA to MTA qmail accepts connections and also signals that he needs authentication. the remote MTA says that there is no authentication available -> qmail procced with getting only mails for the domains in virtualhosts and local listed. The idea behind is that it should be possible to allow all employes to send to all domains int the internet, messages , but only allow mails to be deliverd from outside which are for the domains in locals ... Any hints?? ( I get qmail to work with ldap but for this questions i found no answer on the qmail site, but maybe i haven't read it carefully enough ) Thanx Thomas
[EMAIL PROTECTED] wrote: >On Fri, 21 Jan 2000 15:26:13 -0500 (EST) , Dave Sill writes: >> >> Forwarding is not "fancy" or expensive with qmail. > >Forwarding and rewriting in qmail do pretty much >the same thing: deliver to some alias-controlled >account, and then re-inject the message into the >queue. That's the expensive part, because then the >message must go through qmail-send again. > >Since re-enqueueing the message involves several >fsync()s, I think any overhead associated with >scanning the message content pales by comparison. I'm not aware of any MTA's that support forwarding with re-injecting the message. >> Rewriting is expensive because it's generally the wrong thing to do. > >Well, as I said above, I don't agree on the "expensive" >aspect. Could you elaborate on the wrongess part? Messages should be created with the correct header contents in the first place. Munging should be the exception, not the rule. -Dave
"Max" <[EMAIL PROTECTED]> wrote: >Primary box - > accept incoming e-mail's for organization, users will be connecting via >Pop only. All e-mail will be removed from the server and downloaded onto the >users PC. Maildir+qmail-pop3d. >I do not need console/telnet mail for my users, only the root >account for convenience (I am flexible what program I will use). mutt is good. >This box >needs to selectively relay e-mail based on network address. (or if possible >authenticate the sending user). Selective relaying is no problem. There's limited add-on authentication support available (see www.qmail.org), and various pop-before-smtp mechanisms. >I have 50 local users, and 40 remote users >(these numbers grow quickly). We maintain mailing lists for the different >office locations as well as the different departments. No problem. ezmlm is great for lists, but if you're already using something else, it can probably be made to work pretty easily. >Secondary box - > just in case the primary is down. This box needs to accept e-mail and >relay to the primary, as well as selectively relaying based on network >address. This machine will also host some announcement mailing lists. The >lists have a large amount of users but are low volume. Backup MX's are falling out of favor, at least among the vocal members of this list. Why not just let mail queue up at the sending site? >Mailstats from the current Linux/Sendmail machine (no office or external >mailing lists are running on this box) are in the attached file. They indicate a pretty light load for the hardware/software you're considering. >I need to provide LDAP to my users as well. I have been reading from >http://www.openldap.org but will take a while for me to understand the >config. This is not a big concern. There is an ldap add-on for qmail. >I intend to install a web interface to the mail system in the future, again >I have not done an evaluation yet so I am really flexible to the >configuration. Haven't used one with qmail, but they're available. -Dave
Brian Baquiran <[EMAIL PROTECTED]> wrote: >What's the difference between QMTP and QMQP? When and where should I use them? QMTP (Quick Mail Transfer Protocol) is a modified, high-performance SMTP replacement. See http://cr.yp.to/proto/qmtp.txt. QMQP (Quick Mail Queueing Protocol) is a mail queuing protocol. See http://cr.yp.to/proto/qmqp.html. QMQP is much simpler, and is intended only for private service. -Dave
"Eric LaLonde" <[EMAIL PROTECTED]> wrote: >If I change smtp's port, will that circumvent this problem? :) qmail-smtpd (tcpserver, actually) can listen to any port you want. The trick is getting clients to use a port other than 25. -Dave
"Max" <[EMAIL PROTECTED]> wrote: >My question... I am used to using the cac.washington.edu pop server with my >sendmail machines. I am in the process of reading a qmail HOWTO and the >author outlines the installation of qpopper. Can anyone tell me what the >differences between the products are? And which one will be more benifitial >to me... I'd suggest qmail-pop3d with delivery to maildirs. See: http://Web.InfoAve.Net/~dsill/lwq.html#qmail-pop3d -Dave
David McCall <[EMAIL PROTECTED]> wrote: >all of a sudden I am getting the following message: > >qmail-inject: fatal: qq trouble creating files in queue (#4.3.0) > >I thinking there might be a permissions problem on a qmail directory or file >but I'm not sure. 1) run qmail-lint (see www.qmail.org) 2) "make check" from source directory 3) check for space/i-nodes on queue filesystem -Dave
"David Cunningham" <[EMAIL PROTECTED]> wrote: >In the tests I've ran so far it appears that any message qmail bounces will >be bounced in it's entirety. Correct. >My concern is that this could be exploited as a denial of service >attack. Correct. So could flooding the postmaster's mailbox. Leave lots of free space in the queue and set up an alarm to notify you if it gets anywhere near the limit. I see no alternative. >I've thought of truncating the message before it's bounced but this still >requires my server to read in the entire message. Any suggestions for how >to handle this? Try to deliver each message before it's received, and refuse the ones that will bounce? :-) Set databytes to prevent accepting 100MB messages? -Dave
[EMAIL PROTECTED] wrote: >Has anyone set up qmail to use the mbox format without using bin/mail?? >I want qmail-local to deliver messages to /var/spool/mail. Sure. Use procmail. -Dave
Hello - I would like to get the qmail systems that I administer configured so that all of the tests at http://www.abuse.net/relay.html. The first problem that I encounter is that the construct [EMAIL PROTECTED] appears on the surface to be permitted. The reason that I say "on the surface" is because qmail accepts the message, but then bounces it as not deliverable. This appears to be qmail not parsing the % syntax. I personally would prefer to see a "550 Relaying Denied" or similiar message generated, so that the system isn't bombarded with people thinking that they are successfully spamming, and the associated resources in non-delivery. Does anyone have advise, patches, or otherwise? Thanks in advance - Marc
Marc Evans <[EMAIL PROTECTED]> wrote: >I would like to get the qmail systems that I administer configured so that >all of the tests at http://www.abuse.net/relay.html. The first problem >that I encounter is that the construct [EMAIL PROTECTED] appears >on the surface to be permitted. The reason that I say "on the surface" is >because qmail accepts the message, but then bounces it as not deliverable. >This appears to be qmail not parsing the % syntax. I personally would >prefer to see a "550 Relaying Denied" or similiar message generated, so >that the system isn't bombarded with people thinking that they are >successfully spamming, and the associated resources in non-delivery. > >Does anyone have advise, patches, or otherwise? Doing that would require a patch. The benefits of such a patch would be small: spammers won't use a relay that never relays. My advice is to relax, don't worry, have a homebrew. Oops, wrong list. :-) -Dave
Hi guys, is there a tool that allows my users to read and post email messages through a websever ? I'm using Qmail + LDAP. TIA Andrea Verni
On Tue, 25 Jan 2000, Andrea Verni wrote: > Hi guys, > > is there a tool that allows my users to read and post email messages > through a websever ? > > I'm using Qmail + LDAP. http://www.inter7.com/sqwebmail/ The LDAP support may need some minor tweaking. -- Sam
We made the mistake of manually deleting files that were creating a bounce loop in /var/qmail/queue. Now qmail constantly sends "unable to stat mess/nn/nnnnnn" messages, presumably because we left the queue in an bad state. Messages seem to get in an out fine, but I'd like to get rid of the warning messages. Is there a quick and dirty fix? -- Albert Hopkins Sr. Systems Specialist Dynacare, Inc [EMAIL PROTECTED]
Albert Hopkins <[EMAIL PROTECTED]> wrote: >We made the mistake of manually deleting files that were creating a bounce >loop in /var/qmail/queue. Now qmail constantly sends "unable to stat >mess/nn/nnnnnn" messages, presumably because we left the queue in an >bad state. Messages seem to get in an out fine, but I'd like to get rid of >the warning messages. > >Is there a quick and dirty fix? rm -r /var/qmail/queue cd /usr/local/src/qmail-1.03 make setup check But you probably don't want to do that since it'll kill any messages in the queue. Another fix would be to run qmail-qsanity from www.qmail.org. -Dave
> We made the mistake of manually deleting files that were creating a bounce > loop in /var/qmail/queue. Now qmail constantly sends "unable to stat > mess/nn/nnnnnn" messages, presumably because we left the queue in an > bad state. Messages seem to get in an out fine, but I'd like to get rid of > the warning messages. > > Is there a quick and dirty fix? Use queue-fix. http://www.netmeridian.com/e-huss/queue-fix.tar.gz -Eric
Hye Qmail users, we use qmail as MTA since a couple of months, everything runs fine but yesterday : 1) qmail is very slow (but the daemon answer quickly to a telnet 25) 2) in the qmail log file, got severals hundreds of line like this : warning: trouble injecting bounce message, will try later 3) in the bounce directory, i have hundreds of message, and in one of them i can get my adress book. Did one of you have this problem ? (maybe a virus) How to safely clean up all this garbage ? Regards, -- -------------------------------------------------------- Manuel de Ferran | mailto:[EMAIL PROTECTED] FRAMFAB|WCUBE | http://www.wcube.fr
Manuel de Ferran <[EMAIL PROTECTED]> wrote: >1) qmail is very slow (but the daemon answer quickly to a telnet 25) >2) in the qmail log file, got severals hundreds of line like this : > warning: trouble injecting bounce message, will try later >3) in the bounce directory, i have hundreds of message, and in one of >them i can get my adress book. > >Did one of you have this problem ? (maybe a virus) Not likely to be a virus. I've never had this happen myself, but you need to find out why qmail was having trouble injecting bounce messages. E.g., does qmail-inject complain if you run a simple test? Do you have free space and i-nodes on the queue filesystem? Have you run qmail-lint? You should figure out why so many messages are bouncing. >How to safely clean up all this garbage ? The garbage will clean itself out if you figure out the underlying problem. -Dave
We use Obsidian Communication Server. It is GPL. It workes just fine with qmail, Maildir format, and virtual hosts. It is in active development (not abandoned-- There are 20 of us working on it in our spare time). http://www.obsidian.co.za You download it under the "demo" link. I didn't find that too clear when I first got it. Hope this helps! Cheers, Jennifer Tippens Systems Administrator Surfari.com, Inc. "Lars-�ke Torlind" wrote: > Hi all, > I know this is probably the wrong forum but maybe someone can point me to > the right direction or even give me a few hints. > We are newly started company. I have setup qmail on a Linux system and it > works superb. Now > I'm looking for a web based calendar that can be put on a common server so > that it is possible to look at other peoples schedules. It should scale up > to about 40 people. I don't want to use EXCHANGE and OUTLOOK. I would like > to run it on Linux. > > Anyone ??? > > Best Regards/Med v�nlig h�lsning > Lars-�ke Torlind > > Figuration AB > Phone + 46 8 44 50 350 > Mobile + 46 70 529 7146 > Faxnr +46 8 44 50 351
please only reply back to the sender we're all getting these emails and have no ideeeerrrr who youz is m Whatever our struggles and triumphs, however we may suffer them, all too soon they bleed into a wash, just like watery ink on paper. - Arthur Golden, Memoirs of a Geisha ************************************************ molly mccahan | writer | organic, inc. 415.365.5662 | [EMAIL PROTECTED] | www.organic.com
Hi All! I am new to qmail so I apologize in advance for my questions which might be too obvious to ask here. I am going to maintain a mostly web-mail service (using sqwebmail+vpopmail+qmail), with _no_ smtp relaying. About 1-5% of users (which could be 10,000-25,000) will be POPing in. The hardware I have so far is a dual pentium-2 450, running RedHat 6.2. A second similar machine will be added shortly. I am not sure what kind of storage/qmail setup to use. Any suggestions are greatly appreciated. Thanks, JES
"Juan E Suris" <[EMAIL PROTECTED]> wrote: >I am new to qmail so I apologize in advance for my questions which might be >too obvious to ask here. I am going to maintain a mostly web-mail service >(using sqwebmail+vpopmail+qmail), with _no_ smtp relaying. About 1-5% of >users (which could be 10,000-25,000) will be POPing in. The hardware I have >so far is a dual pentium-2 450, running RedHat 6.2. A second similar machine >will be added shortly. > >I am not sure what kind of storage/qmail setup to use. Any suggestions are >greatly appreciated. 1) fast (7200-10k rpm) SCSI disks 2) separate disks for OS, queue, and mailboxes 3) separate interfaces for above disks, if possible 4) sufficient memory 5) multiple disks or RAID 0+1 for mailboxes -Dave
OK, I have a quick question about mail queues and how they work. I've looked though some documentation including the RFC's and I haven't been able to pull out the answer to this. What I'm curious about is where exactly messages get queued and what determines that. For example, if I'm sending a message from my mail server and for some reason it needs to be queued, will it always sit in my queue no matter what, or by chance could it also be queued on the receiver's mail server? To be more specific, let's say I implement quotas on my mail server. If someone who is not a customer of mine (an AOL user for example) tries to send one of my customers an email and that customer of mine has reached their quota limit, who's queue will that message go to? Always the sender's? Always mine? Or even sometimes mine and sometimes the sender's depending upon the situation? Thanks, Rick McMillin [EMAIL PROTECTED] Systems Administrator Manager, Network Operations I-Land Internet Services
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25 Jan 00, at 13:19, Rick McMillin wrote: > To be more specific, let's say I implement quotas on my mail > server. If someone who is not a customer of mine (an AOL user > for example) tries to send one of my customers an email > and that customer of mine has reached their quota limit, who's > queue will that message go to? Always the sender's? Always > mine? Or even sometimes mine and sometimes the sender's depending > upon the situation? Depends on implementation: 1. If your server replies "500 user over quota" as soon as it sees RCPT TO, it would be bounced from the sender's machine (ie. it won't hog your line at all). qmail never does that. 2. If your server replies "400 user over quota" as soon as it sees RCPT TO, it would be kept on the sender's machine until youn accept it, or until it expires. qmail never does that either. 3. If you accept the message first (as happens with qmail) and then check for quota, it's your expense. You have three possibilities: a. Return hard error from quota check. (You need special .qmail action, or patch to qmail-local.) Then the message is bounced back immediately. b. Return temporary error from quota check. The message is being kept in your queue until the user cleans the mailbox, or the message expires and is bounced back. c. Make special delivery for mail over quota (to some special disk/computer) and inform user "you have received mail over your quota; if you want to see it, clean your mailbox and pay us $5 for loading it from a backup server into your mailbox" or such. Clear? Hope it helps... -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOI4K91MwP8g7qbw/EQKbnACgo0mMuM1Pz2N+I4/sj8R+iDiylxoAoNJ9 WWr0WIM6cYetuVHEATCxN4fY =jukN -----END PGP SIGNATURE----- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Yep, I thought it could be either, but I wasn't 100% sure. Thanks, Rick ----- Original Message ----- From: "Petr Novotny" <[EMAIL PROTECTED]> To: "Rick McMillin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 25, 2000 2:43 PM Subject: Re: Mail queues and how they work > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 25 Jan 00, at 13:19, Rick McMillin wrote: > > To be more specific, let's say I implement quotas on my mail > > server. If someone who is not a customer of mine (an AOL user > > for example) tries to send one of my customers an email > > and that customer of mine has reached their quota limit, who's > > queue will that message go to? Always the sender's? Always > > mine? Or even sometimes mine and sometimes the sender's depending > > upon the situation? > > Depends on implementation: > > 1. If your server replies "500 user over quota" as soon as it sees > RCPT TO, it would be bounced from the sender's machine (ie. it > won't hog your line at all). qmail never does that. > 2. If your server replies "400 user over quota" as soon as it sees > RCPT TO, it would be kept on the sender's machine until youn > accept it, or until it expires. qmail never does that either. > 3. If you accept the message first (as happens with qmail) and then > check for quota, it's your expense. You have three possibilities: > a. Return hard error from quota check. (You need special .qmail > action, or patch to qmail-local.) Then the message is bounced > back immediately. > b. Return temporary error from quota check. The message is being > kept in your queue until the user cleans the mailbox, or the > message expires and is bounced back. > c. Make special delivery for mail over quota (to some special > disk/computer) and inform user "you have received mail over your > quota; if you want to see it, clean your mailbox and pay us $5 for > loading it from a backup server into your mailbox" or such. > > > Clear? Hope it helps... > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.0.2 -- QDPGP 2.60 > Comment: http://community.wow.net/grt/qdpgp.html > > iQA/AwUBOI4K9lMwP8g7qbw/EQK/ggCfWo3nTaAeazaL594AO6l28dXcWIMAoIW6 > RWFqC57aBQkjWItYu/6nWQLW > =CMY3 > -----END PGP SIGNATURE----- > -- > Petr Novotny, ANTEK CS > [EMAIL PROTECTED] > http://www.antek.cz > PGP key ID: 0x3BA9BC3F > -- Don't you know there ain't no devil there's just God when he's drunk. > [Tom Waits] >
since my last post, I've now set up qmail on a different box that doesn't have port 25 blocked. i've set up a pop server to receive email from a remote location (vie outlook or whatever other client the user has), but I am unsure of how to send mail from a remote client. It simply fails when i try to use the server to send mail, from a remote client.what do i need to add to qmail to enable this?- Eric
Hmm... sounds like you need to enable relaying which can be done via tcpwrappers or tcpserver (preferrably tcpserver).Check the qmail FAQ from the source distribution on how to enable relaying.(FAQ question 5.4)----- Original Message -----From: Eric LaLondeSent: 25 January 2000, Tuesday 15:50Subject: Cannot remotely send mail.since my last post, I've now set up qmail on a different box that doesn't have port 25 blocked. i've set up a pop server to receive email from a remote location (vie outlook or whatever other client the user has), but I am unsure of how to send mail from a remote client. It simply fails when i try to use the server to send mail, from a remote client.what do i need to add to qmail to enable this?- Eric
Apologies for the previous HTML post.
> Apologies for the previous HTML post. I can see the package now - "HTMLReject" for Qmail. : ) steve
On Tue, Jan 25, 2000 at 02:55:19PM -0700, Steve Wolfe wrote: > > > > Apologies for the previous HTML post. > > I can see the package now - "HTMLReject" for Qmail. : ) It's kinda included in ezmlm already. /magnus -- http://x42.com/ \ / ASCII Ribbon Campaign - Say NO to HTML in email and news x
Hello, I am installing qmail on a box with RedHat 6.1 as the OS. I am following LQW's instructions. I have downloaded the source for qmail, ucspi, and daemontools. I am to the section where I create users and groups, but I am confused (VERY confused). I cannot find the "INSTALL.ids" file. Nor do I understand the lines of the script: pw useradd alias -g nofiles -d /var/qmail/alias -s /nonexistent pw useradd qmaild -g nofiles -d /var/qmail -s /nonexistent Am I to substitute the username somewhere in the lines above? The instructions say to edit /etc/group if INSTALL.ids is not installed. OK. I find that, but I do not understand: qmaild:*:7791:2108:: /var/qmail/:bin/true Where is the user name located in this line? Am I missing something in the instructions? Thanks for any help, I really, really appreciate it. By the way--I am installing this on a test machine, just like the instructions suggest. :) Thanks, Joe Millay
alias and qmaild these are users needed for qmail to run. the INSTALL.ids should hve been gone to /var/qmail/doc if you do not find it, i will mail them to you directly. and: the line "qmaild:*:7791:2108:: /var/qmail/:bin/true" is an /etc/passwd line and not /etc/group a.j >>>>>>>>>>>>>>>>>> Urspr�ngliche Nachricht <<<<<<<<<<<<<<<<<< Am 1/25/00, 9:27:53 PM, schrieb Joe Millay <[EMAIL PROTECTED]> zum Thema Adding Users when Installing (NEWBIE): > Hello, > I am installing qmail on a box with RedHat 6.1 as the OS. I am following > LQW's instructions. I have downloaded the source for qmail, ucspi, and > daemontools. I am to the section where I create users and groups, but I > am confused (VERY confused). > I cannot find the "INSTALL.ids" file. Nor do I understand the lines of > the script: > pw useradd alias -g nofiles -d /var/qmail/alias -s /nonexistent > pw useradd qmaild -g nofiles -d /var/qmail -s /nonexistent > Am I to substitute the username somewhere in the lines above? > The instructions say to edit /etc/group if INSTALL.ids is not installed. > OK. I find that, but I do not understand: > qmaild:*:7791:2108:: /var/qmail/:bin/true > Where is the user name located in this line? Am I missing something in > the instructions? > Thanks for any help, I really, really appreciate it. By the way--I am > installing this on a test machine, just like the instructions suggest. > :) > Thanks, > Joe Millay
I am really confused now. How should I be starting qmail on a freebsd system. my /var/qmail/rc file looks like this: #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir splogger qmail& but I read that I should be using tcpserver and that command would be this: supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u71 -g1001 0 25 \ rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \ setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd & and I want to run qmail-pop3d and I am supposed to append this command to my startup. tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.yipinet.com \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \ /var/qmail/bin/splogger pop3d & and /usr/local/etc/rc.d/qmail.sh is a symbolic link to /var/qmail/rc I am really confused now, can anyone help me? Thanks in advance. Max e. [EMAIL PROTECTED]
Hi, I'm new to the list and to qmail. We are a medium sized ISP with about 10,000 customers and are switching from sendmail for performance reasons. I have one simple alias question. I have searched all the faqs and all the literature that I can stomach in one sitting. I have read and re-read the dot-qmail man page. But I'm still missing something: it seems that to alias root, for example, you put the real address you want root's mail to go to into the file ~/alias/.qmail-root, right? But what if you want root's mail to go to several recipients? Then the implied solution is to put multiple addresses, one per line, in the ~alias/.qmail-root file. However we have done this and only the first address on the first line gets the mail addressed to root. The remaining recipients do not receive mail from root. Can someone point us in the right direction to force aliases to work for multiple recipients? Thanks very much, Mike
On Tue, Jan 25, 2000 at 03:51:50PM -0800, Mike Denka wrote: > dot-qmail man page. But I'm still missing something: it seems that to > alias root, for example, you put the real address you want root's mail to go > to into the file ~/alias/.qmail-root, right? But what if you want root's > mail to go to several recipients? Then the implied solution is to put > multiple addresses, one per line, in the ~alias/.qmail-root file. However Correct. > we have done this and only the first address on the first line gets the mail > addressed to root. The remaining recipients do not receive mail from root. > Can someone point us in the right direction to force aliases to work for > multiple recipients? This should work, but since it's not, you need to look at the qmail logfile, to see what qmail is doing. That might give you a clue about why the other recipients are not receiving the mail. If you still can't make sense of the log, make the relevant lines of out of the log available - someone may be able to help. -- See complete headers for more info
http://www.exit69.com/members/cum/rachel.htm zfkpfvusfektxlhewrnpihczevgjwjbfqnkwvoumtwyvmleshxilupvoybzvvirsxkypkujsdmegixviyqcudqtwsnh
http://www.exit69.com/members/cum/rachel.htm ocfbmbpnktntufmjxivfvjhjegj
In light of so much spam landing in this mailing list, would it be possible to stop fetching newsgroup posts and adding them to the list? Then, although it is somewhat inconvenient, if someone really has something to say, they could subscribe to the list (and filter it out of their mail if needed). Or, perhaps it'd be possible to have another list of subscribers that checks incomming addresses with those who have subscribed to send (and not recieve). It seems like this list is a poor example of the possibilities...PS, does anyone really post via the newsgroup?Jacob Joseph
Hi All!I am in the process of changing my email adress. I tried to subscribe my new address and it did not work. I unsubcribe and resubscribe with my old address with no problem. Any clues?JES-----Original Message-----
From: Jacob Joseph <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, January 25, 2000 7:56 PM
Subject: NewsgroupIn light of so much spam landing in this mailing list, would it be possible to stop fetching newsgroup posts and adding them to the list? Then, although it is somewhat inconvenient, if someone really has something to say, they could subscribe to the list (and filter it out of their mail if needed). Or, perhaps it'd be possible to have another list of subscribers that checks incomming addresses with those who have subscribed to send (and not recieve). It seems like this list is a poor example of the possibilities...PS, does anyone really post via the newsgroup?Jacob Joseph
when i use outlook express to connect my qmail server, error occur: " -ERR usage: popup hostname subprogram" i had a entry in inetd.conf : " pop-3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup \ head.paic /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir " and a entry in /etc/services: pop-3 110/tcp # POP version 3 pop-3 110/udp i'm using redhat 6.1, serialmail, checkpassword and tcpserver had been installed! i can use it's smtp . but i can't get mail from it through pop3 in my client machine (using w98 and outlook express) . what's wrong with my system? chan
What I wanted to do is allow mail to certain "critical" addresses (e.g. postmaster, support, and abuse) even if the sender is using an RBL-listed mail server. Sendmail can do this, but then again, sendmail can do anything.... As far as I can see, the stock rblsmtpd code cannot do this, nor can Russ's patches to qmail-smtpd and tcpserver. I have hacked together something that can do this, but it's kind of ugly -- I'm posting this, hoping that some self-appointed "arbiter of style" will suggest naming changes, rolling this into other features, etc... I have modified rblsmtpd to accept a new flag "-e" (for "environment" or "exec-always"). When given this flag, it will always exec its argument, but if TCPREMOTEIP is blacklisted, it will set an environment variable RESTRICT to the TXT record of the blacklist response (i.e. its standard rejection message, more or less). If rblsmtpd is also given the "-b" (bounce) option, it will prefix RESTRICT with a hyphen. I have also modified qmail-smtpd, to look for a new control file, "control/restrictrcpt," a list of addresses (no wildcards [yet]). If the RESTRICT environment variable is set, qmail-smtp will only accept mail for those addresses. If the remote end attempts an "rcpt" to an address which is not in the list, qmail-smtpd rejects it with the text of $RESTRICT (and a 553 prefix if $RESTRICT begins with a '-', 451 otherwise). I'd appreciate feedback, and will gladly post the patches after incorporating any suggestions I receive. -- Chris Mikkelson | Problems are posed by fools like me; [EMAIL PROTECTED] | But only Heuristics can search a tree.
Hi. I'm tackling the old problem of having "Return-Path" headers generated by CGI scripts set to something other than "[EMAIL PROTECTED]". I believe I understand what needs to be done, after reading these: http://www.ornl.gov/its/archives/mailing-lists/qmail/1997/02/msg00853.html http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00528.html http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/11/msg00094.html I have apache 1.3.11 (suexec) running on FreeBSD. mod_env is compiled in. The Virtual host entry has the proper SetEnv lines in it: SetEnv QMAILSUSER silas SetEnv QMAILSHOST hotzp.com And yet, qmail-inject is seemingly unaffected, and all messages generated have the "[EMAIL PROTECTED]" header. I tested the env setting by printing out the ENV variable to a log file from within the CGI script, and it came up empty...this held true with non-QMAIL environment variables. So I suppose this might be more of an apache question, but surely one of you has dealt with this. :) Anyone know the trick? Thanks, Chris -- Chris Hardie ----------------------------- ----- mailto:[EMAIL PROTECTED] ---------- -------- http://www.summersault.com/chris/ --
On 26-Jan-00 Chris Hardie wrote: > > Hi. I'm tackling the old problem of having "Return-Path" headers > generated by CGI scripts set to something other than "[EMAIL PROTECTED]". > I believe I understand what needs to be done, after reading these: > > http://www.ornl.gov/its/archives/mailing-lists/qmail/1997/02/msg00853.html > http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00528.html > http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/11/msg00094.html > > I have apache 1.3.11 (suexec) running on FreeBSD. mod_env is compiled in. > The Virtual host entry has the proper SetEnv lines in it: > > SetEnv QMAILSUSER silas > SetEnv QMAILSHOST hotzp.com > > And yet, qmail-inject is seemingly unaffected, and all messages generated > have the "[EMAIL PROTECTED]" header. > > I tested the env setting by printing out the ENV variable to a log file > from within the CGI script, and it came up empty...this held true with > non-QMAIL environment variables. > > So I suppose this might be more of an apache question, but surely one > of you has dealt with this. :) > > Anyone know the trick? SetEnv QMAILINJECT ? I don't remember if it's an 'f' or something else where the question mark goes. man qmail-inject will tell you the letter to use. Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] http://www.pop4.net 128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4 Online Campground Directory http://www.camping-usa.com Online Giftshop Superstore http://www.cloudninegifts.com ==========================================================================
On Tue, 25 Jan 2000, Vince Vielhaber wrote: > > I have apache 1.3.11 (suexec) running on FreeBSD. mod_env is compiled in. > > The Virtual host entry has the proper SetEnv lines in it: > > > > SetEnv QMAILSUSER silas > > SetEnv QMAILSHOST hotzp.com > > > > And yet, qmail-inject is seemingly unaffected, and all messages generated > > have the "[EMAIL PROTECTED]" header. > > > > I tested the env setting by printing out the ENV variable to a log file > > from within the CGI script, and it came up empty...this held true with > > non-QMAIL environment variables. > > > > So I suppose this might be more of an apache question, but surely one > > of you has dealt with this. :) > > > > Anyone know the trick? > > SetEnv QMAILINJECT ? > > I don't remember if it's an 'f' or something else where the question > mark goes. man qmail-inject will tell you the letter to use. > I've tried this to no avail. As the above part of my message indicates, it seems the environment variables aren't even being set, let alone used. Chris -- Chris Hardie ----------------------------- ----- mailto:[EMAIL PROTECTED] ---------- -------- http://www.summersault.com/chris/ --
Quoting Chris Hardie ([EMAIL PROTECTED]): > > Hi. I'm tackling the old problem of having "Return-Path" headers > generated by CGI scripts set to something other than "[EMAIL PROTECTED]". > I believe I understand what needs to be done, after reading these: > And yet, qmail-inject is seemingly unaffected, and all messages generated > have the "[EMAIL PROTECTED]" header. I've always used the 'f' switch to qmail-inject to do that in scripts and such. qmail-inject [EMAIL PROTECTED] [EMAIL PROTECTED] ... Aaron
Chris Hardie <[EMAIL PROTECTED]> writes: > I tested the env setting by printing out the ENV variable to a log file > from within the CGI script, and it came up empty...this held true with > non-QMAIL environment variables. > > So I suppose this might be more of an apache question, but surely one > of you has dealt with this. :) Read about the PassEnv configuration directive in the Apache documentation. -- Frank Cringle, [EMAIL PROTECTED] voice: (+49 2304) 467101; fax: 943357
What is the significance of the second field in users/assign? From the docs for qmail-users, its supposed to be the userid to deliver the mail to. However, the third field is the UID. Also, vpopmail creates entries in user/assign like +somedomain.com-:somedomain.com:501:701:/home/vpopmail/domains/somedomain.com:-:: and I don't see a somedomain.com user in my /etc/passwd. What is the second field really used for? Is it important, or can I put anything there? Brian -- [EMAIL PROTECTED] http://www.baquiran.com US Fax: (603) 908-0727 AIM: bbaquiran
IMHO it should be the username of the owner of Maildir a.j. >>>>>>>>>>>>>>>>>> Urspr�ngliche Nachricht <<<<<<<<<<<<<<<<<< Am 1/26/00, 3:05:47 AM, schrieb Brian Baquiran <[EMAIL PROTECTED]> zum Thema users/assign format question: > What is the significance of the second field in users/assign? From the docs for > qmail-users, its supposed to be the userid to deliver the mail to. However, the > third field is the UID. Also, vpopmail creates entries in user/assign like > +somedomain.com-:somedomain.com:501:701:/home/vpopmail/domains/somedoma in.com:-:: > and I don't see a somedomain.com user in my /etc/passwd. What is the second > field really used for? Is it important, or can I put anything there? > Brian > -- > [EMAIL PROTECTED] > http://www.baquiran.com > US Fax: (603) 908-0727 > AIM: bbaquiran
I've moved the file /var/spool/mail/user to ~user/Mailbox and made a symbolic link back to /var/spool/mail/user, but it doesn't seem to stay. It will say that I have new mail in /var/spool/mail/user, and then when i go to view that mail via 'mail', it gives me this message:This text is part of the internal format of your mail folder, and is not
a real message. It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.I then quit out of mail, it saves it to mbox, and then the link /var/spool/mail/user is gone.This line is in my maillog:Jan 25 13:36:52 damacles procmail[5961]: Renamed bogus "/var/spool/mail/root" into "/var/spool/mail/BOGUS.root.VUJ"Why is this happening, and why aren't my links sticking, and what should i do?Thanks,Eric
Hi everybody, I hope someone is willing to help me out with qmail-analog. I just don't understand how it is supposed to work. How do I get qmail-analog to give me stats on the maillog files ? Anybody out there willing to help a newbie ? I am running RedHat 6.0 on an intel machine, with qmail 1.03, vpopmail, qmailanalog-0.70 thanks in advance Dewald
Dewald Strauss wrote: > > Hi everybody, > > I hope someone is willing to help me out with qmail-analog. > I just don't understand how it is supposed to work. > > How do I get qmail-analog to give me stats on the maillog > files ? > > Anybody out there willing to help a newbie ? I figured this out just last night after a bit of experimentation. Let's see if I can remember everything I did... 1. Figure out where your mail log files are. If you're using the stock /var/qmail/rc, splogger sends the output of qmail-send to syslog. Syslog on RH6.0 is configured to log mail-related messages to /var/log/maillog 2. Prepare your logfiles for the matchup program. For you this means stripping off the timestamps and junk that syslog ads. I did this via cat /var/log/maillog* | awk '{$1="";$2="";$3="";$4="";$5="";print}' > /tmp/maillog-pre-matchup 3. You then send the stripped log through matchup cat /tmp/maillog-pre-matchup | /usr/local/qmailanalog/bin/matchup > /tmp/maillog-matchup (I got an error message here about fd 5 not being open. I think matchup prints pending messages to fd 5.) 4. Then you can generate stats from the processed maillog using the z* utilities in /usr/local/qmailanalog/bin/ cat /tmp/maillog-matchup | /usr/local/qmailanalog/bin/zoverall > /tmp/zoverall-out You can then read /tmp/zoverall-out, which is a summary of what qmail has been doing. HTH Brian -- [EMAIL PROTECTED] http://www.baquiran.com US Fax: (603) 908-0727 AIM: bbaquiran
first, you have to know, that you MUST filter your logfiles throug qmailanalog/bin/matchup. this nice piece of software finds together the lines of the log for each mail. the output comes to STDOUT. lines matchup is not able to glue togehter come to channel 5. since i do looging with splogger, i have to thorw away the timestamps at the beginning of the lines. looks like this: cat /var/log/maillog | awk '{$1="";$2="";$3="";$4="";$5="";print}' | matchup 1>tmp.1 5>tmp.5 ok now we have a file tmp.1 with the results of matchup. now we can use the other programs: to see the total sumary: zoverall <tmp.1 to see the mails of a specific sender you can use: xrecipient [EMAIL PROTECTED] <tmp.1 | zrecipients note: the local. is the class needed for xrecipient. the x files filter out specific lines, the zfiles sum them up, and bring them in human readable form. the syntax is nearly the same for all the x's and z's. there are (small) manpages in qmailanalog/man but you have to put that into your $MANPATH to find them! hope that helps and hapy analyzing a.j. >>>>>>>>>>>>>>>>>> Urspr�ngliche Nachricht <<<<<<<<<<<<<<<<<< Am 1/26/00, 6:56:30 AM, schrieb "Dewald Strauss" <[EMAIL PROTECTED]> zum Thema qmail-analog: > Hi everybody, > I hope someone is willing to help me out with qmail-analog. > I just don't understand how it is supposed to work. > How do I get qmail-analog to give me stats on the maillog > files ? > Anybody out there willing to help a newbie ? > I am running RedHat 6.0 on an intel machine, > with qmail 1.03, vpopmail, qmailanalog-0.70 > thanks in advance > Dewald
According to Guan Yang: > > An crazy idea for infinite scalability and n-1 redundancy: > > 1. A rackful of SMTP servers, running mini-qmail and qmail-qmqpc, behind > pickdns. What is 'pickdns'? --curtis > 2. A small amount of qmail servers running qmail and qmail-qpqpd. > > 3. A huge, expensive NetApp. > > 4. A rackful of POP3 servers, running only qmail-pop3d, behind pickdns. > > 5. A rackful of SqWebMail servers, behind pickdns. > > 6. A small amount of replicated MySQL servers running authentication.
On Wed 2000-01-26 (02:34), Curtis Generous wrote: > According to Guan Yang: > > 1. A rackful of SMTP servers, running mini-qmail and qmail-qmqpc, behind > > pickdns. > > What is 'pickdns'? A load-balancing DNS server, part of the dnscache package - http://cr.yp.to/dnscache.html Neil -- Neil Blakey-Milner [EMAIL PROTECTED]
When I sent to a mailing list it ques the entire list (175,000 addresses) then the que takes forever (24 hours) to deliver. Anyway to speed this up? The server is a dedicated P 450, 128Meg, RedHat. Dedicated to qmail. Thanks, Randy
I'm running into a qmail-pop3d problem which I haven't seen before. I've just migrated to daemontools-0.61, and am having trouble getting qmail-pop3d fully operational under svscan. Symptoms: users can issue USER and PASS commands, but an immediate -ERR unable to write pipe is issued. contents of /service/qmail-pop3d/run: #!/bin/sh /usr/local/bin/tcpserver -v 0 pop3 /var/qmail/bin/qmail-popup \ triceratops.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 /service/qmail-pop3d/log/run: #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail-pop3d Any ideas? John White
According to Magnus Bodin: > > On Tue, Jan 25, 2000 at 02:55:19PM -0700, Steve Wolfe wrote: > > > > > > > Apologies for the previous HTML post. > > > > I can see the package now - "HTMLReject" for Qmail. : ) > > It's kinda included in ezmlm already. > Are there any standalone, fast HTML -> TEXT convertors available that would convert message body information on the fly? I have used the 'lynx -dump' approach in the past but that is way too big and slow to make this work many emails. Any ideas? --curtis
Dear Sir,I'll be highly thankful to you if U suggest me with the settings which I have to made at my company. I am replacing five mailservers running smail with Qmail. the layout is described with the attachement. Would U plz. let me know the settings .....thanx.================================= =================================mailserver.mynet.com.pk gatekeeper.mynet.com.pk
================================= ==================================
| | ^
| | |
| | |
| | |
| V
| ==================================
| ---- ---- ---- ---- ---- ---- ---- ----- ---- ---- ---- ---- > Welcome.mynet.com.pk
==================================
I need two way mail routing between "welcome" & "gatekeeper". All of these three servers were running smail. I replaced "mailserver"
with Qmail for one way delivery of messages, i.e., from Internet / Outside to mynet. "welcome" basically is a relaying machine. Whenever
an outbound mail arrives at welcome, it decides whether it is for mynet.com.pk or not. If it is not, then it forwards it to "gatekeeper".
Mailserver only receives mail from outside destined to "mynet.com.pk" and delivers it to "welcome".
On mailserver:
In locals, localhost
In rcpthosts, mynet.com.pk
Localhost
Mailserver.mynet.com.pk
In defualthost, welcome.mynet..com.pk
In smtproutes, :welcome.mynet.com.pk
Now I wanna replace "gatekeeper" with Qmail. I wanna make it open relay so that it can send messages to anyone, but accept messages only for "mynet.com.pk" & then forward it to "welcome.mynet.com.pk" What do U think abt this configuration:
In locals, localhost
In smtproutes, mynet.com.pk:welcome.mynet.com.pk
In defaulthost, welcome.mynet.com.pk
No rcpthosts,
But I think that I am a little bit wrong somewhere..... would U plz. Let me know where?
