Hey!
I've set both From: and Reply-to: addresses to my own emailaddress in RCmail's options but headers that are sent out contain Return-Path: which is set to my virtual host's mother email address (hostingaccount-username@domain.tld). This listsoftware looks at the return-path rather than from or reply-to, which means I can't send messages to the list directly. This is tested. I can send messages through squirrelmail, though.
I must add that I have disabled the 5th parameter for php's mail() function because it is not allowed in safe mode. My virtual host is safemoded and I can't change that. Apart from the above bug, sending and receiving works fine. I can't verify if the Return-Path: is set to the motheremailaddress for none-safemode hosts with the stock mail()+5th param.
Could the listmoderator please let my previous message through? It was sent about half an hour ago and contains a patch and my introduction to the list and some bugs!
Thanks!
Remmelt
The problem here is probably, that your Apache Webserver is the sender. The php script is executed under the username of your Apache and the Apche user injects via /usr/bin/sendmail -t to the local queue ...
I do not have problems with sending via SMTP, with or without SMTP Auth mails seem to be fine. When I write mails to my Gmail account everything is fine.
Regards, Robert
On Thu, 27 Oct 2005 16:01:48 +0200 (CEST), remmelt@remmelt.com wrote:
Hey!
I've set both From: and Reply-to: addresses to my own emailaddress in RCmail's options but headers that are sent out contain Return-Path: which is set to my virtual host's mother email address (hostingaccount-username@domain.tld). This listsoftware looks at the return-path rather than from or reply-to, which means I can't send messages to the list directly. This is tested. I can send messages through squirrelmail, though.
I must add that I have disabled the 5th parameter for php's mail() function because it is not allowed in safe mode. My virtual host is safemoded and I can't change that. Apart from the above bug, sending and receiving works fine. I can't verify if the Return-Path: is set to the motheremailaddress for none-safemode hosts with the stock mail()+5th param.
Could the listmoderator please let my previous message through? It was sent about half an hour ago and contains a patch and my introduction to the list and some bugs!
Thanks!
Remmelt
I don't think that's right, because sending from squirrelmail on the same virtual host works fine, although squirrelmail was provided to me by the (eh...) provider, so I don't know the setup. I'm not sure if my hosting has smtp, I'll look into it.
The problem here is probably, that your Apache Webserver is the sender. The php script is executed under the username of your Apache and the Apche user injects via /usr/bin/sendmail -t to the local queue ...
I do not have problems with sending via SMTP, with or without SMTP Auth mails seem to be fine. When I write mails to my Gmail account everything is fine.
Regards, Robert
On Thu, 27 Oct 2005 16:01:48 +0200 (CEST), remmelt@remmelt.com wrote:
Hey!
I've set both From: and Reply-to: addresses to my own emailaddress in RCmail's options but headers that are sent out contain Return-Path: which is set to my virtual host's mother email address (hostingaccount-username@domain.tld). This listsoftware looks at the return-path rather than from or reply-to, which means I can't send messages to the list directly. This is tested. I can send messages through squirrelmail, though.
I must add that I have disabled the 5th parameter for php's mail() function because it is not allowed in safe mode. My virtual host is safemoded and I can't change that. Apart from the above bug, sending and receiving works fine. I can't verify if the Return-Path: is set to the motheremailaddress for none-safemode hosts with the stock mail()+5th param.
Could the listmoderator please let my previous message through? It was sent about half an hour ago and contains a patch and my introduction to the list and some bugs!
Thanks!
Remmelt
remmelt@remmelt.com wrote:
I must add that I have disabled the 5th parameter for php's mail() function
Well now you know why it was there :)
This listsoftware looks at the return-path rather than from or reply-to, which means I can't send messages to the list directly.
It was my understanding that all (or nearly all) mailing lists check the envelope sender for posting privileges. I'm pretty sure that Mailman checks it and that seems to run most of the mailing lists I'm on these days.
Could the listmoderator please let my previous message through?
I think fixing your installation so that it sets envelope from properly is a more useful course of action than asking every mailing list you try to use to change how they are set up. If you can't use that fifth parameter then use SMTP for sending.
Justus
remmelt@remmelt.com wrote:
I must add that I have disabled the 5th parameter for php's mail() function because it is not allowed in safe mode.
I forgot to mention that bounced mail also uses the envelope from to determine where the bounce goes. So you'll never get any notice that mail bounced. It'll just go to the webserver's account, which presumably is redirected to root. That might be okay if you're the only person using the system (and have root's mail redirected to yourself) but it isn't really viable for multiuser systems.
Could the listmoderator please let my previous message through?
I think fixing your installation so that it sets envelope from properly is a more useful course of action than asking every mailing list you try to use to change how they are set up. If you can't use that fifth parameter then use SMTP for sending.
As you may have noticed, my other messages do get through to the list, and they go through without intervention or moderation. I am not asking for a change in setup, I'm just asking for one message to be allowed through, something that is entirely possible with the mailinglist software.
Also: it's not my installation and it's not broken, either. It just runs in safe mode, and safe mode doesn't allow a 5th parameter in mail(). Safe mode is a very common 'feature' on commercial virtual hosted systems.
All moot, because the message doesn't even show up in my sent items list, so it's probably now part of Saturn's ring (either that, or I just didn't hit send, whichever sounds more plausible ;)
I forgot to mention that bounced mail also uses the envelope from to determine where the bounce goes. So you'll never get any notice that mail bounced. It'll just go to the webserver's account, which presumably is redirected to root. That might be okay if you're the only person using the system (and have root's mail redirected to yourself) but it isn't really viable for multiuser systems.
The return-path email is redirected to my regular address, and it's not the webserver's user or email nor root. It's the main address that came with my hosting account and has my hosting loginname as the user and remmelt.com as the domain part. It's on a regular commercial multi-user virtual hosts system running Apache.
Anyway, as you said it's because I took that 5th parameter out :)
I tried SMTP but I'm not sure if my account provides that, the error is: SMTP Error in /usr/home/deb1260/domains/remmelt.com/public_html/roundcubemail/program/steps/mail/sendmail.inc (183): SMTP error: Failed to add recipient 'remmelt@gmail.com'
Looks like it doesn't, then.
Thanks!
Remmelt
Might check via ini_get() , if safe_mdoe is enabled and do add or not add 5th parameter ?!
Regards,
Rob
On Thu, 27 Oct 2005 18:16:20 +0200 (CEST), remmelt@remmelt.com wrote:
Could the listmoderator please let my previous message through?
I think fixing your installation so that it sets envelope from properly is a more useful course of action than asking every mailing list you try to use to change how they are set up. If you can't use that fifth parameter then use SMTP for sending.
As you may have noticed, my other messages do get through to the list, and they go through without intervention or moderation. I am not asking for a change in setup, I'm just asking for one message to be allowed through, something that is entirely possible with the mailinglist software.
Also: it's not my installation and it's not broken, either. It just runs in safe mode, and safe mode doesn't allow a 5th parameter in mail(). Safe mode is a very common 'feature' on commercial virtual hosted systems.
All moot, because the message doesn't even show up in my sent items list, so it's probably now part of Saturn's ring (either that, or I just didn't hit send, whichever sounds more plausible ;)
I forgot to mention that bounced mail also uses the envelope from to determine where the bounce goes. So you'll never get any notice that mail bounced. It'll just go to the webserver's account, which presumably is redirected to root. That might be okay if you're the only person using the system (and have root's mail redirected to yourself) but it isn't really viable for multiuser systems.
The return-path email is redirected to my regular address, and it's not the webserver's user or email nor root. It's the main address that came with my hosting account and has my hosting loginname as the user and remmelt.com as the domain part. It's on a regular commercial multi-user virtual hosts system running Apache.
Anyway, as you said it's because I took that 5th parameter out :)
I tried SMTP but I'm not sure if my account provides that, the error is: SMTP Error in /usr/home/deb1260/domains/remmelt.com/public_html/roundcubemail/program/steps/mail/sendmail.inc (183): SMTP error: Failed to add recipient 'remmelt@gmail.com'
Looks like it doesn't, then.
Thanks!
Remmelt