Re: qmail forward to postfix on the same machine ?

2013-03-22 Thread Frank Bonnet
Hello again Would it be bi-directionnal ? I mean does incoming email are routed to the internal qmail server , I need this because qmail deliver emails to few users on this machine in a special way . Thank you CYBERDROID Inc. Le 21/03/2013 14:32, Noel Jones a écrit : On 3/21/2013 7:09 AM, Fra

Re: qmail forward to postfix on the same machine ?

2013-03-22 Thread Matthias Andree
Am 21.03.2013 13:09, schrieb Frank Bonnet: > Hello > > I'm in trouble with an old Qmail server that runs on > an also old server. > > The problem is I cannot modify the existing configuration > of this machine because of inhouse developped applications > that use qmail. > > Qmail ( which i know

Re: qmail forward to postfix on the same machine ?

2013-03-22 Thread Wietse Venema
Matthias Andree: > There is one caveat, though: qmail-send will disassemble multi-recipient > posts, i. e. you will get one Postfix message and queue ID per recipient > - and Postfix has some VERP support (Mailman, for instance, uses it.) > > If you can somehow manage to inject outgoing mail direc

Re: qmail forward to postfix on the same machine ?

2013-03-22 Thread Noel Jones
> > CYBERDROID Inc. Le 21/03/2013 14:32, Noel Jones a écrit : >> On 3/21/2013 7:09 AM, Frank Bonnet wrote: >>> Hello >>> >>> I'm in trouble with an old Qmail server that runs on >>> an also old server. >>> >>> The problem is I cannot modify the existing configuration >>> of this machine because of

Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Victor d'Agostino
Hi all, I use postfix as relay server to several internal domains. xxx is the main one. postconfig | grep domain prints : append_dot_mydomain = no mydomain = xxx myorigin = $mydomain relay_domains = $mydomain yyy zzz If postfix receives an email with a FROM (headers and in the SMTP dialog) with

Re: Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Noel Jones
On 3/22/2013 11:44 AM, Victor d'Agostino wrote: > Hi all, > > I use postfix as relay server to several internal domains. xxx is > the main one. > > postconfig | grep domain prints : > > append_dot_mydomain = no > mydomain = xxx > myorigin = $mydomain > relay_domains = $mydomain yyy zzz > > If p

Re: Trouble configuring backup MX to reject unauth destination

2013-03-22 Thread Titanus Eramius
Tue, 19 Feb 2013 16:31:05 + skrev Viktor Dukhovni : > On Tue, Feb 19, 2013 at 12:21:35PM +0100, Titanus Eramius wrote: > > > I've tried with relay_domains, but it matches on domain-level which > > is too much. I then applied relay_recipient_maps, but it don't seem > > to have any effect, whic

Re: Trouble configuring backup MX to reject unauth destination

2013-03-22 Thread Wietse Venema
Titanus Eramius: > Besides aptget.dk this server also hosts cogky.dk (among others), and > while unknown recipients is being correctly rejected with a 550 when > sent to aptget.dk, they are not when sent to the other virtual domains. > Instead they are accepted and then returned by the MAILER_DAEMO

how to masquerade / map the from: field without masquerading the rcpt to:

2013-03-22 Thread Etienne Simard
Hi, I'm doing some tests to hopefully use postfix instead of the other MTA but I tried different ways of masquerading the domain name with another one and I am not successful. The closest I got was using mydomain = example.net masquerade_domains = example.org, example.net smtp_generic_maps = hash

Re: how to masquerade / map the from: field without masquerading the rcpt to:

2013-03-22 Thread Wietse Venema
Etienne Simard: > Hi, > > I'm doing some tests to hopefully use postfix instead of the other MTA > but I tried different ways of masquerading the domain name with > another one and I am not successful. > The closest I got was using > > mydomain = example.net > masquerade_domains = example.org, ex

Re: how to masquerade / map the from: field without masquerading the rcpt to:

2013-03-22 Thread Etienne Simard
Thanks for the quick response. The problem i have with the smtp_generic_maps is that when I put "@exemple.org @exemple.net" in the map it works, but it also changes the RCPT TO addresses. So if I send from esim...@exemple.net to wie...@exemple.org it will now try to send emails to wie...@exemple.

Re: Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Victor d'Agostino
2013/3/22 Noel Jones > On 3/22/2013 11:44 AM, Victor d'Agostino wrote: > > Hi all, > > > > I use postfix as relay server to several internal domains. xxx is > > the main one. > > > > postconfig | grep domain prints : > > > > append_dot_mydomain = no > > mydomain = xxx > > myorigin = $mydomain > >

Re: Trouble configuring backup MX to reject unauth destination

2013-03-22 Thread Titanus Eramius
Fri, 22 Mar 2013 16:55:21 -0400 (EDT) skrev Wietse Venema : > Titanus Eramius: > > Besides aptget.dk this server also hosts cogky.dk (among others), > > and while unknown recipients is being correctly rejected with a 550 > > when sent to aptget.dk, they are not when sent to the other virtual > > d

Re: how to masquerade / map the from: field without masquerading the rcpt to:

2013-03-22 Thread Wietse Venema
Etienne Simard: > Thanks for the quick response. > > The problem i have with the smtp_generic_maps is that when I put > "@exemple.org @exemple.net" > in the map it works, but it also changes the RCPT TO addresses. Use the right tool for the right job. Use smtp_generic_maps on the network boundar

Re: Trouble configuring backup MX to reject unauth destination

2013-03-22 Thread Wietse Venema
Titanus Eramius: > Fri, 22 Mar 2013 16:55:21 -0400 (EDT) skrev Wietse Venema > > Where is cogky.dk defined: mydestination, virtual_alias_domains, > > virtual_mailbox_domains, relay_domains? It must be only one. > > > > This answer determines where the "known" recipients must be listed: > > local_r

Forward internal RHEL6 server local user emails to postfix mailrelay

2013-03-22 Thread Michael Maymann
Hi list, I would like to forward all our internal RHEL6 server localuser emails to our postfix mailrelay. I have tried the following already on the RHEL6 servers: - .forward will not allow e.g. root to forward mail to user1 - relayhost only relay mail for external users Is there a global postfix s

Re: Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Noel Jones
On 3/22/2013 5:58 PM, Victor d'Agostino wrote: > > > 2013/3/22 Noel Jones > > > On 3/22/2013 11:44 AM, Victor d'Agostino wrote: > > Hi all, > > > > I use postfix as relay server to several internal domains. xxx is > > the main one. > > >