Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

pipe mail instead of cron.

Quote Reply
pipe mail instead of cron.
i was reading on the online demo, and would it be possible to just pip the email adress to incoming.pl? instead of it running on cron? or does it do different things? i don't own gossmail, but it is just a question.

Quote Reply
Re: pipe mail instead of cron. In reply to
Hi,

Sorry about the late reply! Yes, you can definately pipe mail to incoming.pl. However, it's not recommended.

Consider if you get a flood of emails. Your mail program is going to launch one incoming.pl for each message. That in turn adds one connection to mysql. It can quickly bring down a system.

Instead, you can put incoming.pl in cron, and it will run every minute or two and go out and pull in all the messages. Only one process is needed.

However, for light loads piping works fine.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: pipe mail instead of cron. In reply to
yes.....duh...i was just making sure that you knew that. j/k ya that is obvisouly a better way. thanks for the answer.