Postings by Christos Chatzaras

lost connection while sending end of data

I use dovecot lmtp, dovecot quota plugin and postfix.

When I send e-mail to 2 recipients (or more) at the same time and if one of them is over quota (or under quota and the message I send is bigger than his free space) mailq shows:

-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
20B03336F22 26099 Thu Apr 19 18:02:47 <a href="mailto: ... at example dot com"> ... at example dot com</a>
(lost connection with[private/dovecot-lmtp] while sending end of data -- message may be sent more than once)
<a href="mailto: ... at example dot com"> ... at example dot com</a>

Bogofilter and whitelist

I scan incoming mail with bogofilter. Here is the related part of :

smtp inet n - n - - smtpd
-o content_filter=filter:
-o receive_override_options=no_address_mappings
filter unix - n n - - pipe
flags=Rq user=filter argv=/usr/local/etc/bogofilter/ -f ${sender} -- ${recipient}

Is it possible to not filter if sender IP is in <> using or ?

Or the only way is to rewrite script and add the check there?

Question about

I create a new account at <a href="" title=""></a> <> and add my primary domain in their portal.

I also request them to add my outgoing SMTP IPs (I think they manually check it before add).

To query their database, do I have to ask them to add my resolver's IPs too?

It looks like they allow access from "unknown" IPs (test it with nslookup), but I want to make sure that registering resolver's IPs is not needed to avoid them block the requests made by my resolvers in the future.

Relay mail from virtual domains and issue when the sender and recipient is on same server

What I want to do:

I want to disable local delivery for e-mails from virtual domains / mailboxes when sender / recipient is on same server. I want these e-mails to pass through a relay.

My setup :

I have postfix and dovecot on and acts as relay for MX for points to so incoming e-mails go to this server. Outgoing e-mails for domains not hosted in go through the relay.

problem with spam

Μy server with IP is blacklisted at <a href="" title=""></a> for stealrat spambot. My mail server is configured to send only e-mail from authenticated users. Also local users (from shell) can't send e-mail and also mail() php function is disabled too. I got this e-mail from hotmail ( <a href="" title=""></a> ) that shows that my mail server send e-mail from <a href=""></a> to <a href="mailto: ... at hotmail dot com"> ... at hotmail dot com</a> , but on the logs there is no entry that e-mail sent to <a href="mailto: ... at hotmail dot com"> ... at hotmail dot com</a> . Any idea what may be the problem ?