LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [SOLVED ]Postfix error (https://www.linuxquestions.org/questions/linux-software-2/%5Bsolved-%5Dpostfix-error-4175453081/)

cinojose 03-07-2013 03:59 AM

[SOLVED ]Postfix error
 
Hi Guys,
I am newbie in this forum. I am triying to send out email using postfix i just installed postfix. Network configured.When i use mutt to send a test email I am getting this error
Mar 7 17:24:00 ubspress sendmail[5711]: r279O0Nm005711: from=root, size=287, class=0, nrcpts=1, msgid=<20130307092400.GA5706@ubspress.com>, relay=root@localhost
Mar 7 17:24:00 ubspress sendmail[5712]: r279O0DS005712: <cinojose@ubspress.com>... User unknown
Mar 7 17:24:00 ubspress sendmail[5711]: r279O0Nm005711: to=cinojose@ubspress.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30287, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Mar 7 17:24:00 ubspress sendmail[5712]: r279O0DS005712: from=<root@ubspress.com>, size=287, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=pluto.ubspress.com [127.0.0.1]
Mar 7 17:24:00 ubspress sendmail[5711]: r279O0Nm005711: r279O0Nn005711: DSN: User unknown
Mar 7 17:24:00 ubspress sendmail[5712]: r279O0DU005712: from=<>, size=2075, class=0, nrcpts=1, msgid=<201303070924.r279O0Nn005711@ubspress.com>, proto=ESMTP, daemon=MTA, relay=pluto.ubspress.com [127.0.0.1]
Mar 7 17:24:00 ubspress sendmail[5711]: r279O0Nn005711: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31311, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r279O0DU005712 Message accepted for delivery)
Mar 7 17:24:00 ubspress sendmail[5713]: r279O0DU005712: to=<root@ubspress.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32262, dsn=2.0.0, stat=Sent

please help me.

descendant_command 03-07-2013 06:14 AM

Quote:

Originally Posted by cinojose (Post 4906558)
<cinojose@ubspress.com>... User unknown

You sent mail to a non-existing user and successfully got a failure DSN.
Where is the problem?

cinojose 03-07-2013 07:04 PM

This is actually a valid user. System using localhost address as a relay. Relay must be mail.ubspress.com instead.
If they check locally , there is no such user.

descendant_command 03-07-2013 11:38 PM

Do you have ubspress.com listed in 'mydestination'?
If so, you shouldn't.

See http://www.postfix.org/postconf.5.html#relay_domains

cinojose 03-07-2013 11:43 PM

Solved :)
 
edited /etc/main.cf
changed mydomain = ubspress.com
myorgin =$mydomain

and restarted postfix by "service restart postfix".

Works like a charm after that.
Thank you so much for the comments.


All times are GMT -5. The time now is 01:10 PM.