Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2009-01-15 21:30:22

  dred - Użytkownik

dred
Użytkownik
Zarejestrowany: 2007-12-09

postfix problem

Witam serdecznie .Prosze was o pomoc przy konfiguracji mojego serwera smtpz ktorym mam problemy.W sieci lan chodzi prawilowo ale na zewnatrznie moge za jego pomoca wyslac poczty.Prosze was bardzo o pomoc.

Kod:

#command_directory = /usr/sbin
mail_owner = postfix
mydomain = dred.blogdns.net
myhostname = dred

myorigin = dred.blogdns.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

mydestination = dred.blogdns.net, $mydomain, $myhostname, localhost, localhost.localdomain,

mynetworks = 127.0.0.1/8 192.168.1.1/32
inet_interfaces = all
inet_protocols = ipv4

home_mailbox = Maildir/
mail_spool_directory = /home/

smtpd_banner = ESMTP on $myhostname !

mailbox_size_limit = 10
recipient_delimiter = +

biff = no
append_dot_mydomain = no
relayhost =

#AUTH SMTP
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = myhostname

smtpd_recipient_restrictions =
    permit_mynetworks,
 permit_sasl_authenticated,
    reject_unauth_destination,
    reject_unknown_recipient_domain,
    reject_non_fqdn_recipient

smtpd_client_restrictions =
    permit_sasl_authenticated,
    reject_unknown_client,
    reject_rbl_client dul.dnsbl.sorbs.net,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client cbl.abuseat.org

smtpd_sender_restrictions =
    permit_sasl_authenticated,
    reject_unknown_sender_domain,
    reject_non_fqdn_sender,
    reject_unknown_address
mailbox_command = procmail -a "$EXTENSION"
#TLS
smtpd_tls_auth_only = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/mail.pem
smtpd_tls_cert_file = /etc/postfix/ssl/mail.pem
smtpd_tls_CAfile = /etc/postfix/ssl/mail.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
tls_random_source = dev:/dev/urandom

Prosze jeszcze raz was o pomoc.Moge podacj ssh na moj serwer.Dziekuje.

Offline

 

#2  2009-01-15 22:16:38

  kayo - Członek DUG

kayo
Członek DUG
Zarejestrowany: 2007-05-20

Re: postfix problem

Jesli twoja rzeczywista domena to dred.blogdns.net to nie masz rekordu mx w konfiguracji dns...


Having a Windows 95 box hooked to the internet is akin to walking naked into a prison carrying a carton of cigarettes.
-----------------
jid: kayo77//gmail.com  gg #1046710

Offline

 

#3  2009-01-16 08:52:37

  kamikaze - Administrator

kamikaze
Administrator
Zarejestrowany: 2004-04-16

Re: postfix problem

Ja bym radził popatrzeć w logi przy wysyłaniu wiadomości.

Offline

 

#4  2009-01-16 10:03:56

  beer_hunter - Użytkownik

beer_hunter
Użytkownik
Zarejestrowany: 2008-11-28

Re: postfix problem

może dopisz swoja domene do /etc/mailname ?

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.007 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00005 SET NAMES latin2
0.00092 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.188.132.71' WHERE u.id=1
0.00064 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.188.132.71', 1732372429)
0.00043 SELECT * FROM punbb_online WHERE logged<1732372129
0.00045 SELECT topic_id FROM punbb_posts WHERE id=108153
0.00005 SELECT id FROM punbb_posts WHERE topic_id=13172 ORDER BY posted
0.00075 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=13172 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00145 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=13172 ORDER BY p.id LIMIT 0,25
0.00073 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=13172
Total query time: 0.00561 s