This is a discussion on mail sent as local user within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hello, I have a php based password request form that talks to mini_sendmail within a chroot(2) environment, which then ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I have a php based password request form that talks to mini_sendmail within a chroot(2) environment, which then talks to qmail. When requesting a password, the logged outgoing mail file is sent by apache@hostname instead of admin@fqdn.com. Some email services block this (rightly so), and some don't.. and when it is not blocked, the mail is received FROM: admin@fqdn.com.. leading me to believe that the php mail() call is formatted correctly with $header =. the "me" file is set as fqdn, and there isn't a defaultdomain or plusdomain file. I am unsure how to resolve this issue. I'm not even sure if it's a qmail problem or what. Is it possible to use qmail-inject's environmental variables to fix this? Any help shedding light on the subject, or perhaps pointing me to a more appropriate newsgroup, would be hugely apprecciated. |
|
|||
|
josh.moore.it@gmail.com wrote:
> Hello, > > I have a php based password request form that talks to mini_sendmail > within a chroot(2) environment, which then talks to qmail. When > requesting a password, the logged outgoing mail file is sent by > apache@hostname instead of admin@fqdn.com. Some email services block > this (rightly so), and some don't.. and when it is not blocked, the > mail is received FROM: admin@fqdn.com.. leading me to believe that the > php mail() call is formatted correctly with $header =. > the "me" file is set as fqdn, and there isn't a defaultdomain or > plusdomain file. > > I am unsure how to resolve this issue. I'm not even sure if it's a > qmail problem or what. > > Is it possible to use qmail-inject's environmental variables to fix > this? > > Any help shedding light on the subject, or perhaps pointing me to a > more appropriate newsgroup, would be hugely apprecciated. > When invoiking sendmail, make sure to set the -f flag. AK |
|
|||
|
Hey,
in php.ini it was set as sendmail_path = /bin/mini_sendmail -t I set it to sendmail_path = /bin/mini_sendmail -t -f i am guessing though that this is now a mini_sendmail / php problem.. AK wrote: > josh.moore.it@gmail.com wrote: > > > Hello, > > > > I have a php based password request form that talks to mini_sendmail > > within a chroot(2) environment, which then talks to qmail. When > > requesting a password, the logged outgoing mail file is sent by > > apache@hostname instead of admin@fqdn.com. Some email services block > > this (rightly so), and some don't.. and when it is not blocked, the > > mail is received FROM: admin@fqdn.com.. leading me to believe that the > > php mail() call is formatted correctly with $header =. > > the "me" file is set as fqdn, and there isn't a defaultdomain or > > plusdomain file. > > > > I am unsure how to resolve this issue. I'm not even sure if it's a > > qmail problem or what. > > > > Is it possible to use qmail-inject's environmental variables to fix > > this? > > > > Any help shedding light on the subject, or perhaps pointing me to a > > more appropriate newsgroup, would be hugely apprecciated. > > > > When invoiking sendmail, make sure to set the -f flag. > > AK |
|
|||
|
Hey,
in php.ini it was set as sendmail_path = /bin/mini_sendmail -t I set it to sendmail_path = /bin/mini_sendmail -t -f i am guessing though that this is now a mini_sendmail / php problem.. AK wrote: > josh.moore.it@gmail.com wrote: > > > Hello, > > > > I have a php based password request form that talks to mini_sendmail > > within a chroot(2) environment, which then talks to qmail. When > > requesting a password, the logged outgoing mail file is sent by > > apache@hostname instead of admin@fqdn.com. Some email services block > > this (rightly so), and some don't.. and when it is not blocked, the > > mail is received FROM: admin@fqdn.com.. leading me to believe that the > > php mail() call is formatted correctly with $header =. > > the "me" file is set as fqdn, and there isn't a defaultdomain or > > plusdomain file. > > > > I am unsure how to resolve this issue. I'm not even sure if it's a > > qmail problem or what. > > > > Is it possible to use qmail-inject's environmental variables to fix > > this? > > > > Any help shedding light on the subject, or perhaps pointing me to a > > more appropriate newsgroup, would be hugely apprecciated. > > > > When invoiking sendmail, make sure to set the -f flag. > > AK |
|
|||
|
eh.. i meant, i set it to -t -f, and it stopped sending mail out altogether. josh.moore...@gmail.com wrote: > Hey, > > in php.ini it was set as > sendmail_path = /bin/mini_sendmail -t > > I set it to > sendmail_path = /bin/mini_sendmail -t -f > > i am guessing though that this is now a mini_sendmail / php problem.. > > AK wrote: > > josh.moore.it@gmail.com wrote: > > > > > Hello, > > > > > > I have a php based password request form that talks to mini_sendmail > > > within a chroot(2) environment, which then talks to qmail. When > > > requesting a password, the logged outgoing mail file is sent by > > > apache@hostname instead of admin@fqdn.com. Some email services block > > > this (rightly so), and some don't.. and when it is not blocked, the > > > mail is received FROM: admin@fqdn.com.. leading me to believe that the > > > php mail() call is formatted correctly with $header =. > > > the "me" file is set as fqdn, and there isn't a defaultdomain or > > > plusdomain file. > > > > > > I am unsure how to resolve this issue. I'm not even sure if it's a > > > qmail problem or what. > > > > > > Is it possible to use qmail-inject's environmental variables to fix > > > this? > > > > > > Any help shedding light on the subject, or perhaps pointing me to a > > > more appropriate newsgroup, would be hugely apprecciated. > > > > > > > When invoiking sendmail, make sure to set the -f flag. > > > > AK |
|
|||
|
josh.moore.it@gmail.com wrote:
> Hey, > > in php.ini it was set as > sendmail_path = /bin/mini_sendmail -t > > I set it to > sendmail_path = /bin/mini_sendmail -t -f > > i am guessing though that this is now a mini_sendmail / php problem.. > > AK wrote: > >>josh.moore.it@gmail.com wrote: >> >> >>>Hello, >>> >>>I have a php based password request form that talks to mini_sendmail >>>within a chroot(2) environment, which then talks to qmail. When >>>requesting a password, the logged outgoing mail file is sent by >>>apache@hostname instead of admin@fqdn.com. Some email services block >>>this (rightly so), and some don't.. and when it is not blocked, the >>>mail is received FROM: admin@fqdn.com.. leading me to believe that the >>>php mail() call is formatted correctly with $header =. >>>the "me" file is set as fqdn, and there isn't a defaultdomain or >>>plusdomain file. >>> >>>I am unsure how to resolve this issue. I'm not even sure if it's a >>>qmail problem or what. >>> >>>Is it possible to use qmail-inject's environmental variables to fix >>>this? >>> >>> Any help shedding light on the subject, or perhaps pointing me to a >>>more appropriate newsgroup, would be hugely apprecciated. >>> >> >>When invoiking sendmail, make sure to set the -f flag. >> >>AK > > The -f flag requires an additional input, the sender's email address. AK |
![]() |
| Thread Tools | |
| Display Modes | |
|
|