Trouble with sendmail configuration?

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Trouble with sendmail configuration?

Postby filip » Jan 22nd, '12, 23:15

Hi, all. I have to troubleshoot my friends installation of phpBB with notification MOD. I installed phpBB locally. All works except notifications. To debug that I tried if php mail function works outside of phpBB. It doesn't. I have some experience in php and mysql but I'm lost here. I suspect sendmail configuration.

Some info from my system. Please tell me if I need to post some more of it.
Code: Select all
# more /var/log/mail/errors.log
Jan 22 17:53:21 localhost sendmail[30867]: q0MGhKxd030867: SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db: No such file or directory

How to generate it? Any "sendmail noob" friendly manual?

Code: Select all
# more /var/log/mail/errors.log
Jan 22 20:53:21 localhost sendmail[1838]: q0MItu0w019406: to=<my_hidden_personal.email@gmail.com>, ctladdr=<apache@localhost.localdomain> (490/485), delay=00:57:25, xdelay=00:10:00, mailer=esmtp, pri=210596, relay=alt4.gmail-smtp-in.l.google.com. [209.85.225.26], dsn=4.0.0, stat=Deferred: Connection timed out with alt4.gmail-smtp-in.l.google.com.

It probably needs some authentication?

Code: Select all
# more /etc/mail/access
# Check the /usr/share/doc/sendmail-8.14.4/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail-8.14.4/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY


I didn't change configuration of sendmail yet. It's not familiar to me at all :oops:. Any help will be greatly appreciated.

Thanks,
Filip.
filip
 
Posts: 478
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: Trouble with sendmail configuration?

Postby CaptSilver » Jan 23rd, '12, 05:09

In /etc/mail
touch genericstable
makemap hash genericstable<genericstable

from http://www.linuxquestions.org/questions ... db-295493/
"Death is a natural part of life. Rejoice for those who transform into the Force. Mourn them do not. Miss them do not. Attachment leads to jealousy. The shadow of greed, that is." ―Yoda

CaptSilver proudly runs Mageia 1 x86_64 on ASUS ROG G73-JH
CaptSilver
 
Posts: 16
Joined: Jan 22nd, '12, 00:12


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest