Incerc sa fac sa functioneze un pop-before-smtp pe un debian woody pe 
care mai am instalat postfix cu useri virtuali in mysql si courier-pop, 
courier-imap si courier-authdaemon.
Am facut modificarile in /etc/pop-before-smtp, am pus:
pat = '^(... .. ..:..:..) \S+ (?:courierpop3login|imaplogin): LOGIN, 
user=\S+, ip=\[::ffff:(\d+\.\d+\.\d+\.\d+)\]$';
Am pus in main.cf in 2 feluri diferite:
1) mynetworks =  127.0.0.0/8, hash:/etc/postfix/pop-before-smtp
dupa aceea am incercat cu:
2) smtpd_recipient_restrictions = 
permit_mynetworks,reject_non_fqdn_recipient,
 check_client_access hash:/etc/postfix/pop-before-smtp,
 check_relay_domains
Am si avut grija sa verifice in /var/log/mail.log.

Se pare ca nu face nimic.
Fisierul /etc/postfix/pop-before-smtp.db nici macar nu se modifica, 
ramane acelasi de la pornirea lui pop-before-smtp.

Aici e o bucata din strace -ppid cu pid-ul lui pop-before-smtp.

gettimeofday({1074156495, 239387}, NULL) = 0
gettimeofday({1074156495, 239449}, NULL) = 0
_llseek(3, 0, [80455], SEEK_END)        = 0
_llseek(3, 80172, [80172], SEEK_SET)    = 0
read(3, "Jan 15 10:48:14 oth courierpop3l"..., 283) = 283
_llseek(3, 0, [80455], SEEK_CUR)        = 0
gettimeofday({1074156495, 239797}, NULL) = 0
gettimeofday({1074156495, 239902}, NULL) = 0
nanosleep({10, 0}, NULL)                = 0
gettimeofday({1074156505, 249620}, NULL) = 0
gettimeofday({1074156505, 249679}, NULL) = 0
_llseek(3, 0, [80455], SEEK_END)        = 0
gettimeofday({1074156505, 249779}, NULL) = 0
gettimeofday({1074156505, 249825}, NULL) = 0
open("/var/log/mail.log", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0640, st_size=80455, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0640, st_size=80455, ...}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
close(6)                                = 0
_llseek(3, 0, [80455], SEEK_END)        = 0
gettimeofday({1074156505, 250654}, NULL) = 0
nanosleep({10, 0},


Si aici e o bucata din /var/log/mail.log

Jan 15 10:36:01 oth courierpop3login: Connection, ip=[::ffff:217.156.103.11]
Jan 15 10:36:01 oth courierpop3login: LOGIN, [EMAIL PROTECTED], 
ip=[::ffff:217.156.103.11]
Jan 15 10:36:01 oth courierpop3login: LOGOUT, [EMAIL PROTECTED], 
ip=[::ffff:217.156.103.11], top=0, retr=0
Jan 15 10:36:04 oth postfix/smtpd[4618]: connect from 
georgem.netbridge.ro[217.156.103.11]
Jan 15 10:36:04 oth postfix/smtpd[4618]: CDECC1D94A5: 
client=georgem.netbridge.ro[217.156.103.11]
Jan 15 10:36:04 oth postfix/smtpd[4618]: reject: RCPT from 
georgem.netbridge.ro[217.156.103.11]: 554 <[EMAIL PROTECTED]>: 
Recipient address rejected: Relay access denied; from=<[EMAIL PROTECTED]> 
to=<[EMAIL PROTECTED]>
Jan 15 10:36:09 oth postfix/smtpd[4618]: disconnect from 
georgem.netbridge.ro[217.156.103.11]

Idei?

-- 
You can get much further with a kind word and a gun than you can with a kind word 
alone.



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui