From: Mark (fat) <fa...@us...> - 2004-12-03 08:59:34
|
Sorry for the delay. Here is what I have found. I suspect the server is locked down not to be able to send e-mails based on what I can see. This must have been changed intentionally as I used to be able to do this. Am I screwed? Comments inline.... -----Original Message----- From: tik...@li... [mailto:tik...@li...] On Behalf Of Flo Gleixner Sent: 27 November 2004 00:15 To: tik...@li... Cc: fa...@us... Subject: *SPAM*RE: [Tikiwiki-users] Reason for most registration e-mails failing? Hi, You should really try to find out why mail does not work. Here's my receipt: - check the maillog (/var/log/mail or similar) ----Permission Denied - check mails of the sender for Mailer-daemon mails (Non delivery notifications). Sender is probably owner of the webserver process. ---Nothing bounced - check the mails of postmaster (root) ---Nothing bounced - try to send a mail with unix-tools: * sendmail method: /usr/lib/sendmail rec...@em... some text. End mail with a single dot . * mail utility: mail rec...@em... Subject: bla some text. End mail with a single dot . Cc: These tools have some debug switches: mail -v will show you some details. ----No sendmail, exim, postfix etc anymore!!! /usr/bin/which: no sendmail in (/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin) - try to send a mail using telnet: telnet localhost smtp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 some.hostname.com ESMTP Sendmail 8.12.11/8.12.11; Sat, 27 Nov 2004 00:53:58 +0100 ehlo bla.de 250-some.hostname.com Hello some.hostname.com [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH CRAM-MD5 PLAIN LOGIN 250-DELIVERBY 250 HELP mail from: ww...@so... 250 2.1.0 ww...@so...... Sender ok rcpt to: so...@so... 250 2.1.5 so...@so...... Recipient ok data 354 Enter mail, end with "." on a line by itself some text . 250 2.0.0 iAQNrwjj014061 Message accepted for delivery quit 221 2.0.0 some.hostname.com closing connection Connection closed by foreign host. =========== Assume this means it is not allowed ! 220-mine.com ESMTP Exim 4.43 #1 Fri, 03 Dec 2004 00:46:09 -0800 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. mail from: ti...@mi... 250 OK rcpt to: ma...@mi... 250 Accepted data 354 Enter message, ending with "." on a line by itself this is a test . 550 Administrative prohibition ====================== - next you should find out if php can send a mail. Write a php program: <?php if(!mail("so...@so...", "Subject mailtest", "Test 1\nTest 2\nTest 3")) echo "Error sending mail."; ?> Note that these are only basic tests. email may not be trivial if there are mailrouting or relaying problems. Sending mail via a php-webdriven SMTPserver script is no good idea - it usually breaks rfc's as a mailserver may temporary reject your mail. Proper MTA's (Mail transfer agents) retry later. You cannot do that easily with a apache-php script. Today a growing number of SMTP servers use a feature called greylisting to avoid spam. The principle is to reject a mail temporary. If the MTA retries later again, the mail gets delivered. If the MTA does not try again, he is blacklisted, because most spammer-tools use a fire & forget mail system do do their job. So: do you want your IP blacklisted? No? Then use sendmail/postfix/exim/qmail .... even exchange can do the job :-) Flo On Fri, 26 Nov 2004, Mark (fat) wrote: > Unfortunately that's not an option this now as the only reason I can afford > to run the host is that my company sponsors it by supplying a portion of > their capacity. > > In 3-6 months we will be going the dedicated server route which will solve > any problems. > > However this is too long to wait to fix this problem. Having to manually > register every user is getting to be quite a job. > > Are logs kept anywhere in my tiki that could point me in the correct > direction of the problem? > Mark > > -----Original Message----- > From: tik...@li... > [mailto:tik...@li...] On Behalf Of Damian > Parker > Sent: 26 November 2004 14:45 > To: tik...@li... > Subject: Re: [Tikiwiki-users] Reason for most registration e-mails failing? > > On Fri, 2004-11-26 at 08:10 -0600, Michael S. Zick wrote: >> On Fri November 26 2004 03:54, Mark (fat) wrote: >>> Thanks for the reply ! >>> >>> I will have a look at porting to the CVS. Is using a SMTP server >>> planned to be implemented as a feature in a later release.? >>> >>> My host (whom shall remain nameless) gives me a lot of functionality >>> but is very poor in their level of user support. Perhaps the easiest >>> thing me to try is to install some sort of PHP based mail sending >>> script and see if it works. Any suggestions which one would be >>> simplest/best representation of my problem to try with? >>> >> Three thoughts from my own experience. >> 1) Try using authentication. Using your account name/password. >> 2) Try sending to port 24 rather than 25. >> 3) Ask their tech. support to check their firewall rules. >> The rules may be blocking relaying from the virtual host accounts in >> addition to blocking relaying from the world. If so, they might fix >> this for you. (Mine did after I install tw) >> >> Many hosting companies are starting to use strong measures against >> accidentally hosting a spam generator. >> >> Mike >> > > You can always change and use a TikiFriendlyHost : > http://tikiwiki.org/TikiFriendlyHosts > > > > -- > Damian Parker > Damosoft - http://www.damosoft.co.uk > Telephone - 0870 9091923 IAXtel - 1700-168-0333 FWD - 72453 \____ > http://www.damosoft.co.uk/ContactUsAccessPoints ____/ TikiHost - > http://tikihost.net > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Tikiwiki-users mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Tikiwiki-users mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Tikiwiki-users mailing list Tik...@li... https://lists.sourceforge.net/lists/listinfo/tikiwiki-users |