[courier-users] SuSE 9 rpm build Q, also can we post RPM's we compile?
Hi all, I'm now using SuSE 9 which includes a current version of RPM, so you can do: rpmbuild -ta courier-0.43.2.tar.bz2 or whatever and it tries. But I get the following dependency errors even though I have those packages it wants: openssl-perl is needed by courier-0.43.2.20031027-1 mgetty-sendfax is needed by courier-0.43.2.20031027-1 netpbm-progs is needed by courier-0.43.2.20031027-1 openldap-devel is needed by courier-0.43.2.20031027-1 openldap-servers is needed by courier-0.43.2.20031027-1 I tried to pass some configure options with rpmbuild but no matter what options I tried to pass i still get the same dependency errors. Is there anyway to get around that withough manually editing the .spec file? Also I have SuSE 8.2 rpm's of courier-0.43.2 that work, is it legal and all that for me to host them on my site? I'm a pretty solid SUSE/courier user so I don't mind keeping them up. Or I can submit them to courier-mta.org if they will be made available. Thanks, Keith --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] .courier howto identify status
.courier is executed every time a email is atempted, weather or not it's a re-send. I need a way to identify final sends, or successfull send. But I can't see how to grab those options from courier. When I do mailq I can see messages in the que and on it's final attempt I can see fail and if there is someway I can grab that value in my .courier file I'm set. The only other way I can think to do it have my .courier file send a exit code that tell courier it's a failed message, but that kind of sucks becuase it doesn't let courier do it's job and try to re-send failues. I'm really at a loss on how to do this so I'd apprecaite any help Thanks, Keith --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] RPM build script and SuSE
SuSE 8.2 uses a old version of RPM which dosen't work well with the spec file that comes with courier. I just made some courier RPM's that work, but to do that I had to remove some of the checks in the spec file which is probally a bad thing. I just got SuSE 9.0 which looks like it has a newer version of RPM so I'll try it with the default .spec next week and see how it does. Email me and I'll send you the .spec file I currently have that works with SuSE 8.2 and courier. Keith [EMAIL PROTECTED] Tom Allison wrote: I tried to run the RPM builds on SuSE 8.2. They fail on a number of pacakge dependencies: bash.rpm is one coreutils.rpm is another. I tried to work around these but am not expert enough to be able to fix as many as I was (potentially) running into. Is there any effort under way to provide some SuSE compatability to the RPM scripts? --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- * *Keith Pettit * *System Administrator * * Direct Solutions, Inc. * * Phone: 1.801.226.5166 ext 207 * * Fax: 1.801.226.5018 * * Address: 763 North 530 East * * Orem, Utah 84097 * * --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] .courier and soft-bounces
I've notices that my .courier file gets executed every time a soft bounce (like a dns failure) is re-tried. Ideally I would only like the .courier file checked on the final failure. I wrote a script to update my db and un-subscribe failues but it really thows it all off to have that script ran every 5 minutes when courier tries to re-send the soft failues. So my questions: 1) Can I make it so the .courier file is only executed on a the final courier attempt? 2) If that's not possible if there is a failure and .courier is executed is there anyway I can have it .courier executed again upon success? Basically I'm writing a little mailing list program and I want it to Auto-kill users that it errors out on. I want hard failes to do it right away and soft-failes to kill it after X tries. Thanks for any help or suggestions. Keith --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] filtering bounce-backs/errors
I need to get the specific error type/messages and record it in a database. using .courier/maildrop I can get allot of variables but nothing to do with error codes. Is there anything already written in courier to get out or do certain things with errors? I know I can write a script to parse the email and look for Diagnostic-Code: but I'd rather do something more efficient if available. Thanks, keith --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] smtp auth exception?
Thanks all that worked great!! Although one final note once you change smtpaccess you need to have your users turn off smtp auth on whatever mail client there using. Basically uncheck the user username and password options for sending mail or it will still be slow. thanks again, Keith Jeff Jansen wrote: On Monday 18 August 2003 20:25, Keith Pettit wrote: I have smtp auth turned on and it works great, but it's alittle laggy (3-5 sec). I'd like to allow local users to use SMTP without authing. Is there a way I can have smtp auth turned on, but have a certian subnet not need authentication? Sure. Check out the makesmtpaccess man page for instructions. Basically you edit the /etc/courier/smtpaccess/default file (or create a new one in that directory) and add a line for the subnet you want. So 192.168.1 allow,RELAYCLIENT would allow all machines on the 192.168.1.0/24 subnet to access the smtp server and relay messages through it without authenticating. The man page will give you all the options. Jeff Jansen --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- * *Keith Pettit * *System Administrator * * Direct Solutions, Inc. * * Phone: 1.801.226.5166 ext 211 * * Fax: 1.801.226.5018 * * Address: 763 North 530 East * * Orem, Utah 84097 * * --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] smtp auth exception?
I have smtp auth turned on and it works great, but it's alittle laggy (3-5 sec). I'd like to allow local users to use SMTP without authing. Is there a way I can have smtp auth turned on, but have a certian subnet not need authentication? Thanks, Keith --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Courier Fax - High failure rate (incomming)
I have courierfax setup and running great with my mail system. But I've been getting daily complaints from people trying to send us faxes that there not going though. I'm looking though the logs /var/log/mgetty-ttyS0 and /var/log/mail But I'm not really sure what I'm looking for. One thing I've noticed is fax servers that send to us fail alot more than people that are hand faxing. I'm not sure what that menas, but that's what the people sending to us complain about. Any information or tweaking help would be appreciated. -- Keith --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Slow smtp
What's the proper format? TCPDOPTS=-stderrlogger=/usr/lib/courier/sbin/courierlogger is what I have now. It says I can add -nodnslookup and -noidentlookup. But not sure if I do that by a comma seperated list, space, on another line, etc. Sorry I know that's a basic question. Keith Lukas Vesely wrote: On Mon, 23 Jun 2003, Keith Pettit wrote: SMTP is just crawling today. To send a messsage via smntp takes 20sec-5min or just failes. - /usr/bin/sendmail sends messages instantly - imap and everything else is working fine - I've raised all the max number of connection options with no results We have a pretty basic system with only 1 domain and about 10 users. And we don't receive more than a couple hundred messges in a day so I'm really boggled as to why this is being so slow. They only thing I've done to change the system since last week is start using the courier fax module. Thanks for any help, Try adding -nodnslookup and/or -noidentlookup to /etc/courier/esmtpd or wherever your config files are. Lukas --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- Keith Pettit Direct Solutions Systems Administrator [EMAIL PROTECTED] (801)226-5166 x211 --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] SuSE 8.2
I'm using SuSE 8.2 and I successfully built my RPM's and it's worked great so far. I'm sure the way I did it wasn't the correct way, but basically I went though the spec file and removed sections that we're causing me problems. Good thing is it worked, bad thing is it's not checking for some dependencies. I kept getting erros when I tried to build for dependencies that I new I had, so rather than figure out why and build a correct RPM I just removed parts of the spec. But everything is working just great! Email me if you want my spec file. Keith Heberto del Rio wrote: Hi, I was wondering if it is really necessary to have rpm= 4.0.2, in order to build the rpms? I have linux box SuSE 8.2 and its rpm is 3.0.6. For some reason (which I don't understand) SuSE has not upgraded this package, and I don't think I need to, since everything works perfect in my box. Can I still create the rpms or I have to go the 'tar cvjf ./configure' way? Heberto --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- Keith Pettit Direct Solutions Systems Administrator [EMAIL PROTECTED] (801)226-5166 x211 --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courierfax image format/size
courierfax is working great. But I'd like to see if there is anyway to choose the size of the png that's sent? The PNG is freaking huge and if you need to print it, it can be very painfull depending on the email client your using. Also for multi-page faxes it creates a seperate PNG for each page. Is there anyway to have one PDF instead or something similar? That makes more sense to me if faxes are more than one page. Thanks, -- Keith [EMAIL PROTECTED] --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courierfax image format/size
It took me about a week of dinking around with courierfax/mgetty+sendfax/modem before I got it to work right. Here is what I found out. 1) Have to have a fax/modem that does class 2.0 or 2. If you only have Class 1 your SOL. Also if you don't already have a modem make your life easy. Get a external, serial, class 2, or class 2.0 modem. My paticular one is a US Robotics V.92 (Model 5686E) which worked perfect out of the box. 2) You need to make sure to copy over courier's new_fax file over mgetty's default new_fax file. If your doing RPM's it does that for ya. 3) Change $mgetty+sendfax/sendfax.config so max-tries-continue says n insteady of y 3) You need to edit $courier/etc/faxrc file and comment out this line: rw^ . 1 4) Edit /etc/inittab and make sure you have some line that's like the following: mo:235:respawn:/usr/sbin/mgetty -s 38400 /dev/ttyS0 My fax/modem is a external serial modem so It's ttyS0. Also I couldn't get the inittab configuration to actually take until the machine was rebooted. I know there's a proper way to have the system reload the inittab but I couldn't figure it out. 5) Use webadmin to configure inbound/outbound faxing. There was no way I was going to spend another week and figure out that file, the webadmin did a great job of doing exactly what I wanted. From there everything worked for me. When I was first troubleshooting I tried to diagnois things at their lowest level by sending faxes from the command line, and also running the mgetty command to listen for faxes. Which helped me figure out the problems I was having. Good luck and happy faxing!! Keith Lars Holmström wrote: I've tried to install the mgetty+sendfax with less success. Even if I set modem-type fax I still got the loginbanner when I connect. Do you have any hints ? /Lars - Original Message - From: Keith Pettit [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 9:50 PM Subject: [courier-users] courierfax image format/size courierfax is working great. But I'd like to see if there is anyway to choose the size of the png that's sent? The PNG is freaking huge and if you need to print it, it can be very painfull depending on the email client your using. Also for multi-page faxes it creates a seperate PNG for each page. Is there anyway to have one PDF instead or something similar? That makes more sense to me if faxes are more than one page. Thanks, -- Keith [EMAIL PROTECTED] --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Shared Folders - New sub-dir made by users
I have the shared folders working but I have two questions. 1) How can I set the permission of the folder so files put in the folder can be deleted by any user? Right any users can created and read messages but only the user that created the file can delete it. 2) Now that I have shared folders created, I want it so when users create new sub-folders in the shared-folders other users can see it. Right now when user creates a new sub-folder only the user that created it can see it. And I can see courier is creating those folders in the users home directory. To get around that I have to wait until sombody complains, move the folder inot the shared folder then symlink that to every user i want to see it. Which is a painfull long term process. Hopefully there is a better way :) Thanks for any help, -- Keith Pettit Systems Administrator [EMAIL PROTECTED] --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Rejecting email globally and per user
I'm getting to the point were we need to start reject some spam comming in. I've seen tons of different options and not sure what would be the easist to setup/maintain. Basically I need reject some email's or domains globally, then I need to let my users (windows users, don't understand complicated syntax) setup rules to reject or filter mail. What suggestions do you have for me. From reading I see alot about .courier files, maildrop, procmail, etc. My main concern is ease of administration for me and users. Thanks for any suggestion, Keith --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Aliases redirect to local account
Redirecting a aliase for a virtual domain doesn't work like the manual says so I'm wondering what's wrong. Here is my example: I have a account foo. [EMAIL PROTECTED]: foo That works just fine but this doesn't [EMAIL PROTECTED]: foo All I can figure is the first example works becuase foo is in the email namet, but according to the docs [EMAIL PROTECTED]: foo should work but I have no idea why it won't. I've been trying to find the answer to this for 2 weeks now anyhelp would be appreciated. Keith --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Aliases redirect to local account
But i need the ability to say: [EMAIL PROTECTED]: foo [EMAIL PROTECTED]: otheraccount etc. Will this work?? Keith On Wed, 2002-10-02 at 13:14, Zenon Panoussis wrote: Keith Pettit wrote: I have a account foo. [EMAIL PROTECTED]: foo That works just fine but this doesn't [EMAIL PROTECTED]: foo If domain.com is in locals, then you should only have asdf:tabfoo in aliases. Z --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Aliases redirect to local account
I get a user unknown error: addr=[EMAIL PROTECTED]: 550 User unknown addr=[EMAIL PROTECTED],status: failure But still the same thing works if I go to [EMAIL PROTECTED] Keith On Wed, 2002-10-02 at 12:12, Barry Hensley wrote: What does the log file indicate has happened to [EMAIL PROTECTED]? - Original Message - From: Keith Pettit [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 02, 2002 1:35 PM Subject: [courier-users] Aliases redirect to local account Redirecting a aliase for a virtual domain doesn't work like the manual says so I'm wondering what's wrong. Here is my example: I have a account foo. [EMAIL PROTECTED]: foo That works just fine but this doesn't [EMAIL PROTECTED]: foo All I can figure is the first example works becuase foo is in the email namet, but according to the docs [EMAIL PROTECTED]: foo should work but I have no idea why it won't. I've been trying to find the answer to this for 2 weeks now anyhelp would be appreciated. Keith --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Domain aliases
I'm trying to get mail to forward to system account from a virtual domain. According the FAQ I have to have the domains in my locals file which I do, then I should have to just do this in my aliases file: [EMAIL PROTECTED]: foo [EMAIL PROTECTED]: foo I tried the above example and [EMAIL PROTECTED] works, but [EMAIL PROTECTED] dosen't. I thoughb you just have to aliases to a system account. Thanks, Keith --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] multidomain pam users setup
Hi all. Ok I have courier setup, and have the local domain which works great. And I've been going though the docs trying to figure out how to make virtual domains and users. I've been going through the online docs and the man for makehosteddomains seemed to be the closest but didn't quit give me evertying. I got from there that I should create a actual user account called [EMAIL PROTECTED] So there home directory would be [EMAIL PROTECTED] I''ve done that, and I've tried adding the virtula domains to locals, and in hosteddomains/ but I can't seem to get it to authenticate. So here is my setup. Standard compiled courier, pam_auth(mysql), one local domain, and a few virtual domains. I want to be able to create a Linux account and have mail for there domain go in there accout. But I don't want all mail going to that virtual account, only what I specify. If there is a easier way, or something I'm missing I'd appreciate it. Keith --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Default attachment size?
My users are getting errors when they try to send messages over a certian size. What is the default limit and how do I change it? I saw a old post where a limit was actually compiled into courier and I'm hoping that's not the solution. Keith --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Bad message format
Courier is sending messages that let tell us we were sent a bad message, then there is a attachment with the message with the bad formating. Most of our users can get to the attachement but there are still alot that can't get to the file becuase courier changes the encoding or MIME format of the attachement which messes up the document. How can I tell courier to not be so picky? Thanks, Keith --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Mime-types - Can we specify?
Is there any way to set what mime types certian attachments come in as? Something like apaches mime.types file? Basically we use some funky file extensions we use, and depending on the email client the MIME types can get screwed up on attachements which messes up some of the files. If I can have the ability to have courier control what the mime type is that would save alot of heartache. Thanks, Keith --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] PAM / searchable mail archive?
Got it working. The issue was in my /etc/pam_smb.conf I have my domain and server specified like I was required. And in my smb.conf file I also have the correct netbios name specified but for some reason it wasn't working correctly. I ended up adding my machine to the /etc/samba/lmhosts file and it worked great after that. Thanks for the help, Keith On Wed, 2002-06-19 at 04:50, Matthew Kolb wrote: On Tuesday, June 18, 2002, at 06:55 PM, Keith Pettit wrote: Pam problems. POP/IMAP/ESMTP all work great. But I'm having problems with pam. It's the only option I have listed in /etc/authdaemonrc but it's not even trying to use pam. I remove /etc/pam.d/imap pop3 esmtp and everyting still work off of my passwd and shadow files. I don't know what to do to test to see if courier is even trying to do pam authentication. 10 to 1 you have a file /etc/pam.d/other that looks something like this: authrequiredpam_unix.so try_first_pass pam generally has a default mechanism specified, if it doesn't know what to use for authentication. i'm not sure what your goal is, but instead of removing your pam imap/pop3/esmtp files try changing them to use something other than pam_unix.so (something like pam_kerberosIV.so) (of course, all this is assuming that you built courier properly to enable pam) Also is there a searchable mail acrhive out there? It would save alot of time to read though some previous posts on some issues. http://sourceforge.net/mailarchive/forum.php?forum_id=6705 ./muk -- m. kolb [EMAIL PROTECTED] Bringing you mounds of caffeinated joy http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] PAM / searchable mail archive?
Pam problems. POP/IMAP/ESMTP all work great. But I'm having problems with pam. It's the only option I have listed in /etc/authdaemonrc but it's not even trying to use pam. I remove /etc/pam.d/imap pop3 esmtp and everyting still work off of my passwd and shadow files. I don't know what to do to test to see if courier is even trying to do pam authentication. Also is there a searchable mail acrhive out there? It would save alot of time to read though some previous posts on some issues. Thanks, Keith Bringing you mounds of caffeinated joy http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: ESMTPAUTH will pam work????
I have this for my /etc/pam.d/esmtp pop3d and imap: auth required /lib/security/pam_smb_auth.so accountrequired /lib/security/pam_unix.so sessionrequired /lib/security/pam_unix.so POP and IMAP work great and I've verified that it's using my smb user/pass. Keith On Tue, 2002-06-11 at 10:34, Sam Varshavchik wrote: Keith Pettit writes: From what I understood about courier i though smtp pop imap etc all worked with pam. I have pam working on everty8ing else but I've been having problems with esmtp auth. And what did you do to configure PAM for authenticating the smtp service? -- Sam ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ Multimillion Dollar Computer Inventory Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] esmtp auth Authentication Required error
Hi there, I have about evertying working but I can't get my smpt part to work right. I'm using the latest courier stable release. I have IMAP, POP, all working with PAM. And I have ESMTP configured the same way but I get: Jun 10 15:49:59 daytona courieresmtpd: error,relay=10.200.1.242,msg=535 Authentication required.,cmd: MAIL FROM: [EMAIL PROTECTED] I have it turned on in the $courier/etc/esmtp that they have to auth, and I've also tried 3 or 4 clients with auth turned on and it dosen't work. I don't have MX records pointing to my machine. I'm created a test enviorment and I'm basically working off the /etc/hosts file. I also created the me and locals file but nothing seems to help. I can send mail using the Sendmail command and it delievers great to local accounts. I also did the mail test that injects 1000+ emails which also works great. I just can't send mail via SMTP. Any suggestion would be apprecaite. Keith ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] authpam authentication failure (was authpammissing in authdaemonrc)
I just got auth_pam working with smb. And it was using Linux accouts to authenticate against no matter what. But I read in some readme somewhere to remove the password for a test user in the /etc/shadow file. ONce that password was gone for the user it was using pam_smb_auth to authenticate. It might be that way for other modules as well. Here is my /etc/pam.d/imap : authrequired/lib/security/pam_smb_auth.so account required/lib/security/pam_unix.so So the way mine works (I'm still a beginer at this) is it checks to see if the user has a Linux password (in the shadow file) if it dosen't then it uses pam_smb_auth. Also if your using SuSE (I am) the default pam modules courier imap puts in your /etc/pam.d file referance modules that aren't there so check /lib/security to make sure everything your referencing is in there. Good luck, Keith On Thu, 2002-05-30 at 01:08, Erich Titl wrote: Hi I use courier-imap 1.4.2 with authpam on Linux SuSE 7.3 (kernel 2.4.10) With a hint from Sam I got the missing module in the list now, but nevertheless the authentication fails using authpam. The unfortunate thing is that I only get the following in the syslog: May 30 09:46:12 gatekeeper imapd: Connection, ip=[:::195.141.194.65] May 30 09:46:17 gatekeeper imapd: LOGIN FAILED, ip=[:::195.141.194.65] May 30 09:46:17 gatekeeper imapd: DISCONNECTED, ip=[:::195.141.194.65], headers=0, body=0 If I authenticate using userdb converted from the passwd and shadow files everything works fine. Can anyone give me a hint how to debug the authpam module and where to look fist... here is my /etc/pam.d/imap file #%PAM-1.0 # # $Id: imapd.authpam,v 1.2 2001/02/02 05:42:57 mrsam Exp $ # # Copyright 1998-2001 Double Precision, Inc. See COPYING for # distribution information. # # To use the authpam authentication module with imapd, you must # configure your PAM library to authenticate the imap service. # See your system documentation for information on how to configure your # PAM services. In most cases, all you need to do is to install this file # as /etc/pam.d/imapd, but check your system documentation to make sure. auth required /lib/security/pam_unix.so shadow nullok accountrequired /lib/security/pam_unix.so sessionrequired /lib/security/pam_unix.so and here is the authdaemon start message May 30 09:58:02 gatekeeper authdaemond.ldap: authdaemon: modules=authpam, daemons=5 Thanks Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] authdaemonrc - Why won't courier read thedefault file???
The reason I'm using PAM is so I can choose SMB to authenticate the users. No matter what I do in /etc/pam.d/imap or pop it still uses the Linux system accounts to authenticate. I want to use SMB user/pass to authenticate. Even if I remove /etc/pam.d/imap and pop courier still works and uses my Linux system accounts to authenticate against, and it shoudllnt' becuase the only authentication method I have in authdaemonrc is pam. So I'm confused to how I can get this to work if courier is not even paying attention to what I have in authdaemonrc. Keith On Fri, 2002-05-24 at 16:41, Jesse Burkhardt wrote: I'm using a new installation of Courier-IMAP with Postfix. IMAP,POP,SMTP all work. But it's not reading authdaemonrc for my choice of authentication. I've told it to use authpam but it's not. It's using system account passwords. How cam I make it read it??? I am not sure what you mean by It's using system account passwords., but I think that you mean actual user accounts as oppsoed to vitual ones. This is what authpam is supposed to do. From http://www.courier-mta.org/authlib.html : ... that the authenticated account's home directory, userid and groupid are still read from the /etc/passwd file, since PAM functionality is limited to validating account passwords. ... Example: using authpam to authenticate system accounts, and authmysql to authentication virtual mailboxes without a corresponding system account. Courier is installed in: /usr/lib/courier-imap I'm editing: /usr/lib/courier-imap/etc/authdaemonrc In authdaemonrc I have this snippit: authmodulelist=authpam In /etc/pam.d/pop3 and imap I have the following: authrequiredpam_smb_auth.so account requiredpam_stack.soservice=system-auth I have a system account passwd and I've changed my smb password to something different. I can always login to pop or imap with my system password but not with the smb passwd. I've even removed pop3 and imap for pam.d to see if it's even looking at those files and I don't get any errors. I'm really stuck to why this isn't working and would appreciate any help. Thanks, Keith ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users -- Jesse Burkhardt 206 Franklin St. Cambridge MA 02139 (617) 354-5523 work: (617) 876-5680 [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Courier-IMAP not looking at authdaemonrc?
I setup authdaemonrc so that only PAM is being used. Like below : authmodulelist=authpam IMAP/POP is working, and I'm using Postix for SMTP which is working fine, but for authentication it's using my LInux password instead of my SMB password which I told it to use in /etc/pam.d/imap and pop. To be sure I also changed autdaemonrc.dist but with the same results. Basically for my test I have my regular system password then I changed my samba password to something different. The system password is being used and I cna't figure out how to make it use the samba one. Below is my pam.d/pop and imap. authrequiredpam_smb_auth.so account requiredpam_stack.soservice=system-auth So the only conclusion I can come to is courier is not reading authedamonrc, my pam modules are messed up. I'd appreciate any help. I'm using versin 1.4.5.20020521 by the way... Keith [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Working but get error in log CORRUPTION..
Evertying seems to be working. But whenever I send a message it seems to take about 30 seconds to get into the local mailbox. And I also get error messages for every message that gets send, even though they are successfully. Here is a line in the maillog: Apr 18 15:56:51 barcelona courierd: QUEUE FILE CORRUPTION: inode 2774807 Any insight would be appreciated, Keith ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] testing local accounts?
I can SMTP, do IMAP, POP, etc. But I can't send a mesage to a local account. I can get all the system messages in my mail account fine, but I can't seem to get any messaged deleiverd to the local account. I checked the MX, A, and DNS records and think there all setup fine. Why would I be able to get system message but not even be able to use pine to send messages to a local account? I did create a /etc/locals wich has: localhost drgutah.org But even using pine on the server itself trying to send a message to username@localhost or [EMAIL PROTECTED] dosen't work. I get Syntax Error I tried also putting around the message but nothing works. The account gets all the system emails's just fine. I did setup the mailfolder by typeing /bin/maildirmake $HOME/Maildir as that user. Not sure what I'm missing here. Thanks for all the help, Ketih ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] Re: smtpaccess/default problems
Thanks! That fixed one of the problems. I had /default.old in there so I could have the origional config. didn't know it would look at both.. Thanks again, Ketih -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sam Varshavchik Sent: Monday, April 15, 2002 3:51 PM To: [EMAIL PROTECTED] Subject: [courier-users] Re: smtpaccess/default problems Keith Pettit writes: This is such a odd problem. I'm trying to define local domains in /smtpaccess/default and then I run /sbin/makesmtpaccess . Basically I'm just trying to add my internet/external IP's and localhost. Whenever I make a change to the file it sees dupicates. Right now my file reads: 127.0.0.1 allow,RELAYCLIENT 10.200allow,RELAYCLIENT When I run this it tells me 127.0.0.1 - duplicate or out of disk space, which I have plenty of by the way. So I commented out localhost and it worked out fine. Then I tred changing 127.0.0.1 to 127.0.0 then it tells me that 10.200 is a duplicate. I have no idea what the problem is here. I'm thinking it's writing to the local realy db but it isn't clearing it out first or something. But basically I just want a couple things listed here. Any ideas? Look at other files in etc/smtpaccess. -- 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] Local Mail accounts
I'm confused by the sending process. I set it up so I get postmaster routed to my mail account. And I get system messages, but if I try to send to the same system account directly it bounces, and the postmaster gests the bounce which of course is the same system account. I didn't see instructions to create a system mail account but I did the following: as the user I did maildirmake $HOME/Maildir I created a locals file just to make sure, in it I have : localhost barcelona barcelona.drgutah.com Also in smtpaccess/default I added the following to add internal IP's that we use. I'm assuming the below is the correct format to let an entire IP range though. 10.200.1allow,RELAYCLIENT 10.200.2allow,RELAYCLIENT 10.200.3allow,RELAYCLIENT 10.200.4allow,RELAYCLIENT 127.0.0allow,RELAYCLIENT 209.180.81allow,RELAYCLIENT When I try using a client inside my network to send a message though my client I get: The message could not be sent because the server rejected the sender's e-mail address. The sender's e-mail address was 'kpettit@barcelona'. Subject 'test', Account: 'barcelona', Server: 'barcelona', Protocol: SMTP, Server Response: '517 Syntax error.', Port: 25, Secure(SSL): No, Server Error: 517, Error Number: 0x800CCC78 POP is working though, so I can get system message when they go though and I can send message though /usr/sbin/sendmail (coppied from courier/bin/sendmail). But that's about all I can seem to get working right now. Thanks for any help, Keith ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Permission denied, ABNORMAL TERMINATION
I did a default install of courier except I did (--without-authpgsql) or else it wouldn't compile. I was going line though line on the readme instrcution and when I do the /usr/lib/courier/libexec/authlib/authdaemon start I get "AUTHFAILURE" and looking though the maillog I get: Apr 9 14:14:39 barcelona courierd: Started ./courierlocal, pid=25476, maxdels=10, maxhost=4, maxrcpt=1Apr 9 14:14:39 barcelona courierd: Started ./courierfax, pid=25477, maxdels=1, maxhost=1, maxrcpt=1Apr 9 14:14:39 barcelona courierd: Started ./courieresmtp, pid=25478, maxdels=40, maxhost=4, maxrcpt=100Apr 9 14:14:39 barcelona courierd: Started ./courierdsn, pid=25479, maxdels=4, maxhost=1, maxrcpt=1Apr 9 14:14:39 barcelona courierd: queuelo=200, queuehi=400Apr 9 14:14:39 barcelona courierd: Purging /usr/lib/courier/var/msgqApr 9 14:14:39 barcelona courierd: Purging /usr/lib/courier/var/msgsApr 9 14:14:39 barcelona courierd: Permission deniedApr 9 14:14:39 barcelona courierd: ABNORMAL TERMINATION, exit status: 1Apr 9 14:14:39 barcelona courierd: Will restart in 60 seconds. I made sure to put in the configure line a user ("courier") and group ("courier") and id of user/group I created. I also checked the permissions the best I could. I'm stuck now and could see antyhing else on the mailing list that was like this. My system is RedHat .7.2 with courier-0.38.0.20020403 Any help would be appreciated. Keith
Re: [courier-users] Permission denied, ABNORMAL TERMINATION
I checked it out and the permissions looked good. I did a no-no and changed it to 777 just in case, but that didn't make a difference. Right now the server is restarting every minute with the same results. one hard thing I've noticed with courier is there isn't any man pages, I have no idea what commands I can use. I try to run courrier --help I don't get anything so it's hard to know usage or different things I can try. Keith - Original Message - From: Andrew Newton [EMAIL PROTECTED] To: Keith Pettit [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 3:09 PM Subject: Re: [courier-users] Permission denied, ABNORMAL TERMINATION Keith Pettit wrote: Apr 9 14:14:39 barcelona courierd: Purging /usr/lib/courier/var/msgs Apr 9 14:14:39 barcelona courierd: Permission denied Apr 9 14:14:39 barcelona courierd: ABNORMAL TERMINATION, exit status: 1 Apr 9 14:14:39 barcelona courierd: Will restart in 60 seconds. Perhaps there is a file or something about /usr/lib/courier/var/msgs that is causing this. -andy ___ 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