Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found
Hi,
I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message Quote:
In webmin config module we have Quote:
Thanks for your help |
Hi,
Please see if sendmail rpm is installed Code:
rpm -qa |grep -i sendmail |
Yes
Yes sir it is setup
Code:
[root@myinux salam]# rpm -qa |grep -i sendmail |
You need to install also sendmail-cf package
Code:
yum install sendmail-cf |
Correct
Thanks, I setup sendmail-cf and error disappeared.
From command line I can send email to root. I tried to test sendmail setup by sending an email to my public email provided by my internet provider as follows Code:
mail oneofemails@free.fr Quote:
Code:
FEATURE(`genericstable')dnl root myemail@free.fr which I can see in the list of outgoing emails in webmin Also, I modified smart host as follows Code:
dnl define(`SMART_HOST', `smtp.free.fr')dnl Code:
FEATURE(`authinfo',`hash /etc/mail/auth/client-info') Still getting the ame error. Thanks for your help |
You should post the whole error (all the headers of the return mail) and maybe also what is logged in /var/log/maillog.
I can only guess that you have to masquerade your hostname. Take a look here for details Regards |
Bathory, in webmin, it is clearly indicated "Domain Masquerading'' the following
Quote:
Code:
Mail from Change to Here is the info from maillog Quote:
The original message was received at Tue, 26 Oct 2010 18:01:16 +0200 from salamlinux [127.0.0.1] Quote:
|
Quote:
If you don't want to go with masquerading, take a look at this thread here at LQ (specially last post) Regards |
Not so clear GENERICS_DOMAIN_FILE for me
bathory,
In this thread it is indicated to add GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain') how this should be added? snedmail.cf, there is "define'', "feature, I tried to adding it manullay to cf filem, it doesnt rebuild, I used webmin same result, where this directive should go, is it a feature, a parameter, define or other When I add Quote:
Code:
Failed to build configuration : I am really stuck |
You need to add this in the sendmail.mc used to create your current sendmail.cf. After that you should run:
Code:
m4 sendmail.mc > /etc/mail/sendmail.cf Regards |
added and ran m4, but .....
Thanks bathory,
added the lines manullay to .mc file, ran the m4 and have a new sendmail.cf generated I also regenerated the genericstable. still getting the same error as if sendmail; is not taking into consideration the mapping with outgoing addresses generics table |
Did you created the /etc/mail/genericsdomain?
From the link of my previous post you should run: Code:
sendmail -bt -d0.1 < /dev/null I also think that you need to add: Code:
FEATURE(`masquerade_envelope')dnl |
Yes I did
es, I did this, stoped and restarted sendmail.
Here is te last portion of m sendmail.mc Quote:
|
sorry I clicked submit before I finishe
So you can notice
dnl FEATURE(masquerade_envelope)dnl and dnl GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain`)dnl. Regarding Code:
sendmail -bt -d0.1 < /dev/null Quote:
|
By ''to find out what domain names you should put in that file''
Do you or the thread write mean I need to manually create a file and place Quote:
Quote:
|
All times are GMT -5. The time now is 10:22 AM. |