[courier-users] minor problem
Hi Im a newbie with courier so bear with me. I have successfully installed courier imap to my RH72. I use pam authetification and systemV start up skript form www pages I have outlook as a client, i can connect to the server. i can move mails in and out from the server to my local outlook folders. But if i try to send email to my account, lets say im bobo user and im trying to send mail to this bobo user as root in local mashine using pine. The mail is sent, but it do not apear to imap when i try to read it from the outlook. tho if i log into shell as bobo, i can read the email sent by root with pine. so mail do go thrue, but it do not come to imap. Any ideas? With regards, Ilkka Urtamo ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
* Mark Constable [EMAIL PROTECTED] [20020117 05:56]: wrote: On Thu, 17 Jan 2002 08:33, Ken Nagorski wrote: OK. I am recompiling courier without these checks. I don't care what garbage ends up in users mailboxes. I am sick of dealing with compliants... Ditto. My question is this. Is there any reason I can't just do a make install? Will it screw anything up? I am not upgrading... So I am hoping it would be fine. I haven't seen anything in the FAQ Apologies for a me too post and not answerring your question but FWIW I'm also up against it and have to either re-install sendmail or lose my job. All my hard work selling the courier system in the first place (which took 12 months) has been undone by this one problem. As far as the boss and clients are concerned, the mail system used to work before (with sendmail), and now it doesn't. And the main client culprit is this brainless incredimail thing that adds horrendous backgrounds to clients mail, and worse, is starting to become a bit of a rage amongst users. make a wiser decision this time. Install Exim!!! -Wash S y s t e m s A d m i n. -- Odhiambo Washington [EMAIL PROTECTED]The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD. GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ The probability of someone watching you is proportional to the stupidity of your action. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
On Thu, 17 Jan 2002 20:31, Odhiambo Washington wrote: * Mark Constable [EMAIL PROTECTED] [20020117 05:56]: wrote: Apologies for a me too post and not answerring your question but FWIW I'm also up against it and have to either re-install sendmail or lose my job. All my hard make a wiser decision this time. Install Exim!!! I do understand sendmail whereas I'd have to learn Exim from scratch... moot point, the boss, and the helpdesk people, just want back whatever worked flawlessly before which happens to be sendmail. I've used it for 7 years and do not dislike it except for my attempts to get it to use a MySQL backend which courier-mta supports almost brilliantly. It just seems a pity to decommision software that works really well in all other respects other than this self-imposed problem. Applying patches is not an option as I have too many servers to look after. I cannot believe there is not a config setting to give us courier users the OPTION of being RFC strict with binary attachments or keeping the peace with employers and clients. On Thu, 17 Jan 2002 08:33, Ken Nagorski wrote: My question is this. Is there any reason I can't just do a make install? Will it screw anything up? I am not upgrading... So I am hoping it would be fine. I haven't seen anything in the FAQ Would anyone have a suggestion for the above original question for this thread ? (Ken, my apologies for hijacking it). --markc ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: weird domain bug and rfc1035
Daniel Higgins writes: erm well that domain has been around for 6+ years the MX is pointing at the mail server, but not the A record (which we're not pointing anywhere right now, but might in the future) and that causes that problem No, you were not listening to me. Two of the six top level servers for .ca didn't know anything about this domain. That was the problem. Looks like someone fixed it, so you should be ok from now on. right now the fix is to point the A to the mail server, and to remove the MX (or else we get a looping case, or so we figured with another domain, in the .com) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sam Varshavchik Sent: Wednesday, January 16, 2002 10:19 PM To: [EMAIL PROTECTED] Subject: [courier-users] Re: weird domain bug and rfc1035 Feyr Tlincail writes: some of my domains get a domain does not exist error Jan 16 19:42:44 netcom courieresmtpd: error,relay=:::207.139.145.204,from=[EMAIL PROTECTED]: 517-Domain does not exist: acces-cible.qc.ca. Jan 16 19:42:44 netcom courieresmtpd: error,relay=:::207.139.145.204,from=[EMAIL PROTECTED]: 517 Invalid domain, see URL:ftp://ftp.isi.edu/in-notes/rfc1035.txt the domain has its primary MX pointing to the mail server, and is listed in both esmtpdacceptmailfor.dir and locals (the ones that are supposed to get delivered locally) Looks like there are transient failures in NSes for the .ca TLD. ca. 86194 IN NS merle.cira.ca. ca. 86194 IN NS relay.cdnnet.ca. ca. 86194 IN NS clouso.risq.qc.ca. ca. 86194 IN NS ns2.uunet.ca. ca. 86194 IN NS ns3.utoronto.ca. ca. 86194 IN NS rs0.netsol.com. Right now merle.cira.ca and clouso.risq.qc.ca do not resolve acces-cible.qc.ca. If this is a new domain, wait a few more days for .ca TLD changes to fully propagate. Otherwise, 1/3 of queries that go through the .ca TLD NSes will fail. does anyone know how i would fix these? (im mostly concerned about the first one) Wait for changes to the .ca TLD to propagate, or for someone to fix the servers. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: 2 probs: return-path set wrong and /etc/aliases
--Gerhard Pfeiffer wrote on 17.01.2002 13:38 +: id=0001F9D3.3C458CC9.5940,from=[EMAIL PROTECTED],addr=| /usr/local/listar/listar -s technik@bnbt.de: 550 User unknown. Jan 16 Try without parantheses, as documented in makealiases(8). I tried without parentheses and still get the same error. When running makealiases -dump it tells me this: [EMAIL PROTECTED]: .xalias/technik@bnbt+2ede@bnbt.de, |/usr/local/listar/listar -s technik@bnbt.de The .xalias-file then contains this: | /usr/local/listar/listar -s technik This line looks good, put it in aliasdir/.courier-technik and remove the entry from etc/aliases. Never tried that .xalias-thing myself, but the code from courierlocal looks at the first character and (only) if its a pipe the remainder will be executed via /bin/sh. Thats why I jumped at the parentheses... Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
I cannot believe there is not a config setting to give us courier users the OPTION of being RFC strict with binary attachments or keeping the peace with employers and clients. This config OPTION is what I suggested two days ago. Compiling the full Courier package (mta, authdaemon, tcpd, pop, imap, sqwebmail and maildrop) is very painful for many people. I see only advantages if this patch is used on the main Courier package. . Since it's a configuration option no one will need to compile submit again. . We can change the behavior of Courier (accepting, rewriting or rejecting the message) for all or only some hoss just adding a line on smtpacess files. . The default behavior (rewriting and miming the original message) is the same. . The only weakness that I think Courier has will be closed. . And the most important: we will never have to discuss this subject again Marcus ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
hi, Well you might want to consider Postfix since it is the closest drop in replacement for sendmail. That is its intent from day one. Courier smtpd really can't say other than if Courier-Imap is any indication it is very good. Exim don't know. QMail that is quite diff than Postfix and Sendmail from experience. Postfix is extremely easy to setup. I would try that first before rolling all the way back to Sendmail 9.x.x or whatever it is now. It also works well with Courier-Imap and Maildirs. Well TTFN .. The unknown var is what does incremail actually do? -- /* Security is a work in progress - dreamwvr */ # # Note: To begin Journey type man afterboot,man help,man hier[.] # // Who's Afraid of Schrodinger's Cat? /var/(.)?mail/me \? ;-] ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
On Thu, 17 Jan 2002, Marcus Felipe Pereira wrote: This config OPTION is what I suggested two days ago. Compiling the full Courier package (mta, authdaemon, tcpd, pop, imap, sqwebmail and maildrop) is very painful for many people. patch -p1 ../patch... make *MY FLESH!!* I see only advantages if this patch is used on the main Courier package. Disadvantage: MUAs exhibit strange behavior and sometimes crash due to badly formated mail. Support calls get escalated to admins. We gripe. The problem continues and repeats. Honestly, the strict RFC compliance is one of the things I like best about Courier. If that one thing prevents you from using the MTA, there's no shortage of others that support maildirs, LDAP, etc. Once you start making exceptions (hacks) to bow down and support buggy clients, where do you decide to stop? It's already been done for MUA clients with the configure workaround option. (Which is the only argument I can make for adding such a patch for RFC error checking: courier makes exceptions for others) Sometimes I think that clients get all the leeway when it comes to blame because servers don't have pretty icons to smile back at the users. Why else does no one suggest fixing the problem at its source? This is exactly the reason that RMS demands the source to all of the software he uses. PS: I know emsomebody/em isn't going to get the joke. You see: http://www.penny-arcade.com/view.php3?date=2002-01-04res=l -- If I had a dollar for every brain that you don't have, I'd have one dollar. - Squidward to SpongeBob ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
RANT WTF is going on with you ppl??? The question asked was Is there any reason I can't just do a make install?, not which mta is the best? /RANT SOLUTION If you comment out the if's and do a make, you'll notice only one file is recompiled (and that is courier/submit) So, if you fear the make install, you can do this: copy the courier-src/courier/submit file into ${prefix}/libexec/courier and set the correct permissions. Here you've a copypaste of -MY- commands: cd /usr/src/courier-0.37.0 su courier make exit su root cp courier/submit /usr/courier/libexec/courier cd /usr/courier/libexec/courier chown courier.courier submit chmod 550 submit exit Done!! /SOLUTION HTH, Later =) - Original Message - From: Ken Nagorski To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 19:33 Subject: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT Hi there, OK. I am recompiling courier without these checks. I don't care what garbage ends up in users mailboxes. I am sick of dealing with compliants... My question is this. Is there any reason I can't just do a make install? Will it screw anything up? I am not upgrading... So I am hoping it would be fine. I haven't seen anything in the FAQ Thanks Ken -- But I don't want to go among mad people, Alice remarked. Oh, you can't help that, said the Cat: we're all mad here. I'm mad. You're mad. How do you know I'm mad? said Alice. You must be, said the Cat, or you wouldn't have come here. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] virtual email
You assign one real uid/gid combination(to own the maildirs, etc) and you build a database (either userdb, ldap, postgres, mysql, or anything else you want to program for) and use that database to authenticate users, with all uid and gid set the the virtual user that you set up. Some schema examples are in the authmysql and the authpostgres documentation. -Peter On Thu, Jan 17, 2002 at 10:47:56AM -0600, Tony Bibbs wrote: I'm a Courier convert and I've dug around in the installation document an can't seem to find how to configure Courier to use virtual email accounts as opposed to creating valid system accounts (I'll be using mysql authentication). Any points of reference, gotchas, etc would be appreciated. Thanks in advance, --Tony ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] virtual email
Thanks Peter, that helps! OK, so what I did was I created a user called courieruser and the system, for example, give it a uid of 3 and a gid of 4. I did an alter table on passwd so that the uid/gid default to those values and I did an update on the table to apply those values to any existing records. I'm assuming I need to do a maildirmake as that user to create the maildir. My question (maybe this is more than I need to know) is how does Courier use a single maildir for multiple users. Specifically, if I insert a new user into the MySQL table, will the users virtual maildir be created automatically? --Tony On Thu, 2002-01-17 at 11:34, Peter C. Norton wrote: You assign one real uid/gid combination(to own the maildirs, etc) and you build a database (either userdb, ldap, postgres, mysql, or anything else you want to program for) and use that database to authenticate users, with all uid and gid set the the virtual user that you set up. Some schema examples are in the authmysql and the authpostgres documentation. -Peter On Thu, Jan 17, 2002 at 10:47:56AM -0600, Tony Bibbs wrote: I'm a Courier convert and I've dug around in the installation document an can't seem to find how to configure Courier to use virtual email accounts as opposed to creating valid system accounts (I'll be using mysql authentication). Any points of reference, gotchas, etc would be appreciated. Thanks in advance, --Tony ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] virtual email
Tony Bibbs wrote: I'm a Courier convert and I've dug around in the installation document an can't seem to find how to configure Courier to use virtual email accounts as opposed to creating valid system accounts (I'll be using mysql authentication). Any points of reference, gotchas, etc would be appreciated. Thanks in advance, --Tony ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users Just add your entries into a mysql database, as the instructions show, I create a central mail directory area, all with the same uid/gid of a user that doesn't have the ability to login. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] virtual email
Tony Bibbs wrote: Thanks Peter, that helps! OK, so what I did was I created a user called courieruser and the system, for example, give it a uid of 3 and a gid of 4. I did an alter table on passwd so that the uid/gid default to those values and I did an update on the table to apply those values to any existing records. I'm assuming I need to do a maildirmake as that user to create the maildir. My question (maybe this is more than I need to know) is how does Courier use a single maildir for multiple users. Specifically, if I insert a new user into the MySQL table, will the users virtual maildir be created automatically? --Tony On Thu, 2002-01-17 at 11:34, Peter C. Norton wrote: You assign one real uid/gid combination(to own the maildirs, etc) and you build a database (either userdb, ldap, postgres, mysql, or anything else you want to program for) and use that database to authenticate users, with all uid and gid set the the virtual user that you set up. Some schema examples are in the authmysql and the authpostgres documentation. -Peter On Thu, Jan 17, 2002 at 10:47:56AM -0600, Tony Bibbs wrote: I'm a Courier convert and I've dug around in the installation document an can't seem to find how to configure Courier to use virtual email accounts as opposed to creating valid system accounts (I'll be using mysql authentication). Any points of reference, gotchas, etc would be appreciated. Thanks in advance, --Tony ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users No, you will have to make a new directory for each user. I put them all in /home/mailusers. So, for the addresses [EMAIL PROTECTED] and [EMAIL PROTECTED] I have the following directories: [EMAIL PROTECTED]/ [EMAIL PROTECTED]/ each of which has it's own Maildir subdirectory, where mail gets delivered to. You can easly script the addition of a user into the sql database, and the directory creation though... ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Sending mail from the console
Hi I'm trying to create a bash script that will parse certain log files for errors and forward them to postmaster. I can manage everything except the message delivery. What command can I use to delivery an email message from a bash shell. If possible, could you please provide an example of the usage of the command. Thank you ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] virtual email
On Thu, Jan 17, 2002 at 12:03:02PM -0600, Tony Bibbs wrote: I'm assuming I need to do a maildirmake as that user to create the maildir. Absolutely correct. My question (maybe this is more than I need to know) is how does Courier use a single maildir for multiple users. Specifically, if I insert a new user into the MySQL table, will the users virtual maildir be created automatically? It doesn't. You make one maildir per user you add, and then you set that virtual users' maildir field to that maildir. -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Sending mail from the console
You mean something like # mail -s my mail [EMAIL PROTECTED] /var/log/my_log ??? On Thu, Jan 17, 2002 at 10:40:52AM -0800, [EMAIL PROTECTED] wrote: Hi I'm trying to create a bash script that will parse certain log files for errors and forward them to postmaster. I can manage everything except the message delivery. What command can I use to delivery an email message from a bash shell. If possible, could you please provide an example of the usage of the command. Thank you ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] 505 user unknown (was virtual email)
running perftest1 I get a bunch of 505 user unknown errors in /var/log/maillog. I tried using submit as follows: /usr/lib/courier/libexec/courier/submit -vrfy=couriertest@localhost local 'dns; helo-fqhn (host xxx.xxx.xxx.xxx)' and I get the same results. I verified that /usr/lib/courier/etc/locals has localhost in it and did another makealiases along with restarting courier and authdaemond just in case and I still get the same thing I'm trying to use MySQL for authentication and for the user in question I have the following in the database table: id='couriertest' crypt='foo' uid = x gid = y home= /home/courierusers maildir= couriertest Any hints on troubleshooting this would be greatly appreciated. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Sending mail from the console
--Peter C. Norton wrote on 17.01.2002 11:30 -0800: You mean something like # mail -s my mail [EMAIL PROTECTED] /var/log/my_log ??? Probably not, logs often contain 8bit-characters and they need the proper encoding - at least with stock courier :) #!/bin/sh ( echo Subject: Whatever you want, 7bit-chars only To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit ; cat /var/log/my_log ) | sendmail [EMAIL PROTECTED] Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] 505 user unknown (was virtual email)
Also, to help: 1) hosteddomains directory doesn't exist 2) locals file has these entries: mydomain.com .mydomain.com localhost myhostname1 3) can't find the me file --Tony On Thu, 2002-01-17 at 13:50, Tony Bibbs wrote: running perftest1 I get a bunch of 505 user unknown errors in /var/log/maillog. I tried using submit as follows: /usr/lib/courier/libexec/courier/submit -vrfy=couriertest@localhost local 'dns; helo-fqhn (host xxx.xxx.xxx.xxx)' and I get the same results. I verified that /usr/lib/courier/etc/locals has localhost in it and did another makealiases along with restarting courier and authdaemond just in case and I still get the same thing I'm trying to use MySQL for authentication and for the user in question I have the following in the database table: id='couriertest' crypt='foo' uid = x gid = y home= /home/courierusers maildir= couriertest Any hints on troubleshooting this would be greatly appreciated. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] 505 user unknown (was virtual email)
--Tony Bibbs wrote on 17.01.2002 13:50 -0600: running perftest1 I get a bunch of 505 user unknown errors in 505 ??? read them again and start with one single mail. Use either courier's sendmail or `telnet localhost 25`. /var/log/maillog. I tried using submit as follows: /usr/lib/courier/libexec/courier/submit -vrfy=couriertest@localhost local 'dns; helo-fqhn (host xxx.xxx.xxx.xxx)' ^^^ typo. Just forget about submit. and I get the same results. I verified that /usr/lib/courier/etc/locals has localhost in it and did another makealiases along with restarting courier and authdaemond just in case and I still get the same thing I'm trying to use MySQL for authentication and for the user in question I have the following in the database table: id='couriertest' crypt='foo' uid = x gid = y home= /home/courierusers maildir= couriertest You should not mess around with ./Maildir until you fully understand the consequences. x and y wont work, they have to be numeric and match an existent entry in /etc/passwd and also match the owner of the maildir. Any hints on troubleshooting this would be greatly appreciated. Run authtest and look again in your maillog and mysql-log. Everything is there, but if you hide or munge the information with typos nobody will be able to help. Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Sending mail from the console
On Thu, Jan 17, 2002, Roland Schneider [EMAIL PROTECTED] wrote: --Peter C. Norton wrote on 17.01.2002 11:30 -0800: You mean something like # mail -s my mail [EMAIL PROTECTED] /var/log/my_log ??? Probably not, logs often contain 8bit-characters and they need the proper encoding - at least with stock courier :) #!/bin/sh ( echo Subject: Whatever you want, 7bit-chars only To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit ; cat /var/log/my_log ) | sendmail [EMAIL PROTECTED] Souldn't that be a function of 'mail'? JE ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] Sending mail from the console
Hi Sorry. I forgot to mention that the server has courier (POP/SMTP/IMAP) installed (so sendmail was replaced and mail (mailx) does not work). Is it still possible? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Roland Schneider Sent: Thursday, January 17, 2002 12:26 PM To: 'courier' Subject: Re: [courier-users] Sending mail from the console --Peter C. Norton wrote on 17.01.2002 11:30 -0800: You mean something like # mail -s my mail [EMAIL PROTECTED] /var/log/my_log ??? Probably not, logs often contain 8bit-characters and they need the proper encoding - at least with stock courier :) #!/bin/sh ( echo Subject: Whatever you want, 7bit-chars only To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit ; cat /var/log/my_log ) | sendmail [EMAIL PROTECTED] Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
Mark, I think you're right, but your moment of disappointment seem to affect your judgement. It's a couple of patched lines of source code, nothing more. So what's the issue? Are you unable to compile a patched source tree yourself? Are you forbidden to tamper with open source by your employer? Do you have a policy of only installing binaries as distributed by a official distributor? I don't know about you but for me, the power of open source lies in precisely this: If you're unhappy with an author's point of view, go on and modify the source yourself, optionally share it with the community, and go on with your life. You can always argue with the author, but it's pointless to threaten to abandon his/her software unless s/he adhere to your point of view. S/he probably couldn't care less. To be specific, Courier is Sam, Sam is Courier. Courier is what Sam likes it to be. He is the supreme ruler in his little kingdom. It's not his fault that you consider to abandon his creation in favor of another similar creation. It's how you evaluate your own options. Maybe Sam will budge on this issue at some time in the future. Until then, you can still use courier-mta if you just can accept to maintain a patched courier-mta until Sam decides to add this configuration option into his source code tree. Just my 2 (euro) cent. tomas/ Mark Constable wrote: On Fri, 18 Jan 2002 03:00, Papo Napolitano wrote: RANT WTF is going on with you ppl??? The question asked was Is there any reason I can't just do a make install?, not which mta is the best? /RANT Thank you for answerring Kens original question. The reason he asked the question under this Subject, and the other ~OT replies, are all relevant for this thread. The which mta is the best? is in the context of replacing courier-mta to fix a stupid rule that has a NEGATIVE impact of those responsible for installing and managing this software. It's a bizarre situation that I am compelled, even forced, to change software I am otherwise completely happy with, even excited about because it solved my greatest need to have authentication out of MySQL in a natural way without... dare I say, patches and hacks. Finally I can manage email resources for over a dozen servers and 6K clients sanely and was looking forward to exploring couriermlm next. This issue is not going to go away. The more wisespread courier-mta becomes the MORE this is going to become an issue and even in this thread it's obvious quite a number of people avoid this problem by using a different MTA (as well as for other misc reasons). The only argument I've seen for strict RFC compliant binary attachement checking is that it's the right thing to do and it _may_ allow client MUAs to crash. If that happens then the original sender and the recipient can be blamed for using lame software whereas the way things stand now... the MTA in the middle is FORCING a policy upon ISPs and their clients that squarely puts the MTA at fault as the culprit causing a problem where dodo clients pretty (and obnoxious) backgrounds and attachements do not appear as the client was led to expect. For me and others not using courier-mta, this is/was a show stopper. If the clients MUA happens to crash it's THEIR problem, get another MUA... the way things are now it is the ISP in the middles problem... get another MTA ! The answer is so shit simple it's almost embarrasing to have to even put it in words. If the official courier-mta distribution could apply a (what!) 4 line patch and offer a run-time config option to disable this checking then I suspect a lot more people could happily run courier-mta... and these contentious messages and threads will dissapear from this mailing-list. As for postfix and exim, I'm sure they are fine MTAs but in our case our client data is firmly embedded in MySQL tables and I'm not prepared to undo that (it took 5 years to get it so) and I don't know if or how these other MTAs can do that whereas I do have sendmail setup to use the same tables and could switch back to it fairly easily. I would, however, much prefer to make a simple call (ie; my choice) to simply edit esmtpd and uncomment IGNORE_RFC2045=1 and have no more of these moronic complaints coming from our clients. --markc ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Work-around to allow % or : as name/domain sperator for NetscapeMessenger - authmysql
Here is a little patch that allows for use of the % (percent), or : (colon) chars as separators for the [EMAIL PROTECTED] problem for Netscape Messenger clients in a virtual domain(s) environment. --- authmysqllib.c-save Thu Jan 17 11:41:41 2002 +++ authmysqllib.c Thu Jan 17 16:06:46 2002 @@ -191,10 +191,13 @@ static void append_username(char *p, const char *username, const char *defdomain) { - for (strcpy(p, username); *p; p++) + for (strcpy(p, username); *p; p++) if (*p == '' || *p == '\\' || (int)(unsigned char)*p ' ') *p=' '; /* No funny business */ + + if (strchr(username, ':') != 0) return; + if (strchr(username, '%') != 0) return; if (strchr(username, '@') == 0 defdomain *defdomain) strcat(strcpy(p, @), defdomain); } I have MySQL passwd table entries that contain entries for: [EMAIL PROTECTED], user2%somedomain.com, user3:somedomain.com and localuser (with no @defaultdomain) all work properly. The Netscape Messenger clients enter their e-mail account names with either a : (colon) or % (percent) in place of a @ (at sign) but, of course, list their real e-mail address in the proper location so that folks can replay to them, etc. As delivered, authmysqllib.c would discover the missing @ and assume that it was a username for the 'DEFAULT_DOMAIN (see authmysqlrc). The patch (above) simply checks for the existence of either alternate separator, and accepts it as a good username. It works equally well for POP3 and IMAP (as you would expect). I have *not* even looked at the authpgsqllib.c instance of this; but the idea is the same... Randy Lewis ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Sending mail from the console
--Johannes Erdfelt wrote on 17.01.2002 15:58 -0500: [...] #!/bin/sh ( echo Subject: Whatever you want, 7bit-chars only To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit ; cat /var/log/my_log ) | sendmail [EMAIL PROTECTED] Souldn't that be a function of 'mail'? mail (and Mail which is a symlink) does not know anything about mime, the only 'functionality' is wrapping the generated headers after 72 characters and some checks if the connection is above or below 1200bps... (current FreeBSD) Its basically the same as of 6/6/93, and the first draft about mime (rfc 1521) was published a few months later. Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] 505 user unknown (was virtual email)
--Tony Bibbs wrote on 17.01.2002 15:17 -0600: sorry, I meant to say that x and y are the uid/gid respectively of the user courierusers. This is ok then, hope you also have: /home/courierusers/couriertest/[tmp|new|cur] I did a 'telnet localhost 25' and got: Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused You also need to start the couriertcpd for esmtpd with: cd /usr/lib/courier/sbin ./esmtpd start same with pop3, imap, the ssl-pendants, authdaemond.mysql. The whole thing should look like this: $ pstree -u init-+-authdaemond.mysq---2*[authdaemond.mysq] |-courierd---courierd(courier)-+-sh(root)---courierdsn(courier) | |-sh(root)---courieresmtp(courier) | `-sh(root)---courierlocal |-6*[couriertcpd] use sockstat or netstat to see the listening sockets. If you still cant connect check the local packet-filter. Then dig for the utility authtest somewhere in the source, it will tell you if a specific user exists, and where. If there are still errors copypaste them into your posting to prevent any typos, they are really confusing :) Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
On Fri, 18 Jan 2002 07:47, Tomas Fasth wrote: I think you're right, but your moment of disappointment seem to affect your judgement. It's a couple of patched lines of source code, nothing more. Multply that by a dozen servers AND every time a new version of courier-mta comes out vs apt-get, no comparison. It's not like Sam has to allow courier-mta to become defiled by not being the most compliant MTA out there... it's just a couple of patched lines of source that could allow many (I guess) courier-mta users to have a run-time choice in the matter. Even attachments from NetworkSolutions don't work. So what's the issue? Are you unable to compile a patched source tree yourself? Are you forbidden to tamper with open source by your employer? Do you have a policy of only installing binaries as distributed by a official distributor? ... Yes to the last one. Every time I try to self-maintain various patched versions of any particular package then that need and situation deteriorates into a disaster over time but that's my problem, not courier-mta or this lists. This is an example of the crap I have to deal with. Maybe I'm the only ISP-tech on this list with even a moderate amount of real-world users trying to justify courier-mta. - Original Message - From: Glenys Barns [EMAIL PROTECTED] To: Undisclosed-Recipient: Sent: Thursday, 17 January 2002 10:27 pm Subject: Fw: Outcome Focus Ezine, January 14, 2002 Ian, I don't know if you can make any sense out of all this. I received a message from the Courier Mail Server 0.36.1 on cooloola.x. It stated that a message I had received was a corrupt message I sent it on to the sender and this is what came back. I don't know how to send the message to the Courier Mail Server so I am sending the lot to you. Good luck Glenys - Original Message - From: Paul Cummings [EMAIL PROTECTED] To: 'Glenys Barns' [EMAIL PROTECTED] Sent: Thursday, January 17, 2002 7:13 AM Subject: RE: Outcome Focus Ezine, January 14, 2002 Dear Glenys, Below is the message I received from Sparklist. They suggest that you send the info to your ISP and see what they think the issue might be. Let me know how it works out, Paul Date: 1/15/2002 10:48:20 AM Work Order #: 20602 Resolution: Paul, This is an issue the recipient will need to take up with their ISP. It is a setting on their end. ^ Thank you, Gary Macklin SparkLIST.com Technical Support SparkLIST.com Corporation . The High-Performance Email List Publishing Experts . -- SparkLIST Email List Hosting, Promotions Management Service Tel: +1 920-490-5901, option 3 http://SparkLIST.com/ Online Help: http://SparkLIST.com/resources/help/ -- and on and on it goes... --markc ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: Sending mail from the console
[EMAIL PROTECTED] writes: Hi Sorry. I forgot to mention that the server has courier (POP/SMTP/IMAP) installed (so sendmail was replaced and mail (mailx) does not work). mail/mailx certainly works with Courier, as long as you feed it only 7-bit data, as Roland mentioned. Is it still possible? Yes, and you can also run Courier's sendmail and feed it the complete message, headers and all. Properly MIME-encoded, of course. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: serving different content with imap?
Andreas Schuldei writes: However, even if I start different imap servers and authlib for authentification and finding the right maildir for one set of content, I get the same set of data from authlib for every imap server (no mætter which port it runs on). But I need to find the different sets of maildirs, somehow. Has someone got an idea how to accomplish that? How about actually explaining what you really are hoping to accomplish, purpose-wise, with this instead of deciding to go ahead with this silly configuration, and trying to beat Courier into this mold. You can probably accomplish what you want by using a single set of accounts, but using different IMAP folder roots in the mail client's configuration. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: RFC2045_ERR8BITHEADER and RFC2045_ERR8BITCONTENT
Mark Constable writes: Yes to the last one. Every time I try to self-maintain various patched versions of any particular package then that need and situation deteriorates into a disaster over time but that's my problem, not courier-mta or this lists. For the better half of last year I had to maintain my own fork of a Linux device driver, due to some bickering between the driver's official maintainer and Linus. It wasn't pretty, I hated having to rebuild the kernel each time Red Hat released an errata, but it wasn't the end of the world either. I survived. And eventually the right set of patches finally made it into the Linus tree. The world survived. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] Sending mail from the console
Hi I created a file called /tmp/a with the following lines Subject: Test To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Test I then run the following as root on Redhat 7.1 Cat /tmp/a | /usr/lib/courier/bin/sendmail [EMAIL PROTECTED] The following was returned /usr/lib/courier/bin/sendmail: Subject:: command not found /usr/lib/courier/bin/sendmail: To:: command not found /usr/lib/courier/bin/sendmail: Mime-Version:: command not found /usr/lib/courier/bin/sendmail: Content-Type:: command not found /usr/lib/courier/bin/sendmail: Content-Transfer-Encoding:: command not found Have I configured courier incorrectly? Am I missing some dependency? Any ideas? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Roland Schneider Sent: Thursday, January 17, 2002 2:51 PM To: 'courier' Subject: Re: [courier-users] Sending mail from the console --Johannes Erdfelt wrote on 17.01.2002 15:58 -0500: [...] #!/bin/sh ( echo Subject: Whatever you want, 7bit-chars only To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit ; cat /var/log/my_log ) | sendmail [EMAIL PROTECTED] Souldn't that be a function of 'mail'? mail (and Mail which is a symlink) does not know anything about mime, the only 'functionality' is wrapping the generated headers after 72 characters and some checks if the connection is above or below 1200bps... (current FreeBSD) Its basically the same as of 6/6/93, and the first draft about mime (rfc 1521) was published a few months later. Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] domain bucket
Hello, I would like to ask if it is possible to set up domain bucket (or domain bin, I am not sure how to translate it to English) in courier 0.36 or higher. I tried it some time but with no result ;(( Thanks for any help Petr ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] Re: New User help please
Thank you! that did it. Courier is looking good to us. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sam Varshavchik Sent: Wednesday, January 16, 2002 7:10 PM To: [EMAIL PROTECTED] Subject: [courier-users] Re: New User help please Walter Taucher writes: We are trying to find out how to have a default email address account that misaddressed emails would be delivered to. Is it possible to configure Courier to allow this? Thanks in advance all. Yes. Create $sysconfdir/aliasdir/.courier-default -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] A virtual example
There doesn't seem to be a working example and was hoping for one: [EMAIL PROTECTED] unix account = bob1 [EMAIL PROTECTED] unix account = bob2 [EMAIL PROTECTED]unix account = bob3 How to keep the bob's email seperate. We tried all the solutions in the docs and always end up with [EMAIL PROTECTED] getting all the mail? tom ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] A virtual example
thomas debel wrote: There doesn't seem to be a working example and was hoping for one: [EMAIL PROTECTED]unix account = bob1 [EMAIL PROTECTED]unix account = bob2 [EMAIL PROTECTED]unix account = bob3 How to keep the bob's email seperate. We tried all the solutions in the docs and always end up with [EMAIL PROTECTED] getting all the mail? tom ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users You could try listing the username as teh full address. All my users are listed as [EMAIL PROTECTED] so [EMAIL PROTECTED] and [EMAIL PROTECTED] are 2 different addresses, and 2 different people. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: backup MX?
Daniel Higgins writes: how long will courier defer the delivery of a mail for a domain it is the backup mx for before bouncing it? The default amount of time Courier tries to deliver mail, before giving up. The default time is one week. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] A virtual example
On Fri, 18 Jan 2002, thomas debel wrote: There doesn't seem to be a working example and was hoping for one: [EMAIL PROTECTED] unix account = bob1 [EMAIL PROTECTED]unix account = bob2 [EMAIL PROTECTED] unix account = bob3 How to keep the bob's email seperate. We tried all the solutions in the docs and always end up with [EMAIL PROTECTED] getting all the mail? Yes, there is. Go to the courier-imap Web site, and read. It's fairly detailed and simple. -- Regards, Juha C program run. C program crash. C programmer quit. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users