# Email problem

**URL:** <https://forum.virtualmin.com/t/email-problem/34631>\
**Category:** Virtualmin\
**Created:** [October 13, 2009, 12:37pm UTC](https://forum.virtualmin.com/t/email-problem/34631 "2009-10-13T12:37:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andyase](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@andyase](https://forum.virtualmin.com/u/andyase)\
**Post date:** [October 13, 2009, 12:37pm UTC](https://forum.virtualmin.com/t/email-problem/34631/1 "2009-10-13T12:37:29Z")

</div>

Hi, just about got through most issues now, have an email problem.

I can send mail to my server from the internet - but cannot send from my server to the internet, im sure this is something simple… I am testing directly from the server.

Thanks  
Andy

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [October 13, 2009, 3:04pm UTC](https://forum.virtualmin.com/t/email-problem/34631/2 "2009-10-13T15:04:04Z")

</div>

Howdy,

What error(s) do you get when you attempt to send a message? You can see the email logs in /var/log/maillog or /var/log/mail.log.

Also, are you sure that your ISP isn’t blocking outgoing SMTP requests?

-Eric

---

<div class="post-metadata">

**Author:** ![andyase](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@andyase](https://forum.virtualmin.com/u/andyase)\
**Post date:** [October 13, 2009, 3:17pm UTC](https://forum.virtualmin.com/t/email-problem/34631/3 "2009-10-13T15:17:53Z")

</div>

Here is some of the output.

Oct 13 12:28:48 ns1 postfix/qmgr[2737]: E9BD81C788B2: removed

Oct 13 12:28:52 ns1 postfix/sendmail[4926]: fatal: usage: sendmail [options]

Oct 13 12:31:20 ns1 postfix/pickup[3035]: 18C421C788AE: uid=0 from=[admin@santa-post.com](mailto:admin@santa-post.com)  
Oct 13 12:31:20 ns1 postfix/cleanup[5098]: 18C421C788AE: message-id=[1255433480.5094@santa-post.com](mailto:1255433480.5094@santa-post.com)

Oct 13 12:31:20 ns1 postfix/qmgr[2737]: 18C421C788AE: from=[admin@santa-post.com](mailto:admin@santa-post.com), size=1090, nrcpt=1 (queue active)

Oct 13 12:31:20 ns1 postfix/smtpd[5101]: connect from ns1.orion.local[127.0.0.1]

Oct 13 12:31:20 ns1 postfix/smtp[5100]: warning: host [hotmail.com](http://hotmail.com)[0.0.0.0]:25 greeted me with my own hostname ns1.orion.local

Oct 13 12:31:20 ns1 postfix/smtp[5100]: warning: host [hotmail.com](http://hotmail.com)[0.0.0.0]:25 replied to HELO/EHLO with my own hostname ns1.orion.local

Oct 13 12:31:20 ns1 postfix/smtp[5100]: 18C421C788AE: to=[andyase@hotmail.com](mailto:andyase@hotmail.com), [relay=hotmail.com](http://relay=hotmail.com)[0.0.0.0]:25, delay=0.2, delays=0.16/0.01/0.03/0, dsn=5.4.6, status=bounced (mail for [hotmail.com](http://hotmail.com) loops back to myself)

Oct 13 12:31:20 ns1 postfix/smtpd[5101]: disconnect from ns1.orion.local[127.0.0.1]

Oct 13 12:31:20 ns1 postfix/cleanup[5098]: 521811C788B2: message-  
id=[20091013113120.521811C788B2@ns1.orion.local](mailto:20091013113120.521811C788B2@ns1.orion.local)

Oct 13 12:31:20 ns1 postfix/bounce[5103]: 18C421C788AE: sender non-delivery notification: 521811C788B2

Oct 13 12:31:20 ns1 postfix/qmgr[2737]: 521811C788B2: from=\<\>, size=2825, nrcpt=1 (queue active)

Oct 13 12:31:20 ns1 postfix/qmgr[2737]: 18C421C788AE: removed

Oct 13 12:31:24 ns1 spamd[2738]: spamd: connection from ns1.orion.local [127.0.0.1] at port 60389

Oct 13 12:31:24 ns1 spamd[2738]: spamd: setuid to admin.santy7r succeeded

Oct 13 12:31:24 ns1 spamd[2738]: spamd: processing message [20091013113120.521811C788B2@ns1.orion.local](mailto:20091013113120.521811C788B2@ns1.orion.local) for admin.santy7r:502

Oct 13 12:31:24 ns1 spamd[2738]: spamd: clean message (-0.0/5.0) for admin.santy7r:502 in 0.3 seconds, 2875 bytes.

Oct 13 12:31:24 ns1 spamd[2738]: spamd: result: . 0 - NO\_RELAYS scantime=0.3,size=2875,user=admin.santy7r,uid=502,required\_score=5.0,rhost=ns1.orion.local,raddr=127.0.0.1,rport=60389,mid=[20091013113120.521811C788B2@ns1.orion.local](mailto:20091013113120.521811C788B2@ns1.orion.local),autolearn=ham

Oct 13 12:31:24 ns1 spamd[2662]: prefork: child states: II

Oct 13 12:31:24 ns1 postfix/local[5104]: 521811C788B2: to=[admin.santy7r@ns1.orion.local](mailto:admin.santy7r@ns1.orion.local), orig\_to=[admin@santa-post.com](mailto:admin@santa-post.com), relay=local, delay=4.4, delays=0.16/0.01/0/4.2, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [October 13, 2009, 3:20pm UTC](https://forum.virtualmin.com/t/email-problem/34631/4 "2009-10-13T15:20:37Z")

</div>

Howdy,

The only error I see in that is:

`Oct 13 12:28:52 ns1 postfix/sendmail[4926]: fatal: usage: sendmail [options]`

That could simply be from the way Postfix is being called – how are you going about testing outgoing emails?

If you have the “mail” tool installed, you can use that from the command line to send a test.

-Eric

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:47am UTC](https://forum.virtualmin.com/t/email-problem/34631/5 "2020-04-30T05:47:23Z")

</div>

Closed on April 30, 2020, 5:47am UTC


