Jag har installerat apache2, php och mysql. Allt fungerar fint förutom att skicka mail i php. Kollade lite och jag hade inte sendmail installerat. Installerade det, men fungerade inte heller. Letade runt mer, och det visade sig att exim borde fungera bättre. Så nu har jag installerat det, men forfarande utan lycka.
Hittade ett kommando för att felsöka exim, och det verkar som att exim är inställt på att inte skicka externa mail. Hur åtgärdar jag detta?
Tack på förhand!
Kod: Markera allt
chrille@swefirebird:~$ sudo exim -bt -d chrille@hotmail.com
Exim version 4.67 uid=0 gid=0 pid=6257 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=6257
auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00612001
trusted user
admin user
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = root@XXXXXXXXX.com
Address testing: uid=0 gid=123 euid=0 egid=123
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing chrille@hotmail.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering chrille@hotmail.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing chrille@hotmail.com
--------> hubbed_hosts router <--------
local_part=chrille domain=hotmail.com
checking domains
expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> nonlocal router <--------
local_part=chrille domain=hotmail.com
checking domains
hotmail.com in "@:localhost:localhost:XXXXXXXX.com"? no (end of list)
hotmail.com in "! +local_domains"? yes (end of list)
R: nonlocal for chrille@hotmail.com
calling nonlocal router
rda_interpret (string): :fail: Mailing to remote domains not supported
expanded: :fail: Mailing to remote domains not supported
file is not a filter file
parse_forward_list: :fail: Mailing to remote domains not supported
extract item: :fail: Mailing to remote domains not supported
nonlocal router forced address failure
chrille@hotmail.com is undeliverable: Mailing to remote domains not supported
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=6257 terminating with rc=2 >>>>>>>>>>>>>>>>