Re: Aliases with -
On Tue, Jul 03, 2001 at 11:50:36AM +0200, Peter Klingeberg wrote: Hi ! Is there any special capital like : for dots to use - in aliasnames ? (.qmail-user-name-name) No, - works just fine. Only dot is special. Greetz, Peter -- Against Free Sex! http://www.dataloss.nl/Megahard_en.html
Re: Aliases with -
On Tue, Jul 03, 2001 at 11:50:36AM +0200, Peter Klingeberg wrote: Is there any special capital like : for dots to use - in aliasnames ? (.qmail-user-name-name) Use ''-'' for aliases with ''-'', ie: if .qmail-user-name-name is located under ~alias it recieves mail for user-name-name@domain but if it's located under ~user it will recieve mail for user-user-name-name@domain. Jörgen
Re: aliases with vpopmail
jcarreiro wrote: Hi all ! actually i use aliases with fastforward and /etc/aliases i'm migrating to vpopmail and i'm wondering if there's a better aliases management with vpopmail ... thx in advance. The current stable version of vpopmail puts the alias files in each virtual domain directory. One directory per domain. The new development version supports this, and also for mysql and oracle allows for putting the aliases in the database. A new command line program, valias, and a new set of api's provide for maintaining virtual domain aliases, be they in a database or in the .qmail files. Ken Jones
Re: Aliases
Please don't post a new question by replying to a previous message -- it really messes up the threading in our MUAs and in the mailing list archives. Post a new message instead. Michael Cartmel [EMAIL PROTECTED] wrote: I'm using qmail aliases to create simple mailing lists. Does anyone know how to stop qmail from sending you a copy of your own message when you post to an alias that has your address included in the alias? qmail doesn't do this; it's a broken sendmail-ism. If you don't want to see messages in your inbox that come from you, you can filter them out with a simple shellscript in your .qmail file. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: aliases
-BEGIN PGP SIGNED MESSAGE- like the following richard: [EMAIL PROTECTED] then run /usr/bin/newaliases audit On Wed, 9 May 2001, richard morris wrote: Hi all, how does one add multiple recipients to a user in /etc/aliases for forwarding? (format)? richard: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]?? Many thanks, Richard. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: noconv Comment: http://www.radiusnet.net iQCVAwUBOviUiKyzESGmHGLJAQELnAP/REwupNFHwOjQNV9cH7rAjfd6r/cPablC Q9sgJSHSDmIUihygQ5wabSahLcoAmuEITWnANJk2JOPLHokEmre4Bojcx1PPio2Y oZpwXUZLPsgAv4rv/q1s2mg8RFrkXptwQtHjmOn3S0AbYKXJQAkKzS66BiB2k/vA HU/ERhu4tQ4= =ZU66 -END PGP SIGNATURE-
Re: aliases
On Wed, May 09, 2001 at 02:30:09AM +0200, richard morris wrote: how does one add multiple recipients to a user in /etc/aliases for forwarding? (format)? richard: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]?? richard: [EMAIL PROTECTED], [EMAIL PROTECTED] Chris PGP signature
RE: Aliases
-BEGIN PGP SIGNED MESSAGE- Richard, I'm sorry, that ment to say the following, Richard: [EMAIL PROTECTED],[EMAIL PROTECTED] and so on for as many as you need. audit -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: noconv Comment: http://www.radiusnet.net iQCVAwUBOviYo6yzESGmHGLJAQHKqQP/coG/KdXJbSTP/EE5xE2UDElNvtl12YFd ezxFwurkjtUzISFsfCpFbemkygdbqPR6rUzmwqGC7Gej04SUVNUtKtq4KM6wjCWU ciu+VYa7fUkID3ltdZdS9iWvMZ2mcsVOJvC+V8AxYTJ9L12uZUifMSxgtsjiIJ7q t9ZSyc8R6zo= =F2KL -END PGP SIGNATURE-
Re: aliases issue !!!
David Young wrote: Could he do something like use a .qmail file to pipe the message into a script that would examine headers and then only deliver if the message was from the local domain? I guess that the headers could be forged easily enough to get around this, but at least if could be a plausible attempt. Sure, it might reduce the number of unwanted messages, but there is no guarantee it will stop everything. It's not much more difficult to set up ezmlm and do it the right way. Aliases are low tech and should not be used for more than 2-3 recipients, imho. ;-) Mike
Re: aliases issue !!!
[EMAIL PROTECTED] wrote: Hello all , I still didn't get an answer for my question about aliases defined in /etc/aliases regarding their vulnrabilty to outside world . I am not intersted in letting people use certain aliases in /etc/aliases from the outside and maby even restrict the access to these aliases to certain users only . How can I do cause now everyone can use these aliases like [EMAIL PROTECTED] which is a spam hole . Thanks , Nissim . You can't restrict who can use aliases. Anyone who can send mail to your system can send mail to all aliases that exist on the system. If you convert the aliases to Ezmlm lists, you can restrict posting to subscribers and even moderate lists. Mike
Re: aliases issue !!!
Could he do something like use a .qmail file to pipe the message into a script that would examine headers and then only deliver if the message was from the local domain? I guess that the headers could be forged easily enough to get around this, but at least if could be a plausible attempt. From: Mike Jackson [EMAIL PROTECTED] Date: Sat, 21 Apr 2001 22:01:10 +0300 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: aliases issue !!! You can't restrict who can use aliases. Anyone who can send mail to your system can send mail to all aliases that exist on the system. If you convert the aliases to Ezmlm lists, you can restrict posting to subscribers and even moderate lists. Mike
Re: Aliases chdir problems
Alex Le Fevre [EMAIL PROTECTED] wrote: Since OBSD doesn't seem to want to let me have user names over 8 characters, I'd like to set up an alias to a user account to solve the problem. My impression was that I could just do the following: 1) create /home/alias/.qmail-thealiasname, containing /home/username/Maildir Not quite; that will try to deliver to an mbox file named "Maildir" in username's homedir, but as user alias. Chances are that you want that .qmail file to contain "username" instead, which will forward the mail from the long name to the short username. Then, that user's .qmail file (or the system default delivery specification) will control the final delivery. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Aliases chdir problems
* Alex Le Fevre [EMAIL PROTECTED] [010402 17:24]: Since OBSD doesn't seem to want to let me have user names over 8 characters, I'd like to set up an alias to a user account to solve the problem. My impression was that I could just do the following: 1) create /home/alias/.qmail-thealiasname, containing /home/username/Maildir 2) chown that file to alias:qmail 3) create the user's Maildir, making sure it's owned by the user 4) Go! I don't have the domain in virtualdomains, as it's in locals (in fact, it's the primary domain for the machine). I didn't figure this to be a problem, as .qmail-postmaster, .qmail-root, etc., work with that domain just fine. What happens, though, is that qmail tries to make the delivery, and gives me that nasty "unable to chdir to Maildir (4.2.1)" error. I assume it's trying to access the user Maildir as the user specified by .qmail-thealiasname, which obviously isn't right. How can I tell it to go in as the user? Alternately, is there another way to implement this? All I really care about is getting a 9+ character e-mail address set up, I'm not finnicky on how I do it. As the file ~alias/.qmail-theuser is owned by alias (and should be) it should contain usr@me ie the "short" username and one of the local domains so that qmail forwards and doesn't attempt to deliver as the alias user. -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: Aliases chdir problems
Not quite; that will try to deliver to an mbox file named "Maildir" in username's homedir, but as user alias. Chances are that you want that .qmail file to contain "username" instead, which will forward the mail from the long name to the short username. Then, that user's .qmail file (or the system default delivery specification) will control the final delivery. That works nicely. I just have one question: is there any good way to control the user's reply-to and from addresses via Qmail? It's showing up as [EMAIL PROTECTED] instead of [EMAIL PROTECTED] That's just minor cosmetics, though. Alex
Re: Aliases chdir problems
Alex Le Fevre [EMAIL PROTECTED] wrote: I just have one question: is there any good way to control the user's reply-to and from addresses via Qmail? It's showing up as [EMAIL PROTECTED] instead of [EMAIL PROTECTED] That's just minor cosmetics, though. There are various half-baked solutions, but the ideal way is to set it at the user's end -- either by specifically setting their MUA to create the right From: header and envelope sender address in the first place, or by setting the QMAILUSER/QMAILHOST (or MAILUSER/MAILHOST) environment variables before they run anything leading to qmail-inject. Ideally, just set them in their shell profile/login and be done with it. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Aliases
Alex Le Fevre [EMAIL PROTECTED] wrote: In installing qmail, I'm told to set up ~alias/.postmaster, etc., etc. Only problem is, I don't quite understand the alias concept as it relates to mail. I understand the idea of an alias for a directory name...but mail? Is there some standard directory I'm pointing to with this alias, or some other standard concept behind it? Simplified: In qmail, alias is a system user account. qmail, when delivering mail to a local user, will first check ~username for validity, .qmail file(s), etc. If that fails, it will then check ~alias/.qmail-username(-default, etc). Therefore ~alias/.qmail-root is a .qmail file (`man dot-qmail`) which controls delivery of mail to "root@localdomain". A dot mail file (read the man page referenced above) consists of comments, blank lines, and delivery instructions. A delivery instruction can be one of several things: -instruction to deliver to a Maildir. Starts with . or / and ends with /. ./path/to/Maildir/ -instruction to deliver to an mbox file. Starts with . or / and does not end with /. ./path/to/mbox -instruction to deliver to a program. Starts with |; `man qmail-command` for details. |/path/to/my/script -forwarding instructions. Either starts with , or doesn't fit one of the above. [EMAIL PROTECTED] Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Aliases
On Tue, 19 Dec 2000, Alex Le Fevre wrote: Please pardon what is likely a really dumb question...I'm a true newbie. In installing qmail, I'm told to set up ~alias/.postmaster, etc., etc. Only problem is, I don't quite understand the alias concept as it relates to mail. I understand the idea of an alias for a directory name...but mail? Is there some standard directory I'm pointing to with this alias, or some other standard concept behind it? I just answered this one (in a slightly different context). See message 59749. Also see the qmail pictures in /var/qmail/doc. -- Regards Peter -- Peter Samuel[EMAIL PROTECTED] http://www.e-smith.org (development)http://www.e-smith.com (corporate) Phone: +1 613 368 4398 Fax: +1 613 564 7739 e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada "If you kill all your unhappy customers, you'll only have happy ones left"
Re: Aliases
On Wed, Dec 06, 2000 at 04:01:31PM +0200, Peter Gordon wrote: Let's assume that incoming mail is addressed to [EMAIL PROTECTED] and [EMAIL PROTECTED] I want to be able to choose that email to [EMAIL PROTECTED] continues to vsun14.valor.com, but that mail to [EMAIL PROTECTED] goes to ftp2.valor.com. I understand that I have to add aliases to ~alias. No, you don't need aliases. I also have to add a control/virtualdomains file which I don't have at the moment. I am working on a live system and don't want to disrupt the email by making mistakes. Nothing happens unless youkill -HUP qmail-send ;-) First it's important to know that smtproutes applies only to qmail-remote. This is after the delivery descision (local/remote) has been made. What I'd do: a) Keep the smtproutes file like you have it. b) Create a directory /var/qmail/moved mode 755 create in this directory a file .qmail-user1 mode 644 and put inside this file # [EMAIL PROTECTED] # You have to choose a user und whos permissions this kind of email will be handled. I usually use (on my system) the user pop:68:68 This will also be used laster in the users/assign file. Do achown 68:68 /var/qmail/moved /var/qmail/moved/.qmail-user1 Nothing happens to the running system yet. c) create the control/virtualdomains file and add the line # [EMAIL PROTECTED]:moved # This "moved" at the right side of the colon is an identificator (or an user) that will control delivery of messages to [EMAIL PROTECTED] This user should NOT exist on your system. If you have a user with such a name, choose another identificator. The email will now get delivered to [EMAIL PROTECTED] Nothing happens to the running system yet. d) Now we're going to create the pseudo user "moved". edit /var/qmail/users/assign and put the following two lines in there (the second one is a single dot alone on a line and must be there). # +moved-:pop:68:68:/var/qmail/moved:-:: . # This is a "wildcard match" and matches every user that starts with moved- The controlling directory will be /var/qmail/moved (i.e. where the .qmail files live). The "moved-" part will be removed when matching .qmail files. This means [EMAIL PROTECTED] - [EMAIL PROTECTED] - /var/qmail/moved/.qmail-user2 - [EMAIL PROTECTED] Nothing happens to the running system yet. e) Now activate the new setup: 1) Run /var/qmail/bin/qmail-newu this compiles users/assign to users/cdb 2) kill -HUP pid_of_qmail-send to make qmail-send notice the new/changes to control/virtualdomains. 3) Test the new delivery. I want to be able to move users incrementally from mail server vsun14 to ftp2. f) To move user3, user4, ... You only have to create /var/qmail/moved/.qmail-user3 containing [EMAIL PROTECTED] /var/qmail/moved/.qmail-user4 containing [EMAIL PROTECTED] ... and add entries [EMAIL PROTECTED]:moved [EMAIL PROTECTED]:moved to control/virtualdomains and the send a kill -HUP to qmail-send. Just watch out for ownership and modes of the .qmail files. g) Once you have completed the move for all users change smtproutes for valor.com to point to ftp2.valor.com. After that you can remove virtualdomains and users/assign and users/cdb and again kill -HUP qmail-send Hope that helps! \Maex -- SpaceNet AG | http://www.Space.Net/ | Stress is when you wake Research Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: aliases and ...
At 12:19 PM 11/17/2000, Neil Grant wrote: I have started seting up qmail and have everything working apart from the aliases for root, postmaster, etc and smtp (which i havent started on yet) everything is installed in its default place ie /var/qmail/ in /var/qmail/alias I have done 'touch .qmail-root' and then 'chmod 644 .qmail-root' as root but all mail to these aliases ends up in /var/qmail/Mailbox what have I done wrong? also I have found that I regularly (but not everytime) I recieve the dont 'delete this message' message when I collect my pop3 mail - how can I get rid of it? Neil Delete it. Seriously... the don't delete this message email is some legacy stuff from older implementations of pop3 mailboxes. When I worked at an ISP, we upgraded the mail server and our entire client base got those emails. Just ignore them, delete them and move along Jerry Lynde
Re: Aliases
Pierre-Yves Deslandes [EMAIL PROTECTED] wrote: I'd like to have an alias which is ,in fact, all my others aliases. Is it possible ??? Yes. ~joe/.qmail-default will control all extension address for "joe" which are not handled more specifically. You can do the same for the alias user. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: aliases
"Cliff" == Cliff Cole [EMAIL PROTECTED] writes: Cliff I can't recieve the mail for the account because it ends up in Cliff /var/spool/mail/bob. Anyone have any suggestions? Have you got adomainname.com in /var/qmail/control/virtualdomains? man qmail-send -- "Meddle not in the affairs of cats, for they are subtle and will piss on your computer."
Re: Aliases
[EMAIL PROTECTED] writes: I have a system with qmail and ezmlm. I've created a user to manage all the mailing lists we host, and set up the proper aliases for -subscribe -unsubscribe and -help. However, I don't know how to set up the -get.xxx aliases. While I don't doubt that people on this list (not me) know how to do this, this question should really be asked on the ezmlm mailing list ([EMAIL PROTECTED]). -- === |User: |Href: |Status:| --- |Brett Randall |http://xbox.ipsware.com/|Hibernating| === Generated by Microsoft Ass-Watcher s/(c)/(!c)/g 2003
Re: aliases...
no, touch a file called .qmail-paul_vera in /var/qmail/alias. edit it to contain pvera on one line and that's it. reload qmail and you are all set. -Jennifer On Tue, 02 May 2000 Marcelo J. Iturbe wrote: Hi... I am having trouble understanding how the aliases work. If I have a user named pvera and he would like to receive email being sent to paul_vera all I have to do is touch .qmail-paul_vera in /home/pvera??? This does not sound right. In the FAQ I saw: How do I create aliases with dots? I tried setting up ~alias/.qmail-P.D.Q.Bach, but it doesn't do anything. Answer: Use .qmail-p:d:q:bach. Dots are converted to colons, and uppercase is converted to lowercase. but that just confused me even more... thanks, Marcelo *** ICQ 22921676 MSM Interactive. El Bosque Norte 0134, Las Condes, Chile. Phone: (56-2) 234-9852 Fax: (56-2) 233-8912 Email: [EMAIL PROTECTED]http://www.msm.cl ***
Re: aliases...
On Tue, May 02, 2000 at 09:48:31PM +, Jennifer Tippens wrote: no, touch a file called .qmail-paul_vera in /var/qmail/alias. edit it to contain pvera on one line and that's it. reload qmail and you are all set. Excepting that there is no need to "reload" qmail - whatever that means. Aliases are evaluated as part of local delivery and as such are totally re-evaluated each time. It's not knowledge that qmail retains in anyway. Regards. -Jennifer On Tue, 02 May 2000 Marcelo J. Iturbe wrote: Hi... I am having trouble understanding how the aliases work. If I have a user named pvera and he would like to receive email being sent to paul_vera all I have to do is touch .qmail-paul_vera in /home/pvera??? This does not sound right. In the FAQ I saw: How do I create aliases with dots? I tried setting up ~alias/.qmail-P.D.Q.Bach, but it doesn't do anything. Answer: Use .qmail-p:d:q:bach. Dots are converted to colons, and uppercase is converted to lowercase. but that just confused me even more... thanks, Marcelo *** ICQ 22921676 MSM Interactive. El Bosque Norte 0134, Las Condes, Chile. Phone: (56-2) 234-9852 Fax: (56-2) 233-8912 Email: [EMAIL PROTECTED]http://www.msm.cl ***
Re: aliases
On Tue, 21 Mar 2000, Spades wrote: How do i get pine to work with qmail. I did as FAQ says to put: sendmail-path=/usr/sbin/sendmail -oem -oi -t (into pine.conf) Doesnt work still pine error: Can't open Mailbox Any idea? Add: inbox-path=~/Mailbox to your pine config. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4 Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
Re: aliases
On Tue, Mar 21, 2000 at 02:03:25PM +0800, Spades wrote: I like to work /etc/aliases with qmail, so i added into ~alias/.qmail-default: | /usr/ports/distfiles/fastforward-0.51/fastforward -d /etc/aliases.db Does it work with .db or only .cdb, thats what i get what i get when newaliases It works only with .cdb files. You need to build /etc/aliases.cdb with the newaliases program that comes with the fastforward package. Chris
Re: aliases
Hi, I like to work /etc/aliases with qmail, so i added into ~alias/.qmail-default: | /usr/ports/distfiles/fastforward-0.51/fastforward -d /etc/aliases.db Does it work with .db or only .cdb, thats what i get what i get when newaliases # ls /etc/alias* /etc/aliases/etc/aliases.db Doesnt seem to work.. Anyone? Spades (CService5) CService Nick Password http://cservice.galaxynet.org ` _ , ' - (o)o) - -*-*-*-*-*-*-*-ooO'(_)--Ooo-*-*-* Bryan, Lee Chenghui | ICQ UIN: 1558635| [EMAIL PROTECTED]| Global - irc.provalue.net | = "A man of words and not of deeds is like a garden full of weeds..."
Re: aliases
How do i get pine to work with qmail. I did as FAQ says to put: sendmail-path=/usr/sbin/sendmail -oem -oi -t (into pine.conf) Doesnt work still pine error: Can't open Mailbox Any idea? Spades (CService5) CService Nick Password http://cservice.galaxynet.org ` _ , ' - (o)o) - -*-*-*-*-*-*-*-ooO'(_)--Ooo-*-*-* Bryan, Lee Chenghui | ICQ UIN: 1558635| [EMAIL PROTECTED]| Global - irc.provalue.net | = "A man of words and not of deeds is like a garden full of weeds..."
Re: Aliases
At 05:40 29/01/00 , you wrote: I've just set up qmail and it's working pretty well. In fact, too well. It is automatically aliasing mail for an old address to the proper user, but I never setup an alias to do so. I was hoping someone could tell me how qmail is working this particular bit of magic. I want to receive mail for [EMAIL PROTECTED] and have it delivered to dee on the local system. The pertinent log and the successful header are included below. It shows that fixup and fixme got involved somehow, but I sure don't know how I did it. ehm, do you have a /var/qmail/alias/.qmail-deemac file? if not, create it and type [EMAIL PROTECTED] in it and it should do the trick for you. Any help will be greatly appreciated. Thanks. Tom [root]$ cat /home/dee/Maildir/new/949117633.15640.olympus.s4rec.com Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 15637 invoked by alias); 29 Jan 2000 03:47:13 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 15633 invoked from network); 29 Jan 2000 03:47:12 - Received: from slkcpop3.slkc.uswest.net (206.81.128.3) by 166.70.155.14 with SMTP; 29 Jan 2000 03:47:12 - Received: (qmail 4566 invoked by alias); 29 Jan 2000 03:46:47 - Delivered-To: [EMAIL PROTECTED]@fixme Received: (qmail 4549 invoked by uid 0); 29 Jan 2000 03:46:46 - Received: from unknown (HELO uswest.net) (166.70.155.10) by pop.slkc.uswest.net with SMTP; 29 Jan 2000 03:46:46 - Sender: tom Message-ID: [EMAIL PROTECTED] Date: Fri, 28 Jan 2000 20:46:44 -0700 From: Tom Reinertson [EMAIL PROTECTED] X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: test --ignore Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit [root]$ cat /var/log/mail Jan 28 20:47:12 olympus qmail: 949117632.752882 new msg 600141 Jan 28 20:47:12 olympus qmail: 949117632.753076 info msg 600141: bytes 879 from [EMAIL PROTECTED] qp 15633 uid 7791 Jan 28 20:47:12 olympus qmail: 949117632.773456 starting delivery 95: msg 600141 to local [EMAIL PROTECTED] Jan 28 20:47:12 olympus qmail: 949117632.773603 status: local 1/10 remote 0/20 Jan 28 20:47:13 olympus qmail: 949117633.188918 new msg 600139 Jan 28 20:47:13 olympus qmail: 949117633.189213 info msg 600139: bytes 986 from [EMAIL PROTECTED] qp 15637 uid 7790 Jan 28 20:47:13 olympus qmail: 949117633.206512 starting delivery 96: msg 600139 to local [EMAIL PROTECTED] Jan 28 20:47:13 olympus qmail: 949117633.206659 status: local 2/10 remote 0/20 Jan 28 20:47:13 olympus qmail: 949117633.206761 delivery 95: success: did_0+1+0/qp_15637/ Jan 28 20:47:13 olympus qmail: 949117633.206858 status: local 1/10 remote 0/20 Jan 28 20:47:13 olympus qmail: 949117633.206948 end msg 600141 Jan 28 20:47:13 olympus qmail: 949117633.420290 delivery 96: success: did_1+0+0/ Jan 28 20:47:13 olympus qmail: 949117633.420594 status: local 0/10 remote 0/20 Jan 28 20:47:13 olympus qmail: 949117633.420694 end msg 600139 -- "One, they speak English. Two, when they host a world championship, they invite other countries. Three, visitors to the office of the head of state are only expected to go down on one knee." -- John Cleese on why the British are superior to Americans Mikael Schmidt [EMAIL PROTECTED] http://teddybear.cx/ http://www.itsec.nu/ "When you dream, there are no rules Certified Linux Administrator People can fly, anything can happen..." watata tuoijombade dikombe - Astral Projection
Re: Aliases
Mikael Schmidt [EMAIL PROTECTED] wrote on Sat, 29 Jan 2000: I want to receive mail for [EMAIL PROTECTED] and have it delivered to dee on the local system. ehm, do you have a /var/qmail/alias/.qmail-deemac file? if not, create it and type [EMAIL PROTECTED] in it and it should do the trick for you. Shouldn't the contents be "dee@localhost" or maybe just "dee"? (The is optional.) [EMAIL PROTECTED] is where it's going, but he wanted it to go to the user "dee" on the local system. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Note: Signature quote supply exhausted, please refill.
Re: Aliases
At 11:01 29/01/00 , you wrote: Mikael Schmidt [EMAIL PROTECTED] wrote on Sat, 29 Jan 2000: I want to receive mail for [EMAIL PROTECTED] and have it delivered to dee on the local system. ehm, do you have a /var/qmail/alias/.qmail-deemac file? if not, create it and type [EMAIL PROTECTED] in it and it should do the trick for you. Shouldn't the contents be "dee@localhost" or maybe just "dee"? (The is optional.) [EMAIL PROTECTED] is where it's going, but he wanted it to go to the user "dee" on the local system. Not really, only needed when having a '|' in the beginning if I remember correctly what has been stated in some discussion here before. Anyway, I don't use the ampersand and it works as it should. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Note: Signature quote supply exhausted, please refill. Mikael Schmidt [EMAIL PROTECTED] http://teddybear.cx/ http://www.itsec.nu/ "When you dream, there are no rules Certified Linux Administrator People can fly, anything can happen..." watata tuoijombade dikombe - Astral Projection
Re: Aliases
On Mon, Aug 09, 1999 at 11:04:40AM +1000, Waterfront Internet Service wrote: Hi, I am having trouble using /etc/aliases. I have installed fastforward and followed the instructions on setting it up. When I send mail to an aliased name and check the log i get the following; Unable_to_open_/var/qmail/bin/fastforward_-d_/etc/aliases.c db:_file_does_not_exist (#4.2.1) Regards, Steve You appear to have missed one step. You must run /var/qmail/bin/newaliases to create /etc/aliases.cdb. -- See complete headers for more info
Re: Re: Aliases / Locals
Magnus Bodin wrote: On Tue, 27 Jul 1999, David ROBERT wrote: I want all the mail sent to example.com to be delivered via smtp : smtproutes --- example.com:mail.example.com But I want qmail to look for alias .qmail-example-david to post it localy. If it exist. In ~someuser/.qmail-example-default: | forward ${DEFAULT}@mail.example.com That's assuming that mail.example.com treats mail.example.com mail exactly the same as example.com. In the (unlikely) event that it doesn't, you could dump the mail in a maildir and use serialmail to send it on. Regards, --Steve
Re: Re: Aliases / Locals
The problem is that I cannot get both things working together. Either I set up a domain as "local" or as "virtualhost". My first aproach to solve this is to configure all my domains as "virtualhost" and set up a alias .qmail-host-user for every user in my system, but I think there's a easier way to do this. Set the domain up as a virtual domain. In control/virtualdomains: example.com:someuser-example In ~someuser/.qmail-example-default: | forward ${DEFAULT} I need the same thing but inversed : I want all the mail sent to example.com to be delivered via smtp : smtproutes --- example.com:mail.example.com But I want qmail to look for alias .qmail-example-david to post it localy. If it exist. Do you have an idea ? David ROBERT.
Re: Re: Aliases / Locals
On Tue, 27 Jul 1999, David ROBERT wrote: The problem is that I cannot get both things working together. Either I set up a domain as "local" or as "virtualhost". My first aproach to solve this is to configure all my domains as "virtualhost" and set up a alias .qmail-host-user for every user in my system, but I think there's a easier way to do this. Set the domain up as a virtual domain. In control/virtualdomains: example.com:someuser-example In ~someuser/.qmail-example-default: | forward ${DEFAULT} I need the same thing but inversed : I want all the mail sent to example.com to be delivered via smtp : smtproutes --- example.com:mail.example.com But I want qmail to look for alias .qmail-example-david to post it localy. If it exist. Setup everything as above. In ~someuser/.qmail-example-default: | forward ${DEFAULT}@mail.example.com No need for entry in smtproutes. If it is in your dns. /magnus -- "MOST USELESS site of the year 1998" -- http://x42.com/urlcalc/
Re: Aliases / Locals
On Mon, Jul 26, 1999 at 04:54:59PM -0300, Nelson Ferreira Jr. (listas) wrote: (sorry about sending the message twice) I want qmail working with several domains, in the following way: If there's a incoming message to [EMAIL PROTECTED] it will be delivered to user, whatever the host could be. (assuming there is an account user in my system) But I also want to set up aliases for those hosts. In other words, I want qmail looking for an alias (.qmail-host-user) first, and if it can't find one, try to deliver the message as local. The problem is that I cannot get both things working together. Either I set up a domain as "local" or as "virtualhost". My first aproach to solve this is to configure all my domains as "virtualhost" and set up a alias .qmail-host-user for every user in my system, but I think there's a easier way to do this. Set the domain up as a virtual domain. In control/virtualdomains: example.com:someuser-example In ~someuser/.qmail-example-default: | forward ${DEFAULT} Chris
Re: aliases for foo.bar
I'm new to qmail, but I haven't found any documentation as to why, when setting up aliases, .qmail-foo works but .qmail-foo.bar (with a ".") gives me a user-unknown error. From the FAQ: 4.6. How do I create aliases with dots? I tried setting up ~alias/.qmail-P.D.Q.Bach, but it doesn't do anything. Answer: Use .qmail-p:d:q:bach. Dots are converted to colons, and uppercase is converted to lowercase. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
Re: aliases for foo.bar
From "man dot-qmail": WARNING: For security, qmail-local replaces any dots in ext with colons before checking .qmail-ext. For convenience, qmail-local converts any uppercase letters in ext to lowercase. So: .qmail-foo:bar will work as you intend. On Fri, 11 Jun 1999, Albert Hopkins wrote: I'm new to qmail, but I haven't found any documentation as to why, when setting up aliases, .qmail-foo works but .qmail-foo.bar (with a ".") gives me a user-unknown error. -- Albert Hopkins Sr. Systems Specialist Dynacare, Inc [EMAIL PROTECTED] - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: Aliases vs. local users
On Thursday, May 06, 1999 at 08:58:33 PM, Andy Walden wrote: Change your call to fastforward as follows: | /bin/fastforward -p -d /etc/aliases.cdb; The -p will force it to exit with code 99 and prevent the rest of your .qmail-default from completing. Check the man page, more info is included. Steve I'm using fast-forward and an assing db. It appears that the local user pulls rank over the alias. I figured having: | /bin/fastforward -d /etc/aliases.cdb in ~alias/.qmail-default would stop that, but apparently I'm wrong. What do I need to do to shift priorities? Thanks. andy -- --- Andy WaldenWork Email: [EMAIL PROTECTED] Network Administrator, Pers Email: [EMAIL PROTECTED] MTCO Communications Phone: (800) 859-6826 " Reality is just Chaos with better lighting. "
Re: Aliases..
Andy Walden [EMAIL PROTECTED] wrote: I'm trying to do [EMAIL PROTECTED] user. This was pretty painless in sendmail. Couldn't be much easier in qmail: echo vhost.com:user /var/qmail/control/virtualdomains echo vhost.com /var/qmail/control/rcpthosts I also tried the virtualhosts file, but didn't get positive results there. thoughts..ideas? thanks. How exactly did you set it up, and how did it fail? -Dave
Re: Aliases - silly newbie question but I can't figure it out
On Thu, Mar 25, 1999 at 10:27:58PM -, D. J. Bernstein wrote: What I would really like to do is arrange that all mail for (regex) '.*maxine.*@isbd.demon.co.uk' would go to maxine, is there a simple way to do this? You could insert something like |case "_$LOCAL_" in _*maxine*_) forward maxine; esac at the top of your existing ~alias/.qmail-default. Ah, that sounds ideal, thanks Dan. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Re: Aliases - silly newbie question but I can't figure it out
Is there a web page or doc that has some more dot-qmail file examples? Paul D. Farber II Farber Technology Ph. 570-628-5303 Fax 570-628-5545 [EMAIL PROTECTED] On Sat, 27 Mar 1999, Chris Green wrote: On Thu, Mar 25, 1999 at 10:27:58PM -, D. J. Bernstein wrote: What I would really like to do is arrange that all mail for (regex) '.*maxine.*@isbd.demon.co.uk' would go to maxine, is there a simple way to do this? You could insert something like |case "_$LOCAL_" in _*maxine*_) forward maxine; esac at the top of your existing ~alias/.qmail-default. Ah, that sounds ideal, thanks Dan. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Re: Aliases - silly newbie question but I can't figure it out
On Wed, Mar 24, 1999 at 11:55:07PM +, Robin Bowes wrote: Chris Green wrote: man qmail-users: The file /var/qmail/users/assign assigns addresses to users. For example, =joe.shmoe:joe:503:78:/home/joe::: says that mail for joe.shmoe should be delivered to user joe, with uid 503 and gid 78, as specified by /home/joe/.qmail. So, in your example, you would use: =maxine.green:maxine:xxx:yyy:/home/maxine::: . Where xxx is Maxine's user ID and yyy is her group ID. Don't forget the "." on the last line. Also, don't forget to re-build the cdb with qmail-newu. I have created a file .qmail-maxine.green in /var/qmail/alias with just 'maxine' in it but that doesn't seem to work. It also seems a rather clumsy mechanism if I wanted to create a lot of aliases. man dot-qmail: WARNING: For security, qmail-local replaces any dots in ext with colons before checking .qmail-ext. For convenience, qmail-local converts any uppercase letters in ext to lowercase. Try using .qmail-maxine:green instead. So that's qmail-users, qmail-newu and dot-qmail manual pages I have to look at just to add a simple alias. Also there's still no guidance as to *which* mechanism would be the normal way to do it. Also, the qmail-users approach apparently doesn't replace the . with a : whereas the other approach *does* replace the . with a :. I realise this is all probably to do with the order in which the various processes in qmail handle mail but it's not conducive to helping a newcomer set things up. While I am not a Unix newcomer (I have programmed on Unix systems since the early 80s) I *am* a newcomer to managing a Unix mail system. As I have said before there are now far more people likely to be doing this sort of thing with the coming of small home networks running Linux. A tutorial or some sort of introductory text for this sort of user would be extremely useful. -- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/
Re: Aliases..
On Mon, 22 Mar 1999, Daniel wrote: Hi - i'm having problems with a virtual domain and aliases.. ive setup the virtualdomains file like this: asbaek.dk:asbaekdk-0 and in asbaekdk-0's homeidr ive made a file called .qmail-galleri with points to asbaekdk-01's homedir but the mail bounce's, i have hup'ed the inetd .. any guesses? #daniel. You did not HUP qmail-send after changing virtualdomains. - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: Aliases..
tried that - it didn't work .. -Original Message- From: Timothy L. Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, March 22, 1999 2:57 PM Subject: Re: Aliases.. On Mon, 22 Mar 1999, Daniel wrote: Hi - i'm having problems with a virtual domain and aliases.. ive setup the virtualdomains file like this: asbaek.dk:asbaekdk-0 and in asbaekdk-0's homeidr ive made a file called .qmail-galleri with points to asbaekdk-01's homedir but the mail bounce's, i have hup'ed the inetd .. any guesses? #daniel. You did not HUP qmail-send after changing virtualdomains. - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: Aliases..
Then what is being reported in your logs? How is your DNS set up for the virtual domain? What is in rcpthosts? On Mon, 22 Mar 1999, Daniel wrote: tried that - it didn't work .. -Original Message- From: Timothy L. Mayo [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, March 22, 1999 2:57 PM Subject: Re: Aliases.. On Mon, 22 Mar 1999, Daniel wrote: Hi - i'm having problems with a virtual domain and aliases.. ive setup the virtualdomains file like this: asbaek.dk:asbaekdk-0 and in asbaekdk-0's homeidr ive made a file called .qmail-galleri with points to asbaekdk-01's homedir but the mail bounce's, i have hup'ed the inetd .. any guesses? #daniel. You did not HUP qmail-send after changing virtualdomains. - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: Aliases..
- "Timothy L. Mayo" [EMAIL PROTECTED]: | You did not HUP qmail-send after changing virtualdomains. - "Daniel" [EMAIL PROTECTED]: | tried that - it didn't work .. Maybe you have the virtual domain in control/locals. If so, remove it, then HUP qmail-send once more. - Harald
Re: Aliases
On Tue, Feb 23, 1999 at 07:33:07PM -0500, MountaiNet Tech Support wrote: I have a few users who I was using /etc/aliases for under sendmail and need to know how to do those on my qmail system. I seen that I could use my existing /etc/aliases, but I really didnt wanna do that, wanted to know how qmail did this by default.thanks again! Need to read the docs; man dot-qmail, in particular. -- --- Mate Wierdl | Dept. of Math. Sciences | University of Memphis