postfix errors

1 post / 0 new
#1 Fri, 03/15/2013 - 08:23
nandt

postfix errors

postfix problem on some emails is occured.. on my opinion .. everythink is set up fine apart from postfix and devocot .. that i am not really sure.

by the way i am posting a part of the error log message in the following.

please not that mydomain name is changed to mydomain.gr and my ip at myip.my.ip.myip.myip

Mar 15 16:01:05 ns1 postfix/qmgr[22463]: 3F5D02B82067: removed Mar 15 16:01:35 ns1 postfix/qmgr[22463]: AFCE72B8285B: from=info@mydomain.gr, size=44099, nrcpt=1 (queue active) Mar 15 16:01:35 ns1 postfix/qmgr[22463]: 90AE72B82878: from=info@mydomain.gr, size=44098, nrcpt=1 (queue active) Mar 15 16:01:35 ns1 postfix/qmgr[22463]: 3B3C02CA69B6: from=info@mydomain.gr, size=48666, nrcpt=1 (queue active) Mar 15 16:01:35 ns1 postfix/qmgr[22463]: E61F12CB2891: from=info@mydomain.gr, size=95243, nrcpt=1 (queue active) Mar 15 16:01:36 ns1 postfix/smtp[27530]: connect to jaanv.com[91.218.123.8]:25: Connection refused Mar 15 16:01:36 ns1 postfix/error[27531]: 90AE72B82878: to=a.eewsd@aol.com, relay=none, delay=54875, delays=54875/0/0/0.42, dsn=4.0.0, status=deferred (delivery temporarily suspended: host mailin-01.mx.aol.com[205.188.59.194] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip) Mar 15 16:01:36 ns1 postfix/smtp[27530]: AFCE72B8285B: to=maxmud@jaanv.com, relay=none, delay=54849, delays=54848/0.01/0.12/0, dsn=4.4.1, status=deferred (connect to jaanv.com[91.218.123.8]:25: Connection refused) Mar 15 16:01:54 ns1 dovecot: pop3-login: Login: user=, method=PLAIN, rip=193.92.77.201, lip=my.ip.my.ip, mpid=27543 Mar 15 16:01:56 ns1 dovecot: pop3(astbooks): Disconnected: Logged out top=0/0, retr=1/106199, del=0/2683, size=92502731 Mar 15 16:02:06 ns1 postfix/smtp[27532]: connect to mail.concept-brands.com[1.1.1.1]:25: Connection timed out Mar 15 16:02:06 ns1 postfix/smtp[27534]: connect to mail.concept-brands.com[1.1.1.1]:25: Connection timed out Mar 15 16:02:06 ns1 postfix/smtp[27532]: 3B3C02CA69B6: to=c.smirnioti@concept-brands.com, relay=none, delay=44715, delays=44685/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.concept-brands.com[1.1.1.1]:25: Connection timed out) Mar 15 16:02:06 ns1 postfix/smtp[27534]: E61F12CB2891: to=c.smirnioti@concept-brands.com, relay=none, delay=53080, delays=53050/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.concept-brands.com[1.1.1.1]:25: Connection timed out) Mar 15 16:04:19 ns1 postfix/anvil[27501]: statistics: max connection rate 1/60s for (smtp:65.54.190.149) at Mar 15 16:00:57 Mar 15 16:04:19 ns1 postfix/anvil[27501]: statistics: max connection count 1 for (smtp:65.54.190.149) at Mar 15 16:00:57 Mar 15 16:04:19 ns1 postfix/anvil[27501]: statistics: max cache size 1 at Mar 15 16:00:57 Mar 15 16:06:35 ns1 postfix/qmgr[22463]: 6871F2D220E9: from=info@mydomain.gr, size=95232, nrcpt=1 (queue active) Mar 15 16:06:35 ns1 postfix/qmgr[22463]: 6CC002CA68DD: from=info@mydomain.gr, size=48720, nrcpt=1 (queue active) Mar 15 16:06:35 ns1 postfix/qmgr[22463]: 5F9C82D220E7: from=info@mydomain.gr, size=95234, nrcpt=1 (queue active) Mar 15 16:06:35 ns1 postfix/qmgr[22463]: A28E02D220EB: from=info@mydomain.gr, size=95229, nrcpt=1 (queue active) Mar 15 16:06:35 ns1 postfix/qmgr[22463]: 287852D220EC: from=info@mydomain.gr, size=95231, nrcpt=1 (queue active) Mar 15 16:06:35 ns1 postfix/qmgr[22463]: BD8EF2CA68D7: from=info@mydomain.gr, size=95223, nrcpt=1 (queue active) Mar 15 16:06:35 ns1 postfix/smtp[27861]: connect to jaanv.com[91.218.123.8]:25: Connection refused Mar 15 16:06:35 ns1 postfix/smtp[27862]: connect to jaanv.com[91.218.123.8]:25: Connection refused Mar 15 16:06:35 ns1 postfix/smtp[27859]: 6CC002CA68DD: host mailin-04.mx.aol.com[64.12.90.34] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:35 ns1 postfix/smtp[27862]: 287852D220EC: to=mailitto@jaanv.com, relay=none, delay=53337, delays=53337/0.01/0.12/0, dsn=4.4.1, status=deferred (connect to jaanv.com[91.218.123.8]:25: Connection refused) Mar 15 16:06:35 ns1 postfix/smtp[27858]: 6871F2D220E9: host mailin-04.mx.aol.com[205.188.103.2] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:35 ns1 postfix/smtp[27861]: A28E02D220EB: to=maxmud@jaanv.com, relay=none, delay=53338, delays=53338/0.01/0.12/0, dsn=4.4.1, status=deferred (connect to jaanv.com[91.218.123.8]:25: Connection refused) Mar 15 16:06:35 ns1 postfix/smtp[27859]: 6CC002CA68DD: host mailin-02.mx.aol.com[205.188.59.193] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:35 ns1 postfix/smtp[27863]: BD8EF2CA68D7: to=bf3@pwy.pl, relay=none, delay=53347, delays=53347/0.02/0.23/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=pwy.pl type=MX: Host not found, try again) Mar 15 16:06:35 ns1 postfix/smtp[27860]: 5F9C82D220E7: to=papoutsis.em@gmail.gr, relay=none, delay=53371, delays=53371/0.01/0.23/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.gr type=MX: Host not found, try again) Mar 15 16:06:36 ns1 postfix/smtp[27859]: 6CC002CA68DD: host mailin-02.mx.aol.com[64.12.139.193] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:36 ns1 postfix/smtp[27859]: 6CC002CA68DD: host mailin-02.mx.aol.com[205.188.155.110] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:37 ns1 postfix/smtp[27858]: 6871F2D220E9: host mailin-01.mx.aol.com[205.188.146.193] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:37 ns1 postfix/smtp[27859]: 6CC002CA68DD: to=daraloughran249@aol.com, relay=mailin-04.mx.aol.com[64.12.138.161]:25, delay=50883, delays=50881/0.01/1.5/0, dsn=4.0.0, status=deferred (host mailin-04.mx.aol.com[64.12.138.161] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip) Mar 15 16:06:37 ns1 postfix/smtp[27858]: 6871F2D220E9: host mailin-01.mx.aol.com[205.188.59.194] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:37 ns1 postfix/smtp[27858]: 6871F2D220E9: host mailin-02.mx.aol.com[205.188.59.193] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip Mar 15 16:06:42 ns1 postfix/smtp[27858]: 6871F2D220E9: to=joantt247tt@aol.com, relay=mailin-04.mx.aol.com[64.12.90.34]:25, delay=53363, delays=53356/0.01/6.9/0, dsn=4.0.0, status=deferred (host mailin-04.mx.aol.com[64.12.90.34] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: my.ip.my.ip) Mar 15 16:06:59 ns1 dovecot: pop3-login: Login: user=, method=PLAIN, rip=193.92.77.201, lip=my.ip.my.ip, mpid=27883 Mar 15 16:07:00 ns1 dovecot: pop3(astbooks): Disconnected: Logged out top=0/0, retr=0/0, del=0/2683, size=92502731 Mar 15 16:09:01 ns1 postfix/pickup[26761]: 56FB92B82068: uid=0 from= Mar 15 16:09:01 ns1 postfix/cleanup[28039]: 56FB92B82068: message-id=20130315120901.56FB92B82068@ns1.localdomain Mar 15 16:09:01 ns1 postfix/qmgr[22463]: 56FB92B82068: from=root@ns1.mydomain.com, size=750, nrcpt=1 (queue active) Mar 15 16:09:01 ns1 postfix/local[28041]: 56FB92B82068: to=root@ns1.mydomain.com, orig_to=, relay=local, delay=0.51, delays=0.36/0/0/0.15, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Mar 15 16:09:01 ns1 postfix/qmgr[22463]: 56FB92B82068: removed

some mails are stack on queque and the following is their status report. delivery temporarily suspended: host mailin-04.mx.aol.com[64.12.138.161] refused to talk to me: 554- (RTR:BL) http://postmaster.info.aol.com/errors/554rtrbl.html 554 Connecting IP: 89.22.99.56

connect to jaanv.com[91.218.123.8]:25: Connection refused

when they stack on queque.. some othere emails are not delivered .. for example the server servs two domains . one main and one subdomain.

when the emails stacked ..on queque.. with the above messages.. the main domain of the server does not sending emails to some email address..

even some other emails host can not accept emails ..

please find below the main.cf ,

See /usr/share/postfix/main.cf.dist for a commented, more complete version Debian specific: Specifying a file name will cause the first line of that file to be used as the name. The Debian default is /etc/mailname. myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no

appending .domain is the MUA's job.

append_dot_mydomain = no

Uncomment the next line to generate "delayed mail" warnings delay_warning_time = 4h

readme_directory = no

TLS parameters

smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for information on enabling SSL in the smtp client.

alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname

mydestination =$myhostname localhost.$mydomain localhost

# www.$mydomain ftp.$mydomain mydestination = ns1.mymaindomain.com, localhost.mymaindomain.com, localhost ,ns2.mymaindomain.com ,ns3.mymaindomain.com mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailbox_size_limit = 0 recipient_delimiter = + virtual_alias_maps = hash:/etc/postfix/virtual sender_bcc_maps = hash:/etc/postfix/bcc home_mailbox = Maildir/ smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination allow_percent_hack = no smtpd_error_sleep_time = 10s smtpd_recipient_limit = 1900 default_destination_recipient_limit = 1900 maps_rbl_reject_code = 444 relay_domains_reject_code = 444 access_map_reject_code = 444

please also find the devocot config file..

Dovecot configuration file

If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration "doveconf -n" command gives a clean output of the changed settings. Use it instead of copy&pasting files when posting to the Dovecot mailing list. '#' character and everything after it is treated as comments. Extra spaces and tabs are ignored. If you want to use either of these explicitly, put the value inside quotes, eg.: key = "# char and trailing whitespace " Default values are shown for each setting, it's not required to uncomment those. These are exceptions to this though: No sections (e.g. namespace {}) or plugin settings are added by default, they're listed only as examples. Paths are also just examples with the real defaults being based on configure options. The paths listed here are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var Enable installed protocols

!include_try /usr/share/dovecot/protocols.d/*.protocol

A comma separated list of IPs or hosts where to listen in for connections. "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces. If you want to specify non-default ports or anything more complex, edit conf.d/master.conf.

listen = *, ::

Base directory where to store runtime data. base_dir = /var/run/dovecot/ Name of this instance. Used to prefix all Dovecot processes in ps output. instance_name = dovecot Greeting message for clients. login_greeting = Dovecot ready. Space separated list of trusted network ranges. Connections from these IPs are allowed to override their IP addresses and ports (for logging and for authentication checks). disable_plaintext_auth is also ignored for these networks. Typically you'd specify your IMAP proxy servers here. login_trusted_networks = Sepace separated list of login access check sockets (e.g. tcpwrap) login_access_sockets = Show more verbose process titles (in ps). Currently shows user name and IP address. Useful for seeing who are actually using the IMAP processes (eg. shared mailboxes or if same uid is used for multiple accounts). verbose_proctitle = no Should all processes be killed when Dovecot master process shuts down. Setting this to "no" means that Dovecot can be upgraded without forcing existing client connections to close (although that could also be a problem if the upgrade is e.g. because of a security fix). shutdown_clients = yes If non-zero, run mail commands via this many connections to doveadm server, instead of running them directly in the same process. doveadm_worker_count = 0 UNIX socket or host:port used for connecting to doveadm server doveadm_socket_path = doveadm-server Space separated list of environment variables that are preserved on Dovecot startup and passed down to all of its child processes. You can also give key=value pairs to always set specific settings. import_environment = TZ #

Dictionary server settings

# Dictionary can be used to store key=value lists. This is used by several plugins. The dictionary can be accessed either directly or though a dictionary server. The following dict block maps dictionary names to URIs when the server is used. These can then be referenced using URIs in format "proxy::".

dict { #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext }

Most of the actual configuration gets included below. The filenames are first sorted by their ASCII value and parsed in that order. The 00-prefixes in filenames are intended to make it easier to understand the ordering.

!include conf.d/*.conf

A config file can also tried to be included without giving an error if it's not found:

!include_try local.conf

one of my concerns is that the server has 4 nameservers and i am really quit sure that is set up correctly fot the postfix and devocot part. as the dns resolvs just fine with no problem.. even i can post the zone file also.

$ttl 38400 @ IN SOA ns1.mymaindomain.com. root.ns1.mymaindomain.com. ( 1360941165 10800 3600 604800 38400 ) @ IN NS ns1.mymaindomain.com. @ IN NS ns2.mymaindomain.com. mymaindomain.com. IN A my ip.my ip.my .ip.my.ip www.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip ftp.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip m.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip ns1.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip ns2.mymaindomain.com. IN A my ip2.my ip2.my .ip2.my.ip2 localhost.mymaindomain.com. IN A 127.0.0.1 webmail.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip admin.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip mail.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip mymaindomain.com. IN MX 5 mail.mymaindomain.com. mymaindomain.com. IN TXT "v=spf1 a mx ptr a:mymaindomain.com ip4:my ip.my ip.my .ip.my.ip ?all" forologia.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip www.forologia.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip ftp.forologia.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip m.forologia.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip localhost.forologia.mymaindomain.com. IN A 127.0.0.1 webmail.forologia.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip admin.forologia.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip mail.forologia.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip forologia.mymaindomain.com. IN MX 5 mail.forologia.mymaindomain.com. mymaindomain.com. IN NS ns4.mymaindomain.com. ns4.mymaindomain.com. IN A 89.22.99.59 fo7.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip www.fo7.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip ftp.fo7.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip m.fo7.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip localhost.fo7.mymaindomain.com. IN A 127.0.0.1 webmail.fo7.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip admin.fo7.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip mail.fo7.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip my ip.my ip.my .ip.my.ip.mymaindomain.com. IN PTR ns1.mymaindomain.com myseconddomain.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip www.myseconddomain.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip ftp.myseconddomain.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip m.myseconddomain.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip localhost.myseconddomain.mymaindomain.com. IN A 127.0.0.1 webmail.myseconddomain.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip admin.myseconddomain.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip mail.myseconddomain.mymaindomain.com. IN A my ip.my ip.my .ip.my.ip myseconddomain.mymaindomain.com. IN MX 5 mail.myseconddomain.mymaindomain.com.

thanks in advanced for the help..