# sendmail and smtp

- Thread: https://externals.io/message/2056
- Original archive: https://news-web.php.net/php.internals/2056
- Started by Allowee on 2003-05-28T13:11:34+00:00
- Messages: 7
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2056 — Allowee — 2003-05-28T13:11:34+00:00

URL: https://externals.io/message/2056#2056

Since i've setup my local sendmail (smail) I can't send messages to any
php.net e-mail address.

when I use my mailserver it goes fine.

whats the problem?
using smail is faster so thats why I'm using it.

are you using your local sendmail or your hosts smtp?

.: Allowee

---

## #2058 — Derick Rethans — 2003-05-28T13:18:13+00:00

URL: https://externals.io/message/2056#2058 · In reply to: #2056

> Since i've setup my local sendmail (smail) I can't send messages to any
> php.net e-mail address.

You most likely have it configured badly. (Feel free to mail me directly 
so that I can have a look).

> whats the problem?
> using smail is faster so thats why I'm using it.
> 
> are you using your local sendmail or your hosts smtp?

PHP uses qmail.

Derick

-- 
                                        "my other box is your windows PC"
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/

---

## #2061 — David Grant — 2003-05-28T13:28:44+00:00

URL: https://externals.io/message/2056#2061 · In reply to: #2059

Allowee wrote:
> I got the feeling that it's linux again..
> it's in a sig smewhere... "Linux is user friendly, it's just picky on who's 
> friend it is" something like that..

Have you tried examining your log files?

Regards,

David

-- 
David Grant
Web Developer

david.grant@wiredmedia.co.uk
http://www.wiredmedia.co.uk

Tel: 0117 930 4365, Fax: 0870 169 7625

Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD

Company registration number: 4016744

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************

---

## #2059 — Allowee — 2003-05-28T13:29:15+00:00

URL: https://externals.io/message/2056#2059 · In reply to: #2058

> You most likely have it configured badly. 

Hmm, I'm using the default config files...

> PHP uses qmail.

Here's the funny part..
My host also has qmail.
and I just found out that mailing to my host with smail
has no problems at all.
I mail it, check my email and it's there. (headers show me that it really was 
at my host)

I got the feeling that it's linux again..
it's in a sig smewhere... "Linux is user friendly, it's just picky on who's 
friend it is" something like that..

.: Allowee

---

## #2064 — Gareth Ardron — 2003-05-28T13:51:39+00:00

URL: https://externals.io/message/2056#2064 · In reply to: #2059

>
> I got the feeling that it's linux again..
> it's in a sig smewhere... "Linux is user friendly, it's just picky on who's
> friend it is" something like that..

Assuming you've tried the obvious and looked at your log files...

If you're having trouble with sendmail, you might want to try exim. It's got 
what is generally considered to be a more sane config than sendmail.


-- 
Gareth Ardron

---

## #2062 — Allowee — 2003-05-28T13:55:33+00:00

URL: https://externals.io/message/2056#2062 · In reply to: #2061

> Have you tried examining your log files?

yep, look:
05/28/2003 15:09:56: [3077] [m19L0gm-000YnkC] Received FROM:Allowee 
PROGRAM:smail ORIG-ID:<200305281509.56352.php[@]allowee.no-SPAM-ip.com> 
SIZE:746
05/28/2003 15:09:57: [3078] [m19L0gm-000YnkC] Delivered VIA:pair1.php.net 
TO:internals]@[lists.php.net ROUTER:inet_hosts TRANSPORT:smtp
05/28/2003 15:09:57: [3078] [m19L0gm-000YnkC] Completed.

and here is the log when I mail to my own host
05/28/2003 15:47:04: [3268] [m19L1Gi-000YnmC] Received FROM:Allowee 
PROGRAM:smail ORIG-ID:<200305281547.04004.php[@]allowee.noSPAM-ip.com> 
SIZE:460
05/28/2003 15:47:08: [3269] [m19L1Gi-000YnmC] Delivered VIA:mail.nozonenet.com 
TO:php]@[allowee.noSPAM-ip.com ROUTER:inet_hosts TRANSPORT:smtp
05/28/2003 15:47:08: [3269] [m19L1Gi-000YnmC] Completed.


looks the same for me, no errors, nothing strange.

so it must be the server at lists.php.net.

btw, I'm not that able to get some better logs, with all the commands.

.: Allowee

---

## #2063 — Derick Rethans — 2003-05-28T13:58:21+00:00

URL: https://externals.io/message/2056#2063 · In reply to: #2062

> 
> > […]
> 
> yep, look:
> 05/28/2003 15:09:56: [3077] [m19L0gm-000YnkC] Received FROM:Allowee 
> PROGRAM:smail ORIG-ID:<200305281509.56352.php[@]allowee.no-SPAM-ip.com> 
> SIZE:746
> 05/28/2003 15:09:57: [3078] [m19L0gm-000YnkC] Delivered VIA:pair1.php.net 
> TO:internals]@[lists.php.net ROUTER:inet_hosts TRANSPORT:smtp
> 05/28/2003 15:09:57: [3078] [m19L0gm-000YnkC] Completed.
> 
> and here is the log when I mail to my own host
> 05/28/2003 15:47:04: [3268] [m19L1Gi-000YnmC] Received FROM:Allowee 
> PROGRAM:smail ORIG-ID:<200305281547.04004.php[@]allowee.noSPAM-ip.com> 
> SIZE:460
> 05/28/2003 15:47:08: [3269] [m19L1Gi-000YnmC] Delivered VIA:mail.nozonenet.com 
> TO:php]@[allowee.noSPAM-ip.com ROUTER:inet_hosts TRANSPORT:smtp
> 05/28/2003 15:47:08: [3269] [m19L1Gi-000YnmC] Completed.
> 
> 
> looks the same for me, no errors, nothing strange.

allowee.no-SPAM-ip.com is not a valid domain name, a lot of mail servers 
will bounce that. (Also, please take this off-list, as it has nothing to 
do with PHP internals).

Derick

-- 
                                        "my other box is your windows PC"
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/
