Xclient

2010-06-06 Thread JC Putter
hi i want to enable xclient extentions for my postfix server, i looked at
http://www.postfix.org/XCLIENT_README.html

can someone you me an example of how to enable this ? basicly a smtp servers
forward my mail to my postfix server, i want to enable xclient to filter the
sender information.

thanks


Re: Xclient

2010-06-06 Thread Wietse Venema
JC Putter:
> hi i want to enable xclient extentions for my postfix server, i looked at
> http://www.postfix.org/XCLIENT_README.html
> 
> can someone you me an example of how to enable this ? basicly a smtp servers
> forward my mail to my postfix server, i want to enable xclient to filter the
> sender information.

See: http://www.postfix.org/postconf.5.html#smtpd_authorized_xclient_hosts

Wietse


Re: Xclient

2010-06-06 Thread JC Putter
great thanks wietse

On Sun, Jun 6, 2010 at 2:34 PM, Wietse Venema  wrote:t

> JC Putter:
>  > hi i want to enable xclient extentions for my postfix server, i looked
> at
> > http://www.postfix.org/XCLIENT_README.html
> >
> > can someone you me an example of how to enable this ? basicly a smtp
> servers
> > forward my mail to my postfix server, i want to enable xclient to filter
> the
> > sender information.
>
> See: http://www.postfix.org/postconf.5.html#smtpd_authorized_xclient_hosts
>
>Wietse
>


Re: Xclient

2010-06-06 Thread Wietse Venema
JC Putter:
> can someone you me an example of how to enable this ? basicly a
> smtp servers forward my mail to my postfix server, i want to enable
> xclient to filter the sender information.

Wietse:
> See: http://www.postfix.org/postconf.5.html#smtpd_authorized_xclient_hosts

JC Putter:
> great thanks wietse

Beware, though, that you will create backscatter(*) if you reject mail
that the up-stream MTA has already accepted.

Wietse

(*) Cause the up-stream MTA to bounce spam messages to innocent
people who did not send that spam.


Re: unknow user 450 to 550 reject code

2010-06-06 Thread Michael Tokarev

06.06.2010 01:31, John Peach wrote:

On Sat, 05 Jun 2010 23:26:46 +0200
Jeroen Geilman  wrote:


The "unknown_virtual_mailbox_reject_code" response defaults to 550.
If it is not 550 on your system, somebody altered it from the default.
(I don't see how an undeliverable address could be anything but a
permanent error)


soft_bounce is set to yes by default (so that you can correct your
config before putting it into production).


soft_bounce is set to NO by default.  Proof: execute
 postconf -d soft_bounce
on your system, -- -d shows the default values.

Any distribution that ships with soft_bounce=yes is broken.
Because people often does not pay enough attention and leaves
the default at it, which results in a broken postfix install.
Note that postfix at least tries to work out of the box.

/mjt


Re: Postfix and Google Apps

2010-06-06 Thread Cameron Smith
OK this is getting off track and it's probably due to the way I started the 
thread so let me start over.


Currently with my postfix setup when the newsletter is sent and an account on 
the domain set up in google apps is on the list they do not get the email at 
google apps as postfix is trying to deliver that locally.

With Exim and Google Apps there is a way to allow functionality like I am 
asking for using the smarthosts entry in the exim config.

How can I do this with Postfix?

Thanks!
Cameron


 On 6/4/2010 2:45 PM, Cameron Smith wrote: 
> I have google apps managing mail for my domain but would like to use my 
> server to send newsletters and have run into an issue where I can send 
> with SMTP from accounts on the server using Postfix but when someone 
> replies to that email due to MX it routes to google and not the server. 
Yes, that's normal and expected. 

> 
> What do I have to do to geting this working? 
It is working. Why do you want to change it? 
If you want a separate mail system, you can set up a subdomain 
for your maillists, eg. lists.example.com, with an MX pointing 
to your postfix server. 

> 
> With Exim I believe it is with a smarthost entry. Is it done the same 
> way with Postfix? 
No, that's for sending mail. 
> 
> Do I have to have a matching account at google apps and if so does it 
> need any specific settings? 
Any mail you send out should have a valid username in google apps. 

> 
> Thanks! 
> Cameron 
   -- Noel Jones 

Re: Postfix and Google Apps

2010-06-06 Thread Noel Jones

On 6/6/2010 4:31 PM, Cameron Smith wrote:

OK this is getting off track and it's probably due to the way I started
the thread so let me start over.


Currently with my postfix setup when the newsletter is sent and an
account on the domain set up in google apps is on the list they do not
get the email at google apps as postfix is trying to deliver that locally.

With Exim and Google Apps there is a way to allow functionality like I
am asking for using the smarthosts entry in the exim config.

How can I do this with Postfix?

Thanks!
Cameron



It's "off track" because you don't describe what problem 
you're trying to solve.  So what are you asking for?


If you want ALL mail for ALL domains delivered through google, 
use the relayhost setting in postfix.  This is what some other 
mailers call a smarthost.  Do not list your own domain 
anywhere in postfix.


If you want your own domain delivered to google and other 
domains delivered directly, your domain should be configured 
as a relay_domain and NOT listed in mydestination.


If you need a subset of your local accounts delivered to 
google apps, use a transport_maps entry to direct those 
accounts to google.


http://www.postfix.org/documentation.html


  -- Noel Jones


Re: Postfix and Google Apps

2010-06-06 Thread Wietse Venema
Cameron Smith:
> I have google apps managing mail for my domain but would like to use my 
> server to send newsletters and have run into an issue where I can send 
> with SMTP from accounts on the server using Postfix but when someone 
> replies to that email due to MX it routes to google and not the server. 

To receive your newsletter replies on your Postfix box, your
newsletter reply-to address must resolve to your Postfix box.

Options:

- Change the newsletter reply-to address to a new domain name
(perhaps a subdomain of the managed domain) and set its MX record
to your Postfix box.

- Stop using Google apps for this domain, and change the MX record
for the domain to your Postfix box.

Wietse