Kezdőlap › Fórumok › Debiannal kapcsolatos kérdések › Postfix problema
- This topic has 9 hozzászólás, 4 résztvevő, and was last updated 20 years, 8 months telt el by
maszili.
-
SzerzőBejegyzés
-
2004-11-17-10:11 #1984146
Sziasztok!
Nem is tudom hol kezdjem a problemam,de talan a legjobb ha elolrol…
Rendszerem Debian Sarge.
Telepitettem a kovetkezo dolgokat forrasbol :
Courier-imap
openssl
maildrop
mysql
postfixMinden felment hiba nelkul…A „postfix start” hatasara latszolag elindul a postfix,viszont ps aux-re semmelyik daemonjat nem latom…A mail_owner = postfix van beallitva..
„postfix start” ot rootkent adom ki,erre jovo valasz :
„postfix/postfix-script: starting the Postfix mail system”logban is csak ennyi…
Mi lehet a gond? kell esetleg valami jog a postfix usernek,vagy valami plussz beallitas…
(korabban volt fennt a postfix amit apt-vel tettem fel,de leszedtem,lehet ez kavar be?)master.cf igy nez ki :
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n – n – – smtpd
#submission inet n – n – – smtpd
# -o smtpd_etrn_restrictions=reject
#628 inet n – n – – qmqpd
pickup fifo n – n 60 1 pickup
cleanup unix n – n – 0 cleanup
qmgr fifo n – n 300 1 qmgr
#qmgr fifo n – n 300 1 oqmgr
rewrite unix – – n – – trivial-rewrite
bounce unix – – n – 0 bounce
defer unix – – n – 0 bounce
trace unix – – n – 0 bounce
verify unix – – n – 1 verify
flush unix n – n 1000? 0 flush
proxymap unix – – n – – proxymap
smtp unix – – n – – smtp
relay unix – – n – – smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n – n – – showq
error unix – – n – – error
local unix – n n – – local
virtual unix – n n – – virtual
lmtp unix – – n – – lmtp
anvil unix – – n – 1 anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix – n n – – pipe
flags=R user=vmail argv=/usr/local/courier/bin/maildrop -d ${recipient}Valaszokat elore is koszi!
sutyee
[align=right][snapback]97276[/snapback][/align]Akkor szokott ilyesmit csinálni friss telepítéskor, ha vagy a spool könyvtárak nincsenek meg, vagy nincs beállítva a „mydomain, myhostname, stb.” érték.
2004-11-17-11:26 #1984147Minden felment hiba nelkul…A „postfix start” hatasara latszolag elindul a postfix,viszont ps aux-re semmelyik daemonjat nem latom…
Alap esetben amikor nincs tevekenyseg csak a /usr/lib/postfix/master fog futni.
Javaslom a /var/log/mail.log/ allomany megnezeset.
Esetleg masold ide az utolso nehany sort.2004-11-17-15:07 #1984148postfix start -ra ( amit root-kent adok ki) ez jon :
Nov 17 15:48:35 sutyee postfix/postfix-script: starting the Postfix mail system
a /var/log/mail.log-ban is csak ennyi..semmi mas..probaltam outlook expresszben beallitani kuldonek a gepem…Erre a kovetkezo hibat adja (outlook) :
Task ‘sutyee.myip.hu – Sending’ reported error (0x800CCC0F) : ‘The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP).’
Ennek semmi nyoma a logban..
Ami erdekes meg,hogy a ” telnet localhost 25″ ezt adja vissza :Trying 127.0.0.1…
telnet: Unable to connect to remote host: Connection refusedIde masolom meg a postconf -n valaszat :
alias_maps = mysql:/etc/postfix/mysql-aliases.cf
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = no
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost
mydomain = sutyee.myip.hu
myhostname = sutyee.myip.hu
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-client.cf
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,check_recipient_access mysql:/etc/postfix/mysql-recipient.cf,reject_unauth_destination,permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-sender.cf
transport_maps = mysql:/etc/postfix/mysql-transport.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
virtual_gid_maps = mysql:/etc/postfix/mysql-virtual-gid.cf
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_transport = maildrop
virtual_uid_maps = mysql:/etc/postfix/mysql-virtual-uid.cfMi lehet a gond?
2004-11-17-20:46 #1984149postfix start -ra ( amit root-kent adok ki) ez jon :
Nov 17 15:48:35 sutyee postfix/postfix-script: starting the Postfix mail system
a /var/log/mail.log-ban is csak ennyi..semmi mas..probaltam outlook expresszben beallitani kuldonek a gepem…Erre a kovetkezo hibat adja (outlook) :
Task ‘sutyee.myip.hu – Sending’ reported error (0x800CCC0F) : ‘The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP).’Ennek semmi nyoma a logban..
Ami erdekes meg,hogy a ” telnet localhost 25″ ezt adja vissza :Trying 127.0.0.1…
telnet: Unable to connect to remote host: Connection refusedIde masolom meg a postconf -n valaszat :
alias_maps = mysql:/etc/postfix/mysql-aliases.cf
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = no
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost
mydomain = sutyee.myip.hu
myhostname = sutyee.myip.hu
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-client.cf
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,check_recipient_access mysql:/etc/postfix/mysql-recipient.cf,reject_unauth_destination,permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-sender.cf
transport_maps = mysql:/etc/postfix/mysql-transport.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
virtual_gid_maps = mysql:/etc/postfix/mysql-virtual-gid.cf
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_transport = maildrop
virtual_uid_maps = mysql:/etc/postfix/mysql-virtual-uid.cfMi lehet a gond?
[align=right][snapback]97898[/snapback][/align]Húúúú… Nem vagyok egy postfix guru, nem látom ebbõl a rengeteg konfigból a hibát… Jól állítottad be a csomag telepítésekor a dolgokat? (dpkg-reconfigure postfix)
2004-11-18-06:29 #1984150Ami erdekes meg,hogy a ” telnet localhost 25″ ezt adja vissza :
Trying 127.0.0.1…
telnet: Unable to connect to remote host: Connection refuseda netstat -ln parancs kimenete?
Van ilyen sor?
Code:tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTENEsetleg csomagszuro szabalyok, nem tiltjak a hozzaferest?
2004-11-18-07:20 #1984151nem ,nincs ilyen sorom…
tuzfalban engedelyezve van a 25-os port…Kerdes :
nem kell valamit az /etc/inetd.conf -ba felvenni?
koszi
sutyee
2004-11-18-07:30 #1984152nem ,nincs ilyen sorom…
Akkor nem fut…
tuzfalban engedelyezve van a 25-os port…
Esetleg arra az idore amig rendberakod a postfixet
enegdelyezz mindent (biztos ami biztos)
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPTnem kell valamit az /etc/inetd.conf -ba felvenni?
Ez attol fugg hogy hogyan telepitetted a postfixet.
Amikor felraktad (csomagbol) konfiguralja is egyben.
Megkerdezi, hogy inetd-vel vagy egyedulallo szervizkent fusson.
Celszeru az egyedulallo szervizt valasztani.
Ha azt valasztottad az alap konfiguracioval mukodnie kellene.Konfigurald ujra, hatha az segit…
dpkg-reconfigure postfix2004-11-18-09:39 #1984153Akkor nem fut…
Esetleg arra az idore amig rendberakod a postfixet
enegdelyezz mindent (biztos ami biztos)
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
Ez attol fugg hogy hogyan telepitetted a postfixet.
Amikor felraktad (csomagbol) konfiguralja is egyben.
Megkerdezi, hogy inetd-vel vagy egyedulallo szervizkent fusson.
Celszeru az egyedulallo szervizt valasztani.
Ha azt valasztottad az alap konfiguracioval mukodnie kellene.Konfigurald ujra, hatha az segit…
dpkg-reconfigure postfix
[align=right][snapback]98195[/snapback][/align]de en nem csomagbol tettem fel,hanem forrasbol…
2004-11-18-10:32 #1984154de en nem csomagbol tettem fel,hanem forrasbol…
Hoppacska!….
Na ezert szoktam en inkabb a gyarit (csomagbol) hasznalni.
Rakd fel csomagbol…
Mi indokolta a forrasbol felrakast? 🙂2009-12-04-19:56 #1877043Sziasztok!
Nem is tudom hol kezdjem a problemam,de talan a legjobb ha elolrol…
Rendszerem Debian Sarge.
Telepitettem a kovetkezo dolgokat forrasbol :
Courier-imap
openssl
maildrop
mysql
postfixMinden felment hiba nelkul…A „postfix start” hatasara latszolag elindul a postfix,viszont ps aux-re semmelyik daemonjat nem latom…A mail_owner = postfix van beallitva..
„postfix start” ot rootkent adom ki,erre jovo valasz :
„postfix/postfix-script: starting the Postfix mail system”logban is csak ennyi…
Mi lehet a gond? kell esetleg valami jog a postfix usernek,vagy valami plussz beallitas…
(korabban volt fennt a postfix amit apt-vel tettem fel,de leszedtem,lehet ez kavar be?)master.cf igy nez ki :
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n – n – – smtpd
#submission inet n – n – – smtpd
# -o smtpd_etrn_restrictions=reject
#628 inet n – n – – qmqpd
pickup fifo n – n 60 1 pickup
cleanup unix n – n – 0 cleanup
qmgr fifo n – n 300 1 qmgr
#qmgr fifo n – n 300 1 oqmgr
rewrite unix – – n – – trivial-rewrite
bounce unix – – n – 0 bounce
defer unix – – n – 0 bounce
trace unix – – n – 0 bounce
verify unix – – n – 1 verify
flush unix n – n 1000? 0 flush
proxymap unix – – n – – proxymap
smtp unix – – n – – smtp
relay unix – – n – – smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n – n – – showq
error unix – – n – – error
local unix – n n – – local
virtual unix – n n – – virtual
lmtp unix – – n – – lmtp
anvil unix – – n – 1 anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix – n n – – pipe
flags=R user=vmail argv=/usr/local/courier/bin/maildrop -d ${recipient}Valaszokat elore is koszi!
sutyee
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz