Salut,
incerc sa instalez un postfix pe FC5. Nu am facut nicio modificare in
master.cf, ci numai in main.cf. Am testat posibilitatea de a ma
conecta pe portul 25, si:
telnet 192.168.0.50 25
Trying 192.168.0.50...
telnet: connect to address 192.168.0.50: Connection refused
telnet: Unable to connect to remote host: Connection refused
insa:
telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
asta pentru ca:
netstat -an | grep LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
si banuiesc ca trebuia sa am:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
main.cf arata cam asa:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail.u.ro
mydomain = u.ro
myorigin = $mydomain
inet_interfaces = all
inet_interfaces = localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.0.0/24, 192.168.1.0/24, 82.79.56.11, 127.0.0.0/8,
hash:/etc/postfix/relay-domains
relay_domains = u.ro
relayhost = $mydomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/mail
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 20
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.8/samples
readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient,
envelope_recipient
#mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp
mailbox_command =
mailbox_transport =
###smtpd_sender_restrictions = hash:/etc/postfix/access
###maps_rbl_domains = relays.ordb.org, bl.spamcop.net
###reject_rbl_client = relays.ordb.org,
###reject_rbl_client = list.dsbl.org,
###reject_rbl_client = sbl-xbl.spamhaus.org,
###smtpd_recipient_restrictions =
### permit_mynetworks,
### permit_sasl_authenticated,
### reject_unauth_destination,
### reject_invalid_hostname,
### reject_unauth_pipelining,
### reject_non_fqdn_sender,
### reject_unknown_sender_domain,
### reject_non_fqdn_recipient,
### reject_unknown_recipient_domain,
### check_client_access hash:/etc/postfix/maps/access_client,
### check_helo_access hash:/etc/postfix/maps/access_helo,
### check_sender_access hash:/etc/postfix/maps/access_sender,
### check_recipient_access hash:/etc/postfix/maps/access_recipient,
### reject_rhsbl_client blackhole.securitysage.com,
### reject_rhsbl_sender blackhole.securitysage.com,
### reject_rbl_client relays.ordb.org,
### reject_rbl_client blackholes.easynet.nl,
### reject_rbl_client cbl.abuseat.org,
### reject_rbl_client proxies.blackholes.wirehub.net,
### reject_rbl_client bl.spamcop.net,
### reject_rbl_client sbl.spamhaus.org,
### reject_rbl_client opm.blitzed.org,
### reject_rbl_client dnsbl.njabl.org,
### reject_rbl_client list.dsbl.org,
### reject_rbl_client multihop.dsbl.org,
### permit
###smtpd_client_restrictions =
###smtpd_delay_reject = yes
###smtpd_helo_required = yes
###strict_rfc821_envelopes = no
#smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
###alias_maps = hash:/etc/aliases
#sender_bcc_maps = hash:/etc/postfix/sender_bcc
#recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
#Clamav content filter
#content_filter = smtp:127.0.0.1:10024
message_size_limit = 15240000
bounce_size_limit = 100000
mailbox_size_limit = 501200000
Din tail -f /var/log/maillog observ ca mai e o problema:
Sep 12 16:58:52 mail postfix/master[13837]: warning: process
/usr/libexec/postfix/smtpd pid 13895 exit status 1
Sep 12 16:58:52 mail postfix/master[13837]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
daca fac de pe aceasta masina urmatorul test:
cat /etc/postfix/main.cf | mail [EMAIL PROTECTED] -s main.cf
mesajul ajunge la destinatie, insa de la o masina din retea nu ma pot
conecta la portul 25. E clar ca problema e la postfix, insa ma poate
ajuta cineva sa o identific?
Multumesc!
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug