Fórum Root.cz

Hlavní témata => Server => Téma založeno: Lukáš 02. 02. 2011, 13:09:51

Název: Vacation odesílá autoreply jen někdy
Přispěvatel: Lukáš 02. 02. 2011, 13:09:51
zdravim

pouzivam postfix, sasl, amavis + SA, courier (pop3,imap), mysql ( pro virtual users), vacation, horde, horde vacation plugin postavene na debianu, emailova komunikace v poradku, horde webmail take v poradku, filtrovani emailu antispamem probiha v poradku

ted problem: pri nastaveni automaticke odpovedi v horde pluginu, se mi zapise prislusny zaznam do DB coz je v poradku, pak pri prichozim emailu se kopie doruci uzivateli do schranky a ma byt odeslana automaticka odpoved, bohuzel se tak stane jen nekdy, napr na seznam to chodi v poradku, pak testovano z Exchange ale tam uz odpoved nedorazi, v SMTP logu Exchange ani zminka o prichozi komunikaci

zde posilam vypis logu, test odesilan ze seznamu kde autoreply dorazi

Feb  1 15:42:58 plex postfix/qmgr[24026]: 9D6F17542FB: from=<odesilatel>, size=1208, nrcpt=2 (queue active)
Feb  1 15:42:59 plex postfix/qmgr[24026]: 087497542FC: from=<odesilatel>, size=1720, nrcpt=3 (queue active)
Feb  1 15:42:59 plex amavis[18400]: (18400-17) Passed CLEAN,  <odesilatel> -> <"prijemce"@autoreply."domena".cz>,<prijemce>, Message-ID: <4D481C15.6090702@domena_odesilatele>, mail_id: tnlAvUPULhkm, Hits: -6.598, size: 1208, queued_as: 087497542FC, 412 ms
Feb  1 15:42:59 plex Vacation: Orig-To:prijemce From: odesilatel MessageID: <4D481C15.6090702@odesilatel> Subject: test
Feb  1 15:42:59 plex amavis[18747]: (18747-04) Passed BAD-HEADER, <prijemce> -> <odesilatel>, quarantine: 6/badh-6tuBY8l3XWHD, Message-ID: <20110201144259.28C12754329@domena_prijemce>, mail_id: 6tuBY8l3XWHD, Hits: -1.806, size: 392, queued_as: 4C2307542FB, 146 ms
Feb  1 15:42:59 plex postfix/smtp[18679]: 28C12754329: to=<odesilatel>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.17, delays=0.02/0/0/0.15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=18747-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4C2307542FB)
Feb  1 15:42:59 plex postfix/smtp[18866]: 4C2307542FB: to=<odesilatel>, relay=server_odesilatele:25, delay=0.31, delays=0.01/0/0.24/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6BEB02000269)


log z vacation debug

====== 2011/02/01 15:42:59 ======
[STRIP RECIPIENTS]:  | <4D481C15.6090702@domena_odesilatele> | prijemce | - | - | -
====== 2011/02/01 15:42:59 ======
[FOUND VACATION]:  | <4D481C15.6090702@domena_odesilatele> | odesilatel | prijemce | prijemce | test
====== 2011/02/01 15:42:59 ======
[STRIP RECIPIENTS]:  | <4D481C15.6090702@domena_odesilatele> | prijemce | - | - | -
====== 2011/02/01 15:42:59 ======
[FOUND VACATION]:  | <4D481C15.6090702@domena_odesilatele> | odesilatel | prijemce | prijemce | prijemce
====== 2011/02/01 15:42:59 ======
[SEND RESPONSE] for <4D481C15.6090702@domena_odesilatele>:
 | FROM: prijemce (orig_to: prijemce)
 | TO: odesilatel
 | SUBJECT: test
 | VACATION SUBJECT: Automatická odpoveď v nepřítomnosti
 | VACATION BODY: ZDE napište text pro automatickou odpověď


vypis z logu, test odeslan z Exchange, autoreply nedorazilo, zkouseno z vice MS serveru, autoreply nedorazi i s nekterych linux mail serveru, ani zminka o prichozi komunikaci v SMTP logu

Feb  1 17:04:05 plex postfix/qmgr[21243]: 036C2754385: from=<odesilatel>, size=3171, nrcpt=2 (queue active)
Feb  1 17:04:05 plex postfix/qmgr[21243]: 6CF1D7543A9: from=<odesilatel>, size=3672, nrcpt=3 (queue active)
Feb  1 17:04:05 plex amavis[21266]: (21266-02) Passed CLEAN, <odesilatel> -> <"prijemce"@autoreply."domena".cz>,<prijemce>, Message-ID: <6DAAD4C1C257804DA19F03C6FD8A6A5217B793CD13@domena_odesilatele>, mail_id: imjV8dAZtd-K, Hits: -2.466, size: 3171, queued_as: 6CF1D7543A9, 375 ms
Feb  1 17:04:05 plex Vacation: Orig-To: "prijemce" <prijemce> From: odesilatel MessageID: <6DAAD4C1C257804DA19F03C6FD8A6A5217B793CD13@domena_odesilatele> Subject: test


log z vacation debug

====== 2011/02/01 16:57:08 ======
[STRIP RECIPIENTS]:  | <6DAAD4C1C257804DA19F03C6FD8A6A5217B793CD12@domena_odesilatele> | prijemce | - | - | -
====== 2011/02/01 16:57:08 ======
[FOUND VACATION]:  | <6DAAD4C1C257804DA19F03C6FD8A6A5217B793CD12@domena_odesilatele> | odesilatel | "prijemce" <prijemce> | prijemce | test
====== 2011/02/01 17:04:05 ======
[STRIP RECIPIENTS]:  | <6DAAD4C1C257804DA19F03C6FD8A6A5217B793CD13@domena_odesilatele> | prijemce | - | - | -
====== 2011/02/01 17:04:05 ======
[FOUND VACATION]:  | <6DAAD4C1C257804DA19F03C6FD8A6A5217B793CD13@domena_odesilatele> | odesilatel | "prijemce" <prijemce> | prijemce | test
====== 2011/02/01 17:04:05 ======
[SEND RESPONSE] for <6DAAD4C1C257804DA19F03C6FD8A6A5217B793CD13@domena_odesilatele>:
 | FROM: prijemce  (orig_to: "prijemce" <prijemce>)
 | TO: odesilatel
 | SUBJECT: test
 | VACATION SUBJECT: Automatická odpoveď v nepřítomnosti
 | VACATION BODY: ZDE napište text pro automatickou odpověď


configurak postfixe main

...
## Autoreply nastaveni
transport_maps = hash:/etc/postfix/transport
vacation_destination_recipient_limit = 1
...


configurak /etc/postfix.transport   - po ulozi proveden postmat
autoreply."domena"  vacation

configurak postfixe master

...
## Auto Reply -- Automaticka odpoved v nepritomnosti
vacation unix   -       n       n       -       -       pipe
   flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} ${recipient}
...


v /var/spool/vacation/ soubor vacation.pl existuje

uz si s tim nevim rady a ani mne nenapada kde hledat chybu kdyz v logu se nic spatneho nepise

moc diky za rady