Starting mysql and sendmail

Alexander Dalloz ad+lists at uni-x.org
Wed Aug 24 00:53:48 UTC 2005


Am Mi, den 24.08.2005 schrieb Dotan Cohen um 1:25:

> but nothing in Gmail! I also tried with yahoo mail, which returned a
> similar output as gmail, but also nothing in the inbox (or spambox). 
> Mailq returned this:
> [root at localhost ~]# mailq
>                 /var/spool/mqueue (5 requests)
> -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
> j7NMnopO008242       12 Wed Aug 24 01:52 <root at localhost.localdomain>
>                  (host map: lookup (gmail.com): deferred)
>                                          <dotancohen at gmail.com>
> j7NN2sRj008364       12 Wed Aug 24 02:05 <root at localhost.localdomain>
>                  (host map: lookup (yahoo.com): deferred)
>                                          <dotancohen at yahoo.com>
> j7NLLon4007218        6 Wed Aug 24 00:24 <apache at localhost.localdomain>
>                  (host map: lookup (dotancohen.com): deferred)
>                                          <dotan at dotancohen.com>
> j7NKuMAr006803        6 Tue Aug 23 23:59 <apache at localhost.localdomain>
>                  (host map: lookup (dotancohen.com): deferred)
>                                          <dotan at dotancohen.com>
> j7NKu4nW006799        6 Tue Aug 23 23:58 <apache at localhost.localdomain>
>                  (host map: lookup (dotancohen.com): deferred)
>                                          <dotan at dotancohen.com>
>                 Total requests: 5
> [root at localhost ~]#        
> 
> After spending some time STFA and STFW I have come to the conclusion
> that the problem may be either SElinux related or due to the fact that
> I have not set an email address for this machine (it all ends in
> @localhost). Does this sound reasonable?

> Dotan Cohen

2 problems: a) You try to send mails as / from localhost.localdomain
which are treated by most other mail systems to be invalid / spam. To
avoid problems you better use your ISP's mail relay as smart host (that
topic has been covered here on the list several times). But it is too
recommended to set a valid mail address if mail shall not disappear in
spam filters. b) The DNS on your host seems to not be working as
Sendmail is not able to lookup the target systems.

SELinux can be another "problem" (as said in my other reply), especially
if you try to mail by a PHP script. This "problem" is intended and thus
an SELinux feature.

I recommend to not try so many things at one time. Do them step by step.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 02:46:33 up 1 day, 23:30, load average: 0.08, 0.10, 0.09 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050824/92c604c4/attachment-0001.sig>


More information about the fedora-list mailing list