>-----Message d'origine-----
>De : [email protected]
>[mailto:[email protected]]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 [email protected] to [email protected]
>
>Where mydomain.com is a domain on my mail server.
>
>I tried to add this to aliases.tab
>
>"mydomain.com" "user" "[email protected]"
>
>When I connect to themail server, at the rcpt 
>to:<[email protected]> command I get a relay denied error.
>
>The mail server serves two domains: mydomain.com and myotherdomain.com
>
>"mydomain.com" "user" "[email protected]"
>
>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 "[email protected]" mailbox on your xmail
server, then create a mailproc.tab file for this mailbox that must contain
this simple line :
"redirect"[TAB]"u...@gmail"[NEWLINE]

It's all ;-)

Francis
_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to