a***@gmail.com
2018-12-11 09:15:06 UTC
Dear All,
I'd like to ask for ideas or advice for this strange situation:
The setup is as follows: externally hosted and managed pop3 mailboxes, each box is retrieved by the clients directly. Outgoing mail is only possible through the ISP provided smtp server. There's a local server running postfix and cyrus imap for internal communication purposes. Postfix on this box is used as an MTA for queuing and managing all outgoing mail, which are then relayed to the ISP smpt The ISP smtp has a message size limit, therefore the local postfix is set up with this size limit as well.
There's also a special pop3 mailbox, which is then fetched by the local server using fetchmail and the incoming mail is put into a shared folder on the Cyrus imap, using the lmtp socket provided by cyrus.
This weird setup works fine.
Except for one rare situation: if someone sends an unusually large email to this "shared" mailbox, fetchmail will fetch it fine and passes it to postfix, but then it will refuse to pick it up because it exceeds the set size limit.
Is there a way to configure postfix so, that it only applies the size limit to outgoing relayed email, but not when its an internal destination? (If there is, I didn't yet find it).
Or any other suggestions please?
Thanks in advance.
I'd like to ask for ideas or advice for this strange situation:
The setup is as follows: externally hosted and managed pop3 mailboxes, each box is retrieved by the clients directly. Outgoing mail is only possible through the ISP provided smtp server. There's a local server running postfix and cyrus imap for internal communication purposes. Postfix on this box is used as an MTA for queuing and managing all outgoing mail, which are then relayed to the ISP smpt The ISP smtp has a message size limit, therefore the local postfix is set up with this size limit as well.
There's also a special pop3 mailbox, which is then fetched by the local server using fetchmail and the incoming mail is put into a shared folder on the Cyrus imap, using the lmtp socket provided by cyrus.
This weird setup works fine.
Except for one rare situation: if someone sends an unusually large email to this "shared" mailbox, fetchmail will fetch it fine and passes it to postfix, but then it will refuse to pick it up because it exceeds the set size limit.
Is there a way to configure postfix so, that it only applies the size limit to outgoing relayed email, but not when its an internal destination? (If there is, I didn't yet find it).
Or any other suggestions please?
Thanks in advance.