[pfx] Re: host said: 452 4.5.3 Too many recipients

2024-07-10 Thread Fourhundred Thecat via Postfix-users
On 10/07/2024 12.46, Jeff Pang wrote:
> On 2024-07-10 17:06, Fourhundred Thecat via Postfix-users wrote:
>> Hello,
>>
>> I sent an email with one "to" and one "cc", and in the logs, I see:
>>
>>   host said: 452 4.5.3 Too many recipients
>>
>> but the next line says:
>>
>>   Queued mail for delivery
> 
> Your message was not delivered to peer MTA, and was cached in the local
> queue.

but my local queue is empty.
and the logs that I pasted are the last logs. There are no further logs
indicating that the message was retried and delivered later


___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] host said: 452 4.5.3 Too many recipients

2024-07-10 Thread Fourhundred Thecat via Postfix-users
Hello,

I sent an email with one "to" and one "cc", and in the logs, I see:

  host said: 452 4.5.3 Too many recipients

but the next line says:

  Queued mail for delivery


2024-07-10 10:20:56  postfix/smtp:  Untrusted TLS connection
established to
canadianmanganese-com.mail.protection.outlook.com[52.101.190.1]:25:
TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange
ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256
2024-07-10 10:20:56  postfix/smtp:  AF00FF1: host
canadianmanganese-com.mail.protection.outlook.com[52.101.190.1] said:
452 4.5.3 Too many recipients (AS780090)
[YT2PEPF01CC.CANPRD01.PROD.OUTLOOK.COM 2024-07-10T08:20:56.830Z
08DC9E0156AD0174] (in reply to RCPT TO command)
2024-07-10 10:20:57  postfix/smtp:  AF00FF1:
to=,
relay=canadianmanganese-com.mail.protection.outlook.com[52.101.190.1]:25,
delay=2.1, delays=0.02/0.02/0.91/1.2, dsn=2.6.0, status=sent (250 2.6.0

[InternalId=29463475654302,
Hostname=YT1PR01MB8153.CANPRD01.PROD.OUTLOOK.COM] 13353 bytes in 0.132,
98.780 KB/sec Queued mail for delivery)

2024-07-10 10:20:58  postfix/smtp:  Untrusted TLS connection
established to
canadianmanganese-com.mail.protection.outlook.com[52.101.192.0]:25:
TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange
ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256
2024-07-10 10:21:00  postfix/smtp:  AF00FF1:
to=,
relay=canadianmanganese-com.mail.protection.outlook.com[52.101.192.0]:25,
delay=4.7, delays=0.02/0.02/3/1.6, dsn=2.6.0, status=sent (250 2.6.0

[InternalId=29390461210327,
Hostname=YQBPR0101MB8558.CANPRD01.PROD.OUTLOOK.COM] 13403 bytes in
0.165, 78.890 KB/sec Queued mail for delivery)
2024-07-10 10:21:00  postfix/qmgr:  AF00FF1: removed



what exactly is going on, and was my email delivered to both recipients?

thank you,
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] host said: 452 4.5.3 Too many recipients

2024-07-10 Thread Fourhundred Thecat via Postfix-users
Hello,

I sent an email with one to: and one cc:

in the logs, I see

  host said: 452 4.5.3 Too many recipients

but the next line says:

  Queued mail for delivery

I have pasted the full log here:

  https://ctxt.io/2/AACY2F5JFg

what exactly is going on, and was my email delivered to both recipients?

thank you,

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] collect emails in maildir folder without delivering them to user

2024-03-19 Thread Fourhundred Thecat via Postfix-users
Hello,

I am running postfix server for my personal use.

On the server, I have one unix user, and multiple aliases defined in
/etc/aliases, so that I can use different email addresses for different
purposes.

All these aliases are delivered to the users home / maildir.

Now I would like to have yet another alias/email address, but instead of
having the emails delivered to my main user, I would like to just
collect the emails in some maildir.

I just need to collect these emails for archival purposes, separately
from my main account.

I could create a new unix user, and have them delivered to his home /
maildir, but that seems quite convoluted.

Is there some straightforward way to collect emails from given
alias/emaiul address directly to some maildir folder ?

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: email being flagged a spam for using localhost [127.0.0.1] as first hop

2023-08-09 Thread Fourhundred Thecat via Postfix-users

> On 2023-08-09 07:58, Viktor Dukhovni via Postfix-users wrote:

On Wed, Aug 09, 2023 at 07:34:48AM +0200, Fourhundred Thecat via Postfix-users 
wrote:


So that the first hop looks like this:

   Received: from [127.0.0.1] (localhost [127.0.0.1])
 by mail.xxx.yyy (Postfix) with ESMTPSA id 7E011B0
 for ; Wed,  9 Aug 2023 07:04:42 +0200 (CEST)


Try a small change:

 Received: from localhost.local (localhost.local [127.0.0.1])
   by mail.xxx.yyy (Postfix) with ESMTPSA id 7E011B0
   for ; Wed,  9 Aug 2023 07:04:42 +0200 (CEST)

That is, use a hostname as the recorded "HELO" name, rather than
address-literal, and make that name be an FQDN while you're at it.

This might be enough.


thank you.

thinking about it now, could I remove the host and the IP entirely?

I have looked at what the header looks like when I send an email locally
(from mutt as user on the postfix server). And there is no hostname or
IP or localhost entry at all:

Received: by mail.xxx.yyy (Postfix, from userid 1000) id A73CFD6; Wed,
9 Aug 2023 08:36:22 +0200 (CEST)

do you think this would be OK, or does the hostname and IP (be it
localhost.local) have to be there ?

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] email being flagged a spam for using localhost [127.0.0.1] as first hop

2023-08-08 Thread Fourhundred Thecat via Postfix-users

Hello,

my email was flagged as spam by Microsoft.

I have the received email, together with all the headers that Microsoft
added. Specifically the item: X-Microsoft-Antispam-Message-Info:

I have found a tool on github, which attempts to decode this convoluted
item (https://github.com/mgeeky/decode-spam-headers)

And one of the decoded lines says:

(5880045) - (GUESSING) Somehow related to First Hop server
reputation, it's reverse-PTR resolution or domain impersonation

I am using header rewrite to hide my own IP address, and use localhost
[127.0.0.1] instead. So that the first hop looks like this:

 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.xxx.yyy
(Postfix) with ESMTPSA id 7E011B0
for ; Wed,  9 Aug 2023 07:04:42 +0200 (CEST)

is this considered bad practice?
Or why am I being penalized for this?

All I am trying to achieve is not to disclose from where I am sending my
emails

thanks,



___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Maildir filename format

2023-07-31 Thread Fourhundred Thecat via Postfix-users

> On 2023-07-31 15:24, Eugene R via Postfix-users wrote:


Those "ugly characters" are there for a reason: they are specified by the 
Maildir standard (and the Dovecot's extensions to it) to encode various metadata such as 
message ID, size, flags, etc

https://en.wikipedia.org/wiki/Maildir
https://cr.yp.to/proto/maildir.html
https://doc.dovecot.org/admin_manual/mailbox_formats/maildir/

Also, why the "filename esthetics" even matters? The maildir directory is not 
supposed to be viewed (let alone directly accessed or modified) by a user. Mail clients 
and Dovecot provide useful (as
well as format-independent and universal) human-oriented interfaces and admin 
tools.


for me, being able to manipulate individual emails as files is the main 
advantage of using Maildir format.
It's not meant for day-to-day operation, but for troubleshooting or backups of 
individual emails if necessary
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Maildir filename format

2023-07-31 Thread Fourhundred Thecat via Postfix-users

> On 2023-07-31 15:09, Bill Cole via Postfix-users wrote:

On 2023-07-31 at 02:43:28 UTC-0400 (Mon, 31 Jul 2023 08:43:28 +0200)


    1690633510.M94611123819.mail,S=11706,W=12202:2,S


That message was delivered at Sat Jul 29 12:25:10 2023 UTC. It is 11706 bytes on disk and the 
"RFC822Size" (a.k.a. "wire size") is 12202 bytes, implying that it has 496 
lines of text. It has been
marked as seen by an IMAP client, and has no other IMAP flags set. The delivery agent 
believes that its hostname is simply "mail".


how did you decode it ?

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Maildir filename format

2023-07-31 Thread Fourhundred Thecat via Postfix-users

Hello,

I am using Maildir format on my server (Postfix + Dovecot).

The individual filenames have this format:

1690633510.M94611123819.mail,S=11706,W=12202:2,S

Now, I have another, unrelated email account (not my mail server), and I
have set up Thunderbird with local Maildir support. When I look inside
the folder, the emails have this nice and clear format:

for received:

  ----x...@sender.com.eml

for sent:

  ----x...@recipient.com.eml

how could I have such nice filenames on my server, with useful
information in the filename, instead of those ugly containing special
characters like '=' and ':' ?

Do the nioe filenames come from Thunderbird, or from the mailserver ?

thanks,
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] spamlist checks

2023-06-22 Thread Fourhundred Thecat via Postfix-users

Hello,

does anybody have experience with checking and removing email addresses
from spam lists?

I got this when sending email:

SMTP error from remote server for RCPT TO command, host:
mailrelay.nova.gr (80.245.166.6) reason: 550 Rule imposed as ***@*** is
blacklisted on Spamhaus - see www.spamhaus.org

Spamhaus has some removal form on their website, but the page does not
work for me (it is stuck at: Checking if the site connection is secure)

Anyway, I was trying to find out on which other spamlists I might be
blacklisted, and I found this checker:

  https://blacklistchecker.com/

(it does not have spamhaus check)

Does anybody have experience with these kinds of checkers?
How reliable are they? Is this one good, or is there a better way to
check as many relevant spamlists as possible?

thanks,
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: SPF: HELO does not publish an SPF Record

2023-04-12 Thread Fourhundred Thecat via Postfix-users

> On 2023-04-12 15:30, Wietse Venema via Postfix-users wrote:

Fourhundred Thecat via Postfix-users:

  > On 2023-04-12 14:48, Byung-Hee HWANG via Postfix-users wrote:


The smtp_helo_name used in the Postfix SMTP client should resolve to the
client IP address that is seen by a remote SMTP server.

Thus, setting smtp_helo_name=$mydomain may appear to work when your
domain has only one machine that sends email, but it does not work
well when there are multiple machines.


OK, I see.
So should the client (mail.example.com) then have it's own SPF record,
in addition to the domain itself (example.com) ?


___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: SPF: HELO does not publish an SPF Record

2023-04-12 Thread Fourhundred Thecat via Postfix-users

> On 2023-04-12 14:48, Byung-Hee HWANG via Postfix-users wrote:

   2) change smtp_helo_name to

 smtp_helo_name = $mydomain


It is very strange, i think.


what do you mean?
is it strange to use example.com, instead of mail.example.com as
smtp_helo_name, when the smtp client is actually mail.example.com ?
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] SPF: HELO does not publish an SPF Record

2023-04-12 Thread Fourhundred Thecat via Postfix-users

Hello,

I have domain mydomain.com, with mx record:

  $ host -t mx mydomain.com
  mail.mydomain.com

and I have SPF record on my domain:

  host -t txt mydomain.com

which is the ip address of mail.mydomain.com

I have no SPF record on mail.mydomain.com itself.

Now, when I check my email score on mail-tester.com, it says:

  SPF_HELO_NONE SPF: HELO does not publish an SPF Record

and lastly, I have smtp_helo_name = mail.mydomain.com

Does it mean that I should either:

  1) create SPF record for mail.mydomain.com

  or

  2) change smtp_helo_name to

smtp_helo_name = $mydomain

?

thanks,

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] postfix and opendkim

2023-04-10 Thread Fourhundred Thecat via Postfix-users

Hello,

I am setting up opendkim on my postfix server:

what is the practical difference between using inet or UNIX domain
socket in /etc/opendkim.conf ?

If I leave socket at the default settings:

  Socket  local:/var/run/opendkim/opendkim.sock

What do I need to put into /etc/postfix/main.cf instead of inet:localhost ?

  smtpd_milters = inet:localhost:8891

I am not using chroot for my postfix installation, so I assume I don't
need inet and can use UNIX domain socket ?

Or what is the practical difference?

thanks,
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: timeout after END-OF-MESSAGE

2023-03-20 Thread Fourhundred Thecat via Postfix-users

> On 2023-03-20 15:30, Wietse Venema via Postfix-users wrote:

Fourhundred Thecat via Postfix-users:


I occasionally see timeout after END-OF-MESSAGE in my logs:


When asking a timing related question, it would be helpful if you
did not delete the timing related onfo from the logs.


I have pasted the complete log here:

https://ctxt.io/2/AACQQpeJEA
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] timeout after END-OF-MESSAGE

2023-03-20 Thread Fourhundred Thecat via Postfix-users

Hello,

I occasionally see timeout after END-OF-MESSAGE in my logs:

  timeout after END-OF-MESSAGE from mail-lf1-f49.google.com[209.85.167.49]
  disconnect from mail-lf1-f49.google.com[209.85.167.49] ehlo=2
starttls=1 mail=1 rcpt=1 bdat=1 commands=6

Is this misbehaving client, or might this be some misconfiguration on my
side?

I have pasted postconf -n output here:
https://ctxt.io/2/AACQGjeiEQ

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org