Re: Email is cut off
Charles Cazabon <[email protected]> Sat, 11 Dec 2021 12:45:13 -0600
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <YbTxud/[email protected]> |
Niklas Albers <[email protected]> wrote: > > > > Note that is a very-much-not-recommended setup. After getmail retrieves > > the message, it has to be processed locally by sendmail for injection into > > the local queue, then sent to another MTA, where the same process is > > repeated, and then delivered into the recipient's actual mailstore. > > Oh, thanks for the hint. Is there a better way while using getmail or would > you consider it as a complete wrong approach using it for our purpose? We > were using fetchmail at another similar environment before and I had the > feeling that getmail would fit better as it has better options. If at all possible, run getmail on the machine that hosts the users' mailstores, so that it can deliver directly into the maildirs or whatever that system uses (possibly through a local delivery agent depending on the MTA). If the mailstores are available over the network (NFS/SMB/whatever) then you can run getmail on any machine that can mount those mailstores, providing of course that they are network-safe for simultaneous access. In general (with any mail retriever, not just getmail), retrieved mail from POP/IMAP servers should never be re-injected into an MTA, because that can lead to various problems, both for the user doing the retrieving, but also (worse) for people who happen to send mail to that user(s) -- and sometimes the user doing the retrieving has no indication that things are going wrong, so he doesn't even know he's causing problems for postmasters and others on the 'net at large. fetchmail is particularly bad for this problem. > Good catch, seems like it wasn't getmail, good to know. Hopefully I will be > able to find out more when it will happen again with increased logging. If you need more help, please followup here. Charles -- ----------------------------------------------------------------------- Charles Cazabon GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------