PDA

View Full Version : sendmail


charlie2450
2008-08-28, 06:54 PM CDT
Please can someone help me out. I have a server up and running on FC9. On my website I have a chatroom, and to register people are required to fill in a form and then the email is sent to them with there password etc. Now the problem is, is that the email never reaches them, it is still sitting on my server. I thought I had sendmail configured but no luck.

I am using webmin to control my server and and when I enter the sendmail server through webmin, I can see the emails sitting there in the MAIL QUEUE box. I enter the mail queue box and flush the email to try and forword it on, but a message comes back and tells me:

Running /var/spool/mqueue/m7T0YZpd018895 (sequence 1 of 1)
m7T0YZpd018895: locked

Please can someone tell me what's going on. I have no hair left from pulling it out with frustration.

A walk through with how to set up sendmail using webmin would be fantastic.

and maybe help on confiuring sendmail.mc etc

Thanks for your much needed help


Charlie :mad: :confused:

Hlingler
2008-08-28, 07:39 PM CDT
Ich! SendMail is such a PITA to set up. Plus you're trying to set up through WebMin.

I'd recommand starting at the SendMail web site. Infinite Ink has some How-Tos: http://www.ii.com/internet/robots/. See also the "Every Server Setup Imaginable" thread here in the "Guides and How-Tos" forum.

Good Luck,
V

EDIT: The Linux Documentation Project (ldp) also looks to have a good How-To/tutorial: http://tldp.org/LDP/nag2/x-087-2-sendmail.html

marcrblevins
2008-08-28, 11:14 PM CDT
Charlie,
Go thru this thread, very minimal changes for dovecot & sendmail, see if that helps.

charlie2450
2008-08-29, 02:17 PM CDT
Thanks for your help, but no joy.. I have read several manuals and applied there changes but still no joy. I am open to anymore suggestions

briantan
2008-08-29, 04:03 PM CDT
Make the following changes to sendmail.mc

define(`confDOMAIN_NAME', `mydomain.com')dnl
define(`SMART_HOST', `smtpxx.myisp.com')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl

mydomain.com is the name for your email server. Default is your host name.
smtpxx.myisp.com is your ISP email forwarding/relay server.
DAEMON_OPTIONS for accepting incoming emails, if smtp port not blocked by ISP.


Check that you have at least 2 processes running for sendmail:
# ps xa|grep sendmail
28046 ? Ss 0:00 sendmail: accepting connections
28054 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

Edit: mailq command should tell you why email is not being sent.
# mailq