On Sat, Jun 28, 2003 at 01:18:20PM -0700, root linux wrote: > How can I add/edit sqwebmail sendit.sh to use a SMTP > server for outgoint email?
Are you saying you're running a Unix server with absolutely *no* MTA installed? That's generally a bad idea - cronjobs might want to send outgoing mail, for example, to notify errors. If you want to relay all outgoing mail via a 'smarthost' SMTP server then the usual thing to do is to configure your MTA to send all outgoing mail via that server. Details of that would be specific to exactly what MTA you are using (and not relevant to a courier list) If you really have no MTA, then you could replace sendit.sh with a small program which opens an SMTP connection to the remote smarthost directly (e.g. using a Perl SMTP module). But that's almost certainly a bad idea. Consider what happens when the remote SMTP server is down: sqwebmail will be unable to send the mail so the user will be told the sending failed. However if you submit the mail to a local MTA, then it will go into the MTA's queue and will be delivered when the smarthost becomes available again. Regards, Brian.
