anomy-list

Re: Postfix incoming mail only...

From: Robert Gabriel (80447@xyz.molar.is)
Date: Mon 19 May 2003 - 14:11:57 GMT

  • Next message: Alexey Lobanov: "Re: Postfix incoming mail only..."

    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:

    196.39.126.35:smtp inet n - y - -
    smtpd -o content_filter=filter:dummy

    172.20.164.52:smtp inet n - y - -
    smtpd

    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[958]: fatal: bind 196.39.126.35
    port 25: Cannot assign requested address

    May 12 08:00:05 za164052d postfix/postqueue[1238]: fatal: Cannot flush
    mail queue - mail system is down

    We've had to comment out the above lines & replace them with the
    following:

    smtp inet n - y - - smtpd -o
    content_filter=filter:dummy

    Which is not what we want.

    Thanks.

    On Mon, 2003-05-19 at 15:28, Alexey Lobanov wrote:
    > Hello.
    >
    > On 19 May 2003 at 13:28, Robert Gabriel wrote:
    >
    > Subject: [anomy-list]: Postfix incoming mail only...
    > From: Robert Gabriel <80447@xyz.molar.is>
    > Send reply to: 80447@xyz.molar.is
    > To: 80528@xyz.molar.is
    > 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.
    >
    > Alexey
    >
    >



    hosted by molar.is