sendmail wont send out emails
-
- Naik
- Posts: 68
- Joined: Thu Aug 07, 2008 6:09 pm
- Location: karachi
sendmail wont send out emails
Sendmail is not able to send mail out of server and holds then all in the ques
xxxx sendmail[3659]: o39Efxx2003659: to=******@xxxx.com, ctladdr=root (0/0), delay=00:00:04, xdelay=00:00:00, mailer=relay, pri=30003, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o39Eg3NE003660 Message accepted for delivery)
am trying to forward emails to smtp server.
xxxx sendmail[3659]: o39Efxx2003659: to=******@xxxx.com, ctladdr=root (0/0), delay=00:00:04, xdelay=00:00:00, mailer=relay, pri=30003, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o39Eg3NE003660 Message accepted for delivery)
am trying to forward emails to smtp server.
"message accepted for delivery" means that sendmail did send it out. it's no longer visible when you type "mailq", right? so, it's gone.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naik
- Posts: 68
- Joined: Thu Aug 07, 2008 6:09 pm
- Location: karachi
maybe you should show the log entries for the messages that aren't sent.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naik
- Posts: 68
- Joined: Thu Aug 07, 2008 6:09 pm
- Location: karachi
if you say so. without more detailed logs, no one can help you unless they guess at the solution. do you want guesswork or do you want reasoned analysis?If i am not wrong then SMTP server is not allowing the RELAY of this server.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naib Subedar
- Posts: 347
- Joined: Thu Aug 18, 2005 9:25 am
- Location: Attock
- Contact:
can you please capture the packet file and post it here
use tcpdump to capture packet
command
tcpdump -vns0 -i ethx(or whatever) port 25 -w file.pcap
post your file.pcap here
----------------------------
Dear lambda ,
I am trying to help him so please do not pass any negative comment , hope you will understand
-----------------------------
use tcpdump to capture packet
command
tcpdump -vns0 -i ethx(or whatever) port 25 -w file.pcap
post your file.pcap here
----------------------------
Dear lambda ,
I am trying to help him so please do not pass any negative comment , hope you will understand
-----------------------------
Cheers
B I L A L
B I L A L
all he has to do is post the log entries. they will tell you why the email isn't going out, not tcpdump.
can you tell the difference between a 451 rejection due to rbl and a 451 rejection for relaying denied using tcpdump? no.
can you tell the difference between a 451 rejection due to rbl and a 451 rejection for relaying denied using tcpdump? no.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naib Subedar
- Posts: 347
- Joined: Thu Aug 18, 2005 9:25 am
- Location: Attock
- Contact:
if someone posts here asking why he can't login to his dialup ISP, do you ask him to record the sounds the modem makes while connecting, or is it more important to ask what he sees on the screen?
tcpdump is like recording the sounds. useful in a few limited cases, but useless when it comes to solving the problem.
tcpdump is like recording the sounds. useful in a few limited cases, but useless when it comes to solving the problem.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naik
- Posts: 68
- Joined: Thu Aug 07, 2008 6:09 pm
- Location: karachi
definitely, i dont want the guess work
Apr 14 17:18:36 xxxxxx sendmail[14082]: o3ECIarD014082: to=xxx.xxxx@xxxx.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30049, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o3ECIaOw014083 Message accepted for delivery)
mailq
/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
o3ECIaOw014083* 6 Wed Apr 14 17:18 <root@xxxx.com>
<xxx.xxx@xxx.com>
Is there any more information needed?
Apr 14 17:18:36 xxxxxx sendmail[14082]: o3ECIarD014082: to=xxx.xxxx@xxxx.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30049, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o3ECIaOw014083 Message accepted for delivery)
mailq
/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
o3ECIaOw014083* 6 Wed Apr 14 17:18 <root@xxxx.com>
<xxx.xxx@xxx.com>
Is there any more information needed?
do you see o3ECIarD014082 anywhere else in the logs? do you see an attempt to connect to xxxx.com? you should see additional lines after that.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naik
- Posts: 68
- Joined: Thu Aug 07, 2008 6:09 pm
- Location: karachi
mailq
/var/spool/mqueue (3 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
o3ECIarD014082 1 Mon Apr 26 07:25 <root@localhost.localdomain>
(Deferred: Connection refused by xxx.xxxx.com.)
<ghulam.yaseen@xxxx.xxx>
o3QBbAkn023213 1 Mon Apr 26 07:37 <root@localhost.localdomain>
(Deferred: Connection refused by xxxx.xxx.xx.com.)
<ghulam.yaseen@xxxx.xxx>
o3QBQN6X023021 1 Mon Apr 26 07:26 <root@localhost.localdomain>
(Deferred: Connection refused by xxxx.xxxx.xx.com.)
<
Total requests: 3
Any more idea?
/var/spool/mqueue (3 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
o3ECIarD014082 1 Mon Apr 26 07:25 <root@localhost.localdomain>
(Deferred: Connection refused by xxx.xxxx.com.)
<ghulam.yaseen@xxxx.xxx>
o3QBbAkn023213 1 Mon Apr 26 07:37 <root@localhost.localdomain>
(Deferred: Connection refused by xxxx.xxx.xx.com.)
<ghulam.yaseen@xxxx.xxx>
o3QBQN6X023021 1 Mon Apr 26 07:26 <root@localhost.localdomain>
(Deferred: Connection refused by xxxx.xxxx.xx.com.)
<
Total requests: 3
Any more idea?
you've been stuck on this for at least two weeks now. i don't think you're serious about solving the problem; i think you're wasting everyone's time here. you have two choices right now:
1. go away.
2. provide the full log entries.
it's odd that your mailq shows a date of april 26; today's april 24.
1. go away.
2. provide the full log entries.
it's odd that your mailq shows a date of april 26; today's april 24.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naik
- Posts: 68
- Joined: Thu Aug 07, 2008 6:09 pm
- Location: karachi
well lambda bhai, no worries of time, as this was testing and learning thing for me.eventually this was resolved by taking these steps
Added following line to /etc/mail/sendmail.mc
define(`SMART_HOST', `my_isp_mailserver')dnl
/etc/mail/sendmail.cf
DSmy_isp_mailserver
/etc/hosts
10.xxx.xx.xxx my_isp_mailserver
now i can email, ........
Added following line to /etc/mail/sendmail.mc
define(`SMART_HOST', `my_isp_mailserver')dnl
/etc/mail/sendmail.cf
DSmy_isp_mailserver
/etc/hosts
10.xxx.xx.xxx my_isp_mailserver
now i can email, ........
lambda wrote:you've been stuck on this for at least two weeks now. i don't think you're serious about solving the problem; i think you're wasting everyone's time here. you have two choices right now:
1. go away.
2. provide the full log entries.
it's odd that your mailq shows a date of april 26; today's april 24.