Results 1 to 10 of 16
hello all,
If i send mails using postfix,the mails stored in queue,not delivered to required recipient...can anyone please tell me the solution for this problem......
- 12-01-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 10
linux postfix problem...
hello all,
If i send mails using postfix,the mails stored in queue,not delivered to required recipient...can anyone please tell me the solution for this problem...
- 12-01-2011 #2
Try checking your mail log file (/var/log/maillog), for possible problems.
linux user # 503963
- 12-01-2011 #3Just Joined!
- Join Date
- Dec 2011
- Posts
- 10
i tried to check the mail log...but i didnt find..this is the thing i get...
Nov 29 00:35:59 server postfix/master[1594]: daemon started -- version 2.6.6, configuration /etc/postfix
Nov 29 00:40:51 server postfix/postfix-script[13718]: stopping the Postfix mail system
Nov 29 00:40:51 server postfix/master[1594]: terminating on signal 15
Nov 29 00:41:31 server postfix/postfix-script[1837]: starting the Postfix mail system
Nov 29 00:41:31 server postfix/master[1838]: daemon started -- version 2.6.6, configuration /etc/postfix
Nov 29 00:43:15 server postfix/postfix-script[3376]: stopping the Postfix mail system
Nov 29 00:43:15 server postfix/master[1838]: terminating on signal 15
Nov 29 00:43:56 server postfix/postfix-script[1907]: starting the Postfix mail system
- 12-01-2011 #4
signal 15 is sigkill, which if you didn't invoke it means that system is not happy about something. sounds like its crashing. Perhaps a mismatched library. Did you update recently? How is your system doing on memory? Check out /var/log/messages, perhaps it contains more information on why the postfix process is crashing.
linux user # 503963
- 12-01-2011 #5Just Joined!
- Join Date
- Dec 2011
- Posts
- 10
ya its scanned everything using this command tailf /var/log/messages..
Dec 1 09:42:48 server cachefilesd[1521]: Scan complete
Dec 1 09:43:18 server cachefilesd[1521]: Scan complete
Dec 1 09:43:48 server cachefilesd[1521]: Scan complete
Dec 1 09:44:18 server cachefilesd[1521]: Scan complete
Dec 1 09:44:48 server cachefilesd[1521]: Scan complete
Dec 1 09:45:18 server cachefilesd[1521]: Scan complete
Dec 1 09:45:48 server cachefilesd[1521]: Scan complete
Dec 1 09:46:18 server cachefilesd[1521]: Scan complete
Dec 1 09:46:48 server cachefilesd[1521]: Scan complete
Dec 1 09:47:18 server cachefilesd[1521]: Scan complete
Dec 1 09:47:48 server cachefilesd[1521]: Scan complete
Dec 1 09:48:18 server cachefilesd[1521]: Scan complete
Dec 1 09:48:48 server cachefilesd[1521]: Scan complete
Dec 1 09:49:18 server cachefilesd[1521]: Scan complete
Dec 1 09:49:48 server cachefilesd[1521]: Scan complete
- 12-01-2011 #6Just Joined!
- Join Date
- Dec 2011
- Posts
- 10
this is the configuration i done on a /etc/postfix/main.cf file
[root@server log]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $server.example.com, localhost.$example.com, mail.$example.com
mydomain = example.com
myhostname = server.example.com
mynetworks = 192.168.0.0/24,127.0.0.0/8
myorigin = $example.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
- 12-01-2011 #7
Does it give you any output when restart the service?
orCode:service postfix restart
Code:/etc/init.d/postfix restart
linux user # 503963
- 12-01-2011 #8Just Joined!
- Join Date
- Dec 2011
- Posts
- 10
ya i restart the postfix service...postfix service is correctly restarted without error...and also i on the service using
chkconfig postfix on command..
- 12-01-2011 #9
What does your system say about the messages in the queue:
you can also look for out of place variables, by turning up the debug as well.Code:postqueue -p
Code:postqueue -v
linux user # 503963
- 12-01-2011 #10Just Joined!
- Join Date
- Dec 2011
- Posts
- 10
[root@server log]# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
8C8B811FB16 688 Thu Dec 1 20:55:16 root@server.example.com
(connect to example.com[192.0.43.10]:25: Connection timed out)
tilak@example.com
F358311FB0E 668 Thu Dec 1 18:10:57 root@server.example.com
(connect to example.com[192.0.43.10]:25: Connection timed out)
tilak@example.com
DABD711FB07 667 Thu Dec 1 16:42:48 root@server.example.com
(connect to example.com[192.0.43.10]:25: Connection timed out)
tilak@example.com
71EB111FB12 667 Thu Dec 1 18:47:39 root@server.example.com
(connect to example.com[192.0.43.10]:25: Connection refused)
tilak@example.com
4AA4811FAF5 667 Thu Dec 1 16:40:22 tilak@server.example.com
(connect to example.com[192.0.43.10]:25: Connection refused)
root@example.com
-- 6 Kbytes in 5 Requests.


Reply With Quote