Re: Mail to root not working anymore with 6.4

2019-01-14 Thread Farid Joubbi
I copied the row with fa...@example.com and modified the new row to be fa...@nuc.example.com in /etc/mail/passwd. Now the e-mails go through without an error. Is this the most correct way to configure in my situation, with a symlink? Why did it stop working going from 6.3 to 6.4? On Sun, Jan 1

Re: Mail to root not working anymore with 6.4

2019-01-14 Thread Farid Joubbi
I don't know where the ^M comes from. I did a "cat -e /etc/mail/smtpd.conf" and for all other files in that directory. Same thing for dovecot config files. All line endings are showing $ which is UNIX. On Mon, Jan 14, 2019, 09:36 Gilles Chehade On Fri, Jan 11, 2019 at 11:27:53PM +0100, Farid Jo

Re: Mail to root not working anymore with 6.4

2019-01-14 Thread Gilles Chehade
On Fri, Jan 11, 2019 at 11:27:53PM +0100, Farid Joubbi wrote: > Hello fellow opensmtpd admins! > Hello, > I have been running smtpd on OpenBSD for several years without problems. > Now after upgrading to release 6.4 I have an issue with local system > e-mails not coming through. > > My hostname

Re: Mail to root not working anymore with 6.4

2019-01-13 Thread ED Fochler
Do you have a macintosh carriage return stuck in your aliases file? ED. > On 2019, Jan 12, at 7:09 PM, Farid Joubbi wrote: > > User doesn't exist: fa...@nuc.example.com\^M") -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: mi

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Thomas Bohl
userdb {   args = uid=vmail gid=vmail home=/var/vmail/%d/%n   driver = static } nuc# I had forgotten that I had my dovecot setup like that. I set it up that way so that I can have e-mail users that are not system users. That is kind of important information. That makes the question whether fa

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Farid Joubbi
$ echo test | sendmail farid Gives the same result. Jan 13 00:36:48 nuc smtpd[74767]: 4fe96d06d9598294 smtp connected address=local host=nuc.example.com Jan 13 00:36:48 nuc smtpd[74767]: 4fe96d06d9598294 smtp message address=local host=nuc.example.com msgid=e2d1316f from=< fa...@nuc.example.com> to

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread edgar
On Sat, Jan 12, 2019 at 12:37:12PM +0100, Farid Joubbi wrote: > Now I'm getting tired. > I just noticed that my find and replace with my domain name was kind of > half ass before I pasted the previous log. > You can see both my real domain name and example.com in the log. > Sorry for the unnecessar

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread edgar
On Sat, Jan 12, 2019 at 12:53:42PM +0100, Farid Joubbi wrote: > That is what I have been looking at. > I need help. > > On Sat, Jan 12, 2019, 12:46 Reio Remma > > User doesn't exist: fa...@nuc.example.com\^M <-- What about looking at > > this? > > > > Reio > > > > On 12.01.2019 13:32, Farid Joub

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Thomas Bohl
Yes The mailbox of farid is on the host nuc.example.com. It all should be straightforward :-) Assuming you have a standard dovecot.conf with userdb { driver = passwd } lmtp needs farid as a username not farid@something. Remove the mail address from your alias for now. At least sever

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Farid Joubbi
That is what I have been looking at. I need help. On Sat, Jan 12, 2019, 12:46 Reio Remma User doesn't exist: fa...@nuc.example.com\^M <-- What about looking at > this? > > Reio > > On 12.01.2019 13:32, Farid Joubbi wrote: > > It doesnt seem to give more information. > > This is with "action lmtp-

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Reio Remma
User doesn't exist: fa...@nuc.example.com \^M <-- What about looking at this? Reio On 12.01.2019 13:32, Farid Joubbi wrote: It doesnt seem to give more information. This is with "action lmtp-local lmtp "/var/dovecot/lmtp" rcpt-to": Jan 12 12:12:29 nuc smtpd[91698

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Farid Joubbi
Now I'm getting tired. I just noticed that my find and replace with my domain name was kind of half ass before I pasted the previous log. You can see both my real domain name and example.com in the log. Sorry for the unnecessary confusion. On Sat, Jan 12, 2019 at 12:32 PM Farid Joubbi wrote: > I

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Farid Joubbi
It doesnt seem to give more information. This is with "action lmtp-local lmtp "/var/dovecot/lmtp" rcpt-to": Jan 12 12:12:29 nuc smtpd[91698]: f4addfe2dfdc0dee smtp connected address=local host=nuc.example.com Jan 12 12:12:29 nuc smtpd[91698]: f4addfe2dfdc0dee smtp message address=local host=nuc.ex

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Farid Joubbi
The user farid has a $HOME on the server. You are right about the aliases. I created it that way so that I have only one place to change if I for some reason would want to change the address of fa...@example.com. The alias file worked fine that way with 6.3 and earlier. Is it not recommended to do

Re: Mail to root not working anymore with 6.4

2019-01-12 Thread Farid Joubbi
Yes The mailbox of farid is on the host nuc.example.com. At least several years ago when I set the server up, I had to have the alias from farid to fa...@example.com. Otherwise the email headers had traces of fa...@nuc.example.com. I could maybe have solved it in another way, but this did the trick

Re: Mail to root not working anymore with 6.4

2019-01-11 Thread edgar
On Fri, Jan 11, 2019 at 11:27:53PM +0100, Farid Joubbi wrote: > Hello fellow opensmtpd admins! > > I have been running smtpd on OpenBSD for several years without problems. > Now after upgrading to release 6.4 I have an issue with local system > e-mails not coming through. > > My hostname is nuc.e

Re: Mail to root not working anymore with 6.4

2019-01-11 Thread edgar
On Sat, Jan 12, 2019 at 12:20:04AM +0100, Farid Joubbi wrote: > Jan 12 00:15:54 nuc smtpd[83365]: 6c4299ad25a4b1e6 mta delivery > evpid=375cdf2cafbebee9 from=<> to= rcpt=< > fa...@nuc.example.com> source="127.0.0.1" relay="127.0.0.1 (localhost)" > delay=1s result="PermFail" stat="524 5.2.4 Mailing

Re: Mail to root not working anymore with 6.4

2019-01-11 Thread Thomas Bohl
I reread you first Mail and I'm not sure any more if I understand what you try to achieve. Is the mailbox of farid on nuc.example.com? If yes, I see no need for a further alias from farid to fa...@example.com (I assume there is a farid user on dovecot's site.) Secondly, why are our from=<>s e

Re: Mail to root not working anymore with 6.4

2019-01-11 Thread Farid Joubbi
Jan 12 00:15:54 nuc smtpd[83365]: 6c4299ad25a4b1e6 mta delivery evpid=375cdf2cafbebee9 from=<> to= rcpt=< fa...@nuc.example.com> source="127.0.0.1" relay="127.0.0.1 (localhost)" delay=1s result="PermFail" stat="524 5.2.4 Mailing list expansion problem" I get that now after changing to this: #acti

Re: Mail to root not working anymore with 6.4

2019-01-11 Thread Thomas Bohl
Hello, action lmtp-local lmtp "/var/dovecot/lmtp" rcpt-to #action lmtp-local lmtp "/var/dovecot/lmtp" rcpt-to alias Looks like you commented the wrong line out. -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmt

Mail to root not working anymore with 6.4

2019-01-11 Thread Farid Joubbi
Hello fellow opensmtpd admins! I have been running smtpd on OpenBSD for several years without problems. Now after upgrading to release 6.4 I have an issue with local system e-mails not coming through. My hostname is nuc.example.com. My normal e-mail address is fa...@example.com. All system genera