Sorry, my knowledge is rather limited.
We want to filter mail coming in on the external interface & to allow
all mail through on the internal interface.
This is what worked for a while in master.cf:
126.96.36.199:smtp inet n - y - -
smtpd -o content_filter=filter:dummy
172.20.164.52:smtp inet n - y - -
localhost:smtp inet n - y - - smtpd
Problem is, the client has an ISDN line that isn't up all the time
(static IP) so we get the following errors in /var/log/maillog:
May 12 07:42:45 za164052d postfix/master: fatal: bind 188.8.131.52
port 25: Cannot assign requested address
May 12 08:00:05 za164052d postfix/postqueue: fatal: Cannot flush
mail queue - mail system is down
We've had to comment out the above lines & replace them with the
smtp inet n - y - - smtpd -o
Which is not what we want.
On Mon, 2003-05-19 at 15:28, Alexey Lobanov wrote:
> On 19 May 2003 at 13:28, Robert Gabriel wrote:
> Subject: [anomy-list]: Postfix incoming mail only...
> From: Robert Gabriel <firstname.lastname@example.org>
> Send reply to: email@example.com
> To: firstname.lastname@example.org
> Organization: Tangent Systems
> Date sent: 19 May 2003 13:28:43 +0200
> > Hello,
> > Is there any way we can only remove attachments for incoming mail only?
> Could you please define more exactly: what is the [techniclal] difference between
> "incoming" and "outgoing" mail at your mail relay? There are too many variants.
> Just a thought: domain in MAIL FROM: cannot be a criteria. Lot of maleficious mail uses
> recipient's domain as sender's.
> > Users need to be able to send images etc.
> A general idea is to define an alternative SMTP service for local users. I.e, bound to
> other (Intranet) interface.