Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
08-28-2009, 11:39 AM
#1
LQ Newbie
Registered: Dec 2007
Posts: 15
Rep:
Sendmail wont accept mails from localhost
Hiya,
My sendmail doesn't accept connection from my own host, let me show you the maillog:
Code:
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7SFavhl008331: to=root, delay=01:05:54, xdelay=00:00:00, mailer=relay, pri=391249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7SFg6ZI008346: to=root, delay=01:00:46, xdelay=00:00:00, mailer=relay, pri=391249, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7SFxYaQ008381: to=root, delay=00:43:18, xdelay=00:00:00, mailer=relay, pri=391249, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7R74tLZ005690: to=postmaster, delay=1+09:37:57, xdelay=00:00:00, mailer=relay, pri=7439728, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7QL4tLZ005293: to=postmaster, delay=1+19:37:57, xdelay=00:00:00, mailer=relay, pri=9602519, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7QHJtLZ005171: to=postmaster, delay=1+23:22:57, xdelay=00:00:00, mailer=relay, pri=10411126, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7QGTtLZ005149: to=postmaster, delay=2+00:12:57, xdelay=00:00:00, mailer=relay, pri=10581345, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7PMYtLZ004429: to=postmaster, delay=2+18:07:57, xdelay=00:00:00, mailer=relay, pri=14459706, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7PMYtLa004429: to=postmaster, delay=2+18:07:57, xdelay=00:00:00, mailer=relay, pri=14462495, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7PDnsLZ003519: to=root, delay=3+02:52:58, xdelay=00:00:00, mailer=relay, pri=16321476, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7PDnsLa003519: to=root, delay=3+02:52:57, xdelay=00:00:00, mailer=relay, pri=16321498, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7PDnsLb003519: to=root, delay=3+02:52:57, xdelay=00:00:00, mailer=relay, pri=16321522, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7P9cIxe002696: to=root, ctladdr=root (0/0), delay=3+07:04:34, xdelay=00:00:00, mailer=relay, pri=17310232, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7P9bPAg002690: to=root, ctladdr=root (0/0), delay=3+07:05:27, xdelay=00:00:00, mailer=relay, pri=17310254, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7P9c2Ac002695: to=root, ctladdr=root (0/0), delay=3+07:04:50, xdelay=00:00:00, mailer=relay, pri=17310278, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7OMtKhM026595: to=postmaster, delay=3+17:47:32, xdelay=00:00:00, mailer=relay, pri=19560000, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7OMtKhO026595: to=postmaster, delay=3+17:47:32, xdelay=00:00:00, mailer=relay, pri=19585456, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7OMtKhN026595: to=postmaster, delay=3+17:47:32, xdelay=00:00:00, mailer=relay, pri=19585456, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7OLFKhM026533: to=postmaster, delay=3+19:27:32, xdelay=00:00:00, mailer=relay, pri=19946918, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7O7UKhM025530: to=postmaster, delay=4+09:12:32, xdelay=00:00:00, mailer=relay, pri=22915522, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7NJ0KhM024779: to=postmaster, delay=4+21:42:32, xdelay=00:00:00, mailer=relay, pri=25618314, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7NIZKhM024760: to=postmaster, delay=4+22:07:32, xdelay=00:00:00, mailer=relay, pri=25709721, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7NHjKhM024726: to=postmaster, delay=4+22:57:32, xdelay=00:00:00, mailer=relay, pri=25891141, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7OMtKhQ026595: to=postmaster, delay=3+17:47:31, xdelay=00:00:00, mailer=relay, pri=27919211, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 28 18:42:52 tzxtech sm-msp-queue[8578]: n7OMtKhP026595: to=postmaster, delay=3+17:47:31, xdelay=00:00:00, mailer=relay, pri=27919211, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
I have been looking al over the internet for solution to this problem, but no luck as of yet.
Anybody got an idea?
08-28-2009, 05:23 PM
#2
Member
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246
Rep:
Hi,
what about the access file?
Has it got the 127.0.0.1 ? Could you check it?
Take a look the sendmail.mc you must have somewhere this too:
Quote:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Take a look this sendmail.mc sample file to check yours.
http://home.freeuk.net/wimp/linux/sa...ndmail.mc.html
Laz
08-29-2009, 05:49 AM
#3
LQ Newbie
Registered: Dec 2007
Posts: 15
Original Poster
Rep:
Quote:
Originally Posted by
okcomputer44
/etc/mail/access:
Code:
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
/etc/mail/sendmail.cf:
Code:
O DaemonPortOptions=Port=25, Name=MTA
O DaemonPortOptions=Port=2525, Name=MTA
O DaemonPortOptions=Port=smtps, Name=MSA-SSL, M=E
Using 2525 to bypass ISP block, in combination with no-ip mail reflector.
No IP address passed, which means it is listening on 0.0.0.0, verified by:
Code:
root@tzxtech:/etc/mail# netstat -an | grep 0.0.0.0:25*
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2525 0.0.0.0:* LISTEN
All times are GMT -5. The time now is 10:42 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News