Re: [vchkpw] vpopmail and local delivery
On Sun, 2002-11-10 at 09:08, [EMAIL PROTECTED] wrote: I do have smtp.example.com in the me file, and I have experimented with smtp.example.com both in and not in the locas file. You are correct, when in the locals file qmail seems to want to deliver tha mail to a local shell user. What I want to do is send that mail to a virtual user in the example.com domain. I tried puting the [EMAIL PROTECTED] address in the .qmail-root and .qmail-postmaster and .qmail-mailer-daemon files that I created in the /var/qmail/alias directory but to no avail. Simply put, I just want emails intended for local machine to go to the user of my choice in the default domain of my choice. Ok - you could put a .qmail file in the shell users homedir containing [EMAIL PROTECTED] (I think this requires the fastforward package), this will forward all mail to the intended virtualdomain email... I don't know how to make this a global setting (if you have a lot of shell users this could be quite a task), maybe a blank locals file ? I hope some of this helps :) Thanks for the response, J.R. Quoting Sune Rievers [EMAIL PROTECTED]: I think you need to put smtp.example.com in /var/qmail/control/me (and locals), this is the local (not virtual) domain that qmail uses to deliver to shell users... Regards, Sune Rievers On Sat, 09 Nov 2002 17:55:16 -0600 (CST) [EMAIL PROTECTED] wrote: Hi - I am a newbie to vpopmail and qmail but I have managed to get the basics working - qmail is up and running successfully with two virtual domains authenticating against openLDAP. The one problem I am having is getting mail addressed to the local machine (ex. - cron job error messages) delivered to a user in one of my virtual domains. Detail: virtualdomain1: example.com virtualdomain2. example2.com hostname of qmail/vpopmail server: smtp.example.com In my alias directory of qmail I have a .qmail-root, .qail-mailer-daemon and .qmail-postmaster file all forwarding to [EMAIL PROTECTED] In the control directory of qmail, if I keep my locals file empty, anytime I email say root (which seems to be automatically changed to [EMAIL PROTECTED], I get an error message from [EMAIL PROTECTED] to [EMAIL PROTECTED] complaining that there is no entry in locals so it can't deliver the message. If I add the entry smtp.example.com to locals the message seems to be accepted but it isn't delivered to any mailbox that I can see it. It seems to me that when the server name of my host is in locals qmail is trying to send it to a user from /etc/passwd maybe and then doesn't find one? Not sure why it isn't reading the .qmail files in the alias directory (seems to do this fine when a message needs to be sent by mailer-daemon). FYI - I am using Maildir's and Sqwebmail. Sending and retrieving email between virutal domains is no problem - just can't seem to get messages sent to local machine to be forwarded to an account in my virtual domain. I realize this is probably a very simple question, and I apologize for the post, but I have scoured various docs, and although the info seems to be there I can't seem to piece together exactly how local delivery works with virutal domains. Thanks, J.R. -- Sune Rievers [EMAIL PROTECTED]
Re: [vchkpw] vpopmail and local delivery
seems like my mailer destroyed some of my previous mail - sorry about that - what I meant was [EMAIL PROTECTED] in the .qmail file Regards, Sune Rievers
Re: [vchkpw] Ldap problem
Make sure your ~vpopmail/lib directory and files is readable by the user you are compiling courier as. By default the vpopmail libraries are only readable by root. Mark Matteo Ridolfi wrote: I installed vpopmail 5.3.9 with ldap support withouth problems. Now I want to install courier-imap to authenticate against vpopmail, with the vchkpw module. So I compiled the 1.6.0 version of courier-imap with these flags: ./configure --with-authvchkpw=yes --with-authshadow=yes --sysconfdir=/etc/courier-imap/ --prefix=/usr/ --bindir=/usr/sbin/ --libexecdir=/usr/lib/courier-imap/ --localstatedir=/var/lib/courier-imap/ --enable-workarounds-for-imap-clients-bug --with-authdaemonvar=/var/lib/courier-imap/authdaemon/ --enable-unicode after a while, here's the make problem. gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -L -lldap -llber -lresolv -lm -lcrypt /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw': /tmp/vpopmail-5.3.9/vauth.c:92: undefined reference to `ldap_init' /tmp/vpopmail-5.3.9/vauth.c:98: undefined reference to `ldap_set_option' /tmp/vpopmail-5.3.9/vauth.c:99: undefined reference to `ldap_simple_bind_s' /tmp/vpopmail-5.3.9/vauth.c:106: undefined reference to `ldap_search_s' /tmp/vpopmail-5.3.9/vauth.c:113: undefined reference to `ldap_first_entry' [...] /tmp/vpopmail-5.3.9/vauth.c:820: undefined reference to `ldap_modify_s' /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose': /tmp/vpopmail-5.3.9/vauth.c:840: undefined reference to `ldap_unbind_s' collect2: ld returned 1 exit status make[2]: *** [authvchkpw] Error 1 make[2]: Leaving directory `/home/speza/courier-imap-1.6.0/authlib' make[1]: *** [all] Error 2 make[1ng directory `/home/speza/courier-imap-1.6.0/authlib' make: *** [all-recursive] Error 1 think the problem is of some includes, but I can't understand why. Thanks if you'll help me... /speza home: http://speza.com icq#: 11471656 6:03pm up 57 min, 1 user, load average: 1.36, 1.23, 1.24
Re: [vchkpw] Ldap problem
Hi Matteo, Matteo Ridolfi [EMAIL PROTECTED] wrote: after a while, here's the make problem. gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -L -lldap -llber -lresolv -lm -lcrypt please chech your /home/vpopmail/etc/* . maybe, you should fix the file. `-L/home/vpopmail/lib -lvpopmail -L -lldap -llber -lresolv -lm -lcrypt' - `-L/home/vpopmail/lib -lvpopmail -L/usr/local/lib -lldap -llber -lresolv -lm -lcrypt' --- Sunagawa Koji[EMAIL PROTECTED] Okinawa FreeBSD Users Group http://www.ofug.net/~koj/
Re: [vchkpw] Problem restated - vpopmail/qmail and root emails
[EMAIL PROTECTED] writes: I am using qmail and vpopmail (with users stored in openldap). Everything is working fine. I want to be able to get all messages sent to my root account on the local machine and have them forwarded to a user in one of my virtual domains. If the machine name is a virtual domain (and there is no reason it can't be), then simply vadduser root@domain. Otherwise, add an ~alias/.qmail-root file as normal. -- David Phillips [EMAIL PROTECTED] http://david.acz.org/
[vchkpw] Recovering mail accounts
Hi List, I'm just starting with vpopmail and I made an entire restore of my mail server red hat 7.1 + vpopmail + sqwebmail + mysql from a backup created on oct. I have a second backup created on nov, of user info from vpopmail directories. I made a restore of this second backup, and I have now these problems: 1) Accounts created after oct , can't be accessed. It seems as if the account was not ever created. 2) If I try to create them all again a message says that directory already exists, If I try to delete them the message says the user does not exist. Any ideas? What should I do? Thanks for your time, Francisco Ortega
[vchkpw] Problem with Imap authenticating against vpopmail properly
I installed the courier-imap using the instructions on http://www.shupp.org/toaster#courier-imap Everything installed without errors or problems. Still I am getting an error and I think it is the imap server is not authenticating against vpopmail properly. I need some help, I really dont know where to start looking. Any pointers? Gilberto San Juan, PR