Email problem

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

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

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
Oct 13 12:31:20 ns1 postfix/cleanup[5098]: 18C421C788AE: message-id=1255433480.5094@santa-post.com

Oct 13 12:31:20 ns1 postfix/qmgr[2737]: 18C421C788AE: from=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[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[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, 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 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

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 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,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, orig_to=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

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