Re: My aliases don't work

2016-11-14 Thread Mik J
Hello Edgar,Your suggestion works perfectly fine but I don't understand the syntax accept from local for any alias deliver to mbox accept for any relay via smtp://192.168.1.1 For the record, on an openbsd machine I wanted the daily reports to be sent to an external account on an external mail se

Re: My aliases don't work

2016-09-06 Thread Swa Frantzen
One can refine that to only do local delivery for a specified list of addresses in order to avoid risking in the long term to have local delivery to mailboxes that are never going to be read. This is what I have (simplified a little bit to not have multiple interfaces etc.) # more /etc/mail/m

Re: My aliases don't work

2016-09-06 Thread Edgar Pettijohn
On 16-09-06 23:18:28, Mik J wrote: If I'm reading correctly sounds like you are just trying to get your /etc/daily reports etc. This is what I have on my laptop and it works fine. See notes inline. > Hello Edgar, > > Sorry > > This is a very simple question but yet > didn't find the answer.

Re: My aliases don't work

2016-09-06 Thread Swa Frantzen
Unfortunately, one can only do aliases for local delivery (“deliver” needs to be in there, not relay if you have alias on that line) AFAIK there’s no accepted syntax that allows to even specify it in the configuration. [I’d love to be proven wrong, as I need it as well] So, you have 2 paths as

Re: My aliases don't work

2016-09-06 Thread Mik J
Hello Edgar, Sorry This is a very simple question but yet didn't find the answer.I have a machine m1 which is a webserver. On openbsd there are daily reports and I want them to be sent to an external address. # grep ^root /etc/mail/aliasesroot: myexternaladdr...@mydomain.org After modifyin

Re: My aliases don't work

2016-09-06 Thread Edgar Pettijohn
On 16-09-06 21:53:14, Mik J wrote: > Hello, > This is a very simple question but yet didn't find the answer.I have a > machine m1 which is a webserver. On openbsd there are daily reports and I > want them to be sent to an external address. > # grep ^root /etc/mail/aliasesroot: myexternaladdress@m

My aliases don't work

2016-09-06 Thread Mik J
Hello, This is a very simple question but yet didn't find the answer.I have a machine m1 which is a webserver. On openbsd there are daily reports and I want them to be sent to an external address. # grep ^root /etc/mail/aliasesroot: myexternaladdress@mydomain.orgAfter modifying the aliases files