--- In [email protected], "senty_dil" <arpittol...@...> wrote: > > I have resolved that issue. but again from day before yesterday. > > i am not able to send mails... > > I configured a Postfix Server on RHEL 5 > > this is how my main.cf looks like > > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > broken_sasl_auth_clients = yes > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 2 > default_privs = nobody > header_checks = regexp:/etc/postfix/header_checks > home_mailbox = Maildir/ > html_directory = no > inet_interfaces = all > local_recipient_maps = unixasswd.byname $alias_maps > luser_relay = admin+$local > mail_owner = postfix > mailq_path = /usr/bin/mailq.postfix > manpage_directory = /usr/share/man > mydestination = $mydomain, $myhostname, localhost.$mydomain > mydomain = domain.com > myhostname = mail.domain.com > mynetworks_style = host > myorigin = $mydomain > newaliases_path = /usr/bin/newaliases.postfix > queue_directory = /var/spool/postfix > readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES > recipient_delimiter = + > sample_directory = /usr/share/doc/postfix-2.3.3/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > smtp_tls_note_starttls_offer = yes > smtp_use_tls = yes > smtpd_banner = $myhostname ESMTP $mail_name > smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, > reject_unauth_destination, reject_unlisted_recipient, check_policy_service > unixostgrey/socket > smtpd_sasl_auth_enable = yes > smtpd_sasl_local_domain = > smtpd_sasl_path = private/auth-client > smtpd_sasl_security_options = noanonymous > smtpd_sasl_type = dovecot > smtpd_tls_CAfile = /etc/postfix/certs/cacert.pem > smtpd_tls_auth_only = no > smtpd_tls_cert_file = /etc/postfix/certs/smtpd.crt > smtpd_tls_key_file = /etc/postfix/certs/smtpd.key > smtpd_tls_loglevel = 1 > smtpd_tls_received_header = yes > smtpd_tls_session_cache_timeout = 3600s > smtpd_use_tls = yes > tls_random_source = dev:/dev/urandom > unknown_local_recipient_reject_code = 550 > > i have used dovecot and cyrus-sasl for smtp-auth to prevent open relay > i have also configured postgrey and Mail Scanner.. > > when i telnet to my server on port 25 output comes > > Trying 127.0.0.1... > Connected to mail.domain.com (127.0.0.1). > Escape character is '^]'. > 220 mail.domain.com ESMTP Postfix > ehlo mail.domain.com > 250-mail.domain.com > 250-PIPELINING > 250-SIZE 10240000 > 250-VRFY > 250-ETRN > 250-STARTTLS > 250-AUTH PLAIN LOGIN > 250-AUTH=PLAIN LOGIN > 250-ENHANCEDSTATUSCODES > 250-8BITMIME > 250 DSN > > and on pop3 > Connected to mail.domain.com (127.0.0.1). > Escape character is '^]'. > +OK Dovecot ready. > > now the problem is i am not able to recieve any mails.. i tried to send it > within my domain also. but waste.. > i am also adding logs, kindly guide me where i am wrong > > Jul 18 22:38:16 mail dovecot: imap-login: Login: user=<parth>, method=PLAIN, > rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured > Jul 18 22:38:16 mail dovecot: IMAP(parth): Disconnected: Logged out > Jul 18 22:38:29 mail dovecot: imap-login: Login: user=<parth>, method=PLAIN, > rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured > Jul 18 22:38:29 mail postfix/pickup[20811]: 4F5234C6D98: uid=48 > from=<pa...@...> > Jul 18 22:38:29 mail postfix/cleanup[23049]: 4F5234C6D98: hold: header > Received: by mail.domain.com (Postfix, from userid 48)??id 4F5234C6D98; Sat, > 18 Jul 2009 22:38:29 +0530 (IST) from local; from=<pa...@...> > Jul 18 22:38:29 mail dovecot: IMAP(parth): Disconnected: Logged out > Jul 18 22:38:29 mail dovecot: imap-login: Login: user=<parth>, method=PLAIN, > rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured > Jul 18 22:38:29 mail dovecot: IMAP(parth): Disconnected: Logged out > > here is the output of postqueue -p if it helps > > B3F444C6D66! 661 Thu Jul 16 17:45:18 vik...@... > vik...@... > > 0B3DD4C6D60! 728 Fri Jul 17 21:01:01 atol...@... > atol...@... > > 1E4964C6D81! 728 Sat Jul 18 11:01:01 atol...@... > atol...@... > > 061C24C6D79! 728 Sat Jul 18 04:01:01 atol...@... > atol...@... > > 4F5234C6D98! 663 Sat Jul 18 22:38:29 pa...@... > pa...@... > > 484184C6D95! 673 Sat Jul 18 22:17:58 pa...@... > pa...@... > > BEDBF4C6D78! 728 Sat Jul 18 03:01:01 atol...@... > atol...@... > > 7FCED4C6D7C! 728 Sat Jul 18 06:01:01 atol...@... > atol...@... > > 466BD4C6D72! 747 Fri Jul 17 18:21:18 pa...@... > arpittol...@... > > 98BD64C6D58! 741 Sat Jul 18 21:49:10 pa...@... > pa...@... > > DA34A4C6D7B! 16308 Sat Jul 18 04:02:03 atol...@... > atol...@... > > 662C44C6D99! 434 Sat Jul 18 22:27:27 atol...@... > atol...@... > > > P.S. my users are on LDAP and it is working fine.. i have binded LDAP with > pam mechanism using authconfig. >
Completed this too.... actually having problem with MailScanner and it was holding the mails. abhi temp stopped the MailScanner and it is working fine, will look for the issue and if got any problem, will ask again. Thanks
