Re: VirtualUser/Aliases Help..

2001-07-30 Thread [EMAIL PROTECTED]

Hi Craig, 

Did you try using rcpthosts instead of locals?

regards
re2


This is a multi-part message in MIME format.


--=_NextPart_000_00FE_01C11864.3DF64330
Content-Type: text/plain;
   charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Everyone..

Sorry if this has been covered anywhere else.. but i havent been able to =

find it.. if it has been covered could someone please point me in the =
right direction..=20

My situation..=20

Ive got an address [EMAIL PROTECTED] being forwarded to =
[EMAIL PROTECTED] (this is done from /etc/aliases and works fine)
but.. if there is a shell user locally called craig email is delivered =

there rather than being forwarded to the remote mailserver.. which =
means.. /etc/aliases isnt being looked at if the domain is listed as =
local..

The domain must be listed as local, otherwise i get this reply..

Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. =
(#5.4.6)


Any ideas?



--=_NextPart_000_00FE_01C11864.3DF64330



VirtualUser/Aliases Help..

2001-07-29 Thread Craig Spiers



Hi Everyone..

Sorry if this has been covered anywhere else.. but 
i havent been able to find it.. if it has been covered could someone please 
point me in the right direction.. 

My situation.. 

Ive got an address [EMAIL PROTECTED] being forwarded to [EMAIL PROTECTED] (this is done from 
/etc/aliases and works fine)
but.. if there is a shell user locally called 
"craig" email is delivered there rather than being forwarded to the remote 
mailserver.. which means.. /etc/aliases isnt being looked at if the domain is 
listed as local..

The domain must be listed as local, otherwise i get 
this reply..

Sorry. Although I'm listed as a best-preference MX or A for that 
host,it isn't in my control/locals file, so I don't treat it as local. 
(#5.4.6)

Any ideas?



Re: VirtualUser/Aliases Help..

2001-07-29 Thread Adrian Ho

[Please wrap your lines.]

On Sun, Jul 29, 2001 at 07:25:35PM +1200, Craig Spiers wrote:
 Sorry if this has been covered anywhere else..

It's in the qmail docs.  8-)

 Ive got an address [EMAIL PROTECTED] being forwarded to
 [EMAIL PROTECTED] (this is done from /etc/aliases and works fine)

I assume you're using fastforward?

 but.. if there is a shell user locally called craig email is delivered
 there rather than being forwarded to the remote mailserver.. which
 means.. /etc/aliases isnt being looked at if the domain is listed
 as local..

Read /var/qmail/doc/PIC.rem2local to see why.  (In fact, read
/var/qmail/doc/PIC.* to see how qmail's mail-routing logic works.)

 Any ideas?

If you own the local user account craig, then just call fastforward in
~craig/.qmail-default.  Better yet, make it [EMAIL PROTECTED] and
save the overhead of a program delivery for each message.

If someone else owns it, one of you has to give up control of
[EMAIL PROTECTED]

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



virtual aliases

2001-07-16 Thread Maciej Bogucki

HI!
 Is it possibly to create virtual aliases (like in sendmail) ?
 In sendmail I have:
cut---
 [EMAIL PROTECTED] [EMAIL PROTECTED]
 [EMAIL PROTECTED]  [EMAIL PROTECTED]
cut---
Is it possible to do this in qmail ?

Regards 
Maciej Bogucki, Network Administrator

---
3dart.com / end-to-end solutions http://www.3dart.com
Spolka Internetowa   tel: (+48 22) 646 64 65
ul. Goszczynskiego 1002-616, Warszawa



HELP with Aliases and Forwarding

2001-07-05 Thread Sherry Work








We have just moved to a Windows2000 server, and I set up all of our
aliases and then when I set up the forwards for the aliases, the aliases names
moved out of the aliases page.



Our forwards are not working, and the only POP account is postmaster.



I do not have access to the administrative functions of qmail, other
than adding a Pop account, aliase forward and creating a mailing list.



The mailing list does not work either.



What can I ask our ISP to check? As I can not see the error logs.



Any help would be great, thanks










Re: HELP with Aliases and Forwarding

2001-07-05 Thread Chris Johnson

On Thu, Jul 05, 2001 at 07:41:05AM -0700, Sherry Work wrote:
 We have just moved to a Windows2000 server, and I set up all of our aliases
 and then when I set up the forwards for the aliases, the aliases names moved
 out of the aliases page.

Uhhh... say what?

You're going to need to come up with something a lot more coherent and
containing a lot more information if you want to get help.

Chris



Re: HELP with Aliases and Forwarding

2001-07-05 Thread Lars Hansson

On Thu, 5 Jul 2001 07:41:05 -0700 Sherry Work [EMAIL PROTECTED] wrote:

 We have just moved to a Windows2000 server, and I set up all of our aliases
 and then when I set up the forwards for the aliases, the aliases names moved
 out of the aliases page.
 

I honestly did not know qmail worked on Windows 2000? Or am I missing something?


 Our forwards are not working, and the only POP account is postmaster.
 
 I do not have access to the administrative functions of qmail, other than
 adding a Pop account, aliase forward and creating a mailing list.
 
 The mailing list does not work either.
 
 What can I ask our ISP to check? As I can not see the error logs.
 

Well, if it is indeed on Windows 2000 my guess is that you're using
Exchange (God forbid...) and then we can not help you. This list is for
Qmail, not Exchange. Try a mailing list or newgroup for Exchange.


 Any help would be great, thanks
 

And please, please, please do NOT send HTML mail. It's a godawful abomination.

Lars




Re: HELP with Aliases and Forwarding

2001-07-05 Thread Charles Cazabon

Lars Hansson [EMAIL PROTECTED] wrote:
 On Thu, 5 Jul 2001 07:41:05 -0700 Sherry Work [EMAIL PROTECTED] wrote:
 
  We have just moved to a Windows2000 server, and I set up all of our
  aliases and then when I set up the forwards for the aliases, the aliases
  names moved out of the aliases page.
  
 
 I honestly did not know qmail worked on Windows 2000? Or am I missing
 something?

I think the user has access to a web page for adminning his own virtualdomain,
hosted on his ISP's qmail box.  This might be a vmailmgr setup with
oMail-admin, or custom CGIs using vmailmgr's daemon, or the PHP interface,
etc.  Or it could be vpopmail.

In any case, this is something you have to ask your ISP, not us.  If the ISP
can't figure out their problems with qmail, they can post relevant details
here, or hire a qmail consultant.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Aliases with -

2001-07-03 Thread Peter Klingeberg

Hi !

Is there any special capital like : for dots
to use - in aliasnames ? (.qmail-user-name-name)

Thanks




Re: Aliases with -

2001-07-03 Thread Peter van Dijk

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 -

2001-07-03 Thread Jörgen Persson

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



aliases with vpopmail

2001-06-26 Thread jcarreiro



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.


Re: aliases with vpopmail

2001-06-26 Thread Ken Jones

 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



Aliases

2001-06-06 Thread Michael Cartmel



Hi,

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 whenyou post to an alias that has your addressincluded in 
the alias?

  
Cheers, -mic


Re: Aliases

2001-06-06 Thread Charles Cazabon

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.
---



virtual users? aliases? what do I need?

2001-06-01 Thread Nate Pinchot

I apologize if this question has already been answered on this mailing list,
but I definately did not see it in the faq.
I have this situation.
user1 has a system account.
when mail comes for [EMAIL PROTECTED] I would like it to be delivered locally as
it is now.
when mail comes for [EMAIL PROTECTED] I would like it to be forwarded to a user
who doesn't have an account on my system. [EMAIL PROTECTED]
Is this possible and if so how do I go about doing it? Thanks for any help
in advance.


-- Nate




Re: virtual users? aliases? what do I need?

2001-06-01 Thread tom


Hi,

youst place a .qmail-user1 file wherever your
.qmail files are placed in your system
The content may be user1 or /home/user1
For user2 do the same and insert as content
of the .qmail file 
[EMAIL PROTECTED]

This is in the man pages and in the faq and in thea
archive.

Tom

Nate Pinchot schrieb:
 
 I apologize if this question has already been answered on this mailing list,
 but I definately did not see it in the faq.
 I have this situation.
 user1 has a system account.
 when mail comes for [EMAIL PROTECTED] I would like it to be delivered locally as
 it is now.
 when mail comes for [EMAIL PROTECTED] I would like it to be forwarded to a user
 who doesn't have an account on my system. [EMAIL PROTECTED]
 Is this possible and if so how do I go about doing it? Thanks for any help
 in advance.
 
 
 -- Nate



Re: Domain aliases

2001-05-29 Thread Dave Sill

Ahmad Ridha [EMAIL PROTECTED] wrote:

Petter Sundl=F6f writes:

 So, mailing to [EMAIL PROTECTED] should be the same as
 [EMAIL PROTECTED] The same goes for petter.sundlof -- an alias on
 findus.dhs.org; [EMAIL PROTECTED] should be the same as=

 [EMAIL PROTECTED]
 I want it to be global, that it apply for all users.=20

Just put useless.dhs.org and findus.dhs.org in /var/qmail/control/loca=
ls.=20

And rcpthosts.

-Dave



Domain aliases

2001-05-26 Thread Petter Sundlöf

Hi.

I've tried looking through qmail's documentation, but as I am
self-declared idiot, I've made no sense out of it.

What I want to do is for useless.dhs.org to be the same as far as mail
goes as findus.dhs.org, the domain I regularly use. They both resolve to
the same IP, and they're both mine. The MX record for both are set to
the regular domain, findus.dhs.org -- is this what they should be set
to?

So, mailing to [EMAIL PROTECTED] should be the same as
[EMAIL PROTECTED] The same goes for petter.sundlof -- an alias on
findus.dhs.org; [EMAIL PROTECTED] should be the same as
[EMAIL PROTECTED]
I want it to be global, that it apply for all users.

I'd appreciate any help.

Best wishes,
Petter Sundlöf



Re: Domain aliases

2001-05-26 Thread Ahmad Ridha

Petter Sundlöf writes:

 What I want to do is for useless.dhs.org to be the same as far as mail
 goes as findus.dhs.org, the domain I regularly use. They both resolve to
 the same IP, and they're both mine. The MX record for both are set to
 the regular domain, findus.dhs.org -- is this what they should be set
 to? 
 
 So, mailing to [EMAIL PROTECTED] should be the same as
 [EMAIL PROTECTED] The same goes for petter.sundlof -- an alias on
 findus.dhs.org; [EMAIL PROTECTED] should be the same as
 [EMAIL PROTECTED]
 I want it to be global, that it apply for all users. 
 

Just put useless.dhs.org and findus.dhs.org in /var/qmail/control/locals. 

Regards, 

Ahmad Ridha 



Fastforward... recursive aliases and existing mailboxes.

2001-05-16 Thread Cthulhu


1) Can I do such a thing in fastforward:

cthulhu: cthulhu, a.dent

which mean: deliver all mail to cthulhu to cthulhu itself, its local
mailbox, and to a.dent?

2) If I have, in QMail+MySQL, a user called cthulhu, the simple
alias:

cthulhu: elsewhere

will never work, because QMail seek to ~/alias/.qmail-default only if
the user don't exist.
Is there an easy way to change this behavior?

Thanks!

aliasingly,
  Cthulhu

-- 
   Ph'nglui mglw'nafh Cthulhu http://www.rlyeh.it/ wgah'nagl fhtgan!
 [EMAIL PROTECTED]  




aliases

2001-05-08 Thread richard morris


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.






Re: aliases

2001-05-08 Thread audit

-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

2001-05-08 Thread Chris Johnson

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

2001-05-08 Thread audit

-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 !!!

2001-04-22 Thread Mike Jackson

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



aliases issue !!!

2001-04-21 Thread nissim_p



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 .


Re: aliases issue !!!

2001-04-21 Thread Mike Jackson

 [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 !!!

2001-04-21 Thread David Young

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




imapd and mbox and aliases rules !

2001-04-20 Thread nissim_p



Hello all ,

I am interested in knowing how can i 
configure imapd with qmail running the mbox ( /var/spool/mail mailbox ) 
.
I have checked the FAQ and there is no 
indication of how to use the imapd with the regular mailbox with tcpserver 
wrapping it like the 
way it is done with qmail-pop3d 
.

Another question I have is how do I 
implement rules about aliases defined in my system as .qmail-alias to 
restrictusing certain aliases to be used only internally and  

deny them to the outside world .and by 
this prevent me from being spamed with mailing list like '[EMAIL PROTECTED]' and still allow my internal 
users to to use the same alias from my 
internal network .

The configuration i am interested is 
:
allow all my internal users to sendmail 
to any ( i am doing this with my /etc/tcp.smtp.cdb tcprules ) 
.
restrict access to aliases like : all@ 
from the outside ( need to know how ) 
allow users to connect via imapd and 
qmail-pop3d using the regular method of mbox ( /var/spool/mail ) .

I am also using the a combination of the 
old fashion /etc/aliases like sendmail ( by configuring the .qmail-default ) 
with .qmail-aliases which i am interested 
in knowing of how to control access to 
certain aliases from the outside world to prevent spam .


Thanks .
Nissim .


Re: imapd and mbox and aliases rules !

2001-04-20 Thread lenneis


nissim p:

 Hello all ,

 I am interested in knowing how can i configure imapd with qmail running =
 the mbox ( /var/spool/mail  mailbox ) .
 I have checked the FAQ and there is no indication of how to use the =
 imapd with the regular mailbox with tcpserver wrapping it like the=20
 way it is done with qmail-pop3d .

[...]

Qmail can deliver mail in two formats, namely Mailbox and
Maildir. Mailbox is the traditional Unix approach with all mails for
one user concatenated in one (maybe large) file in somewhere like
/var/spool/man/USERNAME. Maildir is a completely different approach
that puts each delivered mail into a separate file in a directory
under (normally) a users homedirectory. qmail-pop3d is only suitable
for Maildir, not for Mailbox. For that you have to get another daemon
that can access Mailboxes, like Qualcom Qpopper for instance.

For imap access you can either use the University of Washington imap
server (Mailbox) or Courier Imapd (Maildir, can be found via
www.qmail.org).

Now, you might want to rethink wether you want use the Mailbox format
full stop, probably for pop3 access and most definitely for imap
access. The reason is that Mailbox files can i) become garbled easily
ii) scale terribly for a large amount of mails. In the imap scenario a
user would manipulate (view/delete/change status) mail on the server
right inside the mailbox file. Consider what happens if a piece of
mail has to be deleted that sits in the middle of a 100 MB Mailbox:
First all of the mails that precede it have so be scanned and saved
somewhere and then all the mails following it appended. So the entire
mailbox file has to be once read and written for each delete
operation. You don't even want to think about a crash while such an
operation is in progress.

Pop3 access might just about be fine (apart from reliability questions
and garbled mailbox files) if your users retrieve their mails
regularily. On the other hand, there is always the dreaded "Leave Mail
on Server" setting in pop3 mailclients that leads to ever increasing
mailbox files, that users are not even aware of, except for the
increase in time that it takes to get at their most recent mail.

Maildir does not suffer from either of these problems since the
delivery algorithm guarantees that a Maildir is always in a sane state
and since each mail sits in its own file there is not much of a
performance penalty associated with deleting the mail or changing its
status (Courier Imapd does this by just altering the filename, not
even the file itself). Depending on the underlying filesystem you
might run into performance problems for very large amounts of mails in
one directory of a Maildir, but that tends to be in the thousands of
mails.

For a third alternative for imap/pop3 access there is also the Cyrus
imap and pop3 combination (http://asg.web.cmu.edu/cyrus/), which
stores mails away from user home directories in either a format not
dissimilar to Maildir (Cyrus versions  2.0) or in Berkeley DB
database format (Cyrus versions  2.0) which gives you transaction
protected storage and manipulation of mails.

hope that helps,


-- 

Joerg Lenneis

email: [EMAIL PROTECTED]










Where are my aliases?

2001-04-11 Thread KEVIN ZEMBOWER

I'm trying to determine how to control where mail gets forward to when mailed to 
"[EMAIL PROTECTED]" (one of my hosts).

1. africaalive.org is a CNAME for virtual.jhuccp.org. (This seems to be backwards in 
the DNS, where looking up virtual.jhuccp.org determines that the canonical name is 
africaalive.org. Odd...) In the DNS records, this is recorded as "africaalive.org 
internet address = 162.129.225.199". This is the IP address of virtual.jhuccp.org. 
However, there are no MX records in the DNS for either africaalive.org or 
virtual.jhuccp.org. There is an MX record for jhuccp.org. This is my first question, 
how is mail to africaalive.org even finding us to begin with? This address does work 
correctly.

2. In reading the qmail manuals, I learned the importance of 
/var/qmail/control/rcpthost and virtualdomains. Here's the content of these files:
virtual:/var/qmail/control # cat rcpthosts
localhost
virtual.jhuccp.org
africaalive.org
virtual:/var/qmail/control # cat virtualdomains
africaalive.org:africaalive.org
virtual:/var/qmail/control # 
From my reading, the first value in the virtualdomains files identifies a local user 
to send mail to which arrived addressed to the second value. However, I have no user 
"africaalive.org" on host virtual. There's also no /etc/aliases file, though I do 
have an /etc/aliases.db file. I can't figure out how to get into the aliases.db file 
to see if there's an alias for africaalive.org in there.

I'm not very familiar with qmail and probably haven't read the documentation as 
throughly as I should, but none of this is making sense. Would someone please give me 
a hand and point me in the right direction to figure this out.

Thanks for your help.

-Kevin Zembower

-
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD  21202
410-659-6139




Re: Where are my aliases?

2001-04-11 Thread Dave Sill

"KEVIN ZEMBOWER" [EMAIL PROTECTED] wrote:

I'm trying to determine how to control where mail gets forward to
when mailed to "[EMAIL PROTECTED]" (one of my hosts). 

1. africaalive.org is a CNAME for virtual.jhuccp.org. (This seems to
   be backwards in the DNS, where looking up virtual.jhuccp.org
   determines that the canonical name is africaalive.org. Odd...) In
   the DNS records, this is recorded as "africaalive.org internet
   address = 162.129.225.199". This is the IP address of
   virtual.jhuccp.org. However, there are no MX records in the DNS
   for either africaalive.org or virtual.jhuccp.org. There is an MX
   record for jhuccp.org. This is my first question, how is mail to
   africaalive.org even finding us to begin with? This address does
   work correctly.

If there's no MX entry, CNAME (or A) are used.

2. In reading the qmail manuals, I learned the importance of
   /var/qmail/control/rcpthost and virtualdomains. Here's the content
   of these files: 
virtual:/var/qmail/control # cat rcpthosts
localhost
virtual.jhuccp.org
africaalive.org
virtual:/var/qmail/control # cat virtualdomains
africaalive.org:africaalive.org
virtual:/var/qmail/control # 

From my reading, the first value in the virtualdomains files
identifies a local user to send mail to which arrived addressed to
the second value.

Close. It's a *prefix*. Mail to [EMAIL PROTECTED] will be delivered
locally to africaalive.org-foo.

However, I have no user "africaalive.org" on host
virtual.

That could be a problem, especially if you also don't have a
~alias/.qmail-africaalive:org-default file to "catch" the virtual
domain's mail.

There's also no /etc/aliases file, though I do have an
/etc/aliases.db file. I can't figure out how to get into the
aliases.db file to see if there's an alias for africaalive.org in
there.

qmail doesn't use /etc/aliases unless you have fastforward
installed. It never uses /etc/aliases.db.

I'm not very familiar with qmail and probably haven't read the
documentation as throughly as I should, but none of this is making
sense. Would someone please give me a hand and point me in the right
direction to figure this out. 

Start with "Life with qmail":

  http://www.lifewithqmail.org

-Dave



Re: virtual domain aliases problems...

2001-04-10 Thread Dave Sill

Geoffrey Gallaway [EMAIL PROTECTED] wrote:

I recently moved from sendmail to qmail-1.03. I'm having a few problems
getting per-domain alias files working.

[snip description of sendmail method]

Now, with qmail I've installed fastforward and setup /etc/aliases to
work correctly. The question is how do I make qmail recognize the
aliases files for the virtual domains that my users have?

For example, say you have virtual.example.com managed by "joe". In
control/virtualdomains:

  virtual.example.com:joe-virtual

In ~joe/.qmail-virtual-default:

  | fastforward -d virtual.aliases.cdb

-Dave



virtual domain aliases problems...

2001-04-08 Thread Geoffrey Gallaway

Hello,

I recently moved from sendmail to qmail-1.03. I'm having a few problems
getting per-domain alias files working.

I have a few users on my system that had shell accounts and also had
some domains I hosted for them. Each of these kind of users had a
domain.aliases file in their home directory so they could manage their
own domains aliases' without bothering me. All I did was add the
location of the aliases files to sendmail.cf's 'AliasFile=' line when I
started hosting a new domain.

Now, with qmail I've installed fastforward and setup /etc/aliases to
work correctly. The question is how do I make qmail recognize the
aliases files for the virtual domains that my users have?

Thanks,
Geoff




can not get qmail aliases to work

2001-04-03 Thread Vincent O'Neill




I am trying use '/etc/aliases' with qmail and can 
not get them to work correctly.

I am using the following files

.qmail-default

| /var/qmail/bin/fastforward -d 
/etc/aliases.cdb

~alias directory
**
-rw-r--r-- 1 alias 
nofiles 73 Apr 3 08:29 
.qmail-default-rw-r--r-- 1 alias 
nofiles 0 Apr 3 08:23 
.qmail-mailer-daemon-rw-r--r-- 1 alias 
nofiles 23 Mar 26 14:30 
.qmail-postmaster-rw-r--r-- 1 alias 
nofiles 23 Apr 2 10:08 
.qmail-root-rwxr--r-- 1 alias 
nofiles 0 Apr 2 16:02 
Mailboxdrwxr--r-- 5 alias 
nofiles 512 Mar 15 15:35 Maildir

alias user
alias:x:1002:100::/var/qmail/alias:/bin/sh
virtualdomains
*
mydomain.com:mydomainmydomain2.com:mydomain2

rcpthosts
*** 
mydomain.commydomain2.com

I have tested the '/etc/aliases' file using 'fastforward -nd 
/etc/aliases.cdb' and they parse out correctly. I followed the "Single UID based 
POP3 box HOWTO" but can not get the aliases to work. All other mail to users in 
'/var/qmail/users/assign' works perfectly. 

Any help, ideas would be appreciated

Thanks

VInce





Need HELP with QMAIL aliases !!!

2001-04-03 Thread Vincent O'Neill

I am trying use '/etc/aliases' with qmail and can not get them to work
correctly.

I am using the following files

.qmail-default

| /var/qmail/bin/fastforward -d /etc/aliases.cdb


~alias directory
**
-rw-r--r--   1 aliasnofiles   73 Apr  3 08:29 .qmail-default
-rw-r--r--   1 aliasnofiles0 Apr  3 08:23 .qmail-mailer-daemon
-rw-r--r--   1 aliasnofiles   23 Mar 26 14:30 .qmail-postmaster
-rw-r--r--   1 aliasnofiles   23 Apr  2 10:08 .qmail-root
-rwxr--r--   1 aliasnofiles0 Apr  2 16:02 Mailbox
drwxr--r--   5 aliasnofiles  512 Mar 15 15:35 Maildir

alias user

alias:x:1002:100::/var/qmail/alias:/bin/sh

virtualdomains
*
mydomain.com:mydomain
mydomain2.com:mydomain2

rcpthosts
***
mydomain.com
mydomain2.com

I have tested the '/etc/aliases' file using 'fastforward -nd
/etc/aliases.cdb' and they parse out correctly. I followed the "Single UID
based POP3 box HOWTO" but can not get the aliases to work. All other mail to
users in '/var/qmail/users/assign' works perfectly.

Any help, ideas would be appreciated

Thanks

VInce








Re: Need HELP with QMAIL aliases !!!

2001-04-03 Thread Chris Johnson

On Tue, Apr 03, 2001 at 11:38:04AM -0400, Vincent O'Neill wrote:
 I am trying use '/etc/aliases' with qmail and can not get them to work
 correctly.

You gave a lot of details, but you failed to point out what the problem is.
What's not working correctly? What do the logs say?

Chris



Re: Aliases chdir problems

2001-04-02 Thread Charles Cazabon

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

2001-04-02 Thread Johan Almqvist

* 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

2001-04-02 Thread Alex Le Fevre

 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

2001-04-02 Thread Charles Cazabon

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: system-aliases not found

2001-03-17 Thread Eric Pretorious

From: Timothy Legant [EMAIL PROTECTED]
Subject: Re: system-aliases not found
Date: Fri, 16 Mar 2001 22:09:33 -0600

On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
 
  From: Ahmad Ridha [EMAIL PROTECTED]
  Subject: Re: system-aliases not found
  Date: Fri, 16 Mar 2001 14:28:49 +0700
  
  1) Is 'eric' an existing username?
  2) Is 'eric' able to receive e-mails addressed to him directly
  ([EMAIL PROTECTED])? Does he have the proper mailbox
   as mentioned  in his .qmail file (or the default delivery one)?
 
  Ahmad:
 
  Yes - 'eric' is an existing username.
  Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
  '[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox in
  /home/eric.

Can you show us the contents of these files:

/var/qmail/control/me
.../defaulthost
.../defaultdomain

Tim:

Sure:
1. me: pretorious.net
2. defaulthost: charlie
3. defaultdomain: pretorious.net

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-17 Thread Eric Pretorious

From: Greg White [EMAIL PROTECTED]
Subject: Re: system-aliases not found
Date: Fri, 16 Mar 2001 20:59:38 -0800

On Fri, Mar 16, 2001 at 10:09:33PM -0600, Timothy Legant wrote:
  On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
  
SNIP
   Yes - 'eric' is an existing username.
   Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
   '[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox 
in
   /home/eric.
 
  Can you show us the contents of these files:
 
  /var/qmail/control/me
 .../defaulthost
 .../defaultdomain
 
  Tim

Try the following (to the OP):

echo "[EMAIL PROTECTED]"  ~alias/.qmail-root

and then try to deliver to root.

If that works, either me or defaulthost/defaultdomain is probably not 
correct...

Greg:

It doesn't seem to matter what I put in alias/.qmail-root - The messages 
just come back with the error:
  [EMAIL PROTECTED]:
  Sorry, no mailbox herre by that name. (#5.1.1)

(I did try [EMAIL PROTECTED], though.)

Hmmf.  :^|

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-17 Thread Jörgen Persson

On Sat, Mar 17, 2001 at 02:18:43AM -0800, Eric Pretorious wrote:
[snip]
 It doesn't seem to matter what I put in alias/.qmail-root - The messages 
 just come back with the error:
   [EMAIL PROTECTED]:
   Sorry, no mailbox herre by that name. (#5.1.1)

Finally -- the error message was for root and not for eric...

There's probably nothing wrong with eric's mailbox but qmail cannot find
a way to deliver mail to root (which happens to be an alias to eric).

Do you have a /var/qmail/users/assign and does it say anything about
root?? Do you need qmail-users (I use it primarily for NFS)??

Check file permissions.

Have you tried if other aliases (eg ~.alias/.qmail-postmaster) work??

Jörgen



Re: system-aliases not found

2001-03-17 Thread Greg White

On Sat, Mar 17, 2001 at 02:18:43AM -0800, Eric Pretorious wrote:
 Greg:
 
 It doesn't seem to matter what I put in alias/.qmail-root - The messages 
 just come back with the error:
   [EMAIL PROTECTED]:
   Sorry, no mailbox herre by that name. (#5.1.1)
 

OK, so delivery is going to the right place. Sounds like user alias
cannot read ~alias/.qmail-root. What's your output of:

user@host:$ ls -l ~alias/.qmail-root
-rw-r--r-- 6 root qmail 19 Jan 29 17:41 /var/qmail/alias/.qmail-root

Mine is shown above, elided spaces a bit to fit linewraps. ;)

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: system-aliases not found

2001-03-17 Thread Nick (Keith) Fish

Eric Pretorious wrote:
 
 I've created the system-aliases (/var/qmail/alias/):
 
 -re-r--r-- 1 root root .qmail-root
 -re-r--r-- 1 root root .qmail-postmaster
 -re-r--r-- 1 root root .qmail-MAILER-DAEMON
 
 Each has the same contenets: the username 'eric' but qmail doesn't forward
 the messages to the $HOME/Mailbox in /home/eric.
 
 /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
 
 Any thoughts?
 
 Eric P.
 Los Gatos, CA

Well, a few of you got the correct answer; but I'm afraid you have to be
more specific:

Eric, just add these lines to your /var/qmail/users/assign file:

=alias:alias:1002:102:/var/qmail/alias:::
+alias-:alias:1002:102:/var/qmail/alias:-::

and make sure you end the assign file with a line that just has a dot on
it and there is no other line in the file with just a dot.

To process this new assign file, do:

qmail-newu

and you should be all set to go.

BTW, just keep those alias files as the username you're trying to
forward to ('eric') to reduce overhead resouce usage.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: system-aliases not found

2001-03-17 Thread Greg White

On Sat, Mar 17, 2001 at 07:18:57PM -0500, Nick (Keith) Fish wrote:
 Well, a few of you got the correct answer; but I'm afraid you have to be
 more specific:
 
 Eric, just add these lines to your /var/qmail/users/assign file:
 
   =alias:alias:1002:102:/var/qmail/alias:::
   +alias-:alias:1002:102:/var/qmail/alias:-::
 
 and make sure you end the assign file with a line that just has a dot on
 it and there is no other line in the file with just a dot.

The OP never mentioned usign users/assign, IIRC. You're quite possibly
correct, but if so the OP didn't give us necessary information -- if
users/assign is not populated, ~alias/.qmail-* is checked for any
non-matching local user. 

To the OP -- if you populated users/assign, that was information we
needed to know. If you don't have /var/qmail/users/assign, how about
ownership of /var/qmail/alias?? Does alias own his home directory?

When you're done debugging, just 'eric' or 'eric' will do nicely for
the contents of ~alias/.qmail-*. Just trying to eliminate the basics --
seen some people point 'me' at a remote domain. ;)

P.S. If you populated users/assign, please let me know (off-list if you
like). I always use virtual domains, not users/assign, but I should have
though of it...

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: system-aliases not found

2001-03-16 Thread Ahmad Ridha

At 11:54 PM 03/15/2001 -0800, Eric Pretorious wrote:

From: Ahmad Ridha [EMAIL PROTECTED]
Subject: Re: system-aliases not found
Date: Fri, 16 Mar 2001 14:28:49 +0700

1) Is 'eric' an existing username?
2) Is 'eric' able to receive e-mails addressed to him directly
([EMAIL PROTECTED])? Does he have the proper mailbox
 as mentioned  in his .qmail file (or the default delivery one)?

Ahmad:

Yes - 'eric' is an existing username.
Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
'[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox in 
/home/eric.

Eric P.

Well, that's a wonder. 




Re: system-aliases not found

2001-03-16 Thread Ahmad Ridha


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 11:54 PM 03/15/2001 -0800, Eric Pretorious wrote:

From: Ahmad Ridha [EMAIL PROTECTED]
Subject: Re: system-aliases not found
Date: Fri, 16 Mar 2001 14:28:49 +0700

1) Is 'eric' an existing username?
2) Is 'eric' able to receive e-mails addressed to him directly
([EMAIL PROTECTED])? Does he have the proper mailbox
 as mentioned  in his .qmail file (or the default delivery one)?

Ahmad:

Yes - 'eric' is an existing username.
Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
'[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox in 
/home/eric.

Eric P.

Well, that's a wonder.  Are you sure that you use Mailbox everywhere else? 
$HOME/Mailbox is an mbox file, right?

PS: sorry for previous post, I clicked the send button by accident

Regards,

Ahmad Ridha

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBOrHPSq01M7MMw92qEQKQOACgwqfvNLX/juG3VbIJ0NslXc/2aEkAnjCq
JL0we26HpyzKKw1oKfYJ/NaM
=lvZs
-END PGP SIGNATURE-




Re: system-aliases not found

2001-03-16 Thread Eric Pretorious

From: Ahmad Ridha [EMAIL PROTECTED]
Subject: Re: system-aliases not found
Date: Fri, 16 Mar 2001 15:31:06 +0700

At 11:54 PM 03/15/2001 -0800, Eric Pretorious wrote:

 From: Ahmad Ridha [EMAIL PROTECTED]
 Subject: Re: system-aliases not found
 Date: Fri, 16 Mar 2001 14:28:49 +0700
 
 1) Is 'eric' an existing username?
 2) Is 'eric' able to receive e-mails addressed to him directly
 ([EMAIL PROTECTED])? Does he have the proper mailbox
  as mentioned  in his .qmail file (or the default delivery one)?
 
 Ahmad:
 
 Yes - 'eric' is an existing username.
 Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
 '[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox in
 /home/eric.
 
 Eric P.

Well, that's a wonder.  Are you sure that you use Mailbox everywhere else?
$HOME/Mailbox is an mbox file, right?

PS: sorry for previous post, I clicked the send button by accident

Ahmad:

I don't understand. The Mailbox file in /home/eric receives messages for the 
user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains 
'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to 
[EMAIL PROTECTED] - Shouldn't they?

Do you suppose that qmail may be actually looking for a ~Mailbox file for 
root?

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-16 Thread Ahmad Ridha


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 01:05 AM 03/16/2001 -0800, you wrote:

Ahmad:

I don't understand. The Mailbox file in /home/eric receives messages for 
the user 'eric'. The system-alias file /var/qmail/alias/.qmail-root 
contains 'eric'. Mail messages bound for [EMAIL PROTECTED] should go 
directly to [EMAIL PROTECTED] - Shouldn't they?

Do you suppose that qmail may be actually looking for a ~Mailbox file for 
root?

Eric P.

Yes, a /var/qmail/alias/.qmail-root file containing eric will forward mails 
for root to user eric. qmail itself will not send mails to
uid 0 (root).

Any comments, Masters?

Regards,

Ahmad Ridha

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBOrHYjq01M7MMw92qEQIu3QCdFNgONoOVBKXzQqbkDfrQuNiuJRMAnRK+
u8evZ5b8DmcDNLRCskt6a/KE
=fvKv
-END PGP SIGNATURE-




Re: system-aliases not found

2001-03-16 Thread Jörgen Persson

On Fri, Mar 16, 2001 at 01:05:33AM -0800, Eric Pretorious wrote:
[snip]
 I don't understand. The Mailbox file in /home/eric receives messages for the 
 user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains 
 'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to 
 [EMAIL PROTECTED] - Shouldn't they?
[snip]


True

You gave us a snippet from the log earlier:
/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Was that for root or eric??

Jörgen



Re: system-aliases not found

2001-03-16 Thread Joost van Baal

Hi,

It could be that /var/qmail/users/assign is set up wrong.
Read qmail-lspawn(8) and qmail-users(5).

Bye,

Joost

-- 
Joost van Baal.
 .  heart[EMAIL PROTECTED]
.   food  http://logreport.org/
   .homehttp://mdcc.cx/



RE: system-aliases not found

2001-03-16 Thread Tim Hunter

shouldn't anything in /var/qmail/alias be owned by alias:qmail ?
can alias actually get into /var/qmail/alias/ and read the .qmail-root ?

-Original Message-
From: Jrgen Persson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 4:45 AM
To: [EMAIL PROTECTED]
Subject: Re: system-aliases not found


On Fri, Mar 16, 2001 at 01:05:33AM -0800, Eric Pretorious wrote:
[snip]
 I don't understand. The Mailbox file in /home/eric receives messages for
the
 user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains
 'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to
 [EMAIL PROTECTED] - Shouldn't they?
[snip]


True

You gave us a snippet from the log earlier:
/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Was that for root or eric??

Jrgen




RE: system-aliases not found

2001-03-16 Thread Eric Pretorious

From: "Virginia Chism" [EMAIL PROTECTED]
Subject: RE: system-aliases not found
Date: Fri, 16 Mar 2001 15:55:32 -0600

Shouldn't the system-alias file /var/qmail/alias/.qmail-root contain
'eric'?

-Original Message-
From: Eric Pretorious [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 3:06 AM
Subject: Re: system-aliases not found
 
  Ahmad:
  
  Yes - 'eric' is an existing username.
  Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
  '[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox 
in
  /home/eric.
  
  Eric P.

Virginia:

I've also tried 'eric'...  :^(

Eric P.
Los Gatos, CA
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-16 Thread Timothy Legant

On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
 
 From: Ahmad Ridha [EMAIL PROTECTED]
 Subject: Re: system-aliases not found
 Date: Fri, 16 Mar 2001 14:28:49 +0700
 
 1) Is 'eric' an existing username?
 2) Is 'eric' able to receive e-mails addressed to him directly
 ([EMAIL PROTECTED])? Does he have the proper mailbox
  as mentioned  in his .qmail file (or the default delivery one)?
 
 Ahmad:
 
 Yes - 'eric' is an existing username.
 Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
 '[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox in 
 /home/eric.

Can you show us the contents of these files:

/var/qmail/control/me
   .../defaulthost
   .../defaultdomain

Tim



Re: system-aliases not found

2001-03-16 Thread Greg White

On Fri, Mar 16, 2001 at 10:09:33PM -0600, Timothy Legant wrote:
 On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
  
SNIP
  Yes - 'eric' is an existing username.
  Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
  '[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox in 
  /home/eric.
 
 Can you show us the contents of these files:
 
 /var/qmail/control/me
.../defaulthost
.../defaultdomain
 
 Tim

Try the following (to the OP):

echo "[EMAIL PROTECTED]"  ~alias/.qmail-root

and then try to deliver to root.

If that works, either me or defaulthost/defaultdomain is probably not correct...

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



system-aliases not found

2001-03-15 Thread Eric Pretorious

I've created the system-aliases (/var/qmail/alias/):

-re-r--r-- 1 root root .qmail-root
-re-r--r-- 1 root root .qmail-postmaster
-re-r--r-- 1 root root .qmail-MAILER-DAEMON

Each has the same contenets: the username 'eric' but qmail doesn't forward 
the messages to the $HOME/Mailbox in /home/eric.

/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Any thoughts?

Eric P.
Los Gatos, CA
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 11:12:47PM -0800, Eric Pretorious wrote:
 I've created the system-aliases (/var/qmail/alias/):
 
 -re-r--r-- 1 root root .qmail-root
 -re-r--r-- 1 root root .qmail-postmaster
 -re-r--r-- 1 root root .qmail-MAILER-DAEMON
 
 Each has the same contenets: the username 'eric' but qmail doesn't forward 
 the messages to the $HOME/Mailbox in /home/eric.
 
 /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
 
 Any thoughts?
 
 Eric P.
 Los Gatos, CA


Well... isn't that obvious -- qmail doesn't see any mailbox :) How did
you tell qmail to deliver the mail? What does the ''qmail-lspawn''
process look like??

Jörgen



Re: system-aliases not found

2001-03-15 Thread Ahmad Ridha


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 11:12 PM 03/15/2001 -0800, Eric Pretorious wrote:
I've created the system-aliases (/var/qmail/alias/):

-re-r--r-- 1 root root .qmail-root
-re-r--r-- 1 root root .qmail-postmaster
-re-r--r-- 1 root root .qmail-MAILER-DAEMON

Each has the same contenets: the username 'eric' but qmail doesn't forward 
the messages to the $HOME/Mailbox in /home/eric.

/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Any thoughts?

1) Is 'eric' an existing username?
2) Is 'eric' able to receive e-mails addressed to him directly 
([EMAIL PROTECTED])? Does he have the proper mailbox
as mentioned  in his .qmail file (or the default delivery one)?

Regards,

Ahmad Ridha

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

iQA/AwUBOrHAsK01M7MMw92qEQIy8QCfTgk1h8/gnVczKiJtYKAAQmjb0X8AoOh2
W5LoKxRwf+Cf7XbczXTcTX9N
=Vj/h
-END PGP SIGNATURE-




Re: system-aliases not found

2001-03-15 Thread Eric Pretorious


From: Ahmad Ridha [EMAIL PROTECTED]
Subject: Re: system-aliases not found
Date: Fri, 16 Mar 2001 14:28:49 +0700

1) Is 'eric' an existing username?
2) Is 'eric' able to receive e-mails addressed to him directly
([EMAIL PROTECTED])? Does he have the proper mailbox
 as mentioned  in his .qmail file (or the default delivery one)?

Ahmad:

Yes - 'eric' is an existing username.
Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
'[EMAIL PROTECTED]',  '[EMAIL PROTECTED]' in the Mailbox in 
/home/eric.

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Frank Tegtmeyer


 @domain1.name [EMAIL PROTECTED]
 
 means that mail sent to [EMAIL PROTECTED] is sent to [EMAIL PROTECTED]

You may catch this with a script or if this delivers locally you don't 
need to do anything at all.

Regards, Frank



Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Leander Berwers

If somebody has already such a script and want to send it to me, please
do so.

My problem is that yesterday I changed from sendmail to qmail, and now
some mail goes wrong. Writing such a script myself takes a lot of time,
because I'm not a real Perl-programmer. I definitely don't want to
switch back to sendmail.

Regards
Leander


Frank Tegtmeyer wrote:
 
  @domain1.name [EMAIL PROTECTED]
 
  means that mail sent to [EMAIL PROTECTED] is sent to [EMAIL PROTECTED]
 
 You may catch this with a script or if this delivers locally you don't
 need to do anything at all.
 
 Regards, Frank



Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Frank Tegtmeyer

 If somebody has already such a script and want to send it to me, please
 do so.

For example if you want to catch all lightwerk.de accounts you can do the 
following:

1. Put into virtualdomains (be sure to remove lightwerk.de from locals):
lightwerk.de:lightwerk.de

2. Create ~alias/.qmail-lightwerk.de-default with the content:

#
#  change from lightwerk.de to lightwerk.com
#
| qmail-inject -f "$SENDER" "$[EMAIL PROTECTED]"


Regards, Frank 



Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Peter van Dijk

On Wed, Feb 14, 2001 at 09:54:56AM +0100, Frank Tegtmeyer wrote:
  If somebody has already such a script and want to send it to me, please
  do so.
 
 For example if you want to catch all lightwerk.de accounts you can do the 
 following:
 
 1. Put into virtualdomains (be sure to remove lightwerk.de from locals):
 lightwerk.de:lightwerk.de
 
 2. Create ~alias/.qmail-lightwerk.de-default with the content:
 
 #
 #  change from lightwerk.de to lightwerk.com
 #
 | qmail-inject -f "$SENDER" "$[EMAIL PROTECTED]"

IEUW!

Never do that. It can create irritating loops.

Do this:

| forward "$[EMAIL PROTECTED]"




Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Frank Tegtmeyer

 Never do that. It can create irritating loops.
Oops, that's right.

 | forward "$[EMAIL PROTECTED]"

Agrre - much better :)

Regards, Frank



Missing sendmail's aliases in fastforward?

2001-02-13 Thread Leander Berwers

Hello


In sendmail's /etc/aliases the line

@domain1.name   [EMAIL PROTECTED]

means that mail sent to [EMAIL PROTECTED] is sent to [EMAIL PROTECTED]

However this seems not to work with fastforward. Is this true or am I
missing something?


Regards
Leander



Max message size on aliases

2001-01-29 Thread Raymond Orchison



Hi,

I have a unix user iad001 on my linux box. All mail 
for iad001 is sent to /var/spool/mail/iad001. I also have an /etc/aliases.db 
file in which my email address raymondo@mydomain is aliased to iad001. 


How do I set a max message size on a per alias 
basis? I tried using the mailquota.sh script from qmail.org but that never 
worked, I assume aliases don't use the home directory.

Thanks
Raymond


Creating new aliases

2000-12-19 Thread Joao Costa

Hi,

I successfully installed qmail on Solaris 5.8 by following Dave Sill's
web-page. Now, I'd like to create an alias to specific users. I created
a file (assign) on /var/qmail/users/. What are the following
instructions?


--
Joao Costa
==
  DevWeb






Re: Creating new aliases

2000-12-19 Thread Peter Samuel

On Tue, 19 Dec 2000, Joao Costa wrote:

 Hi,
 
 I successfully installed qmail on Solaris 5.8 by following Dave Sill's
 web-page. Now, I'd like to create an alias to specific users. I created
 a file (assign) on /var/qmail/users/. What are the following
 instructions?

Examine

man -M /var/qmail/man qmail-users

It gives detailed instructions of the format of the assign file. Two
important things to remember

1) the file MUST end with a single dot on a line by itself
2) you MUST run /var/qmail/bin/qmail-newu for your changes to take effect

-- 
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"




Aliases

2000-12-19 Thread Alex Le Fevre

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?

Thanks for any help.

Alex Le Fevre



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



Re: Aliases

2000-12-19 Thread Charles Cazabon

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

2000-12-19 Thread Peter Samuel

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"




Aliases

2000-12-06 Thread Peter Gordon

I have qmail set up with the smtproutes file as follows:

lists.valor.com:
ftp2.valor.com:ftp2.valor.com
.valor.com:vsun14.valor.com
valor.com:vsun14.valor.com 

This qmail server is currently only used for routing mail to vsun14.

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. 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. 

I want to be able to move users incrementally from mail server 
vsun14 to ftp2.

The questions are: 

   If I add a virtual domain without aliases, what will happen to the
   mail?

   What is the best approach to reroute individual users given that I 
   have smtproutes set up?

Thanks,

Peter
-- 
Peter Gordon
Tel: (972) 8 9432430 Ext: 129 Cell phone: 054 438029 Fax: (972) 8
9432429  
Valor Ltd, PO Box 152, Yavne 70600, Israel Email: [EMAIL PROTECTED]



Re: Aliases

2000-12-06 Thread Markus Stumpf

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.



dot qmail aliases files

2000-12-04 Thread Sébastien ROZIER



Hello,
I'd like to create an alias, like [EMAIL PROTECTED]

I tried to create a file 
".qmail-firstname.lastname" in /var/qmail/aliases
This doesn't work, my qmail configuration is 
working properly and other aliases without any dots are also working 
.
Is the dot forbidden in a dot-mail alias file 
?
How could I create this alias then ?
Thanx

S. ROZIER


Re: dot qmail aliases files

2000-12-04 Thread Alex Pennace

On Mon, Dec 04, 2000 at 11:45:45AM +0100, Sébastien ROZIER wrote:
 Hello,
 I'd like to create an alias, like [EMAIL PROTECTED]
 
 I tried to create a file ".qmail-firstname.lastname" in /var/qmail/aliases
 This doesn't work, my qmail configuration is working properly and other aliases 
without any dots are also working .
 Is the dot forbidden in a dot-mail alias file ?
 How could I create this alias then ?

http://cr.yp.to/qmail/faq/incominguser.html#alias-dots

How did you find the address of this list yet you didn't find the FAQ?

 PGP signature


Re: dot qmail aliases files

2000-12-04 Thread Alex Pennace

On Mon, Dec 04, 2000 at 12:11:54PM +0100, Sébastien ROZIER wrote:
 For your information, when you post a message in a ML, use plain text.
 thanx.

This is plain text, using PGP/MIME signatures. Many mailers handle it
properly; it is even somewhat presentable in a non-MIME MUA.


 PGP signature


aliases and ...

2000-11-17 Thread Neil Grant

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





Re: aliases and ...

2000-11-17 Thread Jerry Lynde

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




is there any way to let user control their own forwards, aliases, mailing lists

2000-11-12 Thread rom



i have installed qmail + vpopmail +imp + qmailadmin .and 
qmailadmin can do the things ,but i'm looking a way to let user control their 
own things by themself.is there a free code for the idea.
thanks.
 
rom.


Aliases

2000-11-09 Thread Pierre-Yves Deslandes



Hi,
I'd like to have an alias which is ,in fact, all my 
others aliases.
Is it possible ???

Thanks a lot

Pierre-Yves Deslandes


Re: Aliases

2000-11-09 Thread Charles Cazabon

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.
---



Sendmail %1 Virtual Aliases - Qmail?

2000-11-07 Thread Jamin A. Brown

Hello Everyone,

I am in the progress of migrating a fairly large sendmail system to qmail.
One of the problems I have run into is the differences in when aliases are
resolved by the two programs. I have installed and am planning on using
the fastforward program with qmail.

The main issues are these:

1.) We have over 1000 virtualdomains that we handle mail for.

2.) Due in part to bad planning, we allow defaulting delivery
of those domains to the localdomain.

e.g. If we host custdomain.com, we allow mail to
[EMAIL PROTECTED] to delivery to the same [EMAIL PROTECTED]

3.) With a small number of our virtualdomains, we have a setup
that forwards [EMAIL PROTECTED] to the same
[EMAIL PROTECTED] using the sendmail virtusertable format
@domain1.com[EMAIL PROTECTED]


The questions are:

1.) Is it possible to have the fastforward alias file read
*before* the local user check, AND have it delivery
to the local user if there is no alias?

2.) Using the fastforward aliases file, is there an equivilant
to the @domain1.com[EMAIL PROTECTED] style of aliasing?

I am aware that using qmail's .qmail file aliasing is it possible to do
the defaulting aliasing through a .qmail-default file containing:

${DEFAULT}@gwi.net

However, to make it easier on our support department, having aliasing act
exactly the same as in sendmail would be much preferrable.


Thank you for your time.


-
Jamin A. Brown  Systems Operations Department
[EMAIL PROTECTED]   * Great Works Internet *   207.286.8686 x142
RSA PGP Key:  http://www.gwi.net/~jamin/pgp/jamin.asc




odd error - with /etc/qmail/aliases ?!?

2000-11-06 Thread Greg Cope


Dear All

I've setup a qmail / vpopmail combo and added a Virtual domain.  This
machine is not connected to the internet (I am using it for local
testing / install scripts for a bunch of servers).

It delivers to know address fine - but when I send a message to a
nonexistant_address@existing_domain I get the log entries below (no
funny what do the logs say ... comments ;-).

I know I am missing something simple - but why is qmail looking in
/etc/qmail/aliases ?!?!

in /var/qamil/aliases/.qmail-postmaster is:

[EMAIL PROTECTED]

Is this mix up due to the fact that I do not have a DNS entry for
localhost.localdomain (obviously!) and that gjjc@rubber ... is a non
local address ?

Clues for this cluess admin welcome!

Greg


@40003a05b4f52c665734 info msg 114975: bytes 736 from  qp 15484
uid 107
@40003a05b4f5371a50cc starting delivery 3: msg 114975 to local
[EMAIL PROTECTED]
@40003a05b4f5371b9cd4 status: local 1/10 remote 0/220
@40003a05b4f5380be48c delivery 3: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
@40003a05b4f601acd734 status: local 0/10 remote 0/220
@40003a05b4f60ad7e6dc bounce msg 114975 qp 15487
@40003a05b4f60c685694 end msg 114975
@40003a05b4f61116fe0c new msg 114974
@40003a05b4f6111a596c info msg 114974: bytes 1215 from #@[] qp
15487 uid 107
@40003a05b4f619ef9084 starting delivery 4: msg 114974 to local
[EMAIL PROTECTED]
@40003a05b4f619f0d4bc status: local 1/10 remote 0/220
@40003a05b4f61a922d6c delivery 4: deferral:
Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/
@40003a05b4f61a9394cc status: local 0/10 remote 0/220
@40003a05b55b1a0aec6c starting delivery 5: msg 114974 to local
[EMAIL PROTECTED]
@40003a05b55b1a0c4fe4 status: local 1/10 remote 0/220
@40003a05b55b1aa4a3fc delivery 5: deferral:
Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/
@40003a05b55b1aa60774 status: local 0/10 remote 0/220
@40003a05b6880ebcc22c starting delivery 6: msg 114974 to local
[EMAIL PROTECTED]
@40003a05b6880ebcf4f4 status: local 1/10 remote 0/220
@40003a05b6881078453c delivery 6: deferral:
Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/
@40003a05b68810787bec status: local 0/10 remote 0/220
@40003a05b87b0fed7614 starting delivery 7: msg 114974 to local
[EMAIL PROTECTED]



Re: odd error - with /etc/qmail/aliases ?!?

2000-11-06 Thread Brett Randall

On Sun, 05 Nov 2000, [EMAIL PROTECTED] wrote:

 Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/

One of your .qmail* files somewhere on your system has the line:
/etc/qmail/aliases
or
/etc/qmail/aliases/

Unless you are using an unusual qmail distribution, or you modified
the source/applied an unknown patch.

Brett.
-- 
... File not found. Should I fake it? (Y/N)



fastforward VS aliases

2000-10-31 Thread Mr.F

Hi,
I have a problem about aliases from sendmail. Now my system uses
sendmail and aliases. I want to change to be qmail and want to keep
/etc/aliases. My problem is about aliases.

aaa:[EMAIL PROTECTED]
bbb:[EMAIL PROTECTED]
ccc:[EMAIL PROTECTED]

From my old system (sendmail) ,this server (host1.com) will
recieve mail from anyone who sent to [EMAIL PROTECTED] Such as if anyone 
sent mail to [EMAIL PROTECTED], it will check in /etc/aliases then forward
to [EMAIL PROTECTED] that is an exist user on localhost. 
But in case of fastforward when anyone sent mail to [EMAIL PROTECTED]
, it won't not forward to [EMAIL PROTECTED] How can I solve this problem
? 

Regards,
Effy. 





aliases

2000-10-20 Thread Cliff Cole

Hello,
I have take a sendmail alias file to use for my aliases.  I have added
'| fastforward -d /etc/aliases.cdb' to the .qmail-default file in my
/var/qmail/aliases directory.  I am using system account and I can create a
alias for a account that does not reside on my server in the system
accounts.  For example: I have [EMAIL PROTECTED]  going to
[EMAIL PROTECTED]  .  This works correct, however, I have a
account bob which is a system account on my server.  I have a alias in
/etc/aliases to wich is [EMAIL PROTECTED] going to
[EMAIL PROTECTED]  I can't recieve the mail for the account because
it ends up in /var/spool/mail/bob.  Anyone have any suggestions?

Thanks
Cliff






Re: aliases

2000-10-20 Thread Brett Randall

 "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."



virtualhosts and aliases

2000-10-17 Thread Roger Lipscombe

I'm just experimenting with using qmail to accept delivery of email
for multiple domains on the same machine.  I think I've got everything
configured nicely, but...

Consider...

mail.foo.com is the MX for both foo.com and bar.com

I'd like {postmaster,webmaster}@{foo,bar}.com to be delivered to me.

I'd like any email to a user account that exists on the machine to be
delivered to that user, regardless of which host it came in for.

I'd like any email to bar.com that doesn't resolve to a known user to
be delivered to a specific user.

Currently, I've got "bar.com:alias-bar" in control/virtualdomains,
which delivers the email via ~alias/.qmail-bar-whatever.  So, I've got
.qmail-bar-postmaster and .qmail-bar-webmaster pointing at
[EMAIL PROTECTED], which works.

I can't see how to solve the other two problems.  I know that I can
set up ~alias/.qmail-bar-default to solve the third, but I'd like to
solve the second problem as well.

This seems a little lopsided - I've special-cased the bar.com email,
but the foo.com stuff works "out of the box".  Am I doing it right?

Also, I was wondering if anyone had any tips/caveats for the unsuspecting
qmail beginner that I should be aware of?





Re: virtualhosts and aliases

2000-10-17 Thread Dave Sill

Roger Lipscombe [EMAIL PROTECTED] wrote:

Beerology, eh? I'm an amateur beerologist, myself.

mail.foo.com is the MX for both foo.com and bar.com

I'd like {postmaster,webmaster}@{foo,bar}.com to be delivered to me.

I'd like any email to a user account that exists on the machine to be
delivered to that user, regardless of which host it came in for.

So far, you want foo.com and bar.com to behave as if they're local,
not virtual.

I'd like any email to bar.com that doesn't resolve to a known user to
be delivered to a specific user.

So put both foo.com and bar.com in control/locals, remove bar.com from 
control/virtualdomains, and create a ~alias/.qmail-default that looks
for bar.com in the recipient's address and forwards to the specified
user if found.

Also, I was wondering if anyone had any tips/caveats for the unsuspecting
qmail beginner that I should be aware of?

http://lwq.sill.org, especially Appendix G. 

-Dave



Aliases

2000-10-16 Thread joan

Hi, 

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.

Any help?




Re: Aliases

2000-10-16 Thread Brett Randall

 [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: Virtual domains and aliases

2000-10-03 Thread Charles Cazabon

Aage Baardsen [EMAIL PROTECTED] wrote:
 
 I have several different domains hosted by one machine with one ip. The
 problem is to have qmail distinguish them from eachother when receiving mail. 
 My problem arises when i want to have the same 'user' (alias) to different
 domain and then routed to different users using aliases for instance.

You've got them all configured as local domains, correct?
 
 Is this possible with qmail?

Yes, see below.
  
 So my question, is it possible to add hostnames to .qmail alias files? For
 instance, .qmail-myuser.money.net ?  Or specify the domain inside the alias
 file?

No.  Make the domains or individual user-domain combinations virtual.
If necessary, you can then have .qmail files controlling an individual 
account, and delivering the mail to a specified local user.

See the section on virtualdomains in Dave Sill's "Life with qmail".

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: Virtual domains and aliases

2000-10-03 Thread Alexander Jernejcic

hi,
you need virtual domains...
if you dont want system users have a look at
http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.txt

;) a

==
Alexander Jernejcic 
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

== 
-Original Message-
From: Aage Baardsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 03, 2000 7:19 AM
To: [EMAIL PROTECTED]
Subject: Virtual domains and aliases


Hello!
 
I have questions about qmail and aliases.

I have several different domains hosted by one machine with one ip. The problem is to 
have
qmail distinguish them from eachother when receiving mail. 
 
My problem arises when i want to have the same 'user' (alias) to different domain and
then routed to different users using aliases for instance.

Is this possible with qmail?
 
So my question, is it possible to add hostnames to .qmail alias files? For instance,
.qmail-myuser.money.net ?  Or specify the domain inside the alias file?

Aage

Very happy for any answer that can lead to a solution.. :)



Virtual domains and aliases

2000-10-02 Thread Aage Baardsen



Hello!

Ihavequestions about qmail and 
aliases.

I have several different domains hosted by one 
machine withone ip. The problem is to have
qmail distinguish them from eachother when 
receiving mail. 

My problem arises when i want to have the same 
'user' (alias) to different domain and
then routed to 
different users using aliases for instance.


Is this possible with 
qmail?

So my question, is it possible to add hostnames to 
.qmail alias files? For instance,
.qmail-myuser.money.net ? Or specify the 
domain inside the alias file?

Aage

Very happy for any answer that can lead to a 
solution.. :)


qmail aliases like melanie.desaive

2000-08-26 Thread Melanie Desaive

hello,

I tried to set up qmail aliases via .qmail-alias and it worked well 
with single names.
But all aliases like .qmail-melanie.desaive etc. did not work.
I tried to escape the dot with \ # "" but nothing worked.
I did not find anything about this problem in the qmail documentations.

If someone knows how to create such aliases, please let me know.

greetings,

Melanie



Re: qmail aliases like melanie.desaive

2000-08-26 Thread Chris, the Young One

On Sat, Aug 26, 2000 at 11:12:35AM +0200, Melanie Desaive wrote:
 But all aliases like .qmail-melanie.desaive etc. did not work.
 I tried to escape the dot with \ # "" but nothing worked.
 I did not find anything about this problem in the qmail documentations.

Read FAQ 4.6.

---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  



Re: qmail aliases like melanie.desaive

2000-08-26 Thread Uwe Ohse

On Sat, Aug 26, 2000 at 11:12:35AM +0200, Melanie Desaive wrote:
 
 I tried to set up qmail aliases via .qmail-alias and it worked well 
 with single names.
 But all aliases like .qmail-melanie.desaive etc. did not work.
 I tried to escape the dot with \ # "" but nothing worked.

man dot-qmail:
WARNING: For security, qmail-local replaces  any  dots  in
ext  with  colons  before checking .qmail-ext.  For conve-
nience, qmail-local converts any uppercase letters in  ext
to lowercase.

 I did not find anything about this problem in the qmail documentations.

Regards, Uwe



  1   2   3   >