relay all mail without local exception

This is a discussion on relay all mail without local exception within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; hi all, On Postfix I would like to relay all mails to another postfix ... With option in main.cf : relayhost = ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2004
Damian
 
Posts: n/a
Default relay all mail without local exception


hi all,

On Postfix I would like to relay all mails to another postfix ...

With option in main.cf : relayhost = smtp2.foo.com

all outgoing mail are relayed except local mails ( for local users ).

if my users execute command : mail nick@foo.com , mail is relayed
if my users execute command : mail nick , mail is
not relayed and put in /var/spool/mail


Someone have the solution ....

Thanks All

Damian


Reply With Quote
  #2 (permalink)  
Old 02-18-2004
Mike Nagel
 
Posts: n/a
Default Re: relay all mail without local exception


> if my users execute command : mail nick , mail is
> not relayed and put in /var/spool/mail
>

Hello Demian,

I think you must define:

mydestination =

in your main.cf so postfix never will be deliver local.
Otherwise you can define a spezial transport methode for your domain with:

foo.com
smtp:smtp2.foo.com
..foo.com
smtp:smtp2.foo.com


in your transport table.

Ihope that will help you


Mike





Reply With Quote
  #3 (permalink)  
Old 02-19-2004
Damian
 
Posts: n/a
Default Re: relay all mail without local exception

thanks Mike ....

All works good ...


"Mike Nagel" <m_nagel@der-nagel.de> a écrit dans le message de news:
4033BC92.5050906@der-nagel.de...
>
> > if my users execute command : mail nick ,

mail is
> > not relayed and put in /var/spool/mail
> >

> Hello Demian,
>
> I think you must define:
>
> mydestination =
>
> in your main.cf so postfix never will be deliver local.
> Otherwise you can define a spezial transport methode for your domain with:
>
> foo.com
> smtp:smtp2.foo.com
> .foo.com
> smtp:smtp2.foo.com
>
>
> in your transport table.
>
> Ihope that will help you
>
>
> Mike
>
>
>
>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0