Re: [vchkpw] Forwarding spec. users w/o local domain
On Jun 28, 2006, at 6:11 AM, Ted Fines wrote: Does anyone have any ideas on how to accomplish this goal, using qmailtap or something else? If the server that accepts mail for macalester.edu can be convinced to accept mail for somehost.macalester.edu, you can use vpopmail and qmailadmin to accomplish your goals. Make sure [EMAIL PROTECTED] is working correctly before modifying your gateway system. Stop qmail-smtpd and qmail-send before doing any of this, to make sure you get it set up right. You're going to add macalester.edu as a vpopmail domain on your gateway system. Change the catchall to [EMAIL PROTECTED]. If you're using qmailadmin, you can just enter @somehost.macalester.edu as the catchall email address, and it will automatically set it up. Here's the feature request on that undocumented feature: http://sourceforge.net/tracker/index.php? func=detailaid=910410group_id=6691atid=356691 Remove the entry from smtproutes. At this point, you might be able to start qmail-send (leaving qmail-smtpd off) and use qmail-inject to inject a test message. Watch the logs to make sure it gets through. If so, you can start qmail-smtpd back up. Now, add aliases for the addresses you want forwarded elsewhere. Use QmailAdmin, or just create a .qmail-user45 file in the domain directory. If an alias exists, the email will be forwarded. If it doesn't exist, it will go to [EMAIL PROTECTED] You'll probably also want to modify the postmaster user to have its mail get forwarded to [EMAIL PROTECTED] If you really want to be safe, you could add the domain as test.com first, make sure everything works (using qmail-inject, or manually telnetting to port 25 on localhost) before doing it with the real domain. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] forwarding to local users
On Friday 21 October 2005 10:14 am, hbeaumont hbeaumont wrote: Hi, I need to forward a vpopmail user to a local users shell mail right now i have the domains .qmail-default set to : | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] that's the 'catchall' argument if the user doesn't exist, it will fall back to that. if you simply want to forward your vpopmail user to another user you can do something like this: for [EMAIL PROTECTED] echo '[EMAIL PROTECTED]' ~vpopmail/domains/example.com/.qmail-frank this works but it rewrites all the headers to not have the original domain. please show an example of this. It works if I chown the users Maildir to vpopmail.vchkpw but that really won't work for my purposes. what does? Even worse :) the mail is going to a Mailbox and not a Maildir. check your .qmail file for the final user. the path to the maildir must have a / at the end for qmail to consider it a maildir. -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob. pgpsGF8EcZoee.pgp Description: PGP signature
Re: [vchkpw] forwarding to local users
On 10/21/05, Jeremy Kitchen [EMAIL PROTECTED] wrote: On Friday 21 October 2005 10:14 am, hbeaumont hbeaumont wrote: Hi, I need to forward a vpopmail user to a local users shell mail right now i have the domains .qmail-default set to : | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] I think I didn't explain myself well :) I am trying to set the catch-all to a local users shell mail Setting it with either : | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] or real_user_name@server.com correctly forwards the mail. However I need it to keep all the headers in tact for the original virtual domain. Thanks for any help!
Re: [vchkpw] forwarding to local users
On Friday 21 October 2005 02:21 pm, hbeaumont hbeaumont wrote: I am trying to set the catch-all to a local users shell mail Setting it with either : | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] or [EMAIL PROTECTED] http://server.com correctly forwards the mail. However I need it to keep all the headers in tact for the original virtual domain. I'm not sure what you have the http://server.com part in there for.. but the headers will remain the same (with the addition of a few new received headers and another deliver-to with either of these methods. Could you please provide us *real* information including an example of the headers of an email? Also, for future reference, if you're going to hide your domain name, please use example.com, example.net or example.org, these domains are RFC defined for use as 'dummy' domains. I'm sure the person who owns the mailbox real_user_name at server.com would appreciate it. -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob. pgp7OgTStuM6J.pgp Description: PGP signature
Re: [vchkpw] forwarding to local users
On Oct 21, 2005, at 2:21 PM, hbeaumont hbeaumont wrote: However I need it to keep all the headers in tact for the original virtual domain. Which headers? The To/From/Subject/Date won't be changed when the message is forwarded. There might be a difference in the Delivered-To headers -- is that what you're referring to? -- 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
Re: [vchkpw] Forwarding/Moving Mails directly to a IMAP Subfolder
Philipp Suek wrote: Hi, I currently try to forward mails with the dot-qmail files .qmail-adress to a courier-imap subfolder of a Maildir. I tried to use vdelivermail, but it needs a Maildir directory. I tried to move the files from the cur to the subfolder, but it didn't work perfectly. Do you have any idea? As I remember you can just put the path of the Maildir in the .qmail-user file. Regards, Tren.
Re: [vchkpw] forwarding mails
Payal Rathod wrote: Hi, How in the world am I suppossed to forward mails in qmail+vpopmail setup? # pwd /home/vpopmail/domains/example.net # echo [EMAIL PROTECTED] .qmail-rp This does not work. Neither this does, # echo [EMAIL PROTECTED] rp/.qmail With warm regards, -Payal Use valias. Or qmailadmin from http://inter7.com/?page=qmailadmin To forward mail for [EMAIL PROTECTED] to two different external addresses: # /home/vpopmail/bin/valias -i [EMAIL PROTECTED] [EMAIL PROTECTED] # /home/vpopmail/bin/valias -i [EMAIL PROTECTED] [EMAIL PROTECTED] valias works by putting a .qmail-aliens file in the relevant domain directory. (Check the permissions on the dot-qmail files you already made, and be sure that owner=vpopmail, group=vchkpw.) Then they might work as you expect. Rick
Re: [vchkpw] forwarding mails
Payal Rathod wrote: Hi, How in the world am I suppossed to forward mails in qmail+vpopmail setup? # pwd /home/vpopmail/domains/example.net # echo [EMAIL PROTECTED] .qmail-rp This does not work. Neither this does, # echo [EMAIL PROTECTED] rp/.qmail With warm regards, -Payal What are perms and ownership of the .qmail- files? What do the logs say? I have mine scripted to be 644 and vpopmail:vchkpw at creation. I use valias for forwards mostly, though I still have a few .qmail files around for accounts that have mail 'copied' to other accounts. DAve
Re: [vchkpw] forwarding mails
Payal Rathod wrote: How in the world am I suppossed to forward mails in qmail+vpopmail setup? # pwd /home/vpopmail/domains/example.net # echo [EMAIL PROTECTED] .qmail-rp This does not work. This is the correct format. With the right permissions no reason why it shouldn't work. Neither this does, # echo [EMAIL PROTECTED] rp/.qmail ( scratches head.. ) What are perms and ownership of the .qmail- files? --- DAve [EMAIL PROTECTED] wrote: I have mine scripted to be 644 and vpopmail:vchkpw at creation. They work tickety-boo as below, -rw--- vpopmail vchkpw .qmail-rp If it's really giving you grief, why not use qmailadmin to set them? HTH Chris. __ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/
RE: [vchkpw] Forwarding....
I didn't follow your thread before, but this is all elementary qmail configuration. What was the problem? Are you familiar with qmailadmin, because it does all of this for you through a compiled CGI GUI (soon to be PHP-based, with a little luck). -Original Message- From: Bill Sappington [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 11:10 AM To: 'vpopmail list' Subject: [vchkpw] Forwarding Ok so after wading through documentation that didn;t document so very damn well, and the snide remarks from a few people on this list and suffering through the whole It was hard to write so it should be hard to use attitude this works for forwarding. The following assumes a standard Qmail install on Linux, a standard install of Vpopmail. Standard install will create: /home/vpopmail/domains Within the domains directory a sub-driectory for each domain you put onto the system is created it: New Domain = MyNewDomain.Com So you will have the following directory structure: /home/vpopmail/domains/MyNewDomain.com for the obligitory postmaster you will have: /home/vpopmail/domains/MyNewDomain.com/postmaster within the above you will have /home/vpopmail/domains/MyNewDomain.com/postmaster/MailDir within Maildir you will have three directories: new, cur tmp *=*=*=*=*=*=*=*=*=*=*= THE DEFAULT FORWARD *=*=*=*=*=*=*=*=*=*=*=* Create a user for the domain MyNewDomain.com, ie: 'info' and you will have: /home/vpopmail/domains/MyNewDomain.com/info/MailDir within Maildir you will have three directories: new, cur tmp within the directory: /home/vpopmail/domains/MyNewDomain.com execute the ls -all command and you will see the file '.qmail-default'. This file handles all e-mail comming to this domain that has no valid destination. The contents of this file are: | /home/vpopmain/bin/vdelivermail '' bounce To make all e-mail without a valid destination in MyNewDomain.com go to a specific user, replace the word 'bounce' with the fully qualified address of the person you want it to go to. This can be ANYONE! Inside or outside your domain. So suppose you want all e-mail with no valid destination at MyNewDomain.com to go to your mailbox on hotmail.com change the line to look like this: | /home/vpopmain/bin/vdelivermail '' [EMAIL PROTECTED] This is the Catch All! *=*=*=*=*=*=*=*=*=*=*=*= THE INDIVIDUAL FORWARD *=*=*=*=*=*=*=*=*=*=*=*=*=*= To forward for a specific user create a file in the DOMAIN directory: /home/vpopmail/domains/MyNewDomain.com name it .qmail-[user name of the person in this domain for which you would like to do forwarding] So in the above example, I have a domain called 'MyNewDomain.com' and a user named 'info'. If I want to forward ALL e-mail for the user 'info' to my hotmail address I would use a text editor such as pico since its very simple to use and execute the following command: pico /home/vpopmail/domains/MyNewDomain.com/.qmail-info Then add the following to the file: [EMAIL PROTECTED] Save the file and I have just created the forwarding rule for the individual user. = end
Re: [vchkpw] forwarding a while domain regardless of users
Hi Rob, On Wed, 19 Mar 2003 10:36:24 -0600 Rob Short wrote: I tried the |/home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] line earlier this morning. No avail - I got syntax errors on that line. So _who exactly_ reported that syntax error? I've just set up an additional domain, for testing purposes only, that was modified to have a .qmail-default exactly as given above (execept 'that.com' replaced by another domain). What should I say ... it worked _immediately_. 'pitpalme.de' is the primary domain, 'asdfg.pitpalme.de' the new test domain. ,- | info msg 945386: bytes 246 from [EMAIL PROTECTED] qp 4783 uid 0 | starting delivery 52: msg 945386 to local \ | [EMAIL PROTECTED] | status: local 1/10 remote 0/20 | new msg 945395 | info msg 945395: bytes 358 from [EMAIL PROTECTED] qp 4788 uid 89 | starting delivery 53: msg 945395 to remote [EMAIL PROTECTED] `- Line wrapping escaped with '\' inserted manually to avoid ugly wrapping in this email. So you see ... it works. I think I'm moving this to an alternate server that calls spamassassin and trophie from qmail-scanner. If you like ... do that. But be assured it would work without that work araound. :-) -- Pit
Re: [vchkpw] Forwarding....
Hi Bill, So what I would like to know is about setting a forwarder for a particular user of a domain. There does not seem to be a reference in the documentation; however, I could be blind and stupid. Forwardings are handled by qmail-local before vpopmail drops in. They're well documented by Life with qmail: http://lifewithqmail.org/lwq.html#dot-qmail-files http://lifewithqmail.org/lwq.html#extension-addresses http://lifewithqmail.org/lwq.html#aliases the .qmail-default file seems to alude to this via the empty set, ie: | /home/vpopmail/bin/vdelivermail '' delete No. is then | /home/vpopmail/bin/vdelivermail [EMAIL PROTECTED] [EMAIL PROTECTED] The correct syntax to forward ??? No. Uh-oh, never start fiddling around with such trials. This is Unix; you need to read the documentation to solve problems. If things are not in the docs, we're here to help. :) Jonas
Re: [vchkpw] Forwarding....
Hi, On Sun, 2003-03-16 at 17:03, Jonas Pasche wrote: Forwardings are handled by qmail-local before vpopmail drops in. They're well documented by Life with qmail: Not entirely correct, .qmail files is read by vdelivermail if they are placed inside users own directory. Please look at the check_forward_deliver() function in vdelivermail.c In other words, .qmail files in the domain directory is handled by qmail-local, while .qmail files in user-directories is handled by vdelivermail. -- Anders Brander [EMAIL PROTECTED]
Re: [vchkpw] Forwarding....
I have forwards setup like the following: make a .qmail-USER file in the directory of the domain (replace USER with the username) in the file type [EMAIL PROTECTED] (without the quotes) example of a forward from [EMAIL PROTECTED] to [EMAIL PROTECTED] : [EMAIL PROTECTED] closer]# cat /usr/vpopmail/domains/neg9.netnitco.net/.qmail-root [EMAIL PROTECTED] [EMAIL PROTECTED] closer]# Hope that helps, Scott - Original Message - From: Bill Sappington [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 5:39 PM Subject: [vchkpw] Forwarding Ok, Well I have the system working I even have the catch all working. So what I would like to know is about setting a forwarder for a particular user of a domain. There does not seem to be a reference in the documentation; however, I could be blind and stupid. the .qmail-default file seems to alude to this via the empty set, ie: | /home/vpopmail/bin/vdelivermail '' delete syntax in as much as the following works... | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] will forward e-mail for non existant users to the named account, is then | /home/vpopmail/bin/vdelivermail [EMAIL PROTECTED] [EMAIL PROTECTED] The correct syntax to forward ??? Thanks in advance.
Re: [vchkpw] Forwarding problem
On Mon, 07 Oct 2002 18:15:46 +0200 Medgyesi Gergely [EMAIL PROTECTED] wrote: When I modify an account and set KEEP FORWARD Then the mail forwards to the desination BUT the Header of the message changes so to FROM FIELD will be The following: [EMAIL PROTECTED] 1.) Which vpopmail version 2.) Which qmailadmin version 3.) What's the result of cat ~vpopmail/domains/$domain/$user/.qmail with '$domain' replaced with your domain name and '$user' replaced with correct user name whom the 'keep forward' is setup for??? I've tested your scenario and can't confirm your problem with vpopmail v5.3.8 qmailadmin v1.0.6. -- Pit
Re: [vchkpw] Forwarding problem
On Mon, 07 Oct 2002 21:11:54 +0200 Medgyesi Gergely [EMAIL PROTECTED] wrote: Here's the answers for your questions: 1. vpopmail 5.2.1 (Should I upgrade ??) 2. qmailadmin 1.0.6 3. Here's what vpopmail/domains/$domain/$user/.qmail contains: ( is the test user name...) [EMAIL PROTECTED] /var/vpopmail/domains/nyke.hu//Maildir/ I completely can't understand this, because if I copy these lines to: vpopmail/domains/$domain/.qmail-any_user_name_here file, than the forwarding works fine, and the form field remains the same as in the original mail. So it seems 'vdelivermail' in vpopmail-5.2.1 has problems with '' styled forwards in '~vpopmail/domains/$domain/$user/.qmail' files. For testing purposes could you change [EMAIL PROTECTED] to |forward [EMAIL PROTECTED] manually? Nevertheless, all in all, I guess you'll need to upgrade to 5.3.8 which I'd personally call 'stable' to get this working, as even if '|forward' syntax works you'd have to modify qmailadmin. Therefore it might be an idea to give 5.3.8 a try, as as I said it work here, using exactly this version, flawless. -- Pit
RE: [vchkpw] Forwarding problem 5.3.8
Hi ! Nooo I screamed, after installing vpopmail 5.3.8, because the problem remained the same.. Any idea? Bye, Gergo -Original Message- From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 9:52 PM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Forwarding problem On Mon, 07 Oct 2002 21:11:54 +0200 Medgyesi Gergely [EMAIL PROTECTED] wrote: Here's the answers for your questions: 1. vpopmail 5.2.1 (Should I upgrade ??) 2. qmailadmin 1.0.6 3. Here's what vpopmail/domains/$domain/$user/.qmail contains: ( is the test user name...) [EMAIL PROTECTED] /var/vpopmail/domains/nyke.hu//Maildir/ I completely can't understand this, because if I copy these lines to: vpopmail/domains/$domain/.qmail-any_user_name_here file, than the forwarding works fine, and the form field remains the same as in the original mail. So it seems 'vdelivermail' in vpopmail-5.2.1 has problems with '' styled forwards in '~vpopmail/domains/$domain/$user/.qmail' files. For testing purposes could you change [EMAIL PROTECTED] to |forward [EMAIL PROTECTED] manually? Nevertheless, all in all, I guess you'll need to upgrade to 5.3.8 which I'd personally call 'stable' to get this working, as even if '|forward' syntax works you'd have to modify qmailadmin. Therefore it might be an idea to give 5.3.8 a try, as as I said it work here, using exactly this version, flawless. -- Pit