Re: [External] Re: Forwarding mail

2021-05-05 Thread Viktor Dukhovni
On Wed, May 05, 2021 at 05:49:52PM +, Cindy Yoho wrote: > I did try doing it in the alias file and it didn’t work. Now that I > recall, though, we had to change a firewall rule to allow it through > with the virtual setup so that was probably the issue when I tried > alias. I will try that a

Re: [External] Re: Forwarding mail

2021-05-05 Thread Cindy Yoho
I did try doing it in the alias file and it didn’t work. Now that I recall, though, we had to change a firewall rule to allow it through with the virtual setup so that was probably the issue when I tried alias. I will try that again. When I left $myorigin = $myhostname, the outgoing mail wa

Re: Forwarding mail

2021-05-05 Thread Viktor Dukhovni
On Wed, May 05, 2021 at 04:36:53PM +, Cindy Yoho wrote: > I have little experience with mail and less with postfix. I have > several CentOS 7/Oracle Linux 8 servers where I have been forwarding > the local mail to user's Exchange email addresses by simply setting up > an alias in the /etc/ali

Forwarding mail

2021-05-05 Thread Cindy Yoho
I have little experience with mail and less with postfix. I have several CentOS 7/Oracle Linux 8 servers where I have been forwarding the local mail to user's Exchange email addresses by simply setting up an alias in the /etc/aliases file. root: cy...@umpublishing.org

Re: Forwarding mail without breaking SPF?

2019-11-27 Thread Scott Kitterman
On Wednesday, November 27, 2019 2:03:40 PM EST Ralph Seichter wrote: > * Matus UHLAR: > > Once again, SPF does not apply to mail headers. > > Matus, I feel your frustration. > > I mentioned RFC 7208 before in this thread. If only people would read > section 2.2 (https://tools.ietf.org/html/rfc720

Re: Forwarding mail without breaking SPF?

2019-11-27 Thread Ralph Seichter
* Matus UHLAR: > Once again, SPF does not apply to mail headers. Matus, I feel your frustration. I mentioned RFC 7208 before in this thread. If only people would read section 2.2 (https://tools.ietf.org/html/rfc7208#section-2.2) ff., to understand how SPF authorization works and where in the STM

Re: Forwarding mail without breaking SPF?

2019-11-27 Thread Matus UHLAR - fantomas
Den 26-11-2019 kl. 17:59 skrev Marek Kozlowski: OK. I do not insist on postsrsd. I'd really appreciate any suggestion: what can I use instaed of it - what do you recommend? On 11/26/19 2:07 PM, Benny Pedersen wrote: no one uses spf anymore incorrect. since it breaks mailling lists very ba

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Wesley Peng
Hello on 2019/11/27 12:20, Richard Damon wrote: DMARC/SPF, which only validates to the From: header will break. If the sender domain set up SPF to: v=spf1 ip4:0.0.0.0/0 ~all Will this pass through any SPF check? regards.

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Richard Damon
On 11/26/19 2:07 PM, Benny Pedersen wrote: > Den 26-11-2019 kl. 17:59 skrev Marek Kozlowski: > >> OK. I do not insist on postsrsd. I'd really appreciate any >> suggestion: what can I use instaed of it - what do you recommend? > > no one uses spf anymore since it breaks mailling lists very badly ?,

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Marek Kozlowski
:-) sender_canonical_maps = unionmap:{ldap:/etc/postfix/ldap-canonical.cf, ldap:/etc/postfix/ldap-canonical2.cf, tcp:127.0.0.1:10001} By design, unionmap can produce multiple results separated by comma. That would be wrong. > Why not: sender_canonical_maps = ldap:/etc/postfix/ldap-canonical.c

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Wietse Venema
Marek Kozlowski: > :-) > > >> Some users forward their incoming mail to some external mail servers. > >> Unfortunately AFAIK with no action taken it may result in breaking the > >> SPF. The solution for this problem I know is rewriting addresses with > >> SRS (postsrsd). Unfortunately postsrsd use

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Marek Kozlowski
:-) Some users forward their incoming mail to some external mail servers. Unfortunately AFAIK with no action taken it may result in breaking the SPF. The solution for this problem I know is rewriting addresses with SRS (postsrsd). Unfortunately postsrsd uses the same settings as canonicals do wh

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Wietse Venema
Marek Kozlowski: > :-) > > Some users forward their incoming mail to some external mail servers. > Unfortunately AFAIK with no action taken it may result in breaking the > SPF. The solution for this problem I know is rewriting addresses with > SRS (postsrsd). Unfortunately postsrsd uses the sam

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Benny Pedersen
Den 26-11-2019 kl. 17:59 skrev Marek Kozlowski: OK. I do not insist on postsrsd. I'd really appreciate any suggestion: what can I use instaed of it - what do you recommend? no one uses spf anymore since it breaks mailling lists very badly ?, postfix maillist have not even spf helo pass :) s

Forwarding mail without breaking SPF?

2019-11-26 Thread Marek Kozlowski
:-) Some users forward their incoming mail to some external mail servers. Unfortunately AFAIK with no action taken it may result in breaking the SPF. The solution for this problem I know is rewriting addresses with SRS (postsrsd). Unfortunately postsrsd uses the same settings as canonicals do

Re: Forwarding mail through a gateway

2019-08-06 Thread Dominic Raferd
1756936qtn.363 - gsmtp (in reply to end of DATA command) > > > > The postfix-turtle transport is used for hosts that require or have > > requested mail to be delivered more slowly to prevent being > > blacklisted (like gmail,com and domains managed by Google). When the > >

Re: Forwarding mail through a gateway

2019-08-06 Thread John Dale
of the recipients forwarding mail off the system to their gmail accounts without being blacklisted. These two examples above are mail that originated on this server, destined for gmail.com <http://gmail.com> recipients. Is the fix to these problems to create an SPF record for this host? We h

Forwarding mail through a gateway

2019-08-06 Thread John Regan
or a majority of the few thousand recipients at a time, we needed a way to throttle the delivery with so many of the recipients forwarding mail off the system to their gmail accounts without being blacklisted. These two examples above are mail that originated on this server, destined for gmail.com recip

Re: forwarding mail like before queue filtering to remote mta

2018-11-28 Thread Viktor Dukhovni
> On Nov 28, 2018, at 11:43 PM, Stefan Bauer wrote: > > The use case is only for mx service so there will be only incoming mail for > same domain in same smtp session. > > I assume that remote mail servers will not combine mail delivery in same smtp > session when destination domains differ (e

Re: forwarding mail like before queue filtering to remote mta

2018-11-28 Thread Stefan Bauer
The use case is only for mx service so there will be only incoming mail for same domain in same smtp session. I assume that remote mail servers will not combine mail delivery in same smtp session when destination domains differ (even though they have same mx) Stefan Am Mittwoch, 28. November 201

Re: forwarding mail like before queue filtering to remote mta

2018-11-28 Thread Viktor Dukhovni
On Wed, Nov 28, 2018 at 09:56:19PM +0100, Stefan Bauer wrote: > Is there a way to keep an smtp session open and do before queue filtering > AND final delivery to remote mta? do only sent 250 if we have already > received 250. if not send temp error. Only if there is a fixed remote MTA (smarthost)

Re: forwarding mail like before queue filtering to remote mta

2018-11-28 Thread Wietse Venema
Stefan Bauer: > Hi, > > is there a way to keep an smtp session open and do before queue filtering > AND final delivery to remote mta? do only sent 250 if we have already > received 250. if not send temp error. How would that work when one message has more than one recipient? In different domains?

forwarding mail like before queue filtering to remote mta

2018-11-28 Thread Stefan Bauer
Hi, is there a way to keep an smtp session open and do before queue filtering AND final delivery to remote mta? do only sent 250 if we have already received 250. if not send temp error. we would like to only accept mails if we can deliver them at the same time. a local queue is not wanted due to

Re: Expanding aliases before forwarding mail to milter

2016-11-24 Thread Niklaas Baudet von Gersdorff
Thomas Leuxner [2016-11-24 15:56 +0100] : > * Niklaas Baudet von Gersdorff 2016.11.24 12:28: > > > I appreciate any ideas or hints. > > You should be able to workaround this with a restriction class. > Although the example is not LDAP specific it should provide > general direction: Thomas, tha

Re: Expanding aliases before forwarding mail to milter

2016-11-24 Thread Thomas Leuxner
* Niklaas Baudet von Gersdorff 2016.11.24 12:28: > I appreciate any ideas or hints. You should be able to workaround this with a restriction class. Although the example is not LDAP specific it should provide general direction: # We will query for quotas on real mailboxes only via smtpd_recipi

Expanding aliases before forwarding mail to milter

2016-11-24 Thread Niklaas Baudet von Gersdorff
I use aliases extensively, for administrative accounts (such as abuse@, postmaster@, or webmaster@) or for expanding givenname.surname@ to givenname@. I do so with ldap and, most importantly, regexp databases because the latter enables me to limit entering similar information multiple times. For m

Re: Forwarding mail - SPF SRS

2015-08-27 Thread Mick
Thanks for your reply Benny. On 27/08/2015 20:19, Benny Pedersen wrote: Mick skrev den 2015-08-27 15:02: I will be pleased to read of any alternatives, if there are any. drop sender-id, drop srs Dropping sender-id? Do you mean leave MAIL FROM: <> blank or have I got the wrong end of the

Re: Forwarding mail - SPF SRS

2015-08-27 Thread Benny Pedersen
Mick skrev den 2015-08-27 15:02: I will be pleased to read of any alternatives, if there are any. drop sender-id, drop srs use spf, sign with dkim monitor dmarc https://dmarcian.com/ i can only say good things about this domain, it have helped me on track with it all, even for domains that

Re: Forwarding mail - SPF SRS

2015-08-27 Thread Mick
On 27/08/2015 14:26, Wietse Venema wrote: Viktor Dukhovni: On Thu, Aug 27, 2015 at 02:02:36PM +0100, Mick wrote: Does anyone know if there's a table based way to get cleanup(8) to rewrite on matching the local alias? canonical(5)?? No. Secure SRS rewriting that does not turn your machine i

Re: Forwarding mail - SPF SRS

2015-08-27 Thread Mick
On 27/08/2015 14:07, Viktor Dukhovni wrote: On Thu, Aug 27, 2015 at 02:02:36PM +0100, Mick wrote: At least one of those schemes re-writes the envelope for every received message which seems overkill to me. That's what needs to be done. Okay. I'm surprised though. Does anyone know if th

Re: Forwarding mail - SPF SRS

2015-08-27 Thread Wietse Venema
Viktor Dukhovni: > On Thu, Aug 27, 2015 at 02:02:36PM +0100, Mick wrote: > > > I have > > read that implementing a Sender Rewriting Scheme may solve this problem, > > and viewed a couple tutorials showing 'pfixtools' and 'postsrsd'. At least > > one of those schemes re-writes the envelope for ever

Re: Forwarding mail - SPF SRS

2015-08-27 Thread Viktor Dukhovni
On Thu, Aug 27, 2015 at 02:02:36PM +0100, Mick wrote: > I have > read that implementing a Sender Rewriting Scheme may solve this problem, > and viewed a couple tutorials showing 'pfixtools' and 'postsrsd'. At least > one of those schemes re-writes the envelope for every received message which > se

Forwarding mail - SPF SRS

2015-08-27 Thread Mick
Hi, I have mail forwarders used for SPAM mitigation where the addresses appear on a public web page. With many ISPs using SPF, I'm concerned that it won't be too long before these forwarded messages start to be discarded. I have read that implementing a Sender Rewriting Scheme may solve thi

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-19 Thread Viktor Dukhovni
On Mon, May 18, 2015 at 03:44:23PM +0200, aleph de wrote: > cat ./master.cf [sic, really main.cf] > ... > - transport_maps = lmdb:/etc/postfix/transport > + #transport_maps = lmdb:/etc/postfix/transport > ... > > cat ./main.c

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-19 Thread Michael Ströder
aleph2...@gmx.com wrote: > Hehe. Yeah, *I'M* the problem. Hint: take a read through some of your > posting history here. Look for patterns. Oops, I mean PATTERNS. The pattern is that some people are able to read the very extensive postfix docs, get their even complex setups running, and never

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread aleph2222
> I posted a reply with a CLEAR EXAMPLE Well, since you PUT IT IN ALL CAPS that *must* it was clear. > that has the transport_maps > setting in MAIN.cf. But you knew better, and chose to put it in > MASTER.cf instead. You have demonstrated that you cannot implement > even a simple one-line confi

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread Wietse Venema
aleph de: > > > relayTEST ... smtp > > > -o transport_maps=static:relayTEST:[10.2.0.17]:10015 ... > > I do not understand why you insist on putting this in master.cf. > > If you had put this in main.cf it would already have worked. > > And I don't understand what's so hard about providing a cl

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread aleph de
> Sent: Monday, May 18, 2015 at 6:45 PM > From: "Wietse Venema" > To: "Postfix users" > Subject: Re: using a simpler form than transport_maps for forwarding mail -- > what and where in main.cf does it go? > > aleph de: > > > > > (3) rel

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread Wietse Venema
aleph de: > > > > (3) relayTEST ... smtp > > > > > (3) is what delivers mail from my VPS to my office. > > > > This is the only program of the three that delivers mail. > > Since I still don't have an example of what DOES work in this > instance, again this > > relayTEST ... smtp > -o trans

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread aleph de
> > > (3) relayTEST ... smtp > > > (3) is what delivers mail from my VPS to my office. > > This is the only program of the three that delivers mail. Since I still don't have an example of what DOES work in this instance, again this relayTEST ... smtp -o transport_maps=static:relayTEST:[10

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread Wietse Venema
Wietse Venema: > aleph de: > > "Therefore you need to specify a master.cf service that delivers (not: > > receives) mail." > > > > But I guess that's the point of my question. > > > > I have 3 services: > > > > (1) smtp ... postscreen > > (2) smdpd ... smtpd > > (3) relayTEST ... smtp > > >

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread Wietse Venema
aleph de: > "Therefore you need to specify a master.cf service that delivers (not: > receives) mail." > > But I guess that's the point of my question. > > I have 3 services: > > (1) smtp ... postscreen > (2) smdpd ... smtpd > (3) relayTEST ... smtp > > (1) receives mail AND delivers it to t

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread aleph de
> > What I'd actually intended to ask though is, if I wanted to add the > > > > -o transport_maps=static:relay:[10.2.0.17]:10015 > > > > to MASTER.cf, which of the three services' sections would I add this under, > > > > smtp inet n - n - 1 postscreen

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread Wietse Venema
aleph de: > > /etc/postfix/main.cf: > > transport_maps = static:relay:[10.2.0.17]:10015 > > Okay. I thought the _maps would imply an external file. I clearly > misunderstood that, and learned about the 'static:' too. Thanks. > > What I'd actually intended to ask though is, if I wanted to

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread aleph de
> /etc/postfix/main.cf: > transport_maps = static:relay:[10.2.0.17]:10015 Okay. I thought the _maps would imply an external file. I clearly misunderstood that, and learned about the 'static:' too. Thanks. What I'd actually intended to ask though is, if I wanted to add the -o transport

Re: using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread Wietse Venema
aleph de: > Since I will always and only relay to a single server, [10.2.0.17]:10015, > for all domains, per-domain ./transport seems unncessary. ... > local_transport = error:5.1.1 no local delivery > relay_domains = MYDOMAIN1.com MYDOMAIN2.com /etc/postfix/main.cf:

using a simpler form than transport_maps for forwarding mail -- what and where in main.cf does it go?

2015-05-18 Thread aleph de
I'm working on a 'front-end' Postfix server to receive and relay mail, forwarding it only to one, specific 'back-end' Postfix server. It works using the following simple configurations cat ./master.cf ... local_transport = error:5.1.1 no local delivery

Re: Postfix forwarding mail that should be handled locally

2014-10-10 Thread Viktor Dukhovni
On Fri, Oct 10, 2014 at 12:46:47PM -0400, Cary Lewis wrote: > I figured it out. There are default aliases for support and sales. > > It's too bad the logs don't show what the alias engine is doing. They did, the local delivery agent reported forwarding the message and the new queue-id. Forwar

Re: Postfix forwarding mail that should be handled locally

2014-10-10 Thread Cary Lewis
I figured it out. There are default aliases for support and sales. It's too bad the logs don't show what the alias engine is doing. > On Oct 10, 2014, at 11:36 AM, Viktor Dukhovni > wrote: > >> On Fri, Oct 10, 2014 at 09:22:36AM -0400, Cary Lewis wrote: >> >> alias_database = hash:/etc/ali

Re: Postfix forwarding mail that should be handled locally

2014-10-10 Thread Viktor Dukhovni
On Fri, Oct 10, 2014 at 09:22:36AM -0400, Cary Lewis wrote: > alias_database = hash:/etc/aliases > mydomain = roadpost.org > mydestination = roadpost.org, localhost, $mydomain, mail.roadpost.org, > www.$mydomain, ftp.$mydomain > myorigin = roadpost.com > > Here are some fragments from the maillo

Postfix forwarding mail that should be handled locally

2014-10-10 Thread Cary Lewis
I have set up postfix to receive email from one of my domain, roadpost.org I have set up two mailboxes - supp...@roadpost.org and suppo...@roadpost.org When I send email to the support2 account, postfix delivers the mail to a local mailbox as is expected. When I send email to the support account

Re: Forwarding mail to hotmail.com

2014-10-03 Thread Dave Jones
I filter mail for a lot of mailboxes where I normally see 20+ messages from account-security-nore...@account.microsoft.com per day. The last one I see is on 10/1/14 at 13:25 GMT-5 (Central US). On Thu, Oct 2, 2014 at 11:01 AM, Viktor Dukhovni wrote: > [ Bcc to someone at Microsoft who may be abl

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Viktor Dukhovni
[ Bcc to someone at Microsoft who may be able to fix this. ] On Thu, Oct 02, 2014 at 10:52:52AM -0500, Blake Hudson wrote: > FYI, Microsoft took records for account.microsoft.com out of DNS yesterday. > I attempted to reach someone at Microsoft that was clueful or helpful, but > had no success at

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Blake Hudson
li...@rhsoft.net wrote on 10/2/2014 9:16 AM: Am 02.10.2014 um 16:10 schrieb Daniele Nicolodi: I have a system with a few local users where some of them are configured for forwarding all incoming messages to external addresses via the use of .forward. One of those users forwards mail to an hotm

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Viktor Dukhovni
On Thu, Oct 02, 2014 at 04:59:45PM +0200, Daniele Nicolodi wrote: > Sending a message directly to the user account does not result in a > delivery attempt from account.microsoft.com, therefore I believe there > is not an auto-responder in action on the user account. In that case something more co

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Daniele Nicolodi
On 02/10/14 16:49, Viktor Dukhovni wrote: > On Thu, Oct 02, 2014 at 04:10:04PM +0200, Daniele Nicolodi wrote: > >>> Oct 2 13:50:59 zed postfix/smtpd[1063]: NOQUEUE: reject: RCPT from >>> bay004-omc1s27.hotmail.com[65.54.190.38]: 450 4.1.8 >>> : Sender address rejected: >>> Domain not found; fr

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Daniele Nicolodi
On 02/10/14 16:43, li...@rhsoft.net wrote: > Am 02.10.2014 um 16:27 schrieb Daniele Nicolodi: >> The connection to the delivery attempt from accounts.microsoft.com to >> grinta.net is correlated to the forwarding only by its timing > > what makes you sure that your outgoing mail and the incoming c

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Viktor Dukhovni
On Thu, Oct 02, 2014 at 04:43:13PM +0200, li...@rhsoft.net wrote: > what makes you sure that your outgoing mail and the incoming connection > are related? for that evidence it needs to happen almost every time There is little reason for *you* to be so sure they aren't. Please back off. Thanks.

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Viktor Dukhovni
On Thu, Oct 02, 2014 at 04:10:04PM +0200, Daniele Nicolodi wrote: > > Oct 2 13:50:59 zed postfix/smtpd[1063]: NOQUEUE: reject: RCPT from > > bay004-omc1s27.hotmail.com[65.54.190.38]: 450 4.1.8 > > : Sender address rejected: > > Domain not found; from= > > to= proto=ESMTP helo= > > Oct 2 13:5

Re: Forwarding mail to hotmail.com

2014-10-02 Thread li...@rhsoft.net
Am 02.10.2014 um 16:27 schrieb Daniele Nicolodi: > On 02/10/14 16:22, li...@rhsoft.net wrote: >> Am 02.10.2014 um 16:16 schrieb li...@rhsoft.net: >>> Am 02.10.2014 um 16:10 schrieb Daniele Nicolodi: I have a system with a few local users where some of them are configured for forwarding a

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Daniele Nicolodi
On 02/10/14 16:22, li...@rhsoft.net wrote: > > Am 02.10.2014 um 16:16 schrieb li...@rhsoft.net: >> Am 02.10.2014 um 16:10 schrieb Daniele Nicolodi: >>> I have a system with a few local users where some of them are configured >>> for forwarding all incoming messages to external addresses via the us

Re: Forwarding mail to hotmail.com

2014-10-02 Thread Daniele Nicolodi
On 02/10/14 16:16, li...@rhsoft.net wrote: > > Am 02.10.2014 um 16:10 schrieb Daniele Nicolodi: >> I have a system with a few local users where some of them are configured >> for forwarding all incoming messages to external addresses via the use >> of .forward. >> >> One of those users forwards ma

Re: Forwarding mail to hotmail.com

2014-10-02 Thread li...@rhsoft.net
Am 02.10.2014 um 16:16 schrieb li...@rhsoft.net: > Am 02.10.2014 um 16:10 schrieb Daniele Nicolodi: >> I have a system with a few local users where some of them are configured >> for forwarding all incoming messages to external addresses via the use >> of .forward. >> >> One of those users forward

Re: Forwarding mail to hotmail.com

2014-10-02 Thread li...@rhsoft.net
Am 02.10.2014 um 16:10 schrieb Daniele Nicolodi: > I have a system with a few local users where some of them are configured > for forwarding all incoming messages to external addresses via the use > of .forward. > > One of those users forwards mail to an hotmail.com address. > > When mail is del

Forwarding mail to hotmail.com

2014-10-02 Thread Daniele Nicolodi
Hello, I have a system with a few local users where some of them are configured for forwarding all incoming messages to external addresses via the use of .forward. One of those users forwards mail to an hotmail.com address. When mail is delivered to this address this is what happens: > Oct 2 1

Re: problems with forwarding mail / throttling mail from mynetworks

2013-10-30 Thread Wietse Venema
Erik Gr?tnes: > If I understand correct, I need to let all servers that should be > able to send mail out be part of mynetworks. Is that correct? The > problem is that when the servers are part of mynetworks, all the > throttling and antispam check stops - it is just trusted... > > I would like to

Re: problems with forwarding mail / throttling mail from mynetworks

2013-10-30 Thread Erik Grøtnes
Hi. I work together with Rune, and will try to describe what we want to achieve: We want the throttling and spamhaus lookup to be forced for all email except a few servers. Our environment consists of several mailservers. We have a postfix server that is used for relaying email and doing an initi

Re: problems with forwarding mail / throttling mail from mynetworks

2013-10-30 Thread Noel Jones
On 10/30/2013 3:11 AM, Rune Elvemo wrote: > Hi. > > We are implementing postfix as “front mail servers”. Their job will > be to relay email to our inside servers, and be the “smart host” for > all internal servers. > > I thought that as long a domain was registered as a relay-domain, > postfix wo

problems with forwarding mail / throttling mail from mynetworks

2013-10-30 Thread Rune Elvemo
Hi. We are implementing postfix as “front mail servers”. Their job will be to relay email to our inside servers, and be the “smart host” for all internal servers. I thought that as long a domain was registered as a relay-domain, postfix would send emails both ways for this domain. But I disc

Re: Forwarding Mail to Local Account AND External Address with LDAP ...

2010-10-22 Thread Christopher Koeber
Just a note that the below idea works! Here is tutorial config for setting up both local delivery AND remote forwarding. I guess this is really easy: Put the text below (with your modifications) in a file, preferably in the same directory where other Postfix configuration files are. -

Forwarding Mail to Local Account AND External Address with LDAP ...

2010-10-20 Thread Christopher Koeber
Hello, My guess is that this is an easy question but I am not sure. I would like for the client to have the ability to forward email BUT I also need to keep a copy of that message. So, I have the following template that I believe can work for an alias file for an LDAP setup: server_host = [LDAP

Re: Forwarding mail to other email addresses

2009-12-18 Thread T D
2009/12/17 /dev/rob0 : > On Thu, Dec 17, 2009 at 09:51:13AM +, T D wrote: >> But then the users complained that the mail wasn't being delivered to >> their IMAP mailbox, and it was being forwarded to the blackberry / >> vodafone address around ten times! > > Content filtering without proper re

Re: Forwarding mail to other email addresses

2009-12-17 Thread /dev/rob0
On Thu, Dec 17, 2009 at 09:51:13AM +, T D wrote: > My basic problem is that I can't work out how to forward email to more > than one recipient. For example, let's say I want o...@example.com to > 1) be delivered to its Cyrus mailbox as normal and 2) to be forwarded > to b...@blackberry.net and

Re: Forwarding mail to other email addresses

2009-12-17 Thread Eray Aslan
On 17.12.2009 11:51, T D wrote: > My basic problem is that I can't work out how to forward email to more > than one recipient. For example, let's say I want o...@example.com to > 1) be delivered to its Cyrus mailbox as normal and 2) to be forwarded > to b...@blackberry.net and j...@vodafone.net.

Forwarding mail to other email addresses

2009-12-17 Thread T D
Hi, I've been asked to take over maintenance of a Postfix / Cyrus / LDAP setup, and my background is in Courier / Exim. I've read as many docs as I felt I could take in, but I'm still finding the learning curve a little steep. My basic problem is that I can't work out how to forward email to mor

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-31 Thread Maróy Ákos
Brian, Do not set relayhost on the edge machine. unsetting relayhost makes everything work. thank you! Akos

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Magnus Bäck
On Thursday, July 30, 2009 at 17:32 CEST, Maróy �kos wrote: > > IMO, you should follow Magnus' post and use relay_domains and > > relay_recipient_maps if you are moving complete virtual mailbox > > domains at one time. > > I see. but can you be more specific, maybe with an example on what

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Brian Evans - Postfix List
Maróy Ákos wrote: > Brian, > >> This is very wrong.. see my previous posts. > > now I've set: > > relay_domains = $mydestination, example.com > relay_transport = smtp:[newserver.foo.bar] > relayhost = [newserver.foo.bar] > > > and it forwards mail destined for example.com fine - but not my mail > s

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Maróy Ákos
Brian, This is very wrong.. see my previous posts. now I've set: relay_domains = $mydestination, example.com relay_transport = smtp:[newserver.foo.bar] relayhost = [newserver.foo.bar] and it forwards mail destined for example.com fine - but not my mail server does not work as an outgoing m

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Maróy Ákos
Brian, IMO, you should follow Magnus' post and use relay_domains and relay_recipient_maps if you are moving complete virtual mailbox domains at one time. I see. but can you be more specific, maybe with an example on what and how to set? Akos

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Brian Evans - Postfix List
Maróy Ákos wrote: > Luciano, > >> If you remove it from virtual domain table you'll have to add it to >> mydestination (mydestination = whatever_it_as, example.com) > > oh, it worked this way. > > thank you all for the help! > > > Akos > This is very wrong.. see my previous posts.

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Maróy Ákos
Luciano, If you remove it from virtual domain table you'll have to add it to mydestination (mydestination = whatever_it_as, example.com) oh, it worked this way. thank you all for the help! Akos

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Brian Evans - Postfix List
Maróy Ákos wrote: >> >> I might have forgotten something, but I think that's it. Just remember >> to `postmap` the /etc/postfix/transport file and add it to your >> transport maps. >> http://www.postfix.org/postconf.5.html#transport_maps > and then what else do I have to set? > > thanks. but now I'

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Barney Desmond
2009/7/31 Maróy Ákos : >> I'm pretty sure you leave it in, Postfix has to know it's meant to >> handle the domain, which means either being "local", "relay" or >> "virtual" (two types). >> http://www.postfix.org/ADDRESS_CLASS_README.html > > ok, so I have my example.com in my vdomains file, and I h

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Maróy Ákos
Dear Barney, The right-hand side of the transport file should have square brackets around the hostname. By default, Postfix would attempt to lookup the MX for newmachine.example.com, which isn't what you want. Square brackets suppress the MX lookup, and use the direct host lookup instead. ie.:

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Luciano Mannucci
On Thu, 30 Jul 2009 13:25:18 +0200 Maróy Ákos wrote: > > thanks for the info. so, I create a /etc/postfix/transport file, with > say the following line: > > example.comsmtp:newmachine.example.com:25 You do not need the :25 if the transport is smtp (though it shouldn't harm) > and remove

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Barney Desmond
2009/7/30 Maróy Ákos : > thanks for the info. so, I create a /etc/postfix/transport file, with say > the following line: > > example.com    smtp:newmachine.example.com:25 The right-hand side of the transport file should have square brackets around the hostname. By default, Postfix would attempt to

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Maróy Ákos
Luciano, Use transport. You can do it for each domain, or even for each user if you care about beeing able to reject mail for non-existent users at the SMTP port. I did both and I found it straightforward... :-) thanks for the info. so, I create a /etc/postfix/transport file, with say the fol

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Luciano Mannucci
On Thu, 30 Jul 2009 10:35:21 +0200 Maróy Ákos wrote: > I'm planning to migrate the virtual domains one by one - and I will also > have to face the fact that the update of the MX record for the domain > will take some time. Thus, for some time, mail will arrive an both the > old and new locatio

Re: forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Magnus Bäck
On Thursday, July 30, 2009 at 10:35 CEST, Maróy �kos wrote: > I wonder if this can be achieved easily. I'm migrating from one server > to another, which includes migrating the postfix mailserver as well. > I'm hosting a number of virtual domains on the mail server. Naturally > I want to ma

forwarding mail for a complete virtual domain to another mailserver?

2009-07-30 Thread Maróy Ákos
Hi, I wonder if this can be achieved easily. I'm migrating from one server to another, which includes migrating the postfix mailserver as well. I'm hosting a number of virtual domains on the mail server. Naturally I want to make the transition as smooth as possible. I'm planning to migrate t

Re: Removing recipient_delimiter when forwarding mail: propagate_unmatched_extensions vs. smtp_generic_maps

2009-04-12 Thread Daniel Hahler
On Thu, Apr 9, 2009 at 11:21 PM, Victor Duchovni wrote: > On Thu, Apr 09, 2009 at 11:09:17PM +0200, Daniel Hahler wrote: > >> > propagate_unmatched_extensions = canonical, virtual I was referring to "propagate_unmatched_extensions = canonical" here. >> But that would also include the whole of vi

Re: Removing recipient_delimiter when forwarding mail: propagate_unmatched_extensions vs. smtp_generic_maps

2009-04-09 Thread Victor Duchovni
On Thu, Apr 09, 2009 at 11:09:17PM +0200, Daniel Hahler wrote: > > propagate_unmatched_extensions = canonical, virtual > > But that would also include the whole of virtual delivery, no? (e.g. > to virtual_domains etc Yes, of course. When some downstream domains can't handle recipient extensions,

Re: Removing recipient_delimiter when forwarding mail: propagate_unmatched_extensions vs. smtp_generic_maps

2009-04-09 Thread Daniel Hahler
On Thu, Apr 9, 2009 at 6:57 AM, Victor Duchovni wrote: >> Either allow and support delimited addresses, or don't.  Accepting them and >> then discarding them is... well, not right. > > No, sometimes one wants to do exactly that. The extension remains > in message headers, even if lost from the env

Re: Removing recipient_delimiter when forwarding mail: propagate_unmatched_extensions vs. smtp_generic_maps

2009-04-08 Thread Victor Duchovni
On Wed, Apr 08, 2009 at 02:41:35PM -0600, LuKreme wrote: >> This causes problems with e.g. GMX, which then bounces the mail, since >> they consider "+foo" to be part of the username (and that does not exist). > > Then GMX is broken or misconfigured or just doesn't want to accept > delimited user

Re: Removing recipient_delimiter when forwarding mail: propagate_unmatched_extensions vs. smtp_generic_maps

2009-04-08 Thread LuKreme
On 8-Apr-2009, at 11:59, Daniel Hahler wrote: when user+...@example.com gets forwarded to an external address through virtual_alias_maps, the local part "+foo" is being kept. +foo is not 'the local part', 'user+foo' is the local user, and + is a recipient delimiter. If you are passing the e

Removing recipient_delimiter when forwarding mail: propagate_unmatched_extensions vs. smtp_generic_maps

2009-04-08 Thread Daniel Hahler
Hi, when user+...@example.com gets forwarded to an external address through virtual_alias_maps, the local part "+foo" is being kept. This causes problems with e.g. GMX, which then bounces the mail, since they consider "+foo" to be part of the username (and that does not exist). Now I'm wondering

Re: forwarding mail to another MX on same domain

2008-11-25 Thread mouss
Ville Walveranta a écrit : > On Sun, Nov 23, 2008 at 3:35 AM, mouss <[EMAIL PROTECTED]> wrote: >> As Henrik says, you can break them with /x. > > Got it to work after realizing a blank space is needed in front of the > continuation lines... > >> Note that in this example, pcre is too much. a hash

Re: forwarding mail to another MX on same domain

2008-11-25 Thread Ville Walveranta
On Sun, Nov 23, 2008 at 3:35 AM, mouss <[EMAIL PROTECTED]> wrote: > As Henrik says, you can break them with /x. Got it to work after realizing a blank space is needed in front of the continuation lines... > Note that in this example, pcre is too much. a hash (or cdb) will do fine: > > virtualdoma

Re: forwarding mail to another MX on same domain

2008-11-23 Thread mouss
Ville Walveranta a écrit : > Couple of messages earlier in this thread I posted the following pcre > smtpd_recipient_access table: > > # reject domains that are served by Katharion > # on the generic smtpd interface > /(@virtualdomain1\.com| > @virtualdomain2\.com| > @virtualdomain3\.com| > @vi

  1   2   >