Re: How to use serialmail with crond
"Massimo Rizzotto" <[email protected]> Tue, 4 Mar 2003 18:37:37 +0100
| Newsgroups | gmane.mail.serialmail |
|---|---|
| Message-ID | <003101c2e274$bf891130$6501a8c0@ziggy> |
Bingo!!!!! Thanks very much. ----- Original Message ----- From: "Paulo Jan" <[email protected]> To: <[email protected]> Sent: Tuesday, March 04, 2003 6:33 PM Subject: Re: How to use serialmail with crond > Massimo Rizzotto wrote: > > I have installed ucspi-tcp.0.88! > > If I type in the shell: > > [root]#/usr/local/bin/maildirsmtp /var/qmail/alias/pppdir alias-ppp- > > mail.isp.com 'myqmailbox' > > every things work fine! > > But If i put the same line in the crontab file I get the error: > > [root]#run tcpclient: file does not exist > > [root]#maildirserial: fatal: unable to run tcpclient: file does not exist > > [root]#maildirserial: fatal: unable to run tcpclient: file does not exist > > [root]#maildirserial: fatal: making no progress, giving up > > > > ...so what I have to write in the crontab file to run serialmail once a > > hour? > > > > > Paths, paths, paths... > Try hand-editing "maildirsmtp" to add the full path to "tcpclient" > (which in my machine is /usr/local/bin/). Also make sure that cron is > executing with that path in its PATH environment variable. > > > > Paulo Jan. > DDnet. > > >