SID-00953: DEBIAN EMAIL
| Status: |
Answered |
TWiki version: |
4.2.0 |
Perl version: |
Perl |
| Category: |
CategoryEmail |
Server OS: |
Debian Stable |
Last update: |
15 years ago |
I first built Twiki on Windows XP. It ran horribly slow, so I am now transferring everything to VMWare. I was able to transfer all of my pages successfully, however, I am having trouble getting the email working. I followed
http://twiki.org/cgi-bin/view/Codev/TWikiVMDebianStable#MTA
and I never receive an email when I test it in that section. Even starting from scratch w/out importing all my data I cannot get it to work. Is there a step missing, like downloading sendmail? I got the email setup working previously on the SMTP Configuration on the Windows version and I put that IP address as the smarthost. Please help.
--
TeresaStocker - 2010-08-23
Discussion and Answer
I have come to the conclusion that it is trying to use NET::SMTP when it needs to be using sendmail. In my Configuration I set
MailProgram = /usr/sbin/sendmail -t -oi -oeq
and in my
TwikiPreferences:
Set MAILPROGRAM = /usr/sbin/sendmail -t -oi -oeq
Set SMTPMAILHOST =
However, it is still not working but I think I'm getting closer. Any suggestions would be greatly appreciated.
--
TeresaStocker - 2010-08-25
If it helps, when I go to reset a password the error says
ERROR
Can't send mail using Net::SMTP. 5.7.1 Unable to relay
Too many failures sending mail %PARAM2% %PARAM3% %PARAM4%
And it's not because my SMTP server is blocking it because the email works fine on Windows XP using the same server. And if I put an invalid SMTP Mailhost it says cannot connect - so it's connecting!
--
TeresaStocker - 2010-08-25
Please help.. I cannot use this faster version of Twiki if I cannot get the email to work. It only takes 5 minutes to setup the debian version.
Here is my log!
1Oofin-0000Le-3y <=
root@localhostPLEASENOSPAM.localdomain U=root P=local S=319
1Oofin-0000Le-3y **
tstocker@mydomainPLEASENOSPAM.net R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer after RCPT TO:<tstocker@mydomain.net>: host mymachine.mycompany.corp.mydomain.net [172.##.#.#]: 550 5.7.1 Unable to relay
1OofjJ-0000Lh-Jx <= <> R=1Oofin-0000Le-3y U=Debian-exim P=local S=1314
1Oofin-0000Le-3y Completed
1OofjJ-0000Lh-Jx **
user@mydomainPLEASENOSPAM.net <root@localhost.localdomain> R=smarthost T=remote_smtp_smarthost: SMTP error from remote mailer after RCPT TO:<user@mydomain.net>: host mymachine.mycompany.corp.mydomain.net [172.23.8.6]: 550 5.7.1 Unable to relay
1OofjJ-0000Lh-Jx Frozen (delivery error message)
--
TeresaStocker - 2010-08-26
OK, for anyone who ever wants to know why you would get this error message. It has to do with network settings. Thanks network administrator. We had to setup a custom smtp relay connector after setting it to a static ip address.
--
TeresaStocker - 2010-08-26
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.