Prashant,
I'd echo Brett's sentiment - whatever advice you get from this list
is free, so I think its readers don't appreciate message that hassle them.
Anyway, another approach, depending on your setup (as Brett says,
you're not helping by not telling us much about your setup), you may
wish to configure the Internet-visible (MX) machine to accept mail
for domain.com (i.e. put this in rcpthosts), but not attempt to deliver
it locally (i.e. ensure the domain is *not* in locals or virtualdomains).
Then have this MX machine use a private DNS which has MX entries
for your "Real" mail servers. Alternatively, you can use smtproutes
to point to *one* real mail server only.
A machine like this is basically an SMTP relay for
domain.com. I suspect Dave Sill's Life with qmail (see
the qmail web page) touches on this subject.
cheers,
Andrew.
----------
From: Brett Randall[SMTP:[EMAIL PROTECTED]]
Sent: 21 August 2000 09:56
To: [EMAIL PROTECTED]; qmail
Subject: RE: friends very urgent help required
OK I will reply but the reason noone else has ie largely because of the time
in most of the world at the moment, and the fact that you included virtually
NO configuration information (eg what is in virtualdomains, locals,
rcpthosts, sample LDAP entry, sample users/assign entry...all of these help
out somewhat).
BEST way of doing this as far as I can see (I have never used LDAP, only NIS
which IMHO is a little easier to understand and implement, albeit insecure
by default) is to not even have those system users on your main server. Have
aliases (either use .qmail-user files or fastforward) forward to
[EMAIL PROTECTED], and MAKE SURE that server.domain.com is NOT listed
in locals, and IS listed in rcpthosts (you need to receive for that domain
so you can relay it, but if it is in locals then you will get that error
described below where it says mailbox not found).
Also - qmail will probably do an MX lookup on server.domain.com to see where
to deliver mail to (depends how you've set qmail up). If it does, then you
will need an 'A' entry in your DNS to point to server.domain.com as the MX
record for server.domain.com. Otherwise just set up qmail to send using FQDN
(sorry, I can't remember how...It is in one of the FAQs or HOWTOs or docs on
www.qmail.org).
Good luck, please type slower next time, and if possible (I don't mean any
offense), a little more practise at english would help us all out to help
you.
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/
> hello friends
>
> i am running qmail-1.03 applied qmail-ldap-2000601.patch ,
>
> i have only single domain , with around 200,000 users , now i want that
> mails for : [EMAIL PROTECTED] will gets forwaded to
> [EMAIL PROTECTED]
>
>
> ,
>
> i have specified this in ldap mailforwarding attribute ,
> but log shows no
>
>
> mailbox by that name , do i need some entry in my ldap which matches this
> [EMAIL PROTECTED] mail address , i already have entry for
> [EMAIL PROTECTED] with mailforwarding address as usererver1.domain,
>
>
> what i wanna achive is once mails accepted by my single mail
> server which
>
>
> i have specified in MX , then this mail server should forward
> mails for [EMAIL PROTECTED] to host [EMAIL PROTECTED] or
> [EMAIL PROTECTED] depending users ldap entries
> ,and store the
> message there in "Maildir" for this perticular user
>
>
> how can i achive , or is there any other work around , please
> reply me as
>
>
> early as possible
>
> thanks
> Prashant Desai