Henry: Seeing as the 22,000 messages are waiting to be sent (assuming they haven't bounced yet) they will be in /var/spool/mqueue or /var/spool/client-mqueue
If they have already bounced you will likely find them in /var/spool/mail like Mike suggested or perhaps in /var/mail The other option is to get an ISP that doesn't block your port 25 (cough cough) :) Bill From: Mike Ashton [mailto:[email protected]] Sent: Monday, February 09, 2009 10:53 AM To: [email protected] Subject: Re: [on-asterisk] Confused about Sendmail and FreePBX Henry, Sendmail is a bit of a bear when it comes to configuring. If your up to the task you need to configure it to use either SASL or TLS but it's not easy. This will allow you to us either port 465 (SSL) or 567 (TLS) which are ports that are not blocked for sending email, but require that you use one of the two authentication methods. The easier rote like was previously suggested would be to use your ISP's smtp to handle the relay. Now in regards to the 22000 emails, if you really want to delete them all, login to your server, then cd /var/spool/mail", then "ls -l" will show you the email files for the users on the system. Your probably going to have just two accounts, root & asterisk, if you "sudo rm root" you will delete them. Now if you get your smtp outbound corrected, you can also make the emails for these accounts get automatically forwarded to a real account so they don't build up. Alter the file /etc/aliases by adding asterisk: root root: [email protected]<mailto:[email protected]> Then save the file and recompile the database issuing: newaliases now email sent to those accounts should relay to the destination email account Mike Henry L.Coleman wrote: I suspect that many of the TAUG members have had trouble getting sendmail to work from their * boxes and now I am one of them. Here are the facts: I am running PBX in a Flash Freepbx and Asterisk 1.4 Part of this distro includes webmin and Sendmail I want to send vmail attachments and error messages via email I only need to send messages out. My ISP blocks port 25 I have no fixed IP address but use a dynamic DNS (dyndns)service for this * server I have tried to get this up and running but with no luck. I don't have the time or the inclination to learn about email servers like sendmail Can anybody help me with the configuration ? Also I need to be able to delete 22,000 emails that have been placed on the server by warnings and errors etc. (before my HD fills up :) Henry ================================= Henry L.Coleman [www.VoIP-PBX.ca<http://www.VoIP-PBX.ca>] Tel: 647-723-5160 Ext.203 ================================= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected]<mailto:[email protected]> For additional commands, e-mail: [email protected]<mailto:[email protected]> -- Mike Ashton Quality Track Intl CTO Ph: 647-724-3500 x 301 Cell: 416-527-4995 Fax: 416-352-6043 QTI CONFIDENTIAL AND PROPRIETARY INFORMATION The contents of this material are confidential and proprietary to Quality Track International, Inc. and may not be reproduced, disclosed, distributed or used without the express permission of an authorized representative of QTI. Use for any purpose or in any manner other than that expressly authorized is prohibited. If you have received this communication in error, please immediately delete it and all copies, and promptly notify the sender.
