[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ispman-users
Subject:    Re: [Ispman-users] mail forwarding questions
From:       Robert Fournerat <robert () netin ! com>
Date:       2002-09-18 18:04:11
[Download RAW message or body]

Thank you Atif, but maybe I didn't explain myself well enough
(or I don't understand your answer).

Let's say that we host the mail for company.com, and that
company.com has 10 email accounts.  9 of these accounts
are handled in the "normal" way (ie: sent to a local
maildrop).  1 user wants their email to be forwarded
somewhere else (that user does not use a mail system
controlled by ispman).  In other words, bob@company.com
wants his email to be forwarded to bob@hishome.com, where
bob will never log into the bob@company.com account (so
he doesn't want any mail stored there), and hishome.com
is not controlled by ispman.

Coming from a sendmail background, what I would have done
in this case is to create an entry in the virtusertable
that maps the 9 "normal" users to local accounts, and then 
map bob@company.com to bob@hishome.com.  This is very 
similar (exactly the same?) as using postfix's virtual 
table.

However, under ispman, the postfix virtual table is kept
in ldap.  In my case:

virtual_maps = ldap:ldapvirtual
ldapvirtual_server_host = localhost
ldapvirtual_search_base = o=ispman
ldapvirtual_query_filter = (|(mailLocalAddress=%s)(mailAlias=%s))
ldapvirtual_result_attribute = mailRoutingAddress,mailForwardingAddress

Ignoring the mailAlias part, I think this means that if a
mailForwardingAddress is found, then mail for mailRoutingAddress
will be forwarded to mailForwardingAddress.  But this
keeps a copy of the message at mailRoutingAddress, which
will eventually fill to quota and stop accepting mail.

It seems to me (and I could be wrong) that something in
ispman is treating the information in postfix's virtual
table more like a ~/.forward file, instead of a virtual
table.  What I mean is that in a virtual table, you could
do something like:

1) user1@company.com	sam
2) user2@company.com	sue@this.com
3) user3@company.com	sally@that.com
4) ...
5) bob@company.com	bob@hishome.com
6) @company.com		bob@company.com

I need to be able to do line 6, which a ~/.forward file 
cannot do.  I also need to be able to do line 5, without
keeping a copy of the message at bob@company.com's mailbox.
Can I do these with ispman?

By using the "Mail Forwarding" section, ispman does 
forward the message to bob@hishome.com, but it keeps a
copy at bob@company.com, which is what we do not want.

I hope that makes sense.

thanks,
Robert


Atif Ghaffar wrote:
> 
> yes.
> 
> When creating a user account, you can specify a mail server or choose
> not to create a mail account and just to forwarding.
> 
> best regards
> 
> Robert Fournerat wrote:
> > Hi,
> >
> > Re: http://www.ispman.org/screenshots/0.9/text.09.html
> >
> > In the "Mail Forwarding" section, it explains:
> >
> >   Then you also see MailForwardings
> >   These are the addresses where the mail should be delivered
> >   in addition to the default mailbox.
> >
> > Is there a way in ispman to forward mail to a different (and
> > probably remote) account *without* leaving a copy in the
> > default mailbox?
> >
> > Ie:  mail to someone@here.com should be forwarded to
> > someoneelse@there.com, and not leave a copy in the
> > someone@here.com's mailbox.
> >
> > Thanks,
> > Robert
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by: AMD - Your access to the experts
> > on Hammer Technology! Open Source & Linux Developers, register now
> > for the AMD Developer Symposium. Code: EX8664
> > http://www.developwithamd.com/developerlab
> > _______________________________________________
> > Ispman-users mailing list
> > Ispman-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ispman-users
> 
> --
> Atif Ghaffar
> Technology Consultant
> ---------------------------.
>            +41 21 321 65 55 ¦ tel
>            +41 21 321 54 54 ¦ fax
>            +41 78 845 31 64 ¦ mobile
>       aghaffar@developer.ch ¦ email
>      http://atifghaffar.com ¦ www
>       http://www.ispman.org ¦
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: AMD - Your access to the experts
> on Hammer Technology! Open Source & Linux Developers, register now
> for the AMD Developer Symposium. Code: EX8664
> http://www.developwithamd.com/developerlab
> _______________________________________________
> Ispman-users mailing list
> Ispman-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ispman-users


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Ispman-users mailing list
Ispman-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ispman-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic