relay email for an individual email address

View: New views
5 Messages — Rating Filter:   Alert me  

relay email for an individual email address

by Gilad Odinak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I want to forward all email to user@... to user@...

Where mydomain.com is a domain on my mail server.

I tried to add this to aliases.tab

"mydomain.com" "user" "user@..."

When I connect to themail server, at the rcpt to:<user@...> command I get a relay denied error.

The mail server serves two domains: mydomain.com and myotherdomain.com

"mydomain.com" "user" "user@..."

Does work.


How should I configure xmail to forward emails for a user in mydomain.com to e.g. gmail.com
_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Parent Message unknown Re: relay email for an individual email address

by CLEMENT Francis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>-----Message d'origine-----
>De : xmail-bounces@...
>[mailto:xmail-bounces@...]De la part de Gilad Odinak
>Envoyé : mardi 6 octobre 2009 07:57
>À : XMail Users Mailing List
>Objet : [xmail] relay email for an individual email address
>
>
>I want to forward all email to user@... to user@...
>
>Where mydomain.com is a domain on my mail server.
>
>I tried to add this to aliases.tab
>
>"mydomain.com" "user" "user@..."
>
>When I connect to themail server, at the rcpt
>to:<user@...> command I get a relay denied error.
>
>The mail server serves two domains: mydomain.com and myotherdomain.com
>
>"mydomain.com" "user" "user@..."
>
>Does work.
>
>
>How should I configure xmail to forward emails for a user in
>mydomain.com to e.g. gmail.com

Hello

I think you should re-read carefully xmail doc as all you need is in the doc
:)

First, you will see that "aliases" can only be done on local mailboxes (can
be on a different domain but the final domain must also be handled by
xmail), so it is normal that your test resulted in error.

- Second, taking a look at mailproc.tab file that can be associated with a
local mailbox to do some specific process.
It permit such redirections :)

In your case, create a real "user@..." mailbox on your xmail
server, then create a mailproc.tab file for this mailbox that must contain
this simple line :
"redirect"[TAB]"user@gmail"[NEWLINE]

It's all ;-)

Francis
_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: relay email for an individual email address

by Oliver Stöneberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> - Second, taking a look at mailproc.tab file that can be associated with a
> local mailbox to do some specific process.
> It permit such redirections :)
>
> In your case, create a real "user@..." mailbox on your xmail
> server, then create a mailproc.tab file for this mailbox that must contain
> this simple line :
> "redirect"[TAB]"user@gmail"[NEWLINE]
>
> It's all ;-)

Is it possible to do this for a whole domain like I want everything
that went to "@oldcompany.com" redirected to "@newcompany.com"?

I just read this and have not looked into the documentation yet as I
am busy with something else at the moment, but I thought you might
already know how to do it :-)

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: relay email for an individual email address

by Davide Libenzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 8 Oct 2009, Oliver Stöneberg wrote:

> > - Second, taking a look at mailproc.tab file that can be associated with a
> > local mailbox to do some specific process.
> > It permit such redirections :)
> >
> > In your case, create a real "user@..." mailbox on your xmail
> > server, then create a mailproc.tab file for this mailbox that must contain
> > this simple line :
> > "redirect"[TAB]"user@gmail"[NEWLINE]
> >
> > It's all ;-)
>
> Is it possible to do this for a whole domain like I want everything
> that went to "@oldcompany.com" redirected to "@newcompany.com"?
>
> I just read this and have not looked into the documentation yet as I
> am busy with something else at the moment, but I thought you might
> already know how to do it :-)
Should be possible, with 'CUSTOM DOMAIN MAIL PROCESSING':

http://www.xmailserver.org/Readme.html#custom_domain_mail_processing

If you create a file named  oldcompany.com.tab  inside the 'custdomains'
subdirectory, containing a line:

"redirect" "newcompany.com"

It should do it.



- Davide


_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: relay email for an individual email address

by Oliver Stöneberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> On Thu, 8 Oct 2009, Oliver Stöneberg wrote:
>
> > > - Second, taking a look at mailproc.tab file that can be associated with a
> > > local mailbox to do some specific process.
> > > It permit such redirections :)
> > >
> > > In your case, create a real "user@..." mailbox on your xmail
> > > server, then create a mailproc.tab file for this mailbox that must contain
> > > this simple line :
> > > "redirect"[TAB]"user@gmail"[NEWLINE]
> > >
> > > It's all ;-)
> >
> > Is it possible to do this for a whole domain like I want everything
> > that went to "@oldcompany.com" redirected to "@newcompany.com"?
> >
> > I just read this and have not looked into the documentation yet as I
> > am busy with something else at the moment, but I thought you might
> > already know how to do it :-)
>
> Should be possible, with 'CUSTOM DOMAIN MAIL PROCESSING':
>
> http://www.xmailserver.org/Readme.html#custom_domain_mail_processing
>
> If you create a file named  oldcompany.com.tab  inside the 'custdomains'
> subdirectory, containing a line:
>
> "redirect" "newcompany.com"
>
> It should do it.

OK, that was too obvious. I was looking in the wrong places before
like alias and mailproc...

Thanks.

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail