Re: Illegal address syntax

2020-05-07 Thread Kurt Roeckx
On Wed, May 06, 2020 at 11:51:37PM +, Pedro David Marco wrote:
> Hi!
> Is it possible to make Postfix Reject instead of warn for  "Illegal address 
> syntax"?

So I've actually mailed about the same issue last week. As far as
I can see, postfix does reject it.

My case was with a space in the username. If I test this with
Thunderbird, I don't the warning, I get a proper error that the
user doesn't exist.

The client that caused that warning was using Outlook. I've not
yet been able to do test with Outlook. But from the tests I did
do, it seems that Outlook just ignores the error that postfix
returns.


Kurt



warning: Illegal address syntax on submission

2020-04-30 Thread Kurt Roeckx
Hi,

The log file shows:
postfix/submission/smtpd[28578]: warning: Illegal address syntax from 
unknown[192.168.1.144] in RCPT command: 

Where domain is in mydestination. There where other people in
To/Cc, but that user didn't get the email, nor did the sender get
any indication that that user didn't get it.

Since it's a user of my domain, I would expect to get an error. Is
there a way I can turn that warning into an error?


Kurt



Re: master.cf service documentation

2015-03-16 Thread Kurt Roeckx
On Mon, Mar 16, 2015 at 02:39:15AM +, Viktor Dukhovni wrote:
 
 Then there are the built-in inet services, smtpd(8), postscreen(8)
 or qmqpd(8).  These can be cloned to create custom TCP service
 endpoints.  Most common:
 
 smtp   inet  n   -   n   -   -   smtpd

It's my understanding that with inet, the name of the service is
one from /etc/services, and you can use an IP address there if you
want.  But it's not really clear from the documentation.

The documentation also says that for unix it listens on
the unix socket with that name.  And I guess smtp unix is what
it looks up talk to the process that sends mail.

It's confusing to see smtp inet with smtpd as command, and
smtp unix with smtp as command.  You would expect both of them
to be about incomming connections.

But then there can be things like smtpd pass, and I have no clue
what that things does.  Is smtpd the name of the unix socket that
postscren looks up to hand of the request?

 You can build new transports with the pipe(8) delivery agent.

I've seen people use pipe for doing things like filtering spam.
That is, use a smtpd content_filter, and then have a service with
that name that uses pipe.

The documentation says it's send to a transport:destination,
most of the examples I've seen don't have a destination while
postfix's documentation has :dummy there.  But then the services
has unix in it's line.  And what is transport, the name of a
service?


Kurt



master.cf service documentation

2015-03-13 Thread Kurt Roeckx
Hi,

I've been looking for documentation about what the various
services in master.cf do.  I can't seem to find any documentation
for that.  I can guess what a few of those do because the command
they run is documented.  But it's not always clear what it means
exactly.

From examples I've seen, it seems you can create your own
services, but it's unclear to me how those get created, and when
they get used.


Kurt