2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
crys |
Posted: Mar 4 2006, 09:53 AM
|
||||||||
Junior Member Group: Members Posts: 40 Member No.: 1719 Joined: 15-August 05 |
Hi All, I do this,
And I get,
I checked the dirs,
and this,
What could be the problem? Thnx Crys. |
||||||||
hschneider |
Posted: Mar 4 2006, 10:21 AM
|
||||
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
mv sendmail sendmail.org2 ln -s sendmail.xmail.sh sendmail chmod +s sendmail.xmail.sh The sendmail.xmail.sh should call sendmail.xmail then. Mine looks like this:
-------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
||||
crys |
Posted: Mar 6 2006, 10:21 AM
|
Junior Member Group: Members Posts: 40 Member No.: 1719 Joined: 15-August 05 |
Thanks,
This works charm!. Do you care to explain WHY?. Not Mandatory but will help!! Thanks, Crys |
hschneider |
Posted: Mar 6 2006, 11:03 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
mv sendmail sendmail.org2
This disables the original sendmail binary by renaming it. ln -s sendmail.xmail.sh sendmail Here we create a symbolic link called sendmail, which calls sendmail.xmail.sh. So each call to the sendmail binary is redirected to that script. chmod +s sendmail.xmail.sh This means the script is executed under the ID of its owner (root). The script itself just sets the global environment variables DEFAULT_DOMAIN + MAIL_ROOT and finally calls XMail's sendmail binary: /usr/sbin/xmail.sendmail which has also its SUID bit set (chmod +s) -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
crys |
Posted: Mar 7 2006, 03:59 AM
|
||
Junior Member Group: Members Posts: 40 Member No.: 1719 Joined: 15-August 05 |
THANK YOU, And off topic I'd like to share something for which I toil to get this XMail sendmail CLI working!!, 1. I wanted to get SSH login/connection alert from my box (I have a gentoo box) 2. Create a file called /etc/ssh/sshrc
3. Whenever a connection is made thru' SSH I get a mail. 4. My next step is to setup a sms alert to my mobile!!!. I'll be very glad if this helps somebody. Please please improve this junk if a genius see this !!!. Thnx Crys. |
||