[SOLVED] sendmail problems
Moderator: General Moderators
Hi Chris and thanks for the reply.
I downloaded the version I have just the other day from here http://www.shiftthis.net/wordpress-swift-smtp-plugin/
I'll have a play with telnet again on the server. Dont think its a firewall issue because when I switched the firewall off it was exactly the same and also I setup the mail program (cant remember its name, but like Outlook Express on linux) which worked fine.
BTW my server IS at home if that's what you meant.
I downloaded the version I have just the other day from here http://www.shiftthis.net/wordpress-swift-smtp-plugin/
I'll have a play with telnet again on the server. Dont think its a firewall issue because when I switched the firewall off it was exactly the same and also I setup the mail program (cant remember its name, but like Outlook Express on linux) which worked fine.
BTW my server IS at home if that's what you meant.
Hi everyone,
when trying to connect to telnet googlemail I get to the 1st bit then I assume I cant do anything more because after you're connected it requires TLS?
with telnet to my ISP (smtp.orangehome.co.uk) I can connect, say HELO but after that when I type "mail from: address@address.com" I just get "501 Bad address syntax". Is this because I do not have a static IP and use dyndns so the domain in my address isnt directly pointed to me?
EDIT: Bizarrely (to me) I can send emails over smtp.orangehome.co.uk in outlook express from my address@domain.com
when trying to connect to telnet googlemail I get to the 1st bit then I assume I cant do anything more because after you're connected it requires TLS?
with telnet to my ISP (smtp.orangehome.co.uk) I can connect, say HELO but after that when I type "mail from: address@address.com" I just get "501 Bad address syntax". Is this because I do not have a static IP and use dyndns so the domain in my address isnt directly pointed to me?
EDIT: Bizarrely (to me) I can send emails over smtp.orangehome.co.uk in outlook express from my address@domain.com
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Bad address syntax is because you need < and > around it:
Swift doesn't do starttls because of PHP limitations. If you're going to use TLS with Swift you have to connect with TLS already started and already on the secure port (465).
Code: Select all
MAIL FROM: <address@address.com>There's an envelop address sent by sendmail which usually a combination of your linux user name and machine name which can't be verified by DNS lookup. That maybe why your mail is bouncing. My Kubuntu box uses Postfix for SMTP, so using smtp_generic_map directive I can spoof my email address as something verifiable by mail servers, like my google account address.
Check out this post for details: http://ubuntuforums.org/showpost.php?p= ... ostcount=4
Check out this post for details: http://ubuntuforums.org/showpost.php?p= ... ostcount=4
ok, I've sent a few emails from the terminal through smtp.orangehome.co.uk 25 and it worked fine...
does this mean that this...
Arawn, do I need to be worrying about sendmail if I'm using SMTP?
does this mean that this...
...is because apache does not have permission to something? My httpd.conf says the user and group is apache.Array
(
[0] => Array
(
[num] => 0
[time] => 0.63940200 1180645658
[message] => Connection to the given MTA failed. The Connection Interface said: Permission denied
)
)
Log:
Array
(
)
Arawn, do I need to be worrying about sendmail if I'm using SMTP?
So, since telnet does work, then I can assume its not a firewall thing? In which case do you think it is likely to be a file permission or some kind of global permission? The swift mailer plugin folder is all chmod 777. If I need to change something other than file permissions could anyone give me a pointer of where to start/the terminal command to type and I will go and get google.d11wtq wrote:It's either a permissions problem, or a firewall rule. Also, when you connect via telnet are you doing it *from* the same server? I've had a lot of people try connecting from home rather than from their web host.
That's old code too. I'm pretty sure the wordpress plugin author released a version which uses Swift 3. I could be wrong though.
Thanks for everyones help.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
You'll have to contact your web host since it's something at a apache/php level that's causing the problem. Basically fsockopen() is not working... I'm sure your host will have a simple answer for thatrabw wrote:So, since telnet does work, then I can assume its not a firewall thing? In which case do you think it is likely to be a file permission or some kind of global permission? The swift mailer plugin folder is all chmod 777. If I need to change something other than file permissions could anyone give me a pointer of where to start/the terminal command to type and I will go and get google.d11wtq wrote:It's either a permissions problem, or a firewall rule. Also, when you connect via telnet are you doing it *from* the same server? I've had a lot of people try connecting from home rather than from their web host.
That's old code too. I'm pretty sure the wordpress plugin author released a version which uses Swift 3. I could be wrong though.
Thanks for everyones help.
Thanks for telling me about the fsockopen() thing
Did some searching and tried what this guy did and it worked! SElinux thing.
http://www.linuxforums.org/forum/redhat ... enied.html
Did some searching and tried what this guy did and it worked! SElinux thing.
http://www.linuxforums.org/forum/redhat ... enied.html
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia