[Ubuntu server 9.04 i386] Postfix nie moge odbierać ,ani wysyłać

Instalacja i konfiguracja oprogramowania sieciowego.
Awatar użytkownika
Lechu_
Sędziwy Jeż
Sędziwy Jeż
Posty: 57
Rejestracja: 28 paź 2009, 20:58
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86_64

[Ubuntu server 9.04 i386] Postfix nie moge odbierać ,ani wysyłać

Post autor: Lechu_ »

Witam

Skonfigurowałem sobie postfixa zgodnie z poradnikiem udostępnionym na forum. Po wykonaniu wszystkich czynności mam problem z wysyłaniem i odbieraniem maili.

Z logów można wywnioskować ,że chodzi chyba o jakieś uprawnienia.
Podczas wysyłania ciągle się pyta o hasło.

Log

Kod: Zaznacz cały

Apr 18 14:03:53 Workstation postfix/anvil[17004]: statistics: max connection count 1 for (smtp:192.168.0.111) at Apr 18 14:00:12
Apr 18 14:03:53 Workstation postfix/anvil[17004]: statistics: max cache size 1 at Apr 18 14:00:12
Apr 18 14:06:55 Workstation postfix/smtpd[17010]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Apr 18 14:06:55 Workstation postfix/smtpd[17010]: connect from unknown[192.168.0.111]
Apr 18 14:07:01 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr 18 14:07:01 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: Password verification failed
Apr 18 14:07:01 Workstation postfix/smtpd[17010]: warning: unknown[192.168.0.111]: SASL PLAIN authentication failed: generic failure
Apr 18 14:07:01 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr 18 14:07:01 Workstation postfix/smtpd[17010]: warning: unknown[192.168.0.111]: SASL LOGIN authentication failed: generic failure
Apr 18 14:07:08 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr 18 14:07:08 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: Password verification failed
Apr 18 14:07:08 Workstation postfix/smtpd[17010]: warning: unknown[192.168.0.111]: SASL PLAIN authentication failed: generic failure
Apr 18 14:07:09 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr 18 14:07:09 Workstation postfix/smtpd[17010]: warning: unknown[192.168.0.111]: SASL LOGIN authentication failed: generic failure
Apr 18 14:07:14 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr 18 14:07:14 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: Password verification failed
Apr 18 14:07:14 Workstation postfix/smtpd[17010]: warning: unknown[192.168.0.111]: SASL PLAIN authentication failed: generic failure
Apr 18 14:07:14 Workstation postfix/smtpd[17010]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr 18 14:07:14 Workstation postfix/smtpd[17010]: warning: unknown[192.168.0.111]: SASL LOGIN authentication failed: generic failure
Apr 18 14:07:32 Workstation postfix/smtpd[17010]: disconnect from unknown[192.168.0.111]
Apr 18 14:07:51 Workstation pop3d: Connection, ip=[::ffff:192.168.0.111]
Apr 18 14:07:56 Workstation pop3d: chdir biuro/biuro/: No such file or directory

Testowane na użytkowniku
biuro

Kod: Zaznacz cały

|-- lost+found [error opening dir]
`-- vmail
    `-- mojadomena.pl
        `-- biuro [error opening dir]

Kod: Zaznacz cały

drwxr-xr-x 3 vmail vmail 4096 2010-04-18 12:56 .
drwxr-xr-x 3 vmail vmail 4096 2010-04-18 12:56 ..
drwx------ 5 vmail vmail 4096 2010-04-18 12:56 biuro
Awatar użytkownika
adam05
Sędziwy Jeż
Sędziwy Jeż
Posty: 59
Rejestracja: 18 sty 2010, 15:34
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Odp: [Ubuntu server 9.04 i386] Postfix nie moge odbierać ,ani wysyłać

Post autor: adam05 »

Uruchom saslauthd / popraw uprawnienia.
Wszędzie dobrze, ale w 127.0.0.1 najlepiej...
Awatar użytkownika
Lechu_
Sędziwy Jeż
Sędziwy Jeż
Posty: 57
Rejestracja: 28 paź 2009, 20:58
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: [Ubuntu server 9.04 i386] Postfix nie moge odbierać ,ani wysyłać

Post autor: Lechu_ »

adam05 pisze:Uruchom saslauthd / popraw uprawnienia.

Uprawnienia do ../biuro ?? dla usera vmail ??


Saslauth uruchomiony lecz błędy te same.

I gdzie mogę zmienić certyfikat wygenerowany autoamtycznie przez postfix ? bo mnie wkurza caly czas to powiadomienie ze nazwa domeny jest inna niz localhost.



Problem z wysyłaniem maili rozwiązany
wystarczyło dodać postfix do grupy sasl

Kod: Zaznacz cały

usermod -G sasl postfix
został problem z odbieraniem maili i tym certyfikatem

Przy próbie wysłania maila na ten adres dostaje zwrot m.in. o treści

Kod: Zaznacz cały

Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 5.1.1 User not found (state 14)
Awatar użytkownika
Lechu_
Sędziwy Jeż
Sędziwy Jeż
Posty: 57
Rejestracja: 28 paź 2009, 20:58
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: [Ubuntu server 9.04 i386] Postfix nie moge odbierać ,ani wysyłać

Post autor: Lechu_ »

Problem częściowo rozwiązałem.

NIe było ustawionych rozmiarów wirtualnych skrzynek w main.cf


Pozostał jedynie problem braku możliwości wysłania maila z konta portali typu goole czy wp.
W mailu zwrotym jest informacja od serwera User not found.
Z konta serwera można wysłać maila na inne dowolne konto.
ODPOWIEDZ

Wróć do „Sieci, serwery, Internet”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 10 gości