Re: 550 invalid recipient issue

2019-03-19 Thread Gabriele Tofano
On Mar 19, 2019, at 8:58 AM, Gabriele Tofano wrote: > > On Mar 19, 2019, at 12:16 AM, Thomas Bohl > wrote: >> Which leads to the question: Does user1 exist? >>> But I do not understand why osmtpd is looking at the /etc/passwd file when >>> I have always used my table files

Re: 550 invalid recipient issue

2019-03-19 Thread Thomas Bohl
Can you maybe post your virtuals? Here my /usr/local/etc/mail/virtuals: ab...@domain.comus...@domain.com postmas...@domain.com us...@domain.com webmas...@domain.comus...@domain.com The line for us...@domain.com is missing. The debug output shows

Re: 550 invalid recipient issue

2019-03-19 Thread Gabriele Tofano
On Mar 19, 2019, at 2:56 AM, Reio Remma wrote: > >> smtpd -dv -Tlookup Here the whole debug: # smtpd -dv -Tlookup debug: init ssl-tree info: loading pki information for mail.domain.com debug: init ca-tree debug: init ssl-tree info: loading pki keys for mail.domain.com info: OpenSMTPD 5.9.2p1

Re: 550 invalid recipient issue

2019-03-19 Thread Gabriele Tofano
On Mar 19, 2019, at 12:16 AM, Thomas Bohl wrote: > >>> Which leads to the question: Does user1 exist? >>> >> But I do not understand why osmtpd is looking at the /etc/passwd file when I >> have always used my table files (defined in smtp.conf) with a working >> environment, > > My

Re: 550 invalid recipient issue

2019-03-19 Thread Reio Remma
On 19/03/2019 04:53, Gabriele Tofano wrote: I discovered the below after running a smtpd -dv -Tlookup: lookup: check "17.58.63.178" as NETADDR in table static: -> 0 lookup: check "17.58.63.178" as NETADDR in table static: -> found lookup: check “domain.com" as DOMAIN in table static: -> found

Re: 550 invalid recipient issue

2019-03-18 Thread Thomas Bohl
Which leads to the question: Does user1 exist? But I do not understand why osmtpd is looking at the /etc/passwd file when I have always used my table files (defined in smtp.conf) with a working environment, My understanding is, according to the configuration you presented, that it has to

Re: 550 invalid recipient issue

2019-03-18 Thread Edgar Pettijohn
On Mar 18, 2019 9:53 PM, Gabriele Tofano wrote: > > > > On Mar 18, 2019, at 9:56 PM, Gabriele Tofano > > wrote: > > > > > >> On Mar 18, 2019, at 8:06 PM, Thomas Bohl > >> wrote: > >> > >>> The configuration loaded is correct as I see the daemon is loading the > >>> correct certificates

Re: 550 invalid recipient issue

2019-03-18 Thread Gabriele Tofano
> On Mar 18, 2019, at 9:56 PM, Gabriele Tofano > wrote: > > >> On Mar 18, 2019, at 8:06 PM, Thomas Bohl >> wrote: >> >>> The configuration loaded is correct as I see the daemon is loading the >>> correct certificates and stuff if launched with smtpd -dv -T smtp. I am >>> very shocked as

Re: 550 invalid recipient issue

2019-03-18 Thread Gabriele Tofano
> On Mar 18, 2019, at 8:06 PM, Thomas Bohl > wrote: > >> The configuration loaded is correct as I see the daemon is loading the >> correct certificates and stuff if launched with smtpd -dv -T smtp. I am very >> shocked as I am not able to figure out what happened. I never changed any >>

Re: 550 invalid recipient issue

2019-03-18 Thread Thomas Bohl
The configuration loaded is correct as I see the daemon is loading the correct certificates and stuff if launched with smtpd -dv -T smtp. I am very shocked as I am not able to figure out what happened. I never changed any config file since December and I have installed this environment at

Re: 550 invalid recipient issue

2019-03-18 Thread Gabriele Tofano
On Mar 18, 2019, at 9:14 AM, Pete wrote: > > Hi, > > shouldn't that read more like >> user1:password::userdb_quota_rule=*:storage=1G > without the domain part in the passwd file? > >> >> My passwd file where the user mail

Re: 550 invalid recipient issue

2019-03-18 Thread Pete
Hi, shouldn't that read more like >user1:password::userdb_quota_rule=*:storage=1G without the domain part in the passwd file? > > My passwd file where the user mail address are is: >

Re: 550 invalid recipient issue

2019-03-18 Thread Gabriele Tofano
On Mar 16, 2019, at 6:09 PM, Thomas Bohl wrote: > >> Both files are looking good/same as before and local delivery with sendmail >> does not work: >> ga...@server.com... Connecting to [127.0.0.1] via relay... >> 220 mail.server.com ESMTP OpenSMTPD > EHLO mail.server.com >>

Re: 550 invalid recipient issue

2019-03-16 Thread Edgar Pettijohn
On Mar 16, 2019 5:09 PM, Thomas Bohl wrote: > > > Both files are looking good/same as before and local delivery with sendmail > > does not work: > > > > ga...@server.com... Connecting to [127.0.0.1] via relay... > > 220 mail.server.com ESMTP OpenSMTPD > EHLO mail.server.com > >

Re: 550 invalid recipient issue

2019-03-16 Thread Thomas Bohl
Both files are looking good/same as before and local delivery with sendmail does not work: ga...@server.com... Connecting to [127.0.0.1] via relay... 220 mail.server.com ESMTP OpenSMTPD EHLO mail.server.com 250-mail.server.com Hello mail.server.com [127.0.0.1], pleased to meet you

Re: 550 invalid recipient issue

2019-03-15 Thread Gabriele Tofano
> On Mar 15, 2019, at 10:38 AM, Thomas Bohl > wrote: > > Hello, > >> #Allow local delivery >> accept from any for local alias deliver to lmtp >> "/var/run/dovecot/lmtp" rcpt-to >> #Allow virtual domains >> accept from any for domain virtual deliver to lmtp >> "/var/run/dovecot/lmtp"

Re: 550 invalid recipient issue

2019-03-15 Thread Thomas Bohl
Hello, #Allow local delivery accept from any for local alias deliver to lmtp "/var/run/dovecot/lmtp" rcpt-to #Allow virtual domains accept from any for domain virtual deliver to lmtp "/var/run/dovecot/lmtp" rcpt-to Are the files /usr/local/etc/mail/domains and