Re: How to send to a local user and a foreign address ?

2013-08-22 Thread Denis Fondras
Thank you Jason & Eric, it works ! Denis -- You received this email because you are subscribed to the "misc@opensmtpd.org" list To unsubscribe, send mail with subject: [misc@opensmtpd.org] unregister

Re: How to send to a local user and a foreign address ?

2013-08-21 Thread Eric Faurot
On Wed, Aug 21, 2013 at 08:48:43PM +0200, Denis Fondras wrote: > Hi Eric ! > > > Your problem is that there is no rule that handles u...@domain.net, so > > the whole expansion fails. You might want to add a catch-all relay > > rule. > > > > Ok, I thought "accept from { 127.0.0.0/8 192.168.20.25

Re: How to send to a local user and a foreign address ?

2013-08-21 Thread Denis Fondras
Hi Eric ! > Your problem is that there is no rule that handles u...@domain.net, so > the whole expansion fails. You might want to add a catch-all relay > rule. > Ok, I thought "accept from { 127.0.0.0/8 192.168.20.254/32 ::1/128 2001:7A8:B5AD:20::1000/128 } for any relay" was that catch-all rul

Re: How to send to a local user and a foreign address ?

2013-08-21 Thread Eric Faurot
On Wed, Aug 21, 2013 at 08:08:14PM +0200, Denis Fondras wrote: > Hello all, > > I'm trying to migrate my Postfix setup to OpenSMTPd. > I'm using opensmtpd-latest.tar.gz on OpenBSD 5.3. > > Here is my setup : > > -- /etc/mail/smtpd.conf : > listen on all > > table mydomains { domain.fr, domain.o

How to send to a local user and a foreign address ?

2013-08-21 Thread Denis Fondras
Hello all, I'm trying to migrate my Postfix setup to OpenSMTPd. I'm using opensmtpd-latest.tar.gz on OpenBSD 5.3. Here is my setup : -- /etc/mail/smtpd.conf : listen on all table mydomains { domain.fr, domain.org } table myaddress "/etc/mail/vusers.txt" accept from any for domain virtual del