Kezdőlap › Fórumok › Debiannal kapcsolatos kérdések › Virtual Users, Domains, Postfix, Courier, MySQL
- This topic has 38 hozzászólás, 3 résztvevő, and was last updated 17 years, 5 months telt el by
zentus.
-
SzerzőBejegyzés
-
2008-01-20-19:05 #2150498
mail.log -ot beszúrom remélem ez segít a végén van egy php-ből való küldés is..
http://87.229.0.103/mail.log
www-data@info@esk.hu csak ezt nem értem miért innen akar küldeni php-ból…2008-01-20-19:05 #2150499mail.log -ot beszúrom remélem ez segít a végén van egy php-ből való küldés is..
http://87.229.0.103/mail.log
www-data@info@esk.hu csak ezt nem értem miért innen akar küldeni php-ból…2008-01-21-20:08 #2150500Kicsit megint tunningoltam a mail szerveren.
De még most sem tudom letölteni a szerverről mailokat.
De legalább már tudok a szerverről kifelé küldeni.Kerestem google-n rá megoldást, de nem találtam:(
Logok:
mail.log:Code:postfix/qmgr[26948]: warning: connect to transport scan: No such file or directory
postfix/qmgr[26948]: warning: connect to transport scan: No such file or directory
courierpop3login: Connection, ip=[::ffff:IPÉM]
courierpop3login: LOGIN FAILED, user=zentus, ip=[::ffff:IPÉM]
courierpop3login: LOGIN FAILED, user=zentus, ip=[::ffff:IPÉM]
postfix/qmgr[26948]: warning: connect to transport scan: No such file or directorymail.err
Code:dspam[26104]: Unable to initialize agent context
server dspam[26532]: Option –user requires special privileges when user does not match current user, e.g.. root or Trusted User [uid=112(0^V$
dspam[26532]: Unable to initialize agent context
server dspam[26580]: Option –user requires special privileges when user does not match current user, e.g.. root or Trusted User [uid=112(ĐĂŰ$
dspam[26580]: Unable to initialize agent context/etc/courier/pop3d
Code:##VERSION: $Id: pop3d.dist.in,v 1.16 2005/07/05 12:42:51 mrsam Exp $
#
# pop3d created from pop3d.dist by sysconftool
#
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
# Copyright 1998 – 2004 Double Precision, Inc. See COPYING for
# distribution information.
#
# Courier POP3 daemon configuration
#
##NAME: PIDFILE:0
#PIDFILE=/var/run/courier/pop3d.pid
##NAME: MAXDAEMONS:0
#
# Maximum number of POP3 servers started
#MAXDAEMONS=40
##NAME: MAXPERIP:4
#
# Maximum number of connections to accept from the same IP addressMAXPERIP=4
##NAME: POP3AUTH:1
#
# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH
# variable:
#
# POP3AUTH=”LOGIN”
#
# If you have configured the CRAM-MD5, CRAM-SHA1 or CRAM-SHA256, set POP3AUTH
# to something like this:
# POP3AUTH=”LOGIN CRAM-MD5 CRAM-SHA1″POP3AUTH=””
##NAME: POP3AUTH_ORIG:1
#
# For use by webadminPOP3AUTH_ORIG=”PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256″
##NAME: POP3AUTH_TLS:1
#
# To also advertise SASL PLAIN if SSL is enabled, uncomment the
# POP3AUTH_TLS environment variable:
#
# POP3AUTH_TLS=”LOGIN PLAIN”POP3AUTH_TLS=””
##NAME: POP3AUTH_TLS_ORIG:0
#
# For use by webadminPOP3AUTH_TLS_ORIG=”LOGIN PLAIN”
##NAME: POP3_PROXY:0
#
# Enable proxying. See README.proxyPOP3_PROXY=0
##NAME: PROXY_HOSTNAME:0
#
# Override value from gethostname() when checking if a proxy connection is
# required.# PROXY_HOSTNAME=
##NAME: PORT:1
#
# Port to listen on for connections. The default is port 110.
#
# Multiple port numbers can be separated by commas. When multiple port
# numbers are used it is possibly to select a specific IP address for a
# given port as „ip.port”. For example, „127.0.0.1.900,192.68.0.1.900”
# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
# The ADDRESS setting is a default for ports that do not have a specified
# IP address.PORT=110
##NAME: ADDRESS:0
#
# IP address to listen on. 0 means all IP addresses.ADDRESS=0
##NAME: TCPDOPTS:0
#
# Other couriertcpd(1) options. The following defaults should be fine.
#TCPDOPTS=”-nodnslookup -noidentlookup”
##NAME: LOGGEROPTS:0
#
# courierlogger(1) options.
#LOGGEROPTS=”-name=pop3d”
##NAME: DEFDOMAIN:0
#
# Optional default domain. If the username does not contain the
# first character of DEFDOMAIN, then it is appended to the username.
# If DEFDOMAIN and DOMAINSEP are both set, then DEFDOMAIN is appended
# only if the username does not contain any character from DOMAINSEP.
# You can set different default domains based on the the interface IP
# address using the -access and -accesslocal options of couriertcpd(1).#DEFDOMAIN=”@example.com”
##NAME: POP3DSTART:0
#
# POP3DSTART is not referenced anywhere in the standard Courier programs
# or scripts. Rather, this is a convenient flag to be read by your system
# startup script in /etc/rc.d, like this:
#
# . /etc/courier/pop3d
# case x$POP3DSTART in
# x[yY]*)
# /usr/lib/courier/pop3d.rc start
# ;;
# esac
#
# The default setting is going to be NO, until Courier is shipped by default
# with enough platforms so that people get annoyed with having to flip it to
# YES every time.POP3DSTART=YES
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH – directory name of the maildir directory.
#
MAILDIRPATH=Maildirserver:/home/zentus# nano /etc/courier/pop3d
server:/home/zentus# cat /etc/courier/pop3d
##VERSION: $Id: pop3d.dist.in,v 1.16 2005/07/05 12:42:51 mrsam Exp $
#
# pop3d created from pop3d.dist by sysconftool
#
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
# Copyright 1998 – 2004 Double Precision, Inc. See COPYING for
# distribution information.
#
# Courier POP3 daemon configuration
#
##NAME: PIDFILE:0
#PIDFILE=/var/run/courier/pop3d.pid
##NAME: MAXDAEMONS:0
#
# Maximum number of POP3 servers started
#MAXDAEMONS=40
##NAME: MAXPERIP:4
#
# Maximum number of connections to accept from the same IP addressMAXPERIP=4
##NAME: POP3AUTH:1
#
# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH
# variable:
#
# POP3AUTH=”LOGIN”
#
# If you have configured the CRAM-MD5, CRAM-SHA1 or CRAM-SHA256, set POP3AUTH
# to something like this:
#
# POP3AUTH=”LOGIN CRAM-MD5 CRAM-SHA1″POP3AUTH=””
##NAME: POP3AUTH_ORIG:1
#
# For use by webadminPOP3AUTH_ORIG=”PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256″
##NAME: POP3AUTH_TLS:1
#
# To also advertise SASL PLAIN if SSL is enabled, uncomment the
# POP3AUTH_TLS environment variable:
#
# POP3AUTH_TLS=”LOGIN PLAIN”POP3AUTH_TLS=””
##NAME: POP3AUTH_TLS_ORIG:0
#
# For use by webadminPOP3AUTH_TLS_ORIG=”LOGIN PLAIN”
##NAME: POP3_PROXY:0
#
# Enable proxying. See README.proxyPOP3_PROXY=0
##NAME: PROXY_HOSTNAME:0
#
# Override value from gethostname() when checking if a proxy connection is
# required.# PROXY_HOSTNAME=
##NAME: PORT:1
#
# Port to listen on for connections. The default is port 110.
#
# Multiple port numbers can be separated by commas. When multiple port
# numbers are used it is possibly to select a specific IP address for a
# given port as „ip.port”. For example, „127.0.0.1.900,192.68.0.1.900”
# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
# The ADDRESS setting is a default for ports that do not have a specified
# IP address.PORT=110
##NAME: ADDRESS:0
#
# IP address to listen on. 0 means all IP addresses.ADDRESS=0
##NAME: TCPDOPTS:0
#
# Other couriertcpd(1) options. The following defaults should be fine.
#TCPDOPTS=”-nodnslookup -noidentlookup”
##NAME: LOGGEROPTS:0
#
# courierlogger(1) options.
#LOGGEROPTS=”-name=pop3d”
##NAME: DEFDOMAIN:0
#
# Optional default domain. If the username does not contain the
# first character of DEFDOMAIN, then it is appended to the username.
# If DEFDOMAIN and DOMAINSEP are both set, then DEFDOMAIN is appended
# only if the username does not contain any character from DOMAINSEP.
# You can set different default domains based on the the interface IP
# address using the -access and -accesslocal options of couriertcpd(1).#DEFDOMAIN=”@example.com”
##NAME: POP3DSTART:0
#
# POP3DSTART is not referenced anywhere in the standard Courier programs
# or scripts. Rather, this is a convenient flag to be read by your system
# startup script in /etc/rc.d, like this:
#
# . /etc/courier/pop3d
# case x$POP3DSTART in
# x[yY]*)
# /usr/lib/courier/pop3d.rc start
# ;;
# esac
#
# The default setting is going to be NO, until Courier is shipped by default
# with enough platforms so that people get annoyed with having to flip it to
# YES every time.POP3DSTART=YES
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH – directory name of the maildir directory.
#
MAILDIRPATH=Maildir2008-01-21-20:08 #2150501Kicsit megint tunningoltam a mail szerveren.
De még most sem tudom letölteni a szerverről mailokat.
De legalább már tudok a szerverről kifelé küldeni.Kerestem google-n rá megoldást, de nem találtam:(
Logok:
mail.log:Code:postfix/qmgr[26948]: warning: connect to transport scan: No such file or directory
postfix/qmgr[26948]: warning: connect to transport scan: No such file or directory
courierpop3login: Connection, ip=[::ffff:IPÉM]
courierpop3login: LOGIN FAILED, user=zentus, ip=[::ffff:IPÉM]
courierpop3login: LOGIN FAILED, user=zentus, ip=[::ffff:IPÉM]
postfix/qmgr[26948]: warning: connect to transport scan: No such file or directorymail.err
Code:dspam[26104]: Unable to initialize agent context
server dspam[26532]: Option –user requires special privileges when user does not match current user, e.g.. root or Trusted User [uid=112(0^V$
dspam[26532]: Unable to initialize agent context
server dspam[26580]: Option –user requires special privileges when user does not match current user, e.g.. root or Trusted User [uid=112(ĐĂŰ$
dspam[26580]: Unable to initialize agent context/etc/courier/pop3d
Code:##VERSION: $Id: pop3d.dist.in,v 1.16 2005/07/05 12:42:51 mrsam Exp $
#
# pop3d created from pop3d.dist by sysconftool
#
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
# Copyright 1998 – 2004 Double Precision, Inc. See COPYING for
# distribution information.
#
# Courier POP3 daemon configuration
#
##NAME: PIDFILE:0
#PIDFILE=/var/run/courier/pop3d.pid
##NAME: MAXDAEMONS:0
#
# Maximum number of POP3 servers started
#MAXDAEMONS=40
##NAME: MAXPERIP:4
#
# Maximum number of connections to accept from the same IP addressMAXPERIP=4
##NAME: POP3AUTH:1
#
# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH
# variable:
#
# POP3AUTH=”LOGIN”
#
# If you have configured the CRAM-MD5, CRAM-SHA1 or CRAM-SHA256, set POP3AUTH
# to something like this:
# POP3AUTH=”LOGIN CRAM-MD5 CRAM-SHA1″POP3AUTH=””
##NAME: POP3AUTH_ORIG:1
#
# For use by webadminPOP3AUTH_ORIG=”PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256″
##NAME: POP3AUTH_TLS:1
#
# To also advertise SASL PLAIN if SSL is enabled, uncomment the
# POP3AUTH_TLS environment variable:
#
# POP3AUTH_TLS=”LOGIN PLAIN”POP3AUTH_TLS=””
##NAME: POP3AUTH_TLS_ORIG:0
#
# For use by webadminPOP3AUTH_TLS_ORIG=”LOGIN PLAIN”
##NAME: POP3_PROXY:0
#
# Enable proxying. See README.proxyPOP3_PROXY=0
##NAME: PROXY_HOSTNAME:0
#
# Override value from gethostname() when checking if a proxy connection is
# required.# PROXY_HOSTNAME=
##NAME: PORT:1
#
# Port to listen on for connections. The default is port 110.
#
# Multiple port numbers can be separated by commas. When multiple port
# numbers are used it is possibly to select a specific IP address for a
# given port as „ip.port”. For example, „127.0.0.1.900,192.68.0.1.900”
# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
# The ADDRESS setting is a default for ports that do not have a specified
# IP address.PORT=110
##NAME: ADDRESS:0
#
# IP address to listen on. 0 means all IP addresses.ADDRESS=0
##NAME: TCPDOPTS:0
#
# Other couriertcpd(1) options. The following defaults should be fine.
#TCPDOPTS=”-nodnslookup -noidentlookup”
##NAME: LOGGEROPTS:0
#
# courierlogger(1) options.
#LOGGEROPTS=”-name=pop3d”
##NAME: DEFDOMAIN:0
#
# Optional default domain. If the username does not contain the
# first character of DEFDOMAIN, then it is appended to the username.
# If DEFDOMAIN and DOMAINSEP are both set, then DEFDOMAIN is appended
# only if the username does not contain any character from DOMAINSEP.
# You can set different default domains based on the the interface IP
# address using the -access and -accesslocal options of couriertcpd(1).#DEFDOMAIN=”@example.com”
##NAME: POP3DSTART:0
#
# POP3DSTART is not referenced anywhere in the standard Courier programs
# or scripts. Rather, this is a convenient flag to be read by your system
# startup script in /etc/rc.d, like this:
#
# . /etc/courier/pop3d
# case x$POP3DSTART in
# x[yY]*)
# /usr/lib/courier/pop3d.rc start
# ;;
# esac
#
# The default setting is going to be NO, until Courier is shipped by default
# with enough platforms so that people get annoyed with having to flip it to
# YES every time.POP3DSTART=YES
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH – directory name of the maildir directory.
#
MAILDIRPATH=Maildirserver:/home/zentus# nano /etc/courier/pop3d
server:/home/zentus# cat /etc/courier/pop3d
##VERSION: $Id: pop3d.dist.in,v 1.16 2005/07/05 12:42:51 mrsam Exp $
#
# pop3d created from pop3d.dist by sysconftool
#
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
# Copyright 1998 – 2004 Double Precision, Inc. See COPYING for
# distribution information.
#
# Courier POP3 daemon configuration
#
##NAME: PIDFILE:0
#PIDFILE=/var/run/courier/pop3d.pid
##NAME: MAXDAEMONS:0
#
# Maximum number of POP3 servers started
#MAXDAEMONS=40
##NAME: MAXPERIP:4
#
# Maximum number of connections to accept from the same IP addressMAXPERIP=4
##NAME: POP3AUTH:1
#
# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH
# variable:
#
# POP3AUTH=”LOGIN”
#
# If you have configured the CRAM-MD5, CRAM-SHA1 or CRAM-SHA256, set POP3AUTH
# to something like this:
#
# POP3AUTH=”LOGIN CRAM-MD5 CRAM-SHA1″POP3AUTH=””
##NAME: POP3AUTH_ORIG:1
#
# For use by webadminPOP3AUTH_ORIG=”PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256″
##NAME: POP3AUTH_TLS:1
#
# To also advertise SASL PLAIN if SSL is enabled, uncomment the
# POP3AUTH_TLS environment variable:
#
# POP3AUTH_TLS=”LOGIN PLAIN”POP3AUTH_TLS=””
##NAME: POP3AUTH_TLS_ORIG:0
#
# For use by webadminPOP3AUTH_TLS_ORIG=”LOGIN PLAIN”
##NAME: POP3_PROXY:0
#
# Enable proxying. See README.proxyPOP3_PROXY=0
##NAME: PROXY_HOSTNAME:0
#
# Override value from gethostname() when checking if a proxy connection is
# required.# PROXY_HOSTNAME=
##NAME: PORT:1
#
# Port to listen on for connections. The default is port 110.
#
# Multiple port numbers can be separated by commas. When multiple port
# numbers are used it is possibly to select a specific IP address for a
# given port as „ip.port”. For example, „127.0.0.1.900,192.68.0.1.900”
# accepts connections on port 900 on IP addresses 127.0.0.1 and 192.68.0.1
# The ADDRESS setting is a default for ports that do not have a specified
# IP address.PORT=110
##NAME: ADDRESS:0
#
# IP address to listen on. 0 means all IP addresses.ADDRESS=0
##NAME: TCPDOPTS:0
#
# Other couriertcpd(1) options. The following defaults should be fine.
#TCPDOPTS=”-nodnslookup -noidentlookup”
##NAME: LOGGEROPTS:0
#
# courierlogger(1) options.
#LOGGEROPTS=”-name=pop3d”
##NAME: DEFDOMAIN:0
#
# Optional default domain. If the username does not contain the
# first character of DEFDOMAIN, then it is appended to the username.
# If DEFDOMAIN and DOMAINSEP are both set, then DEFDOMAIN is appended
# only if the username does not contain any character from DOMAINSEP.
# You can set different default domains based on the the interface IP
# address using the -access and -accesslocal options of couriertcpd(1).#DEFDOMAIN=”@example.com”
##NAME: POP3DSTART:0
#
# POP3DSTART is not referenced anywhere in the standard Courier programs
# or scripts. Rather, this is a convenient flag to be read by your system
# startup script in /etc/rc.d, like this:
#
# . /etc/courier/pop3d
# case x$POP3DSTART in
# x[yY]*)
# /usr/lib/courier/pop3d.rc start
# ;;
# esac
#
# The default setting is going to be NO, until Courier is shipped by default
# with enough platforms so that people get annoyed with having to flip it to
# YES every time.POP3DSTART=YES
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH – directory name of the maildir directory.
#
MAILDIRPATH=Maildir2008-01-22-01:05 #2150502zentus wrote:mail.log -ot beszúrom remélem ez segít a végén van egy php-ből való küldés is..Ez nem jött össze! 🙂
Uff! Te szolgáltacc?!
zentus wrote:www-data@info@esk.hu csak ezt nem értem miért innen akar küldeni php-ból…”nem kellene az „info”-t oda raknod.
Freewebéknél így van: www-data
„courierpop3login: LOGIN FAILED, user=zentus, ip=[::ffff:IPÉM]”
Ha sql-ból autholsz, kell a sql szerver log-ja is,
mer’ ott van a lényeg!
A „failed” kevés információ! 🙂2008-01-22-01:05 #2150503zentus wrote:mail.log -ot beszúrom remélem ez segít a végén van egy php-ből való küldés is..Ez nem jött össze! 🙂
Uff! Te szolgáltacc?!
zentus wrote:www-data@info@esk.hu csak ezt nem értem miért innen akar küldeni php-ból…”nem kellene az „info”-t oda raknod.
Freewebéknél így van: www-data
„courierpop3login: LOGIN FAILED, user=zentus, ip=[::ffff:IPÉM]”
Ha sql-ból autholsz, kell a sql szerver log-ja is,
mer’ ott van a lényeg!
A „failed” kevés információ! 🙂2008-01-22-07:06 #21505042008-01-22-07:06 #21505052009-12-04-20:03 #1887724A következők leírás szerint
Mx rekordot leellenőrzőm akkor minden jó és szép.
Mikor csatlakozni szeretnék a nem enged be következő szerepel asyslogban:Code:server courierpop3login: LOGIN FAILED, user=user,ip=[::ffff:ipcímem]Lehet nem hozta létre a usert, amit mysqlbe beírtam neki?
Próbáltam a következőket:
Code:server:~# telnet localhost pop3
Trying 127.0.0.1…
Connected to localhost.localdomain.
Escape character is ‘^]’.
+OK Hello there.
quit
+OK Better luck next time.
Connection closed by foreign host.
server:~#Code:server:~# telnet localhost 25
Trying 127.0.0.1…
Connected to localhost.localdomain.
Escape character is ‘^]’.
220 server.xxx.hu ESMTP Postfix (Debian/GNU)
ehlo localhost
250-server.xxx.hu
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host. -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz