This is a discussion on SMTP Connection refused within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I have SUSE 8.2 with Postfix 2.0.6-8. I am getting an error when I send outside ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have SUSE 8.2 with Postfix 2.0.6-8. I am getting an error when I send
outside my own domain: postfix/qmgr: relay=none: status=deferred: (transport is unavailable) postfix/qmgr: connect to transport smtp: connection refused It will send to local and receive from all. Does anyone know how to fix this? Here is my postconf -n: alias_maps = hash:/etc/aliases allow_untrusted_routing = no command_directory = /usr/sbin config_directory = /etc/postfix content_filter = daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no disable_vrfy_command = yes fallback_transport = smtp luser_relay = allreds@contractorcloseouts.com mailbox_size_limit = 51200000 mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = clicks, clicks.contractorcloseouts.com, contractorcloseouts.com, allreds.net myhostname = contractorcloseouts.com myorigin = $mydomain newaliases_path = /usr/bin/newaliases program_directory = /usr/lib/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,reject smtpd_sasl_auth_enable = no smtpd_use_tls = no strict_rfc821_envelopes = no unknown_local_recipient_reject_code = 450 |
|
|||
|
Hi Tiffany!
I do not know it this has anything to do with your refused connection, but what I can see is that you point in your myorigin= part to a variable witch has not been set!(?) > myorigin = $mydomain Check your main.cf if there is a corresponding line like mydomain=contractorcloseouts.com Check also if your DNS-lookup is working. Are there any specials in transport map? any changes in master.cf? Best regards ConnyHell "Tiffany" <tiffany@allreds.net> schrieb im Newsbeitrag news:8uacnTE8v6MmEuWiXTWJig@aros.net... > I have SUSE 8.2 with Postfix 2.0.6-8. I am getting an error when I send > outside my own domain: > > postfix/qmgr: relay=none: status=deferred: (transport is unavailable) > > postfix/qmgr: connect to transport smtp: connection refused > > It will send to local and receive from all. Does anyone know how to fix > this? > > Here is my postconf -n: > alias_maps = hash:/etc/aliases > allow_untrusted_routing = no > command_directory = /usr/sbin > config_directory = /etc/postfix > content_filter = > daemon_directory = /usr/lib/postfix > debug_peer_level = 2 > defer_transports = > disable_dns_lookups = no > disable_vrfy_command = yes > fallback_transport = smtp > luser_relay = allreds@contractorcloseouts.com > mailbox_size_limit = 51200000 > mailq_path = /usr/bin/mailq > manpage_directory = /usr/share/man > masquerade_classes = envelope_sender, header_sender, header_recipient > masquerade_domains = > masquerade_exceptions = root > message_size_limit = 10240000 > mydestination = clicks, clicks.contractorcloseouts.com, > contractorcloseouts.com, allreds.net > myhostname = contractorcloseouts.com > myorigin = $mydomain > newaliases_path = /usr/bin/newaliases > program_directory = /usr/lib/postfix > readme_directory = /usr/share/doc/packages/postfix/README_FILES > sample_directory = /usr/share/doc/packages/postfix/samples > sendmail_path = /usr/sbin/sendmail > setgid_group = maildrop > smtp_sasl_auth_enable = no > smtpd_recipient_restrictions = > permit_mynetworks,permit_auth_destination,reject > smtpd_sasl_auth_enable = no > smtpd_use_tls = no > strict_rfc821_envelopes = no > unknown_local_recipient_reject_code = 450 > > |
|
|||
|
Thanks ConnyHell,
I fixed the mydomain problem, but still no transport. here are my new postconf -n and transport file data. Postconf -n: alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix content_filter = daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no disable_vrfy_command = yes error_notice_recipient = walter@contractorcloseouts.com fallback_transport = smtp luser_relay = allreds@contractorcloseouts.com mailbox_size_limit = 51200000 mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = clicks, clicks.contractorcloseouts.com, contractorcloseouts.com, allreds.net mydomain = contractorcloseouts.com myhostname = contractorcloseouts.com mynetworks = 127.0.0.0/8, 10.38.1.0/24 myorigin = $mydomain newaliases_path = /usr/bin/newaliases program_directory = /usr/lib/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,reject smtpd_sasl_auth_enable = no smtpd_use_tls = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 450 clicks:~ # postfix reload postfix/postfix-script: refreshing the Postfix mail system clicks:~ # postqueue -f clicks:~ # postfix reload postfix/postfix-script: refreshing the Postfix mail system clicks:~ # postqueue -f clicks:~ # postconf -n alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix content_filter = daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no disable_vrfy_command = yes error_notice_recipient = walter@contractorcloseouts.com fallback_transport = smtp luser_relay = allreds@contractorcloseouts.com mailbox_size_limit = 51200000 mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = clicks, clicks.contractorcloseouts.com, contractorcloseouts.com, allreds.net mydomain = contractorcloseouts.com myhostname = clicks.contractorcloseouts.com mynetworks = 127.0.0.0/8, 10.38.1.0/24 myorigin = $mydomain newaliases_path = /usr/bin/newaliases program_directory = /usr/lib/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,reject smtpd_sasl_auth_enable = no smtpd_use_tls = no strict_rfc821_envelopes = no unknown_local_recipient_reject_code = 450 Transport mapping: contractorcloseouts.com : ..contractorcloseouts.com : allreds.net : ..allreds.net : * smtp:localhost:10025 "ConnyHell" <connyhell@freenet.de> wrote in message news:blbc6s$48a$1@newsreader1.netway.at... > Hi Tiffany! > > I do not know it this has anything to do with your > refused connection, but what I can see is that you > point in your myorigin= part to a variable witch has not > been set!(?) > > myorigin = $mydomain > Check your main.cf if there is a corresponding line like > mydomain=contractorcloseouts.com > > Check also if your DNS-lookup is working. > Are there any specials in transport map? > any changes in master.cf? > Best regards > ConnyHell > > > "Tiffany" <tiffany@allreds.net> schrieb im Newsbeitrag > news:8uacnTE8v6MmEuWiXTWJig@aros.net... > > I have SUSE 8.2 with Postfix 2.0.6-8. I am getting an error when I send > > outside my own domain: > > > > postfix/qmgr: relay=none: status=deferred: (transport is unavailable) > > > > postfix/qmgr: connect to transport smtp: connection refused > > > > It will send to local and receive from all. Does anyone know how to fix > > this? > > > > Here is my postconf -n: > > alias_maps = hash:/etc/aliases > > allow_untrusted_routing = no > > command_directory = /usr/sbin > > config_directory = /etc/postfix > > content_filter = > > daemon_directory = /usr/lib/postfix > > debug_peer_level = 2 > > defer_transports = > > disable_dns_lookups = no > > disable_vrfy_command = yes > > fallback_transport = smtp > > luser_relay = allreds@contractorcloseouts.com > > mailbox_size_limit = 51200000 > > mailq_path = /usr/bin/mailq > > manpage_directory = /usr/share/man > > masquerade_classes = envelope_sender, header_sender, header_recipient > > masquerade_domains = > > masquerade_exceptions = root > > message_size_limit = 10240000 > > mydestination = clicks, clicks.contractorcloseouts.com, > > contractorcloseouts.com, allreds.net > > myhostname = contractorcloseouts.com > > myorigin = $mydomain > > newaliases_path = /usr/bin/newaliases > > program_directory = /usr/lib/postfix > > readme_directory = /usr/share/doc/packages/postfix/README_FILES > > sample_directory = /usr/share/doc/packages/postfix/samples > > sendmail_path = /usr/sbin/sendmail > > setgid_group = maildrop > > smtp_sasl_auth_enable = no > > smtpd_recipient_restrictions = > > permit_mynetworks,permit_auth_destination,reject > > smtpd_sasl_auth_enable = no > > smtpd_use_tls = no > > strict_rfc821_envelopes = no > > unknown_local_recipient_reject_code = 450 > > > > > > |
|
|||
|
"Tiffany" <tiffany@allreds.net> writes:
>I fixed the mydomain problem, but still no transport. here are my new >postconf -n and transport file data. your master.cf please. -- -s- <the dark one> Gewerkschaft für Sysadmins: Forderungen: Die 85h Woche. Kostenloser Kaffee und FastFood. (Dennis Herbrich) |
|
|||
|
Hi Tiffany!
For a better readability I droped your posting from this answer. So far so good. Have you checked your nslookup? As Wulff requested: The master.cf is welcome. I think you run something like vscan on 10024 Port. There are no references in main.cf for content-filter? Check and let us know the output of: "netstat -a -n |grep LISTEN |grep tcp" Is postfix actually listening on 25 and 127.0.0.1:10025? Can you telnet to port 10025 (direct on the linux-box)? If it is AmaVis that runs on this port, check the documentation again or post: /etc/amavisd.conf /etc/postfix/master.cf /etc/postfix/transport (again) /etc/resolv.conf greetings ConnyHell (Austria ->as excuse for my english) |