[vchkpw] qmail aliases fail; chkuser 2.0.9 + vpopmail 5.4.25
I have several domains hosted via vpopmail, and I use chkuser 2.0.9 to block dictionary-attack spam. chkuser appears to have broken my ability to use qmail's dash aliases for vpopmail domains. For example, if I had a vpopmail account called m...@example.com, prior to chkuser I was able to send mail to matt-...@example.com and it would be delivered to the m...@example.com Maildir. After installing chkuser 2.0.9, this feature stopped working. chkuser 2.0.9 appears supports dash aliases by default. This is the relevant line from chkuser_settings.h: #define CHKUSER_ENABLE_ALIAS But this doesn't seem to work for vpopmail-hosted domains -- only for the domain that is hosted natively within qmail (listed in /var/qmail/control/locals). The specific problem this causes me now is that ezmlm-idx mailing lists cannot be used for vpopmail domains, because ezmlm relies on dash aliases. For example, a moderation reply address looks like: listname-accept-h...@example.com whereas the delivery address is actually: listname-acc...@example.com Subscription confirmation requests are similarly broken. Is chkuser known to support qmail aliases within vpopmail? Related to the above, is chkuser 2.0.9 known to be compatible with ezmlm-idx 7.1.1? Thank you. -- matt. !DSPAM:4dbe6d7d32712061814254!
Re: [vchkpw] qmail aliases fail; chkuser 2.0.9 + vpopmail 5.4.25
aliases are .qmail-aliasname files. matt-foo is not an alias. It is an extension of name matt. For enabling extensions you must enable (uncomment) CHKUSER_ENABLE_USERS_EXTENSIONS For enabling ezmlm lists, you must enable (uncomment) CHKUSER_ENABLE_EZMLM_LISTS. See http://www.interazioni.it/opensource/chkuser/documentation/chkuser_settings.html for more info. Regards, Tonino I have several domains hosted via vpopmail, and I use chkuser 2.0.9 to block dictionary-attack spam. chkuser appears to have broken my ability to use qmail's dash aliases for vpopmail domains. For example, if I had a vpopmail account called m...@example.com, prior to chkuser I was able to send mail to matt-...@example.com and it would be delivered to the m...@example.com Maildir. After installing chkuser 2.0.9, this feature stopped working. chkuser 2.0.9 appears supports dash aliases by default. This is the relevant line from chkuser_settings.h: #define CHKUSER_ENABLE_ALIAS But this doesn't seem to work for vpopmail-hosted domains -- only for the domain that is hosted natively within qmail (listed in /var/qmail/control/locals). The specific problem this causes me now is that ezmlm-idx mailing lists cannot be used for vpopmail domains, because ezmlm relies on dash aliases. For example, a moderation reply address looks like: listname-accept-h...@example.com whereas the delivery address is actually: listname-acc...@example.com Subscription confirmation requests are similarly broken. Is chkuser known to support qmail aliases within vpopmail? Related to the above, is chkuser 2.0.9 known to be compatible with ezmlm-idx 7.1.1? Thank you. -- matt. -- Inter@zioniInterazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it !DSPAM:4dbe7ad532711580627967!
Re: [vchkpw] qmail aliases fail; chkuser 2.0.9 + vpopmail 5.4.25
On 5/2/11 2:35 AM, Tonix (Antonio Nati) wrote: aliases are .qmail-aliasname files. matt-foo is not an alias. It is an extension of name matt. Thank you for the clarification. For enabling extensions you must enable (uncomment) CHKUSER_ENABLE_USERS_EXTENSIONS For enabling ezmlm lists, you must enable (uncomment) CHKUSER_ENABLE_EZMLM_LISTS. This one was already enabled/uncommented: #define CHKUSER_ENABLE_EZMLM_LISTS I have now enabled this one: #define CHKUSER_ENABLE_USERS_EXTENSIONS This one was already enabled: #define CHKUSER_USERS_DASH '-' I finally made everything work. For future searchers, this was the solution: 1- rebuild vpopmail after passing the --enable-qmail-ext argument to its configure script 2- uncomment/enable both the following: #define CHKUSER_ENABLE_ALIAS_DEFAULT #define CHKUSER_ENABLE_USERS_EXTENSIONS in chkuser_settings.h 3- rebuild qmail (in my case, netqmail-1.05) Thank you, Tonino. -- matt. !DSPAM:4dbeeb3f32711447712028!
[vchkpw] Re: Dead aliases and EZMLM lists
Max Esquivel wrote: I recently installed the magicmail-smtpd drop in replacement for the standard qmail-smtpd, which adds a significant number of spam control possibilities. Actually, spam traffic on my server, dropped to about half after the installation. Nonetheless, after installing, qmailadmin created aliases dont work (I can create, modify and delete, but) messages sent to an alias result in a User does not exist error and the message is bounced back. The same problem exists with ezmlm lists. I can create, modify, etc via qmailadmin, but messages sent to the lists get bounced back with the same User does not exist error. Any ideas? I've not tried magicmail, but you might like to try qpsmtpd - another drop-in replacement for qmail-smtpd. I saw similar spam reduction since installing it. Actually, more like a 90% reduction since activating my check_validrcptto_cdb plugin [1]. As it's written in perl, with a documented plugin architecture, it's very easy to extend and customise. Don't fall into the trap of thinking that because it's written in perl it's slow - it isn't. Plus, because it can reject so much spam at the front door, overall system load is dramatically reduced. I had one client who was running vanilla qmail and seeing load averages of up to 30 (!). Since installing qpsmtpd (and my plugin) the system tickles along at a load average of 0.5. R. [1] http://robinbowes.com/projects/check_validrcptto_cdb
[vchkpw] Dead aliases and EZMLM lists
I recently installed the magicmail-smtpd drop in replacement for the standard qmail-smtpd, which adds a significant number of spam control possibilities. Actually, spam traffic on my server, dropped to about half after the installation. Nonetheless, after installing, qmailadmin created aliases dont work (I can create, modify and delete, but) messages sent to an alias result in a User does not exist error and the message is bounced back. The same problem exists with ezmlm lists. I can create, modify, etc via qmailadmin, but messages sent to the lists get bounced back with the same User does not exist error. Any ideas? Thanks!! Max Esquivel
Re: [vchkpw] Dead aliases and EZMLM lists
Max Esquivel [EMAIL PROTECTED] wrote: I recently installed the magicmail-smtpd drop in replacement for the standard qmail-smtpd, which adds a significant number of spam control possibilities. Actually, spam traffic on my server, dropped to about half after the installation. Nonetheless, after installing, qmailadmin created aliases dont work (I can create, modify and delete, but) messages sent to an alias result in a User does not exist error and the message is bounced back. The same problem exists with ezmlm lists. I can create, modify, etc via qmailadmin, but messages sent to the lists get bounced back with the same User does not exist error. Any ideas? Thanks!! Max Esquivel Max, I had the same issue, all I did was create a wrapper script, here it is, it could be made better by someone with more skills than I (which dont' take much) # $Header: /web/programmers/cvs/magicmail-backend/scripts/vpopmail-check-user.sh,v 1.2 2005/02/25 20:20:09 xu Exp $ #!/bin/sh #EMAIL=$1 #ALIAS=`/opt/vpopmail-5.4.13/bin/valias $EMAIL | wc -l | grep 1 /dev/null 21 ; echo $?` #USER=`/opt/vpopmail-5.4.13/bin/vuserinfo $EMAIL /dev/null 21; echo $? | grep 0 /dev/null 21 ; echo $?` # #if [ $ALIAS -eq 0 ] || [ $USER -eq 0 ]; then #exit 0 #else #exit 1 EMAIL=$1 ## # Begin modification for TMDA # Modified by Joseph Oaks # Modifed on 7 June 2006 ## DOMAIN=`echo $1 | cut -d@ -f2` TMDA_ADDRESS=`echo $1 | awk -F- -v DOMAIN=$DOMAIN '{print $1@DOMAIN}'` TMDA=`/opt/vpopmail-5.4.13/bin/vuserinfo $TMDA_ADDRESS /dev/null 21; echo $? | grep 0 /dev/null 21 ; echo $?` ## # End TMDA modifications ## ALIAS=`/opt/vpopmail-5.4.13/bin/valias $EMAIL | wc -l | grep 1 /dev/null 21 ; echo $?` USER=`/opt/vpopmail-5.4.13/bin/vuserinfo $EMAIL /dev/null 21; echo $? | grep 0 /dev/null 21 ; echo $?` ## # Continue TMDA modification ## if [ $TMDA -eq 0 ] || [ $ALIAS -eq 0 ] || [ $USER -eq 0 ]; then ## # Original text ## # if [ $ALIAS -eq 0 ] || [ $USER -eq 0 ]; then ## ## ## # End TMDA modifications ## exit 0 else exit 1 fi You can see my modifications to the vpopmail-check-user.sh Of course you will have to modify your paths as I'm sure there not the same as mine, but it helps... Joe
Re: [vchkpw] Dead aliases and EZMLM lists
Joseph Oaks [EMAIL PROTECTED] wrote: Max Esquivel [EMAIL PROTECTED] wrote: I recently installed the magicmail-smtpd drop in replacement for the standard qmail-smtpd, which adds a significant number of spam control possibilities. Actually, spam traffic on my server, dropped to about half after the installation. Nonetheless, after installing, qmailadmin created aliases dont work (I can create, modify and delete, but) messages sent to an alias result in a User does not exist error and the message is bounced back. The same problem exists with ezmlm lists. I can create, modify, etc via qmailadmin, but messages sent to the lists get bounced back with the same User does not exist error. Any ideas? Thanks!! Max Esquivel Guess I should mention that i had problems with the TMDA also so thats why its there, same principle though... Max, I had the same issue, all I did was create a wrapper script, here it is, it could be made better by someone with more skills than I (which dont' take much) # $Header: /web/programmers/cvs/magicmail-backend/scripts/vpopmail-check-user.sh,v 1.2 2005/02/25 20:20:09 xu Exp $ #!/bin/sh #EMAIL=$1 #ALIAS=`/opt/vpopmail-5.4.13/bin/valias $EMAIL | wc -l | grep 1 /dev/null 21 ; echo $?` #USER=`/opt/vpopmail-5.4.13/bin/vuserinfo $EMAIL /dev/null 21; echo $? | grep 0 /dev/null 21 ; echo $?` # #if [ $ALIAS -eq 0 ] || [ $USER -eq 0 ]; then #exit 0 #else #exit 1 EMAIL=$1 ## # Begin modification for TMDA # Modified by Joseph Oaks # Modifed on 7 June 2006 ## DOMAIN=`echo $1 | cut -d@ -f2` TMDA_ADDRESS=`echo $1 | awk -F- -v DOMAIN=$DOMAIN '{print $1@DOMAIN}'` TMDA=`/opt/vpopmail-5.4.13/bin/vuserinfo $TMDA_ADDRESS /dev/null 21; echo $? | grep 0 /dev/null 21 ; echo $?` ## # End TMDA modifications ## ALIAS=`/opt/vpopmail-5.4.13/bin/valias $EMAIL | wc -l | grep 1 /dev/null 21 ; echo $?` USER=`/opt/vpopmail-5.4.13/bin/vuserinfo $EMAIL /dev/null 21; echo $? | grep 0 /dev/null 21 ; echo $?` ## # Continue TMDA modification ## if [ $TMDA -eq 0 ] || [ $ALIAS -eq 0 ] || [ $USER -eq 0 ]; then ## # Original text ## # if [ $ALIAS -eq 0 ] || [ $USER -eq 0 ]; then ## ## ## # End TMDA modifications ## exit 0 else exit 1 fi You can see my modifications to the vpopmail-check-user.sh Of course you will have to modify your paths as I'm sure there not the same as mine, but it helps... Joe
[vchkpw] [SPAM] valias doesn't show aliases for an alias domain
Here is the situation: I have an alias domain bdhtechnology.net which is aliased to bdhtechnology.com. If I run '~vpopmail/bin/valias bdhtechnology.com' I can see all of the aliases for the domain. However if I run '~vpopmail/bin/valias bdhtechnology.net' I get no output at all. Furthermore if I run '~vpopmail/bin/valias -n bdhtechnology.com' (or with any domain) I get a seg. fault. Attached is the discussion with John Simpson from the qmailrocks mailing list. He believes this issue is a bug in vpopmail. I am using vpopmail v5.4.18 w/ MySQL support. Here is my configure line: ./configure --enable-logging=p --enable-auth-module=mysql --disable-passwd --enable-clear-passwd --disable-many-domains --enable-auth-logging --enable-sql-logging --enable-valias --disable-mysql-limits --enable-roaming-users --enable-onchange-script --enable-libdir=/var/lib/mysql Thanks, Chad !DSPAM:45f8428219871130719336! ---BeginMessage--- On 2007-03-13, at 1729, Chad E. Berg wrote: John Simpson [EMAIL PROTECTED] wrote: I enabled debugging to try and find out the problem of why the alias' for an aliased domain were being rejected by validrcptto. Never did figure out why and it is still happening. To explain the problem again I am having problems sending to alias' in an aliased domain because they aren't found in the validrcptto.cdb file. In other words I have an aliased domain bdhtechnology.net aliased to bdhtechnology.com. I have alias users setup for bdhtechnology.com, webmaster for example, but the aliased domain doesn't show the alias'. So ~vpopmail/bin/valias bdhtechnology.net produces nothing whereas ~vpopmail/bin/valias bdhtechnology.com shows the expected output. i remember. (1) what version of vpopmail are you using? did you compile it with mysql support? I am using vpopmail v.5.4.18 w/ mysql support, and no I don't specifically need to be using mysql. Configure options are: ./configure --enable-logging=p --enable-auth-module=mysql --disable- passwd --enable-clear-passwd --disable-many-domains --enable-auth-logging --enable-sql-logging --enable-valias --disable-mysql-limits --enable-roaming-users --enable-onchange-script --enable-libdir=/var/lib/mysql i suspect that the solution for now will be to not use mysql, but that means you're going to have to convert everything back to the original vpasswd.cdb files in each domain's directory. i remember there being a script in the contrib directory of the vpopmail source (3) send the full, un-edited contents of your control/virtualdomains and users/assign files. [EMAIL PROTECTED]:/var/qmail/control# cat virtualdomains ... bdhtechnology.com:bdhtechnology.com ... bdhtechnology.net:bdhtechnology.net -- -- [EMAIL PROTECTED]:/var/qmail# cat users/assign ... +bdhtechnology.com-:bdhtechnology.com:1012:110:/home/vpopmail/ domains/bdhtechnology.com:-:: ... +bdhtechnology.net-:bdhtechnology.com:1012:110:/home/vpopmail/ domains/bdhtechnology.com:-:: if you know the format of the users/assign file, you can see how vaddaliasdomain actually works- at least when you're using vpasswd.cdb files. each domain has it's own virtual userid, but both userids have the same home directory. (4) send the full, un-edited output from the following commands, run as root (where _ is the domain you're having problems with.) ~vpopmail/bin/vdominfo -n ~vpopmail/bin/vuserinfo -n -D _ ~vpopmail/bin/valias -n _ [EMAIL PROTECTED]:/var/qmail# ~vpopmail/bin/vdominfo -n ... bdhtechnology.com ... bdhtechnology.net (alias of bdhtechnology.com) okay, so vpopmail knows that one domain is an alias of the other. [EMAIL PROTECTED]:/var/qmail# ~vpopmail/bin/valias -n bdhtechnology.net Segmentation fault This command seems to produce a seg. fault no matter which domain is used (bdhtechnology.com has no problems with validrcptto). [EMAIL PROTECTED]:/var/qmail# ~vpopmail/bin/valias -n bdhtechnology.com Segmentation fault But without the -n switch, or with the -s switch I get no output [EMAIL PROTECTED]:/var/qmail# ~vpopmail/bin/valias -s bdhtechnology.net you appear to have found a bug in vpopmail. on my own server, where jms1.org is an aliasdomain of jms1.net, the commands valias -n jms1.net and valias -n jms1.org produce identical output- a list of all of the aliases within the domain. of course i'm not using mysql (i'm using vpasswd.cdb files in each domain's directory) so that's probably a big hint as to where the bug will be found- somewhere in the mysql code. you need to report this to the vpopmail mailing list. feel free to forward this message, intact, as part of your bug report... and also let them know that i apologize, i've been really busy, and haven't had time to even look at the vpopmail list in over a month. | John M. Simpson--- KG4ZOW
[vchkpw] [SPAM] Re: [vchkpw] [SPAM] valias doesn't show aliases for an alias domain
Chad E. Berg wrote: Here is the situation: I have an alias domain bdhtechnology.net which is aliased to bdhtechnology.com. If I run '~vpopmail/bin/valias bdhtechnology.com' I can see all of the aliases for the domain. However if I run '~vpopmail/bin/valias bdhtechnology.net' I get no output at all. Furthermore if I run '~vpopmail/bin/valias -n bdhtechnology.com' (or with any domain) I get a seg. fault. Attached is the discussion with John Simpson from the qmailrocks mailing list. He believes this issue is a bug in vpopmail. I am using vpopmail v5.4.18 w/ MySQL support. Here is my configure line: ./configure --enable-logging=p --enable-auth-module=mysql --disable-passwd --enable-clear-passwd --disable-many-domains --enable-auth-logging --enable-sql-logging --enable-valias --disable-mysql-limits --enable-roaming-users --enable-onchange-script --enable-libdir=/var/lib/mysql Thanks, Chad I can at least confirm that there is no problem with 5.4.17 using MySQL. My alias reporting works just fine. bash-2.05b# ./vuserinfo -v version: 5.4.17 ./configure \ --enable-tcpserver-file=/shared/qmail/control \ --enable-learn-passwords \ --enable-vpopuser=vpopmail \ --enable-vpopgroup=vchkpw \ --enable-qmail-ext \ --enable-incdir=/usr/local/include/mysql \ --enable-libdir=/usr/local/lib/mysql \ --enable-clear-password \ --enable-auth-module=mysql \ --enable-valias DAve -- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible. !DSPAM:45f8517319873020815088!
[vchkpw] Aliases in qmail....
Hi, I want to forward all system users mail to a perticular mail ID and for this i set the forwards in /var/qmail/alias/.qmail-root but the server still using /etc/alias file for the same. Please suggest for the same... Regards, Rakesh Sharma
[vchkpw] Mail Domain Aliases
Does anyone know if there is an easy way to setup a mail domain alias so that mail addressed to [EMAIL PROTECTED] goes into [EMAIL PROTECTED] I know I can do it by adding another rcpt host and adding lines to /users/assign but maybe there's an easier way. We also use qmailadmin. Thanks Best Regards, Jeff Koch,
Re: [vchkpw] Mail Domain Aliases
On Aug 1, 2006, at 9:09 AM, Jeff Koch wrote: Does anyone know if there is an easy way to setup a mail domain alias so that mail addressed to [EMAIL PROTECTED] goes into [EMAIL PROTECTED] I know I can do it by adding another rcpt host and adding lines to /users/assign but maybe there's an easier way. We also use qmailadmin. I assume you intend for mail sent to all users (not just eric) would be aliased... Is domain2.com on the same server? If so, vaddaliasdomain will do the trick. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] Mail Domain Aliases
Jeff Koch wrote: Does anyone know if there is an easy way to setup a mail domain alias so that mail addressed to [EMAIL PROTECTED] goes into [EMAIL PROTECTED] I know I can do it by adding another rcpt host and adding lines to /users/assign but maybe there's an easier way. We also use qmailadmin. Thanks Best Regards, Jeff Koch, vaddaliasdomain Regards, Rick
[vchkpw] Vpopmail and Global Aliases
I have a qmail+vpopmail installation installed with Shupp Toaster instructions. Everything is working great except for one thing. Before using vpopmail I used qmail and whenever I wanted to set up a global alias, say for abuse@, I would just create a dot qmail file in /var/qmail/alias with my email address and I would get all abuse complaints for all domains on the server. Now since I've switched to a vpopmail setup I get 511 sorry, no mailbox here by that name even though there is a dot qmail file (.qmail-abuse). It is my assumption that this is due to the .qmail-default file that is in each domain's directory when it is created. How can I add this functionality back in? I'd really hate to have to add symlinks to the .qmail files every time I add a domain, or worse, need to add them to every domain for any new global aliases. Thank you. -ken schweigert
Re: [vchkpw] Vpopmail and Global Aliases
did u try valias? Remo Ken Schweigert wrote: I have a qmail+vpopmail installation installed with Shupp Toaster instructions. Everything is working great except for one thing. Before using vpopmail I used qmail and whenever I wanted to set up a global alias, say for abuse@, I would just create a dot qmail file in /var/qmail/alias with my email address and I would get all abuse complaints for all domains on the server. Now since I've switched to a vpopmail setup I get 511 sorry, no mailbox here by that name even though there is a dot qmail file (.qmail-abuse). It is my assumption that this is due to the .qmail-default file that is in each domain's directory when it is created. How can I add this functionality back in? I'd really hate to have to add symlinks to the .qmail files every time I add a domain, or worse, need to add them to every domain for any new global aliases. Thank you. -ken schweigert
Re: [vchkpw] Vpopmail and Global Aliases
On Jul 10, 2006, at 7:25 AM, Ken Schweigert wrote: How can I add this functionality back in? I'd really hate to have to add symlinks to the .qmail files every time I add a domain, or worse, need to add them to every domain for any new global aliases. I haven't tested it, but see if adding the following to virtualdomains would work: abuse@:abuse Trying to read djb's code is next to impossible (comments would have been helpful), and the docs for qmail-send don't say whether abuse@ will match or not. It's worth a shot though. If it doesn't work, I think you're out of luck. The domain isn't in locals, so .qmail files in ~alias are ignored. It jumps to virtualdomains, which takes it to users/assign, which takes it to the domain's directory. At that point, you'll need a .qmail-abuse in the domain's directory. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] converting old-style domain aliases to the new style
On Mar 27, 2006, at 12:51 PM, Kurt Bigler wrote: Yes, I created those alias domains long ago. I don't think there was any utility to run to do a conversion of domain aliases? I'm pretty sure I read the readme pretty carefully whenever I did an upgrade. Did I miss something? So what *should* I do now with all my old-style domain aliases? Do I have to mess with the qmail config files by hand? The easiest/safest would be to do the following Edit the users/assign file as follows. Change lines like this: +middendorfbreath.org-:middendorfbreath.org:89:89:/var/vpopmail/ domains/middendorfbreath.com:-:: To: +middendorfbreath.org-:middendorfbreath.com:89:89:/var/vpopmail/ domains/middendorfbreath.com:-:: i.e., get the second entry to match the directory name (the real domain for the alias). This assumes that domains/middendorfbreath.com is the real directory that the various symlinks point to. Run /var/qmail/bin/qmail-newu to recreate the users/cdb file from users/assign. Check the vpasswd files for the alias domains and see what they're using for the Maildir paths. If they're using the real directory, you can safely remove the symlinks in ~vpopmail/domains. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
Re: [vchkpw] converting old-style domain aliases to the new style
on 3/27/06 1:36 PM, Tom Collins [EMAIL PROTECTED] wrote: On Mar 27, 2006, at 12:51 PM, Kurt Bigler wrote: So what *should* I do now with all my old-style domain aliases? Do I have to mess with the qmail config files by hand? Edit the users/assign file as follows. Change lines like this: +middendorfbreath.org-:middendorfbreath.org:89:89:/var/vpopmail/ domains/middendorfbreath.com:-:: To: +middendorfbreath.org-:middendorfbreath.com:89:89:/var/vpopmail/ domains/middendorfbreath.com:-:: i.e., get the second entry to match the directory name (the real domain for the alias). This assumes that domains/middendorfbreath.com is the real directory that the various symlinks point to. Run /var/qmail/bin/qmail-newu to recreate the users/cdb file from users/assign. Check the vpasswd files for the alias domains and see what they're using for the Maildir paths. If they're using the real directory, you can safely remove the symlinks in ~vpopmail/domains. Thanks a bunch. Looks like I've got everything conforming to the modern ways now. -Kurt
Re: [vchkpw] List aliases of domain
Tom Collins wrote: On Mar 20, 2006, at 4:27 PM, Benjamin Owens wrote: I'm trying to find a way to list all the aliases that a domain has.. for example, I have both oldeportfish.com and oldportfish.com, with the latter being an alias of oldeportfish.com. If I run vdominfo on oldportfish.com it shows that it is an alias of oldeportfish.com, but how do I find all the aliases of oldeportfish.com (if there are possibly more that I don't know about.) I don't think there's a simple way to do it. I think 5.5 vdominfo displays the name of the parent domain if it is showing a virtual domain, or a list of all virtual domains if it is showing a parent domain. I should go through 5.5 looking for things like this and see how many are compatible with 5.4. Rick
Re: [vchkpw] List aliases of domain
grep :oldeportfish.com: /var/qmail/users/assign | cut -d: -f1 (and then strip/ignore the leading + and trailing -) That seems to work best.. thanks! --- Benjamin Owens Web Systems Admin --- TechXpress, Inc. 3450 Broad Street, Suite 101 San Luis Obispo, CA 93401 Fax: 805-541-4494 [EMAIL PROTECTED] www.techxpress.net
[vchkpw] List aliases of domain
Hello all again. I'm trying to find a way to list all the aliases that a domain has.. for example, I have both oldeportfish.com and oldportfish.com, with the latter being an alias of oldeportfish.com. If I run vdominfo on oldportfish.com it shows that it is an alias of oldeportfish.com, but how do I find all the aliases of oldeportfish.com (if there are possibly more that I don't know about.) Many thanks!
Re: [vchkpw] List aliases of domain
On Mar 20, 2006, at 4:27 PM, Benjamin Owens wrote: I'm trying to find a way to list all the aliases that a domain has.. for example, I have both oldeportfish.com and oldportfish.com, with the latter being an alias of oldeportfish.com. If I run vdominfo on oldportfish.com it shows that it is an alias of oldeportfish.com, but how do I find all the aliases of oldeportfish.com (if there are possibly more that I don't know about.) I don't think there's a simple way to do it. Here are two ways that will work, but aren't pretty. ~vpopmail/bin/vdominfo | grep alias of oldeportfish.com grep :oldeportfish.com: /var/qmail/users/assign | cut -d: -f1 (and then strip/ignore the leading + and trailing -) -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
[vchkpw] Re: Vpopmail aliases - messages getting stuck in Qmail
Tom Collins tom at tomlogic.com writes: On Jun 13, 2005, at 1:48 PM, Andrew Hodgson wrote: I have a Vpopmail with aliases set up with more than one user in the alias: sales joe.blow, john.smith Now sometimes when a user sends messages to one of these aliases the message will get stuck in the queue, and they will receive multiple copies, If there's a problem delivering to john.smith that causes a deferral, the message will go to joe.blow again on the next attempt (and get a deferral delivering to john.smith and thus loop up). Now I am back in work I don't even know if this is a Vpopmail problem. I ahve been logging the state at which this occurs and have found that the ID of the message is always 250676 in the queue, so the command find /var/qmail/queue - name 250676 will always give the stuck message. Furthermore if you write to the alias again after removing the message from the queue, it will subsequently be given the same ID and will stick again. Any ideas? Thanks. Andrew.
Re: [vchkpw] Vpopmail aliases - messages getting stuck in Qmail
On Monday 13 June 2005 20:48, Andrew Hodgson wrote: I have a Vpopmail with aliases set up with more than one user in the alias: sales joe.blow, john.smith Hi Andrew, Why are you using multiple-recipient aliases? IMHO aliases should never be used for more than one recipient - they simply aren't intelligent enough. I'd recommend setting up an ezmlm-based mailing list for your sales team. This will handle delivery failures without duplicate deliveries, can work in exactly the same way as far as your users are concerned, and is a lot more configurable (plus the members can actually filter properly using the List-Id header (filtering by To address is a bad idea and won't be 100% accurate). Further, it would be a good idea to configure the MUAs of all members to have an additional profile for sending messages *from* the sales address (so that any replies from the customer go to everyone), and set that profile up to automatically BCC the sales address on any sent messages (so that the rest of the team knows when one guy takes care of something). MUA support for these options varies, though, so it may not be useful advice to you depending on what you're using. If you do want to BCC the mailing list, you'll need to edit the editor file inside the mailing list directory and change ezmlm-reject to ezmlm-reject -T. Cheers, -- Casey Allen Shobe | http://casey.shobe.info [EMAIL PROTECTED] | cell 425-443-4653 AIM Yahoo: SomeLinuxGuy | ICQ: 1494523 SeattleServer.com, Inc. | http://www.seattleserver.com Cheers, -- Casey Allen Shobe | http://casey.shobe.info [EMAIL PROTECTED] | cell 425-443-4653 AIM Yahoo: SomeLinuxGuy | ICQ: 1494523 SeattleServer.com, Inc. | http://www.seattleserver.com
[vchkpw] Vpopmail aliases - messages getting stuck in Qmail
Hi, I have a Vpopmail with aliases set up with more than one user in the alias: sales joe.blow, john.smith Now sometimes when a user sends messages to one of these aliases the message will get stuck in the queue, and they will receive multiple copies, until I can find the message and remove it using find /var/qmail/queue -name message -exec rm {} \; after first stopping qmail. Any ideas? At first I thought it was the size of the alias, but it is happening on aliases with 2-3 people in them also. Thanks. Andrew.
Re: [vchkpw] Vpopmail aliases - messages getting stuck in Qmail
On Jun 13, 2005, at 1:48 PM, Andrew Hodgson wrote: I have a Vpopmail with aliases set up with more than one user in the alias: sales joe.blow, john.smith Now sometimes when a user sends messages to one of these aliases the message will get stuck in the queue, and they will receive multiple copies, If there's a problem delivering to john.smith that causes a deferral, the message will go to joe.blow again on the next attempt (and get a deferral delivering to john.smith and thus loop up). -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ You don't need a laptop to troubleshoot high-speed Internet: sniffter.com
[vchkpw] E-mail aliases in LDAP
Hello, I'm using vpopmail with ldap. Is it possible to write e-mail aliases and e-mail forwarding in LDAP to.
[vchkpw] Re: [qmailadmin-devel] aliases and forwards
On Nov 30, 2004, at 1:39 AM, [EMAIL PROTECTED] wrote: At 05.24 30/11/2004, you wrote: During development of 1.2, we combined aliases and forwards into one. You can now have addresses that forward to multiple addresses, either local or remote. This is nice but i need to limit aliases and forwards for billing, i'll try to modify the source but i think it would be useful for other people to allow separate limits. What do you think about it? How do you define an alias vs. a forward? Do you count the number of email addresses the customer can create, or the number of addresses each message forwards to? I assume your logic is that you allow more aliases (local addresses) since it doesn't use any bandwidth and limit forwards (remote addresses) due to bandwidth usage. Or maybe it's just that forwarding to a remote address is more valuable and therefore worth more money? We're moving in a direction with QmailAdmin where you can have forwards that: 1) Delete email received (blackhole). The real interface isn't done, but you can create blackholes by entering # for a forwarding address. 2) Bounce email back with an error message (see qmail's bouncesaying program for details). Again, no interface yet but it's in the planning stages. 3) Forward to any number of local and/or remote addresses. How should we handle limits? It would seem that there should be no limit on blackhole and bounce addresses, since anyone can set their catchall to deleted or bounce-no-mailbox. Resource usage for 10 forwards to a single address aren't much different than 1 forward to 10 addresses, so do we start counting the number of addresses forwarded-to, instead of forwarded-from? If so, how do you explain that to the customer? Perhaps the ultimate form of billing is based on bandwidth and disk utilization. In any given month, come up with the total bandwidth used by inbound and outbound email (maybe excluding spam), and an average daily disk usage and bill accordingly. I don't see a simple solution to the problem. I'm open to a discussion about it, preferably on the [EMAIL PROTECTED] list where there are more end-users who can weigh in. If you're not on that list YaP, please subscribe and join in the discussion ([EMAIL PROTECTED]). -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Re: [qmailadmin-devel] aliases and forwards
On Nov 30, 2004, at 8:32 AM, Tom Collins wrote: How do you define an alias vs. a forward? Do you count the number of email addresses the customer can create, or the number of addresses each message forwards to? This should have gone to the [EMAIL PROTECTED] list -- if you're interested in the topic, please post followups there. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] Aliases issue with vpopmail+mysql
Hi, i just discover an annoying issue: vadduser [EMAIL PROTECTED] valias -i '[EMAIL PROTECTED]' [EMAIL PROTECTED] A message addressed to [EMAIL PROTECTED] will cause a loop... @4000415954f914af0564 info msg 32008: bytes 1002 from [EMAIL PROTECTED] qp 19552 uid 89 @4000415954f9176bbc34 starting delivery 479: msg 32008 to local [EMAIL PROTECTED] @4000415954f9189e0e2c delivery 479: deferral: [EMAIL PROTECTED]/mail_is_looping/ Message stays in queue until i remove the faulty(?) alias. How can i get an alias 'a' for an account 'a-b' working ? Is this related to dot-qmail extensions ? I tried to compile vpopmail without --enable-qmail-ext - no change. I use vpopmail+mysql (so aliases are in a mysql table). Thanks for your help, -- Laurent MONIN Systèmes Réseaux Metaconcept Sarl http://www.metaconcept.com
RE: [vchkpw] Aliases vs. Forwards
Is it possible to do this with remote and local delivery off the same address? -Greg -Original Message- From: Jacob S. [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 0:05 To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Aliases vs. Forwards On Wed, 01 Sep 2004 22:54:51 -0600 Fred Colclough [EMAIL PROTECTED] wrote: Here's a 'newbie' question: I just deployed a new mail svr running qmail with vpopmail, mysql, qmailadmin. My 'old' server was running qmail, but with vmailmgr instead. I 'used' to be able to create aliases that would forward to MULTIPLE users, for example: [EMAIL PROTECTED] ... was forwarded to: [EMAIL PROTECTED], [EMAIL PROTECTED], etc. How can I re-create that same functionality w/ vpopmail? The Forwards in vpopmail appear to allow only ONE acc't to forward to. After creating a forward, go to the page that lists all forwards for that domain. Find the forward that you want to have multiple recipients and click the 'modify' icon. You should now see a page with an option to 'add forward' - this will add a recipient to the current forward. HTH, Jacob -- GnuPG Key: 1024D/16377135 Random .signature #55: Given enough time and money, eventually Microsoft will re-invent UNIX.
Re: [vchkpw] Aliases vs. Forwards
Greg Swift schrieb: Is it possible to do this with remote and local delivery off the same address? -Greg Sure, echo [EMAIL PROTECTED] ~vpopmail/domains/domain.com/.qmail-aliasname echo /home/vpopmail/domains/domain.com/user/Maildir/ ~vpopmail/domains/domain.com/.qmail-aliasname this should work Werner
[vchkpw] Aliases vs. Forwards
Here's a 'newbie' question: I just deployed a new mail svr running qmail with vpopmail, mysql, qmailadmin. My 'old' server was running qmail, but with vmailmgr instead. I 'used' to be able to create aliases that would forward to MULTIPLE users, for example: [EMAIL PROTECTED] ... was forwarded to: [EMAIL PROTECTED], [EMAIL PROTECTED], etc. How can I re-create that same functionality w/ vpopmail? The Forwards in vpopmail appear to allow only ONE acc't to forward to. Your assistance is greatly appreciated! -Fred. -- Frederick H. Colclough Director, Information Systems Space Foundation 719-576-8000 http://www.spacefoundation.org --
Re: [vchkpw] Aliases vs. Forwards
On Wed, 01 Sep 2004 22:54:51 -0600 Fred Colclough [EMAIL PROTECTED] wrote: Here's a 'newbie' question: I just deployed a new mail svr running qmail with vpopmail, mysql, qmailadmin. My 'old' server was running qmail, but with vmailmgr instead. I 'used' to be able to create aliases that would forward to MULTIPLE users, for example: [EMAIL PROTECTED] ... was forwarded to: [EMAIL PROTECTED], [EMAIL PROTECTED], etc. How can I re-create that same functionality w/ vpopmail? The Forwards in vpopmail appear to allow only ONE acc't to forward to. After creating a forward, go to the page that lists all forwards for that domain. Find the forward that you want to have multiple recipients and click the 'modify' icon. You should now see a page with an option to 'add forward' - this will add a recipient to the current forward. HTH, Jacob -- GnuPG Key: 1024D/16377135 Random .signature #55: Given enough time and money, eventually Microsoft will re-invent UNIX. pgpyzmbFF12Fi.pgp Description: PGP signature
Re: [vchkpw] Aliases
at the moment I have a console built in php that talks to vpopmail directly. I am trying to figure out what I need to do if I were to create aliases for the pop accounts that I have created because I don't think there is a straight forward command like vadduser. Do you have any ideas? I have also found a function in php vpopmail_add_user_alias(). Have you ever used this before? Regards [EMAIL PROTECTED] wrote: How do I manage/create aliases for an email account created with vpopmail? Please Help You can do it the easy way, or the hard way... The easy way: (Requires a web server on the mail server machine.) http://sourceforge.net/projects/qmailadmin/ The hard way: Create .qmail files in the domain directory of the domain where you want the alias. There many possibilities for the .qmail files, so if you want to go this way, please be more specific about what you want the alias to do. It usually works best if you give specific examples.
[vchkpw] Aliases
How do I manage/create aliases for an email account created with vpopmail? Please Help
Re: [vchkpw] Aliases
[EMAIL PROTECTED] wrote: How do I manage/create aliases for an email account created with vpopmail? Please Help You can do it the easy way, or the hard way... The easy way: (Requires a web server on the mail server machine.) http://sourceforge.net/projects/qmailadmin/ The hard way: Create .qmail files in the domain directory of the domain where you want the alias. There many possibilities for the .qmail files, so if you want to go this way, please be more specific about what you want the alias to do. It usually works best if you give specific examples.
Re: [vchkpw] maildrop problem with aliases stored in mysql
On Thu, 2004-04-01 at 08:13, lola wrote: hmmm. so if this really doesn't work with aliases stored in mysql... how do you guys filter spam mail??? i don't have to use maildrop. any other method would be fine. could you tell me your experiences? in the end i'm looking for a way to filter spam with per domain preferences. I'm researching this as well... Did this ever get resolved? Is this still an issue? thanks lola Von: Andreas Wiesmann [EMAIL PROTECTED] Antworten an: [EMAIL PROTECTED] Datum: Thu, 1 Apr 2004 13:24:32 +0200 An: [EMAIL PROTECTED] Betreff: Re: [vchkpw] maildrop problem with aliases stored in mysql yes, sorry, I have posted this problem on several lists nobody seems to have an idea. my last guess is that its either a environment variable problem or a bug in vdelivermail (what I believe because its vdelivermail that fails to work properly, but I can't really proove it so far). in any case please let me know if you find the solution... cheers andrej -- --- Jason 'XenoPhage' Frisvold Engine / Technology Programmer [EMAIL PROTECTED] RedHat Certified - RHCE # 803004140609871 MySQL Pro Certified - ID# 207171862 MySQL Core Certified - ID# 205982910 --- Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming. signature.asc Description: This is a digitally signed message part
Re: [vchkpw] mysql aliases
Tom Collins schrieb: On Apr 23, 2004, at 2:01 PM, Werner Amon wrote: Is it possible to convert .qmail-name files automaticly in mysql tables? Take a look at the dotqmail2valias program included in vpopmail 5.4.1 and later. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/ Jau, thats it, thanks! Werner
[vchkpw] mysql aliases
Hi, Is it possible to convert .qmail-name files automaticly in mysql tables? Werner
Re: [vchkpw] mysql aliases
On Apr 23, 2004, at 2:01 PM, Werner Amon wrote: Is it possible to convert .qmail-name files automaticly in mysql tables? Take a look at the dotqmail2valias program included in vpopmail 5.4.1 and later. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] Can users add their own aliases ?
Hi, is it possible to enable non-postmaster to add aliases to their own account ? I've played with vmoddomain flags, but it doesn't seem to have an effect in qmailadmin. Rainer
[vchkpw] maildrop problem with aliases stored in mysql
hi, sorry, if this problem is already solved. i searched the mailing list, but didn't find an answer. in fact i only found people having the same problem. i want to set up domain wide mail filtering, so i have the following .qmail-default: | maildrop mailfilter the file mailfilter contains: VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox to $VPOP as you can see, there are no filter rules yet, this is for testing so far. when i send mail to the real email address ( postmaster @ domain.com ) everthing works fine. messages send to an alias ( alias_name @ domain.com ) simply disappear. the logfile has an entry: success: vdelivermail:_valiases_processed/did_0+0+1/ but there is no message in the mailbox (maildir). i am using vpopmail 5.4.3 with mysql enabled and maildrop 1.6.3 any ideas what went wrong? btw: aliases are working fine without maildrop with .qmail-default containing: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox thanks lola
Re: [vchkpw] maildrop problem with aliases stored in mysql
hi, sorry, if this problem is already solved. i searched the mailing list, but didn't find an answer. in fact i only found people having the same problem. yes, sorry, I have posted this problem on several lists nobody seems to have an idea. my last guess is that its either a environment variable problem or a bug in vdelivermail (what I believe because its vdelivermail that fails to work properly, but I can't really proove it so far). in any case please let me know if you find the solution... cheers andrej -- Andreas Wiesmann, Schützenstr. 23, 3097 Liebefeld P 031 372 12 22, G 031 951 70 05, Fax 031 951 70 08
Re: [vchkpw] maildrop problem with aliases stored in mysql
hmmm. so if this really doesn't work with aliases stored in mysql... how do you guys filter spam mail??? i don't have to use maildrop. any other method would be fine. could you tell me your experiences? in the end i'm looking for a way to filter spam with per domain preferences. thanks lola Von: Andreas Wiesmann [EMAIL PROTECTED] Antworten an: [EMAIL PROTECTED] Datum: Thu, 1 Apr 2004 13:24:32 +0200 An: [EMAIL PROTECTED] Betreff: Re: [vchkpw] maildrop problem with aliases stored in mysql yes, sorry, I have posted this problem on several lists nobody seems to have an idea. my last guess is that its either a environment variable problem or a bug in vdelivermail (what I believe because its vdelivermail that fails to work properly, but I can't really proove it so far). in any case please let me know if you find the solution... cheers andrej
[vchkpw] Aliases and forwards
I have a few questions about aliases and fowards on an account level as well as the command 'vaddaliasdomain' in vpopmail. Maybe the first questions should be: Where can I find some good info on the 'vaddaliasdomain'- command in vpopmail? The little documentation I've found is sparse. I assume I haven't searched in the right places. =) Do you need an existing account to add an alias or foward from in Qmail, since you can add an alias or ffwd even if the to-be-forwarded-from-account doesn't exist? It's possible to do this in qmailadmin without errors, so that is why I'm asking. If you use the 'vaddaliasdomain' command, can you erase all accounts in the forwarded domain? How can you tell if you have used the 'vaddaliasdomain' with vpopmail? (Is it /var/qmail/users/assign ?) How do I interprete this file if that's the one? Thanks for your interest. Mathias.
[vchkpw] Re: Aliases and forwards
Hello, On Sun, Feb 29, 2004 at 11:25:05PM +0100, Mathias Haas wrote: Maybe the first questions should be: Where can I find some good info on the 'vaddaliasdomain'- command in vpopmail? UTSL[0] The little documentation I've found is sparse. I assume I haven't searched in the right places. =) Maybe you should simply read the qmail documentation, understand it, use 'vaddaliasdomain', see which files it affects[1] and get the idea how simply this program works. Do you need an existing account to add an alias or foward from in Qmail, No. Bouncing mails because of No Mailbox here by that name can be generated even with 500 forwarding instructions, each pointing to the next. It's possible to do this in qmailadmin without errors, so that is why I'm asking. Forwards: yes. Aliases: No. Nevertheless Aliases to non existing mailboxes could be created manually using dot-qmail files (and qmailadmin does nothing else than manipulating dot-qmail files and if necessary vpasswd{,.cdb}). If you use the 'vaddaliasdomain' command, can you erase all accounts in the forwarded domain? An 'aliased' domain is not the same as a 'forwarded' one. So the answer is: No. A domain alias ends in all aliased domain use the same data. So if you delete or add or change anything in one of them you alter it for all of them. Aliasing a domain only creates a different name this domain can be dealt with. How can you tell if you have used the 'vaddaliasdomain' with vpopmail? By examining files of [1]. (Is it /var/qmail/users/assign ?) How do I interprete this file if that's the one? man qmail-users [0] http://www.acronymfinder.com/af-query.asp?Acronym=UTSL [1] /var/qmail/users/{assign,cdb} -- Best regards Peter
[vchkpw] What does IP aliases are not compiled into vpopmail means ?
Hi all, Can someone explain me what this message means please, and what it would disallow me to do in such a configuration... bash-2.05# /export/home/vpopmail/bin/vipmap -vversion: 5.3.29IP aliases are not compiled into vpopmailYou will need to do the following stepsmake distclean./configure --enable-ip-alias-domains=y [your other options]makemake install-strip Thank you. Florent
RE: [vchkpw] Aliases on Vpopmail + Qmail + mysql
Hello , I am new on list , but I come request a help. I should like of creating a ally , what you sent the messages about to another . example : I have the mail : [EMAIL PROTECTED] what distributing about to another emails. I tried act a part into the ~ alias/ of the qmail , but I send the message return the the next I mistake : Sorry, no mailbox here by that name. vpopmail (#5.1.1) I should like of knowing I eat behave. - THIAGO ANDERSON SANTOS Adm. de Rede - Uniminas http://www.uniminas.br Linux 4ever - Slackware Bom dia Thiago, You will need to create an alias file in /home/vpopmail/domains/domain/ directory. If you have qmailadmin installed, this can be done through a web based admin. -Russell
Re: [vchkpw] Aliases on Vpopmail + Qmail + mysql
On Thursday, October 16, 2003, at 10:05 AM, Russell Mann wrote: Hello , I am new on list , but I come request a help. I should like of creating a ally , what you sent the messages about to another . example : I have the mail : [EMAIL PROTECTED] what distributing about to another emails. I tried act a part into the ~ alias/ of the qmail , but I send the message return the the next I mistake : Sorry, no mailbox here by that name. vpopmail (#5.1.1) I should like of knowing I eat behave. Take a look at QmailAdmin http://qmailadmin.sf.net/. It's an excellent web interface for managing accounts in vpopmail, and includes an easy interface for setting up an alias. -- Tom Collins - [EMAIL PROTECTED] Note: The Tom Logic offices will be closed October 23 to November 18. QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] Aliases on Vpopmail + Qmail + mysql
Hello , I am new on list , but I come request a help. I should like of creating a ally , what you sent the messages about to another. example : I have the mail : [EMAIL PROTECTED] what distributing about to another emails. I tried act a part into the ~ alias/ of the qmail , butI send the message return the the next I mistake : Sorry, no mailbox here by that name. vpopmail (#5.1.1)I should like of knowing I eat behave. -THIAGO ANDERSON SANTOSAdm. de Rede - Uniminashttp://www.uniminas.brLinux 4ever - Slackware
[vchkpw] How to get list of all aliases and forwards from vpopmail
Hi,I would like to know how to get a list of all aliases and forwards setupfor all domains in your vpopmail.I understand, we can use ./valias -s domain-name to list that =information for one domainat a time.Also, I saw an option in vpopmail setup that the alias information could =be stored in the mysql db.But i dont think my server is setup like that now because i dont see any =tables or data relating toaliases in my mysql DB.What I basically want is to get a list of all aliases and forwards for ="">all domains in my vpopmail at >shot. Is it stored per domain only?=20Please let me know what is the best option.Thank you.Sincerely,Yasir Mansoor
Re: [vchkpw] aliases problem
On Monday 15 September 2003 11:23 pm, Asad Javid wrote: Hi all! Im migrating my exchange to qmail. All has gone well until now when I try to configure an alias file(infact more than one) which contains a group of users it just fails saying no mailbox available. This is very important feature for my organization as we are using it in exchange and I want it in qmail too. The error specifed is related to vpopmail as it specifies the error. My /var/qmail/users/assign file output is as follows +duc.ac.ae-:duc.ac.ae:508:503:/home/vpopmail/domains/duc.ac.ae:-:: This is the error: Hi. This is the qmail-send program at duc.ac.ae. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED] http://172.17.2.220/webmail/src/compose.php?send_to=its%40duc.ac.ae : Sorry, no mailbox here by that name. vpopmail (#5.1.1) This looks like the problem right here. In your email the to address is not: [EMAIL PROTECTED] It's [EMAIL PROTECTED] http://.. more stuff You can check it below by looking at the To: line. Try having the mail sent to: [EMAIL PROTECTED] without the rest of the http stuff. Ken Jones --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] http://172.17.2.220/webmail/src/compose.php?send_to=ajavid%40duc.ac.ae Received: (qmail 23145 invoked by uid 505); 15 Sep 2003 13:03:51 - Received: from [EMAIL PROTECTED] http://172.17.2.220/webmail/src/compose.php?send_to=ajavid%40duc.ac.ae by mail.duc.ac.ae by uid 508 with qmail-scanner-1.16 (clamscan: 0.54. Clear:. Processed in 0.238535 secs); 15 Sep 2003 13:03:51 - Received: from localhost (HELO 172.17.2.220) (127.0.0.1) by duc.ac.ae with SMTP; 15 Sep 2003 13:03:51 - Received: from 172.17.0.4 (proxying for 172.17.4.22) (SquirrelMail authenticated user [EMAIL PROTECTED] http://172.17.2.220/webmail/src/compose.php?send_to=ajavid%40duc.ac.ae ) by 172.17.2.220 with HTTP; Mon, 15 Sep 2003 17:03:51 +0400 (GST) Message-ID: [EMAIL PROTECTED] http://172.17.2.220/webmail/src/compose.php?send_to=3063.172.17.0.4.106363 1 031.squirrel%40172.17.2.220 Date: Mon, 15 Sep 2003 17:03:51 +0400 (GST) Subject: test From: [EMAIL PROTECTED] http://172.17.2.220/webmail/src/compose.php?send_to=ajavid%40duc.ac.ae To: [EMAIL PROTECTED] http://172.17.2.220/webmail/src/compose.php?send_to=its%40duc.ac.ae User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal this is a test messege
[vchkpw] aliases problem
Hi all! Im migrating my exchange to qmail. All has gone well until now when I try to configure an alias file(infact more than one) which contains a group of users it just fails saying no mailbox available. This is very important feature for my organization as we are using it in exchange and I want it in qmail too. The error specifed is related to vpopmail as it specifies the error. My /var/qmail/users/assign file output is as follows +duc.ac.ae-:duc.ac.ae:508:503:/home/vpopmail/domains/duc.ac.ae:-:: This is the error: Hi. This is the qmail-send program at duc.ac.ae.I'm afraid I wasn't able to deliver your message to the following addresses.This is a permanent error; I've given up. Sorry it didn't work out.[EMAIL PROTECTED]:Sorry, no mailbox here by that name. vpopmail (#5.1.1)--- Below this line is a copy of the message.Return-Path: [EMAIL PROTECTED]Received: (qmail 23145 invoked by uid 505); 15 Sep 2003 13:03:51 -Received: from [EMAIL PROTECTED] by mail.duc.ac.ae by uid 508 with qmail-scanner-1.16 (clamscan: 0.54. Clear:. Processed in 0.238535 secs); 15 Sep 2003 13:03:51 -Received: from localhost (HELO 172.17.2.220) (127.0.0.1) by duc.ac.ae with SMTP; 15 Sep 2003 13:03:51 -Received: from 172.17.0.4 (proxying for 172.17.4.22) (SquirrelMail authenticated user [EMAIL PROTECTED]) by 172.17.2.220 with HTTP; Mon, 15 Sep 2003 17:03:51 +0400 (GST)Message-ID: [EMAIL PROTECTED]Date: Mon, 15 Sep 2003 17:03:51 +0400 (GST)Subject: testFrom: [EMAIL PROTECTED]To: [EMAIL PROTECTED]User-Agent: SquirrelMail/1.4.1MIME-Version: 1.0Content-Type: text/plain;charset=iso-8859-1Content-Transfer-Encoding: 8bitX-Priority: 3Importance: Normalthis is a test messege
Re: [vchkpw] [qmailadmin] aliases to bitbucket
Hi Tom, On Tue, 15 Jul 2003 10:15:51 -0700 Tom Collins wrote: It might be helpful to add another program (vstoremail?) to the vpopmail distribution that would accept a message in STDIN and save it to the Maildir specified as the first parameter. Then it would be possible to have entries in your .qmail file like |/usr/local/bin/spamc | /home/vpopmail/bin/vstoremail /home/vpopmail/domains/example.com/fred/Maildir/ This program already exists, albeit it's not part of vpopmail. http://www.superscript.com/qtools/intro.html look for 'tomaildir'. Quote useful and spares invoking one of the monsters maildrop or procmail, if one does not need the filtering capabilities they offer, but only a program to deliver from a STDOUT-pipe to a maildir structure. -- Ciao, Pit
[vchkpw] Re: Fw: [qmailadmin] aliases to bitbucket
On Tuesday, July 15, 2003, at 10:02 AM, Jeremy Kister wrote: On Tuesday, July 15, 2003 12:07 PM, Tom Collins wrote: Please note! vdelivermail should NEVER be used in .qmail-user files -- it should only appear in the .qmail-default file. I'm not arguing here, just expressing my ignorance... Why? I currently use things like |/usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/example.com/username in my .qmail-user files, when i do not want spamc to be invoked for each user in the domain Based on my understanding, vdelivermail has a somewhat deceptive name. Many people (myself included) thought it would just accept the mail and do whatever you requested as the last parameter (bounce-no-mailbox, deleted, directory for delivery, etc.). In reality, vdelivermail uses environment variables set by qmail-local to try to find the appropriate user and deliver the mail to them. It only delivers to the last parameter if it can't find a match. So, as we learned with the 1.0.19 release of qmailadmin, setting up a user fred with a .qmail file containing vdelivermail would result in an infinite loop of vdelivermail calling itself. Here's how: qmail-local looks for .qmail-fred in the domain's directory. Since .qmail-fred doesn't exist, qmail-local delivers the message to .qmail-default which contains vdelivermail. vdelivermail looks for a user fred in the domain's directory. Having found fred, it checks for a .qmail file before just dropping the message in fred's Maildir. Having found a .qmail file, it processes it. The first line of the .qmail file starts with |, indicating program delivery, so vdelivermail sends the message to the program (which is vdelivermail). On the second call, vdelivermail once again looks for a user fred in the domain's directory. Having found fred, it checks for a .qmail file... And we're stuck in a loop. Instead of using vdelivermail, you may need to use maildrop (Jeff Hedlund can provide details on that one) to process the email and drop it in the user's Maildir. It might be helpful to add another program (vstoremail?) to the vpopmail distribution that would accept a message in STDIN and save it to the Maildir specified as the first parameter. Then it would be possible to have entries in your .qmail file like |/usr/local/bin/spamc | /home/vpopmail/bin/vstoremail /home/vpopmail/domains/example.com/fred/Maildir/ vstoremail would take care of file locking/naming/etc. and exit with the proper error code. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re: [vchkpw] Re: Fw: [qmailadmin] aliases to bitbucket
On Tue, 15 Jul 2003, Tom Collins wrote: Based on my understanding, vdelivermail has a somewhat deceptive name. Odd you just brought that up. I never touched maildrop before and I was putting together a rule for per-user spam filtering (which is now easy to turn on and off due to your recent changes to qmailadamin, thanks!) and maybe because it was late at night, the vdelivermail line didn't catch my eye. I was going with the assumption it was a generic delivery agent, which I later saw it wasn't. I set up a wicked loop, but svscan here is started with sane limits, so after it iterated the loop 10 times or so it stopped. Many people (myself included) thought it would just accept the mail and do whatever you requested as the last parameter (bounce-no-mailbox, deleted, directory for delivery, etc.). Heh heh. In reality, vdelivermail uses environment variables set by qmail-local to try to find the appropriate user and deliver the mail to them. It only delivers to the last parameter if it can't find a match. This brings up another question. Right now my maildrop has an ugly hack to determine the directory. Is there a list anywhere of the environment variables that vdelivermail passes to the next program in line? I'm doing this: VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] That seems so bogus and unnecessary; I'm invoking yet another program making for a total of 6 program startups just to deliver a single piece of mail (original qmail delivery, vdelivermail, preline, maildrop, spamc, vuserinfo). Correct? I need to draw up a map for myself similar to the Qmail Big Picture to make sure I'm getting all this right. Is that homedir value not known by vdelivermail? It seems like it should be there... Instead of using vdelivermail, you may need to use maildrop (Jeff Hedlund can provide details on that one) to process the email and drop it in the user's Maildir. This works well (once you get the homedir location). It might be helpful to add another program (vstoremail?) to the vpopmail distribution that would accept a message in STDIN and save it to the Maildir specified as the first parameter. Then it would be possible to have entries in your .qmail file like |/usr/local/bin/spamc | /home/vpopmail/bin/vstoremail /home/vpopmail/domains/example.com/fred/Maildir/ I think that might be unnecessary. Maildrop (or procmail) should suffice for the final delivery... vstoremail would take care of file locking/naming/etc. and exit with the proper error code. Maildrop should do this too... What do you think? I propose tweaking vdelivermail a bit would be a better use of your time (and I'd love to see you clean up that code like you have qmailadmin, that's a stunning CHANGELOG you've got going). Thoughts? Charles -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re: [vchkpw] aliases
Hi Francesco, On Thu, 26 Jun 2003 12:32:42 +0200 Francesco Messere wrote: I done it, got qmail restart-command , ^ Why? and set an alias for root, How? but when i send a mail to it I get this error here is qmail log @40003efa9b001bb2c83c info msg 263648: bytes 635 from [EMAIL PROTECTED] qp 2072 uid 50 8 @40003efa9b0022f4c8ac starting delivery 1: msg 263648 to local [EMAIL PROTECTED] @40003efa9b0022f53ddc status: local 1/10 remote 0/20 @40003efa9b00261296f4 delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail _(#5.1.1)/ Obviously fastforward wasn't able to lookup the alias and find a forward rules, else vpopmail wouldn't have been invoked. So obviously you've set up the alias in a wrong way. Why don't you simly stick with dot-qmail files in ~vpopmail/domains/domain as intended unless you _know_ what you're doing? I don't see a single advantage in what you're trying to do over simply putting [EMAIL PROTECTED] into ~vpopmail/domains/test.com/.qmail-root This way qmail-local already handles delivery, no additional program is invoked - no fork()'s, spawn()'s or exec()'s, more foolproof than fastforward+vdelivermail, easier to maintain (via qmailadmin). So either get a clue about how qmail works and you'll find out how to invoke fastforward (albeit unnecessary and superfluous) or stick with native qmail-local+vpopmail+qmailadmin solution. P.S.: Top posting (answer above question) is the most efficient way of _not_ getting many answers. Think about it P.P.S.: No, using Outlook is no excuse for this. Only because this is default in Lookout this doesn't make it better (readable). P.P.P.S.: A reply indicator of only 'R' isntead of 'Re' is uncommon and might destroy threading and this is an answer detection in some MUAs, especially if References headers are stripped as well. Try to get used to using 'Re' as zillion of other people too; makes life easier for all of us. -- Ciao, Pit
Re: [vchkpw] Aliases not working with maildrop spamassassin?
Hi Jaspar, is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox,completely out of the spam checking task. My understanding is that when delivering mail, vpopmail looks for these files in the following order: ~vpopmail/domains/domain.com/.qmail-user ~vpopmail/domains/domain.com/user/.qmail ~vpopmail/domains/domain.com/.qmail/default It will process according to the first one it comes across, then stop further checking. So what is happening in your situation, is the .qmail-test file is prcessed by delivering the mail to user, and then no further processing is done (i.e., it does not then process the mail through the recipient's .qmail* files). As such, Aliases and Forwards will not be processed by spamd. I am not sure why this was done this way, but that the way it is. If I was a coder, I would prolly see if I could change that behaviour myself :-) HTH, Alan Murrell [EMAIL PROTECTED] __ Post your free ad now! http://personals.yahoo.ca
Re: [vchkpw] Aliases not working with maildrop spamassassin?
Hi, You want to use forwards instead of aliases to get around that. Ie you want [EMAIL PROTECTED] in the .qmail-test not /home/vpopmail/domains/domain.com/someguy/Maildir/ Doing it that way, it gets re-submitted and scanned by the .qmail-default Regards, Rick Alan Murrell wrote: Hi Jaspar, is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox,completely out of the spam checking task. My understanding is that when delivering mail, vpopmail looks for these files in the following order: ~vpopmail/domains/domain.com/.qmail-user ~vpopmail/domains/domain.com/user/.qmail ~vpopmail/domains/domain.com/.qmail/default It will process according to the first one it comes across, then stop further checking. So what is happening in your situation, is the .qmail-test file is prcessed by delivering the mail to user, and then no further processing is done (i.e., it does not then process the mail through the recipient's .qmail* files). As such, Aliases and Forwards will not be processed by spamd. I am not sure why this was done this way, but that the way it is. If I was a coder, I would prolly see if I could change that behaviour myself :-) HTH, Alan Murrell [EMAIL PROTECTED] __ Post your free ad now! http://personals.yahoo.ca
Re: [vchkpw] Aliases not working with maildrop spamassassin?
On Thu, 5 Jun 2003 04:39:56 -0400 Jasper Metselaar [EMAIL PROTECTED] wrote: Hi, I have a real [EMAIL PROTECTED] which is tagged for spam checking. The .qmail-default contains | /usr/local/bin/maildrop mailfilter file which calls maildrop and in mailfilter, runs through spamd to check for spam then pass it back to vdelivermail to deliver to the proper mailbox. Then I created a [EMAIL PROTECTED], which is an alias to [EMAIL PROTECTED] A .qmail-test is created which points to mydomain.com/user/Maildir. When an email is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox,completely out of the spam checking task. Shouldn't the .qmail-test file's content be the same as the .qmail-default file? How do you enable alias to behave the same as the account that it's aliased to? Of course I can use a forwarder to [EMAIL PROTECTED] instead, but I don't think this is the best wayor? Thanks in advance for your suggestions! Jasper ___ it is actually very simple, /mydomain/user/Maildir/ is a delivery statement, you are telling it to deliver to that mailbox, that's what is says. if you don't want the mail to be delivered to that box, don't put a delivery statement in the .qmail. if you put | /path/to/maildrop ... you'd be telling it to run maildrop if you put [EMAIL PROTECTED] you'd be telling it to redeliver the message as though it was for user, at which point it would go through the process of reading .qmail files for user read http://www.qmail.org/man/man5/dot-qmail.html, it explains it all.
Re: [vchkpw] Aliases not working with maildrop spamassassin?
I thought I had solved this problem for a client of mine. At the domain level, qmail seems to read .qmail-ext then .qmail-default file for delivery instruction. So if your .qmail-test file says /user/Maildir (default by qmailadmin), it'll completely bypass .qmail-default. Yes, your .qmail-test should include maildrop mailfilter like in .qmail-default, which will invoke maildrop but spam tagging rule will be ignored because it can't find you test alias in the database. You can choose to fix it at the database schema level, which probably will require a re-architecting the whole system. Fortunately, maildrop can be scripted to manipulate the way mail is delivered. What I've done was added a little code in the mailfilter file: # Environment variables needed import HOME import EXT # user import HOST # domain ALIASTO=$1 if($xALIAS ne x) { EXT=$ALIASTO } and my .qmail-test would say: /path/to/maildrop /path/to/mailfilter user so when maildrop is invoked, mailfilter checks to see if there's a command line option passed to it. If there is, change the environment variable EXT and pass it through spamd. If you choose to do it at the user level, i.e. Maildir/.qmail, it might not work (depending on your mailfilter) because it'll execute maildrop and then delivermail, which would then reads .qmail-ext and .qmail-default, then Maildir/.qmail and the cycle is repeated. Even if you can program your mailfilter to break the cycle, CPU time is wasted in another qmail cycle. Then again, my approach runs into problem when you have a .qmail-forward file because of the loosely defined .qmail-ext system, but that's another topic. Dzuy Jasper Metselaar wrote: Hi, I have a real [EMAIL PROTECTED] which is tagged for spam checking. The .qmail-default contains | /usr/local/bin/maildrop mailfilter file which calls maildrop and in mailfilter, runs through spamd to check for spam then pass it back to vdelivermail to deliver to the proper mailbox. Then I created a [EMAIL PROTECTED], which is an alias to [EMAIL PROTECTED] A .qmail-test is created which points to mydomain.com/user/Maildir. When an email is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox,completely out of the spam checking task. Shouldn't the .qmail-test file's content be the same as the .qmail-default file? How do you enable alias to behave the same as the account that it's aliased to? Of course I can use a forwarder to [EMAIL PROTECTED] instead, but I don't think this is the best wayor? Thanks in advance for your suggestions! Jasper ___
Re: [vchkpw] Aliases not working with maildrop spamassassin?
Hi Alan, On Thu, 5 Jun 2003 09:31:37 -0400 (EDT) Alan Murrell wrote: is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox,completely out of the spam checking task. My understanding is that when delivering mail, vpopmail looks for these files in the following order: ~vpopmail/domains/domain.com/.qmail-user ~vpopmail/domains/domain.com/user/.qmail ~vpopmail/domains/domain.com/.qmail/default No. It's slightely different. qmail-local looks for ~vpopmail/domains/domain.com/.qmail-user and if this lookup fails it looks for ~vpopmail/domains/domain.com/qmail-default At _THIS_ stage control is given to vpopmail (with default .qmail-default that calls 'vdelivermail'). vdelivermail is the one that looks up the user in vpasswd.cdb and, if present, processes user/.qmail. So what is happening in your situation, is the .qmail-test file is prcessed by delivering the mail to user, and then no further processing is done That's correct in so far as qmail-local already uses this file and vpopmail never gains control over the delivery process. I am not sure why this was done this way, Read the qmail documentation and try to understand the Big qmail picture[1]. Both together explain how delivery is done in qmail and where vpopmail steps in. If I was a coder, I would prolly see if I could change that behaviour myself :-) If you were a coder and would have understood the qmail delivery system you'd know how you can change this behavior. It's all about _where_ to step in and why e.g. qmailadmin is not designed to support this kind of interception yet. Creating aliases manually and including spamassassin in the delivery chain ain't a problem, the only problem is keeping this persistent when modifying aliases with qmailadmin. [1] http://www.nrg4u.com/ -- Ciao, Pit
[vchkpw] Aliases not working with maildrop spamassassin?
Hi, I have a real [EMAIL PROTECTED] which is tagged for spam checking. The .qmail-default contains | /usr/local/bin/maildrop mailfilter file which calls maildrop and in mailfilter, runs through spamd to check for spam then pass it back to vdelivermail to deliver to the proper mailbox. Then I created a [EMAIL PROTECTED], which is an alias to [EMAIL PROTECTED] A .qmail-test is created which points to mydomain.com/user/Maildir. When an email is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox,completely out of the spam checking task. Shouldn't the .qmail-test file's content be the same as the .qmail-default file? How do you enable alias to behave the same as the account that it's aliased to? Of course I can use a forwarder to [EMAIL PROTECTED] instead, but I don't think this is the best wayor? Thanks in advance for your suggestions! Jasper ___
[vchkpw] aliases don't honor dot-qmail forwards
Hi all, I'm using vpopmail 5.2.1 (the last stable release... Could we please get an update to this branch sometime soon?). I have noticed that when an account is set to forward mail and then I create an alias to that account (using QmailAdmin, for example), it create a .qmail-blah file (where blah is the alias), containing a line like this: /path/to/vdelivermail /path/to/real/user/Maildir/ However, this doesn't honor .qmail files that sit in that user's directory instructing mail to be forwarded! Neither does this: /path/to/vdelivermail [EMAIL PROTECTED] I want it to be that when a user (we have many of them) using QmailAdmin creates an alias to an account that forwards, that the alias will forward too. Is this such a strange request? Any suggestions? Thanks, Moshe -- Moshe Jacobson http://runslinux.net AIM: Jehsom
Re: [vchkpw] aliases
Hi, * Jonas Pasche [EMAIL PROTECTED] [2003-03-20 12:52]: Yes, because you did not follow the instructions correctly. Yes, maybe I didn't. But I tried :) valias -i [EMAIL PROTECTED] [EMAIL PROTECTED] \__/ \___/ \ \ \ This is the name of the alias. \ This is what you want to insert (-i) into it. first nice ascii. Now I got it completely. It works great. Kind regards, -Payal -- Visit GNU/Linux Success Stories www.geocities.com/rpayal99 Guest-Book Section Updated.
Re: [vchkpw] aliases
Hi Payal, I don't remember how I missed this command. I searched for almost a day in the directory. But still I am unable to figure how to use it. Can you give an example? Well... :-) # valias must supply alias email address valias: usage: [options] email_address options: -v ( display the vpopmail version number ) -s ( show aliases, can use just domain ) -d ( delete alias ) -i alias_line (insert alias line) Isn't that enough? valias isn't _that_ complex... Jonas
Re: [vchkpw] aliases
perhap he need more spesific. i had experience when i make input wrongly. where valias_line i give them input alias and alias is the real email address for more this is my configuration table alias under mysql is onos -- for alias and valias_line is [EMAIL PROTECTED] -- real email address dont mixed up ok, or your script dont work. On 19 Mar 2003 20:41:17 +0100 Jonas Pasche [EMAIL PROTECTED] wrote: Hi Payal, I don't remember how I missed this command. I searched for almost a day in the directory. But still I am unable to figure how to use it. Can you give an example? Well... :-) # valias must supply alias email address valias: usage: [options] email_address options: -v ( display the vpopmail version number ) -s ( show aliases, can use just domain ) -d ( delete alias ) -i alias_line (insert alias line) Isn't that enough? valias isn't _that_ complex... Jonas -- thx onOs
Re: [vchkpw] aliases
* Jonas Pasche [EMAIL PROTECTED] [2003-03-20 07:40]: # valias must supply alias email address valias: usage: [options] email_address options: -v ( display the vpopmail version number ) -s ( show aliases, can use just domain ) -d ( delete alias ) -i alias_line (insert alias line) Isn't that enough? valias isn't _that_ complex... Yes, I am still not getting it. Let me be more clear. Just correct me along the way. (remember I am on dummy system so all domains are false). If I have a domain payal.com, I want that whenever a mail is being sent to either [EMAIL PROTECTED] or [EMAIL PROTECTED], it should land at (or do as specified in .qmail-ext file) of [EMAIL PROTECTED] Is this how we use aliases? Is this an example of alias? Now I tried valias like this, # valias [EMAIL PROTECTED] [EMAIL PROTECTED] But this does not work at all. All the mails bounce. Even I am not getting onos solution. Can someone clear this thing? Warm regards, -Payal -- Visit GNU/Linux Success Stories www.geocities.com/rpayal99 Guest-Book Section Updated.
Re: [vchkpw] aliases
Hi Payal, If I have a domain payal.com, I want that whenever a mail is being sent to either [EMAIL PROTECTED] or [EMAIL PROTECTED], it should land at (or do as specified in .qmail-ext file) of [EMAIL PROTECTED] So create foo as a POP account, and let bar point to it, too. Is this how we use aliases? Yes. Is this an example of alias? Yes. Now I tried valias like this, # valias [EMAIL PROTECTED] [EMAIL PROTECTED] But this does not work at all. Yes, because you did not follow the instructions correctly. valias -i [EMAIL PROTECTED] [EMAIL PROTECTED] \__/ \___/ \ \ \ This is the name of the alias. \ This is what you want to insert (-i) into it. You cannot miss -i; please read the output of valias exactly. Jonas
[vchkpw] vpopmail, aliases, and () in To:'s
I'm having a bit of difficulty with vpopmail 5.2.1 and aliases in a particular circumstance. I've done some hunting in the archives and even taken a cursory look at the source, but so far have come up empty handed. When mailing people in your address book from MS Outlook (not Express) it's compulsively wanting to put (E-mail) after everyone's real name.. so a To: header in a message winds up looking like To: Some Jerk (E-Mail) [EMAIL PROTECTED] It's annoying and stupid, but in and of it's self is liveable. However, where I'm running into problems is anytime a message sent to our domain with such a header gets processed via a vpopmail alias, vdelivermail seems to be escaping the ()'s with backslashes; The delivered mail now has a header that looks like: To: Some Jerk \(E-Mail\) [EMAIL PROTECTED] This in and of it's self may or may not be bad, but it's definately undesireable when it comes to IMP, which when trying to reply to such a message escapes the \ and winds up with two, and then fails to properly send the mail - but thats a totally separate problem.. but I'm trying to solve this at the root first and then figure out what IMP's problem is. Anyway, this does not happen in normal mail handled by vdelivermail, only if it gets run through an alias. If such a message comes into the system sent to both a regular vpopmail user and an alias, the qmail logs show two deliveries; One to the virtual user and the alias, and then another for the resolution of the alias (with the appropriate note about the valias being processed.) The plain virtual user gets the message with (E-Mail), but the virtual user resolved by the alias gets \(E-Mail\). I've verified that this is happening on the delivery end and narrowed it down to vpopmail, as doing a 'recordio' on the qmail-smtpd session shows the header with no escaped ()'s.. so it's got to be vdelivermail doing something to the headers. So in the end.. 1) Why is this happening? 2) How can I fix it? :) Thanks in advance for any wisdom. | Bob Maple | bobm_at_burner_dot_com | [http] burner.com | | Thom Yorke: Here's to getting hitched, Space Ghost. | SG: Yeah.. Lets drink until our hearts stop.
Re: [vchkpw] vpopmail/qmail + non virtualdomain aliases/forwards
Hi Stratsimir, The only solution I am aware of is to make .qmail-abuse in every domain dir, but then the postmaster users will be able to delete those forwards using vpopmail frontend. Bloody workaround: After creating .qmail-abuse, do a chown root.root .qmail-abuse. People will be able to see that address, but they can't delete it. I've tried to put .qmail-abuse in /var/log/qmail/alias - it didn't worked for me. It doesn't work in general because ~alias is only consulted if no matching user is found. Jonas
[vchkpw] list domain aliases
Hi out there, for those of you who need to figure out which alias domains point to a specific vpopmail domain, here's a little shell script: --- cut here --- #!/bin/sh if [ ! $1 ] ; then echo Usage: $0 domain exit fi grep -e [^:]:$1: /var/qmail/users/assign | \ awk -F : '{ print $1 }' | sed 's/^+//' | sed 's/-$//' --- stop cutting here --- I saved it as vlistaliasdomains. Have fun with it; comments welcome. Jonas
[vchkpw] vpopmail/qmail + non virtualdomain aliases/forwards
Hi there, I'm administrating hosting server with over 50 virtual domains and I want a signle account to receive the mails sent to [EMAIL PROTECTED] (e.g. to receive the mails sent to: abuse@domain1, [EMAIL PROTECTED]) The only solution I am aware of is to make .qmail-abuse in every domain dir, but then the postmaster users will be able to delete those forwards using vpopmail frontend. I've tried to put .qmail-abuse in /var/log/qmail/alias - it didn't worked for me. I've also searched the archive of this list and google, but I was not able to find anything usefull nothi found... Any ideas or/and references? Stratsimir Kolchevski
Re: [vchkpw] vpopmail and fastforward and aliases
Hi Peter, On Wed, 5 Feb 2003 07:25:43 +0100 Peter Mikeska [EMAIL PROTECTED] wrote: I want ask U this I have working vpopmail+qmail+courier, its about 5 domains, and when I make alias for some address I get file .qmail-nameofalias in directory for domain for every alias I make, so I decided to put it to aliases only ONE file in /etc , i use fastforward , so I have write one line of command to .qmail-DEFAULT but I dont know in which one, .qmail-default from qmail installation seem dont work this way with vpopmail, and every domain have one in dir, I tryed put it to every file but wont work. so can some1 help me how to use aliases file with vpopmail? There're several reasons that stand against your plan. 1.) Files ~vpopmail/domains/example.com/.qmail-* are handled natively by qmail-local. Vpopmail doesn't step in here, so they're already the most efficient way of doing. Vpopmail only takes actions for ~vpopmail/domains/example.com/user as vdelivermail searches for user in vpasswd.cdb and gets directed to that directory for message storing. 2.) You will not succeed. 'fastforward' doesn't allow mailbox or maildir delivery instructions in alias file. Imagine a simple example: [EMAIL PROTECTED] should be forwared to [EMAIL PROTECTED] So your key / value pair in alias file would be [EMAIL PROTECTED]: [EMAIL PROTECTED] Your ~vpopmail/domains/example.com/.qmail-default would look like | ~vpopmail/bin/vdelivermail '' | fastforward /etc/aliases.cdb The mail comes in, vdelivermail is invoked, as no ~vpopmail/domains/example.com/.qmail-qwertz exists and ~vpopmail/domains/example.com/.qmail-default ist chosen. fastforward looks up the aliases file for '[EMAIL PROTECTED]', finds it and forwards the mail. The mail gets reinjected, directed to '[EMAIL PROTECTED]'. qmail-local don't find ~vpopmail/domains/example.com/.qmail-postmaster, therefor .qmail-edfault is used again. Now fastforward looks for '[EMAIL PROTECTED]' in aliases file. Either this key doesn't exist and the mail gets bounced or it exists and has to point to an external address, else you'll walk through this loop indefinitely (until qmail recognizes the loop by Delivered-To lines). At least you'll have to have a .qmail-user file for every user that should be a final recipient of a fastforward action. Well ... ain't it the best to leave the existing dot-qmail files as it's working the fastest way possible, instead off replacing them by only other dot-qmail file that achive, in the end, the same?!? P.S.: PLEASE ... disable your Reply-To for this list or set it to the lists address. 1.) Your Reply-To makes absolutely _no sense_. It's set to your From which would already be taken as address to reply to if no Reply-To header would be present. 2.) Your Reply-To header destroys the List-Reply functionality of some MUAs, as they're (for good reasons) configured to _first_ use Reply-To when replying, and only if absent List-Header which could be used for replying are searched. -- Regards, Peter
Re[2]: [vchkpw] vpopmail and fastforward and aliases
Hello Peter, Wednesday, February 5, 2003, 1:56:38 PM, you wrote: PP Hi Peter, PP On Wed, 5 Feb 2003 07:25:43 +0100 Peter Mikeska PP [EMAIL PROTECTED] wrote: I want ask U this I have working vpopmail+qmail+courier, its about 5 domains, and when I make alias for some address I get file .qmail-nameofalias in directory for domain for every alias I make, so I decided to put it to aliases only ONE file in /etc , i use fastforward , so I have write one line of command to .qmail-DEFAULT but I dont know in which one, .qmail-default from qmail installation seem dont work this way with vpopmail, and every domain have one in dir, I tryed put it to every file but wont work. so can some1 help me how to use aliases file with vpopmail? PP There're several reasons that stand against your plan. PP 1.) Files ~vpopmail/domains/example.com/.qmail-* PP are handled natively by qmail-local. PP Vpopmail doesn't step in here, so they're already the most efficient PP way of doing. PP Vpopmail only takes actions for PP ~vpopmail/domains/example.com/user PP as vdelivermail searches for user in vpasswd.cdb and gets PP directed to that directory for message storing. PP 2.) You will not succeed. 'fastforward' doesn't allow mailbox or maildir PP delivery instructions in alias file. PP Imagine a simple example: PP [EMAIL PROTECTED] should be forwared to [EMAIL PROTECTED] PP So your key / value pair in alias file would be PP [EMAIL PROTECTED]: [EMAIL PROTECTED] PP Your ~vpopmail/domains/example.com/.qmail-default would look like PP | ~vpopmail/bin/vdelivermail '' | fastforward /etc/aliases.cdb PP The mail comes in, vdelivermail is invoked, as no PP ~vpopmail/domains/example.com/.qmail-qwertz exists and PP ~vpopmail/domains/example.com/.qmail-default ist chosen. PP fastforward looks up the aliases file for PP '[EMAIL PROTECTED]', finds it and forwards the mail. PP The mail gets reinjected, directed to '[EMAIL PROTECTED]'. PP qmail-local don't find PP ~vpopmail/domains/example.com/.qmail-postmaster, therefor PP .qmail-edfault is used again. Now fastforward looks for PP '[EMAIL PROTECTED]' in aliases file. Either this PP key doesn't exist and the mail gets bounced or it exists and has to PP point to an external address, else you'll walk through this loop PP indefinitely (until qmail recognizes the loop by Delivered-To PP lines). PP At least you'll have to have a .qmail-user file for every user that PP should be a final recipient of a fastforward action. PP Well ... ain't it the best to leave the existing dot-qmail files as PP it's working the fastest way possible, instead off replacing them by PP only other dot-qmail file that achive, in the end, the same?!? PP P.S.: PLEASE ... disable your Reply-To for this list or set it to the PP lists address. PP 1.) Your Reply-To makes absolutely _no sense_. It's set to your PP From which would already be taken as address to reply to if no PP Reply-To header would be present. PP 2.) Your Reply-To header destroys the List-Reply functionality PP of some MUAs, as they're (for good reasons) configured to PP _first_ use Reply-To when replying, and only if absent PP List-Header which could be used for replying are searched. thank you a lot, also I change reply, hope its ok ;)) so its no other way to keep out of hundreds of .qmail-something files in dir ? thnx anyway Miki -- Best regards, Petermailto:[EMAIL PROTECTED]
Re: [vchkpw] vpopmail and fastforward and aliases
Hi Peter, On Wed, 5 Feb 2003 14:26:54 +0100 Peter Mikeska [EMAIL PROTECTED] wrote: [why fastforward vpopmail are a bad combination] thank you a lot, also I change reply, hope its ok ;)) Quite better ;-) so its no other way to keep out of hundreds of .qmail-something files in dir ? There is. Make use of MySQL support vpopmail offers and enable 'valias'. Should do the trick, albeit I haven't tested this yet, as I don't run MySQL-supporting vpopmail by myself. Maybe somebdoy else can confirm or disprove it's working as you need it. P.S.: TB!: Beta/5 is out, 4 has a serious bug in creation of new accounts. -- Regards, Peter
[vchkpw] vpopmail and fastforward and aliases
Hi, i just subscribe ;)) I want ask U this I have working vpopmail+qmail+courier, its about 5 domains, and when I make alias for some address I get file .qmail-nameofalias in directory for domain for every alias I make, so I decided to put it to aliases only ONE file in /etc , i use fastforward , so I have write one line of command to .qmail-DEFAULT but I dont know in which one, .qmail-default from qmail installation seem dont work this way with vpopmail, and every domain have one in dir, I tryed put it to every file but wont work. so can some1 help me how to use aliases file with vpopmail? thnx a lot Miki -- S pozdravom Peter mailto:[EMAIL PROTECTED]
Re: [vchkpw] vacation and aliases
-Oprindelig meddelelse- I have an account with about 2 or 3 aliases. When I enable the vacation-program which comes with vpopmail 5.3.8 and QmailAdmin 1.0.6. The vacation works for the main-address, but not for the aliases. The aliases are also added the normal way. I guess the problem is this: /home/vpopmail/domains/domain.com/username/Maildir/ I have a thought that if I use vdelivermail or forward, it would work, but I haven't tested this yet, mostly because the style i reffered to is the standard way of creating an alias... but then the vacation-message won't show when people mail to the alias addresses... Has anyone looked into this? I have the exact same problem and I suspect the same to be responsible. I am also curious to know if anyone as a better solution than disallowing aliases and just allow forwards? I had a quite angry customer on the phone complaining about this :) Regards, Jonas Thomsen, JT-COM
[vchkpw] Re[2]: [qmailadmin] Real Forwarders (not just aliases) in 1.0.6=
-BEGIN PGP SIGNED MESSAGE- Hello Ken, Friday, January 10, 2003, 5:09:04 PM, you wrote: I'm trying to get [EMAIL PROTECTED] to forward to [EMAIL PROTECTED] but for some weird reason, qmailadmin 1.0.6 doesn't seem to be able to do that anymore. It seems like there is only more Alias possible (i.e. domain.li to domain.li) no matter whether I chose to use Forwarder or Alias. What's wrong here? This used to work in older Versions! Use the Modify User page. That page allows you to set forwards and keeps the main directory clear of .qmail-username files. That's a god damn hack. What user is gonna figure this out? Best regards, Gabriel -BEGIN PGP SIGNATURE- Version: PGP 6.0.2i iQEVAwUBPh7k7MZa2WpymlDxAQF8Fgf9F3jn7XONPP/MqbPAl4o1WV2jjUt7xnQQ LCVbnryFl9bWcLUNRU01SBgT5bwxTZsDlelNp7Q8etTSgqIEudf0uCoGbrkx+6z1 j6wRM2JRSOivD3zmHWlvAW5D0ypf3vOtczuwsMZ3cfgE0zNnLNWIsKfIzqmqMFyr 28JvrCGAre+wrtZGz7NHqLm9dhyJEw02pobFfvPdYOAONrd0QCZtLcsqo6JsNXoW lFJ+jrF99WNdACUuFFHXQj0U8ybqu9QN1LjqhUgi/nF+/znFcL67d7DeAEEYeAEv FBw+ZZHOFukyABEwMdrYVb4D4eheMt9ZK+Iqp0UFIm5CpfIaA4Ossw== =z63h -END PGP SIGNATURE-
[vchkpw] Re[4]: [qmailadmin] Real Forwarders (not just aliases) in 1.0.6=
-BEGIN PGP SIGNED MESSAGE- Hello Ken, Friday, January 10, 2003, 5:20:05 PM, you wrote: It's been that way for quite a while. No complaints from anyone. If a user logs in, they can only see the modify user page. Perhaps you are talking about postmasters logging in. A postmaster still only is a user to the ISP. Besides, it kinda makes the distinction between Alias and Forwarders moot (I've always found it to be kinda silly to have it but now it's really weird). Best regards, Gabriel -BEGIN PGP SIGNATURE- Version: PGP 6.0.2i iQEVAwUBPh7m08Za2WpymlDxAQGfYQgAtaj4c+uj4wqyiaKHuK2yv/SZiRjmzIKR oNfzSF4p4NnpCLVLRF7X8Tl4+7M51UCzmtTB4EC5hVB8LQpuOxOgxMtgljZy/ITx tR6kjKfnf5ildiUFuXNDP6j0O7YQfYVOT1sAAqdqBx9EHif9RNMEHy961oXqJ6Ag KAC9s2edinODv/sfdyqDjnKTXo+T6huSSy8FJSSfzUV0Qpy4BbyfFEgrrXxVsOsV tVg0/JPAKICr74szokV+vt+bxRPp5bXUW/OhmGU2/VHmNpbTmDZFKEIIp7qZsvNg fgRRawVwNEFcB2hgemMb0Ovr0eYtyEIuVzniUOEt8iozUUoQYbSUKg== =gCkO -END PGP SIGNATURE-
Re: [vchkpw] Re[2]: [qmailadmin] Real Forwarders (not just aliases) in 1.0.6=
At 08:21 AM 01-10-2003, Gabriel Ambuehl wrote: That's a god damn hack. What user is gonna figure this out? Best regards, Gabriel hey gabriel, lighten up. how much did you pay for the software? cursing at the developers is rude, and unlikely to motivate them to continue providing FREE SOFTWARE AND FREE SUPPORT for you. if you don't like the functionality, either inquire politely or fix it yourself. better yet, send the developers money to fix it - then you can curse all you want! ;^) Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
[vchkpw] vacation and aliases
Hi, I have an account with about 2 or 3 aliases. When I enable the vacation-program which comes with vpopmail 5.3.8 and QmailAdmin 1.0.6. The vacation works for the main-address, but not for the aliases. The aliases are also added the normal way. I guess the problem is this: /home/vpopmail/domains/domain.com/username/Maildir/ I have a thought that if I use vdelivermail or forward, it would work, but I haven't tested this yet, mostly because the style i reffered to is the standard way of creating an alias... but then the vacation-message won't show when people mail to the alias addresses... Has anyone looked into this? -- Geir O. Høgberg
[vchkpw] Re: aliases
Hello martin, On Wednesday, November 13, 2002 at 5:04:39 AM you wrote: Do you :- 1) Change the username entry to /home/vpopmail/domains/domain/username Never ever. But do you have even _tried_ to read qmail documentation? $ MANPATH=/var/qmail/man man 5 dot-qmail 2) Create new .qmail-root etc. in /home/vpopmail/domains/domain/ If _ALL_ domains this qmail should receive messages for and deliver on the same machine are virtual, and there's _NO_ domain left in /var/qmail/control/locals yes. Especially if domain domain ain't in 'locals' but is setup via vpopmail _AND_ should receive mails directed to user root in this domain. On qmail.org search for the link to big qmail picture. Have a look at them, read the documentation and understand how your mail server works. -- Best regards Peter Palmreuther
[vchkpw] Re: aliases
Hi martin, On Thu, 14 Nov 2002 06:27:42 -0800 (PST) martin [EMAIL PROTECTED] wrote: 1) Change the username entry to /home/vpopmail/domains/domain/username Never ever. But do you have even _tried_ to read qmail documentation? Yes, I have it printed out and have been using qmail for 5-years. To be honest: I would have guessed so. The problem is trying to understand how vpopmail is doing things. It does it the qmail way. Have you never ever noticed while reading vpopmail documentation it uses _absolutely identical_ syntax for dor-qmail files? Have you _ever_ understood what qmail uses /var/qmail/users/* for? No? Than you lied and you haven't read qmail documentation. Yes? So what makes you think there's something different in syntax? There _can't_ be a difference in syntax for files like ~vpopmail/domains/yourdomain.com/.qmail-whatever because they _are_ processed by qmail itself, not vpopmail nor any part of it. Execute the following command to educate yourself about qmail, virtual domains and dot-qmail using and handling for VDs (assuming your incarnation of 'man' respects $MANPATH): MANPATH=/var/qmail/man man qmail-users MANPATH=/var/qmail/man man dot-qmail vpopmail is there for _only_ two things: - preventing you from creating a dot-qmail file for _every_ e-mail-address you want to be handled in a virtual domain, by using the .qmail-default mechanism of qmail and having a program behind this file (vdelivermail) that looks up a database (real DB or dot-cdb file) for delivery instructions - providing a password checking tool (vchkpw) that makes use of an own and system independent user database (again: real DB or dot-cdb file) Everything else is the _pure_ qmail way. 'vadddomain' does nothing that can't be achieved by manually editing _qmail_ configuration files. 'vadduser' is only a helping tool to handle the independent user db. 'vpopmail' only let you distribute an e-mail easier to all known users, nothing that can't be done without it (albeit it's quite more comfortable this way :-)). For not being misunderstood: I _do_ appreciate development of vpopmail, the package itself and the easy interface for administer virtual domains; I'm no qmail fetishist who loves it to do everything the manual way. But I really wish people would stop trying to put to much esoteric ideas in the way vpopmail works. It simly makes great use of a equally great basic system. qmail simply is build to be easily extended, and that is what vpopmail does. Extend where necessary / useful; reuse where possible. -- Pit
Re: [vchkpw] Re: aliases
on 11/14/02 9:17 AM, Peter Palmreuther [EMAIL PROTECTED] wrote: [snip] Have you _ever_ understood what qmail uses /var/qmail/users/* for? No? Than you lied and you haven't read qmail documentation. [snip] The information in the rest of your email is very helpful. Incredibly so for me, and I thank you for it. However, do you realize how full of assumptions most explanations (e.g. helpful explanations from people who know things) and documentation are? Full of assumed knowledge and assumed points of view. So often this makes even extensive documentation almost useless for asimilating even the basics - unless you have lots of time on your hands and can study and study and study until the obvious hidden information finally dawns on you. I find that in particular information about the internet and about server software is more buried right in front of us all than any other area I have ever studied. So the bottom line is no one really needs to prove anything about how hard someone else has studied the documentation. Some of us have studied until it hurt. Others reach their threshold of pain much sooner. But let's face it, learning from documentation is often a pain. A little dialog with someone can help almost effortlessly to bring forward the implicit points of view and create seeds for the process of assimilation, so that returning to the doc can then be fruitful. Documentation writers can learn from this. And learn and learn and learn - I believe without limit. Documentation can be much better. It is hard to be without attitude, and to rid oneself of all the hidden assumptions of being involved in a particularly community of discourse. Documentation is ideally written for everybody. That is an impossible task, but it can be approached. I appreciate this list and the help it provides to supplement the inevitable limitations of documentation (limitations that are experienced very differently by different people needing to learn and get work done). I am just lobbying for the cause of relieving us all from any need to even so much as clarify what someone has failed to do in using the documentation. This would leave our helpful information totally uncolored by anything besides help, which I think would be a good step. After all there is no need to defend the documentation. Like everything it was hard work to write it, and tries to meet an impossible goal. It is good to be aware of both all the time. The best of us (and who is that anyway?) will miss the obvious often enough whether writing or reading. Thanks, Kurt Bigler
Re: [vchkpw] Re: aliases
I was having similiar problems with aliases and finally figured out that my problem was that I did not set --enable-qmail-ext=y in my initial compilation. I wasn't clear myself on exactly how aliases worked with qmail/vpopmail (and yes I read the dot-qmail and dot-users man pages -- they are well-written but asking questions to get the big picture is often helpful). Anyway I think based on my maillogs from my original installation then compared to my new installation vpopmail was simply ignoring .qmail-ext files (which makes sense if I didn't enbable it at compile time!) Curious - does anyone have an explanation of why this is disabled by deafult? I would think you would want it enabled by default but perhaps there is a reason I am unaware of. Also - vpopmail has many options that are set at compile time that would be nice to be file-based configurable - thoughts? On my original compilation i d Quoting Kurt Bigler [EMAIL PROTECTED]: on 11/14/02 9:17 AM, Peter Palmreuther [EMAIL PROTECTED] wrote: [snip] Have you _ever_ understood what qmail uses /var/qmail/users/* for? No? Than you lied and you haven't read qmail documentation. [snip] The information in the rest of your email is very helpful. Incredibly so for me, and I thank you for it. However, do you realize how full of assumptions most explanations (e.g. helpful explanations from people who know things) and documentation are? Full of assumed knowledge and assumed points of view. So often this makes even extensive documentation almost useless for asimilating even the basics - unless you have lots of time on your hands and can study and study and study until the obvious hidden information finally dawns on you. I find that in particular information about the internet and about server software is more buried right in front of us all than any other area I have ever studied. So the bottom line is no one really needs to prove anything about how hard someone else has studied the documentation. Some of us have studied until it hurt. Others reach their threshold of pain much sooner. But let's face it, learning from documentation is often a pain. A little dialog with someone can help almost effortlessly to bring forward the implicit points of view and create seeds for the process of assimilation, so that returning to the doc can then be fruitful. Documentation writers can learn from this. And learn and learn and learn - I believe without limit. Documentation can be much better. It is hard to be without attitude, and to rid oneself of all the hidden assumptions of being involved in a particularly community of discourse. Documentation is ideally written for everybody. That is an impossible task, but it can be approached. I appreciate this list and the help it provides to supplement the inevitable limitations of documentation (limitations that are experienced very differently by different people needing to learn and get work done). I am just lobbying for the cause of relieving us all from any need to even so much as clarify what someone has failed to do in using the documentation. This would leave our helpful information totally uncolored by anything besides help, which I think would be a good step. After all there is no need to defend the documentation. Like everything it was hard work to write it, and tries to meet an impossible goal. It is good to be aware of both all the time. The best of us (and who is that anyway?) will miss the obvious often enough whether writing or reading. Thanks, Kurt Bigler
Re: [vchkpw] aliases
I'm sorry I can't offer any help, but I can echo that I am have similiar confusion. Since installing vpopmail I can't seem to get any of my aliases working - whether they be in /var/qmail/alias for local users like root or under ~/vpopmail/domains/domain.xxx/ for virtual users. I've looked at my maillog and it almost seems as if my .qmail files are being ignored -- I get a delivery successful but I am not getting the email. Thoughts? Quoting martin [EMAIL PROTECTED]: Hello. I installed vpopmail and have some domains but am confused as to the aliases. Conventionally, they are in /var/qmail/alias. Typically, .qmail-root, .qmail-postmaster and a softlink .qmail-mailer-daemon is linked to postmaster. You enter a user who actually receives the mail within .qmail-root .qmail-postmaster e.g. username So what happens when you add vpopmail and make ALL domains virtual domains ? Do you :- 1) Change the username entry to /home/vpopmail/domains/domain/username 2) Create new .qmail-root etc. in /home/vpopmail/domains/domain/ and then what happens to the files in /var/qmail/alias ? __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2
Re: [vchkpw] aliases
On Wed, Nov 13, 2002 at 05:16:10PM -0600, [EMAIL PROTECTED] wrote: I'm sorry I can't offer any help, but I can echo that I am have similiar confusion. Since installing vpopmail I can't seem to get any of my aliases working - whether they be in /var/qmail/alias for local users like root or under ~/vpopmail/domains/domain.xxx/ for virtual users. I've looked at my maillog and it almost seems as if my .qmail files are being ignored -- I get a delivery successful but I am not getting the email. Thoughts? Show us the output of /var/qmail/bin/qmail-showctl for starters. Cory
[vchkpw] aliases
Hello. I installed vpopmail and have some domains but am confused as to the aliases. Conventionally, they are in /var/qmail/alias. Typically, .qmail-root, .qmail-postmaster and a softlink .qmail-mailer-daemon is linked to postmaster. You enter a user who actually receives the mail within .qmail-root .qmail-postmaster e.g. username So what happens when you add vpopmail and make ALL domains virtual domains ? Do you :- 1) Change the username entry to /home/vpopmail/domains/domain/username 2) Create new .qmail-root etc. in /home/vpopmail/domains/domain/ and then what happens to the files in /var/qmail/alias ? __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2
Re: [vchkpw] *cross post* qmail aliases and mailfiltering - solved, sort of
Oh boy, only excuse I can make is that I was tired. I ended up changing the aliases to forwards by changed the content of .qmail-alias_user to [EMAIL PROTECTED] and of course it worked (cause it was being re-injected) I am still curious though, if something similar could be achieved with an actual alias rather than a forward :) Regards David - Original Message - From: David [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 1:33 PM Subject: [vchkpw] *cross post* qmail aliases and mailfiltering Hi all, sent this to the maildrop list as well, but thought the people here may be a good source to ask too :) What I am trying to do is get aliased accounts filtered, ie, mail sent to an alias, which goes to the real user gets caught by maildrop, so that it can be collated properly. The .qmail-alias_user only re-directs the mail to the users Maildir, doesnt seem to allow it to be handled by either vdeliver, or maildrop (cause it doesnt seem to be re-placed in the queue.. just physically moved) This one is puzzling me a bit, and is probably not too hard, but a search of the archives on both the vpopmail list and the maildrop and didnt seem to show a solution for me. Setup - qmail, vpopmail, maildrop (all working, individual .mailfilter files, also working) I have various aliases created, which create the appropriate ~vpopmail/domains/some.domain/.qmail-alias_user file, something like this content of .qmail-alias_user /home/vpopmail/domains/some.domain/real_user/Maildir/ this works 'properly' in that it ends up placed in the 'real' users Maildir. However I also have an entry in the 'real' users mailfilter, that should take mail being sent to this alias, and re-direct it to a folder for easy collation... something like this ~vpopmail/domains/some.domain/real_user/.mailfilter looks something like this: ### #header - To: #match - [EMAIL PROTECTED] #delivery - to - alias_user (the folder I want it to end up in) exception { if (/^To: *alias_user@some\.domain$/) { to $VHOME/Maildir/.alias_user/ } } (should move any mail received that was sent to alias_user to the folder I have to collect it all) This file is included into a domain wide mailfilter (used for SPAM stuff) and the format works. However, this one, even though the To IS [EMAIL PROTECTED] still ends up in the real_user INBOX. I would guess (have been reading tho I am not sure bout this) that it may be because the .qmail-alias_user hasnt got anything in it to allow it to be handled by maildrop, and isn't placed back for vdeliver to process, just moved to the Maildir/ of the real user. I was wondering what I would need to do to the .qmail-alias (if that is the right place), to re-process it perhaps so that the real users .mailfilter catches it out of the queue, either that, or if anyone has done this sort of thing, if you could give me a few pointers on how you did it, it would be really appreciated. Thanks heaps David (learnin more every day)
[vchkpw] *cross post* qmail aliases and mailfiltering
Hi all, sent this to the maildrop list as well, but thought the people here may be a good source to ask too :) What I am trying to do is get aliased accounts filtered, ie, mail sent to an alias, which goes to the real user gets caught by maildrop, so that it can be collated properly. The .qmail-alias_user only re-directs the mail to the users Maildir, doesnt seem to allow it to be handled by either vdeliver, or maildrop (cause it doesnt seem to be re-placed in the queue.. just physically moved) This one is puzzling me a bit, and is probably not too hard, but a search of the archives on both the vpopmail list and the maildrop and didnt seem to show a solution for me. Setup - qmail, vpopmail, maildrop (all working, individual .mailfilter files, also working) I have various aliases created, which create the appropriate ~vpopmail/domains/some.domain/.qmail-alias_user file, something like this content of .qmail-alias_user /home/vpopmail/domains/some.domain/real_user/Maildir/ this works 'properly' in that it ends up placed in the 'real' users Maildir. However I also have an entry in the 'real' users mailfilter, that should take mail being sent to this alias, and re-direct it to a folder for easy collation... something like this ~vpopmail/domains/some.domain/real_user/.mailfilter looks something like this: ### #header - To: #match - [EMAIL PROTECTED] #delivery - to - alias_user (the folder I want it to end up in) exception { if (/^To: *alias_user@some\.domain$/) { to $VHOME/Maildir/.alias_user/ } } (should move any mail received that was sent to alias_user to the folder I have to collect it all) This file is included into a domain wide mailfilter (used for SPAM stuff) and the format works. However, this one, even though the To IS [EMAIL PROTECTED] still ends up in the real_user INBOX. I would guess (have been reading tho I am not sure bout this) that it may be because the .qmail-alias_user hasnt got anything in it to allow it to be handled by maildrop, and isn't placed back for vdeliver to process, just moved to the Maildir/ of the real user. I was wondering what I would need to do to the .qmail-alias (if that is the right place), to re-process it perhaps so that the real users .mailfilter catches it out of the queue, either that, or if anyone has done this sort of thing, if you could give me a few pointers on how you did it, it would be really appreciated. Thanks heaps David (learnin more every day)
Re: user aliases
On Tue, 2001-10-16 at 02:39, Tells wrote: Hi! How to create an alias for root for default domain if default domain is kept as virtual domain? Please advise! Thank you in advance! Just create a .qmail-root file in the virtual domain diretory and set the ownership/permissions correctly. With vpopmail-5.0 valias -i root@your domain email address to forward to for example: valias -i [EMAIL PROTECTED] [EMAIL PROTECTED] Ken
RE: Aliases?
Whoops, spoke too soon -- just found the earlier post.. -Original Message- From: Steven Katz [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 1:13 PM To: [EMAIL PROTECTED] Subject: Aliases? Hi, How do I create an alias for an existing account within a virtual domain? Thanks, Steven
question how to create aliases and how to set forwards (and add it into mysql)
Hello, I now setup qmail with vpopmail and I can send email and I get receive email, so everything is fine... but... i would like to know how you set forwards (to redirect email to an external email-address) and how you set aliasses on existing emailaddresses (f.e. [EMAIL PROTECTED] and add alias: lao@[EMAIL PROTECTED] to it). After checking miscellaneous mailinglists and searching on google I'm not sure where to do it. You have to create a .qmail file but I'm not sure where to place it? i have a domain: info.domain.com my vpopmail dir: /home/vpopmail do I have to set it under /home/vpopmail/domains/info.domain.com/kevin/.qmail ? I also wonder how I can add these two values in mysql. I don't nothing about mysql so that's difficult for me.., I just like to add two fields to it who contains values for 'forward' and 'alias'. thanx for any help.. lao lao nightwolf -ansi/ascii/vga drawer/demo coder/txtGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Bug - vconvert with domain aliases (SQL)
Hi, I think I found a bug in vconvert (vpopmail 4.9.10). While converting my current userbase (cdb) to SQL, I noticed that users were added to the SQL table for each domain alias. Let's say you have domain.com and domain2.com, which is an alias to domain.com, and user test: vconvert takes every directory in /var/vpopmail/domains, even symlinks, and adds the user to the SQL table. Then, you have [EMAIL PROTECTED] and [EMAIL PROTECTED] in the SQL table. I patched vconvert to check if the directory is a link before converting it. If it's a link (domain alias), it skips to the next entry. What is the standard way to use diff to create patches? I'll post the patch here if anyone is interested. Thank you! Mathieu Martin Network Admin CoopTel [EMAIL PROTECTED]
Re: Aliases?
At 4:50 PM -0500 4/11/01, [EMAIL PROTECTED] wrote: -- Matt :) Whooosh... What do you mean by 'system aliases'? Sorry, I'm still dealing with massive problems from the NorthPoint fiasco obviously not thinking clearly. (In case anyone's wondering: 802.11 isn't really ready to replace wired connections.) I hate it when people post OS-specific questions with no explanation, yet here I am doing it myself. Specifically, I mean the default addresses from /etc/aliases on OpenBSD as seen below: - # Basic system aliases -- these MUST be present MAILER-DAEMON: postmaster postmaster: root # General redirections for pseudo accounts bin:root daemon: root named: root nobody: root operator: root uucp: root www:root ftp-bugs: root # Well-known aliases -- these should be filled in! root: [EMAIL PROTECTED] manager:[EMAIL PROTECTED] dumper: [EMAIL PROTECTED] #This one's important: hostmaster: [EMAIL PROTECTED] - If you want to deliver mail to your /etc/passwd users, you simply put a hostname in the locals file, and passwd users can get mail on that host. I guess that's what's getting me. Most of these accounts are not /etc/passwd users. Root is, but I stuck a .qmail file in /root containing my email address it still doesn't forward to my virtual domain account: Apr 14 01:33:26 yabox qmail: 987226406.935924 new msg 889608 Apr 14 01:33:26 yabox qmail: 987226406.940565 info msg 889608: bytes 35792 from [EMAIL PROTECTED] qp 31409 uid 0 Apr 14 01:33:26 yabox qmail: 987226406.984249 starting delivery 1250: msg 889608 to local [EMAIL PROTECTED] Apr 14 01:33:26 yabox qmail: 987226406.985460 status: local 1/10 remote 0/20 Apr 14 01:33:27 yabox qmail: 987226407.335437 new msg 889609 Apr 14 01:33:27 yabox qmail: 987226407.336700 info msg 889609: bytes 3080 from [EMAIL PROTECTED] qp 25065 uid 0 Apr 14 01:33:27 yabox qmail: 987226407.374204 starting delivery 1251: msg 889609 to local [EMAIL PROTECTED] Apr 14 01:33:27 yabox qmail: 987226407.376177 status: local 2/10 remote 0/20 Apr 14 01:33:27 yabox qmail: 987226407.379194 delivery 1250: failure: Sorry,_no_ mailbox_here_by_that_name._(#5.1.1)/ Apr 14 01:33:27 yabox qmail: 987226407.456669 status: local 1/10 remote 0/20 Apr 14 01:33:27 yabox qmail: 987226407.569181 bounce msg 889608 qp 22523 Apr 14 01:33:27 yabox qmail: 987226407.572464 end msg 889608 Apr 14 01:33:27 yabox qmail: 987226407.578631 delivery 1251: failure: Sorry,_no_ mailbox_here_by_that_name._(#5.1.1)/ Apr 14 01:33:27 yabox qmail: 987226407.592712 status: local 0/10 remote 0/20 Apr 14 01:33:27 yabox qmail: 987226407.736877 bounce msg 889609 qp 22905 Apr 14 01:33:27 yabox qmail: 987226407.739622 end msg 889609 Apr 14 01:33:27 yabox qmail: 987226407.852462 new msg 889610 Apr 14 01:33:27 yabox qmail: 987226407.853482 info msg 889610: bytes 36362 from qp 22523 uid 2855 Apr 14 01:33:27 yabox qmail: 987226407.886178 starting delivery 1252: msg 889610 to local [EMAIL PROTECTED] Apr 14 01:33:27 yabox qmail: 987226407.888128 status: local 1/10 remote 0/20 Apr 14 01:33:27 yabox qmail: 987226407.900043 new msg 889608 Apr 14 01:33:27 yabox qmail: 987226407.905973 info msg 889608: bytes 3650 from qp 22905 uid 2855 Apr 14 01:33:27 yabox qmail: 987226407.928162 starting delivery 1253: msg 889608 to local [EMAIL PROTECTED] Apr 14 01:33:27 yabox qmail: 987226407.929172 status: local 2/10 remote 0/20 Apr 14 01:33:27 yabox qmail: 987226407.955671 delivery 1252: failure: Sorry,_no_ mailbox_here_by_that_name._(#5.1.1)/ Apr 14 01:33:27 yabox qmail: 987226407.962470 status: local 1/10 remote 0/20 Apr 14 01:33:27 yabox qmail: 987226407.963221 delivery 1253: failure: Sorry,_no_ mailbox_here_by_that_name._(#5.1.1)/ Apr 14 01:33:27 yabox qmail: 987226407.966424 status: local 0/10 remote 0/20 Apr 14 01:33:28 yabox qmail: 987226408.484715 bounce msg 889610 qp 20326 Apr 14 01:33:28 yabox qmail: 987226408.487677 end msg 889610 Apr 14 01:33:28 yabox qmail: 987226408.545183 bounce msg 889608 qp 31750 Apr 14 01:33:28 yabox qmail: 987226408.552512 end msg 889608 Apr 14 01:33:28 yabox qmail: 987226408.579365 new msg 889609 Apr 14 01:33:28 yabox qmail: 987226408.580755 info msg 889609: bytes 36843 from #@[] qp 20326 uid 2855 Apr 14 01:33:28 yabox qmail: 987226408.640017 starting delivery 1254: msg 889609 to local [EMAIL PROTECTED] Apr 14 01:33:28 yabox qmail: 987226408.640983 status: local 1/10 remote 0/20 Apr 14 01:33:28 yabox qmail: 987226408.649904 new msg 889610 Apr 14 01:33:28 yabox qmail: 987226408.651059 info msg 889610: bytes 4131 from #@[] qp 31750 uid 2855 Apr 14 01:33:28 yabox qmail: 987226408.730021 starting delivery 1255: msg 889610 to local [EMAIL PROTECTED] Apr 14 01:33:28 yabox qmail: 987226408.731027 status: local 2/10 remote 0/20 Apr 14 01:33:28 yabox qmail: 987226408.733043 delivery 1254: failure: Sorry,_no_ mailbox_here_by_that_name._(#5.1.1)/ Apr 14 01:33:28 yabox qmail: 987226408.761690 status: local 1/10 remote 0/20 Apr 14 01:33:28 yabox
Re: Aliases?
On Sat, 14 Apr 2001, Kit Halsted wrote: [...] If you want to deliver mail to your /etc/passwd users, you simply put a hostname in the locals file, and passwd users can get mail on that host. I guess that's what's getting me. Most of these accounts are not /etc/passwd users. Root is, but I stuck a .qmail file in /root containing my email address it still doesn't forward to my virtual domain account: Try moving it to ~alias/.qmail-root and making links or copies at ~alias/.qmail-postmaster etc. (Home directories owned by root are treated specially, IIRC.) hope this helps, -- Daniel Biddle [EMAIL PROTECTED]
Re: Aliases?
Thanks, Ken. Any pointers on how to set up the system aliases without messing things up for vpopmail? (FQDN is in locals, DN is handled by vpopmail.) -Kit At 6:16 AM -0500 4/9/01, [EMAIL PROTECTED] wrote: FastForward and vpopmail will not work together. They both wish to occupy the .qmail-default file, and it won't work properly. You can add them both there, but it will cause problems in the long run. Kit Halsted wrote: Sorry for the reposted question, but I'm still hoping somebody might be able to clue me in... I'm running Qmail 1.03, FastForward 0.51, vpopmail (4.9.8-1, I think, latest stable release as of 6 days ago) on an OpenBSD 2.8/i386 box. I set up an /etc/aliases file ran newaliases to get the standard system accounts to forward to my account. Newaliases appeared to run fine, but mail to root still bounces as below. Anybody know what I'm doing wrong? Bounce: -- Return-Path: Delivered-To: [EMAIL PROTECTED] Received: (qmail 20565 invoked for bounce); 5 Apr 2001 15:36:49 - Date: 5 Apr 2001 15:36:49 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at yabox.kithalsted.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. vpopmail (#5.1.1) --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 19904 invoked from network); 5 Apr 2001 15:36:48 - Received: from w098.z064002075.nyc-ny.dsl.cnc.net (HELO ?10.0.1.39?) (64.2.75.98) by mail.kithalsted.com with SMTP; 5 Apr 2001 15:36:48 - Mime-Version: 1.0 X-Sender: [EMAIL PROTECTED]@mail.kithalsted.com Message-Id: p04320402b6f23f4f3ea7@[10.0.1.39] X-Mailer: Eudora for Macintosh! Date: Thu, 5 Apr 2001 11:27:32 -0400 To: [EMAIL PROTECTED] From: Kit Halsted [EMAIL PROTECTED] Subject: test-[EMAIL PROTECTED] Content-Type: text/plain; charset="us-ascii" ; format="flowed" -- Thanks, -Kit -- [EMAIL PROTECTED] Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices
Re: Aliases?
-- Matt :) What do you mean by 'system aliases'? If you want to deliver mail to your /etc/passwd users, you simply put a hostname in the locals file, and passwd users can get mail on that host. Kit Halsted wrote: Thanks, Ken. Any pointers on how to set up the system aliases without messing things up for vpopmail? (FQDN is in locals, DN is handled by vpopmail.) -Kit At 6:16 AM -0500 4/9/01, [EMAIL PROTECTED] wrote: FastForward and vpopmail will not work together. They both wish to occupy the .qmail-default file, and it won't work properly. You can add them both there, but it will cause problems in the long run. Kit Halsted wrote: Sorry for the reposted question, but I'm still hoping somebody might be able to clue me in... I'm running Qmail 1.03, FastForward 0.51, vpopmail (4.9.8-1, I think, latest stable release as of 6 days ago) on an OpenBSD 2.8/i386 box. I set up an /etc/aliases file ran newaliases to get the standard system accounts to forward to my account. Newaliases appeared to run fine, but mail to root still bounces as below. Anybody know what I'm doing wrong? Bounce: -- Return-Path: Delivered-To: [EMAIL PROTECTED] Received: (qmail 20565 invoked for bounce); 5 Apr 2001 15:36:49 - Date: 5 Apr 2001 15:36:49 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at yabox.kithalsted.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. vpopmail (#5.1.1) --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 19904 invoked from network); 5 Apr 2001 15:36:48 - Received: from w098.z064002075.nyc-ny.dsl.cnc.net (HELO ?10.0.1.39?) (64.2.75.98) by mail.kithalsted.com with SMTP; 5 Apr 2001 15:36:48 - Mime-Version: 1.0 X-Sender: [EMAIL PROTECTED]@mail.kithalsted.com Message-Id: p04320402b6f23f4f3ea7@[10.0.1.39] X-Mailer: Eudora for Macintosh! Date: Thu, 5 Apr 2001 11:27:32 -0400 To: [EMAIL PROTECTED] From: Kit Halsted [EMAIL PROTECTED] Subject: test-[EMAIL PROTECTED] Content-Type: text/plain; charset="us-ascii" ; format="flowed" -- Thanks, -Kit -- [EMAIL PROTECTED] Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices -- [EMAIL PROTECTED] Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices