From: Konstantin Orloff <orloff@aramid.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] postfix: Recipient address rejected Date: Mon, 2 Apr 2007 12:38:50 +0400 Message-ID: <969291280.20070402123850@aramid.ru> (raw) In-Reply-To: <m3d52nxper.fsf@vvk.distance.ru> Здравствуйте, Vladimir. Вы писали 2 апреля 2007 г., 10:26:36: >>>>>> On 30 Mar 2007 at 19:31 "DLK" == Dmitriy L Kruglikov writes: DVL>>> Противопоказания есть какие-нибудь? > С другой стороны, можно не трогать параметр, т.к. условья его срабатывания > лимитированы (внизу выдержка из мана). DLK>> А спам не полезет ? DLK>> UUCP конечно экзотика, а спам - нет ... DLK>> Если DLK>> перезапишем site!user в user@site DLK>> То в нашем примере получим: DLK>> user!@aramid.ru -> @aramid.ru@user ... DLK>> Такого домена, естественно, нет ... > Ну и отреджектится запрос. Но с кодом 4ХХ (по умолчанию). Поэтому (в моем случае) передающая косо настроенная сторона пуляла повторы письма много раз. DLK>> Если не перезапишем (swap_bangpath=no) DLK>> то почта будет адресована user!, которого то-же нет в системе. > Опять же отреджектится. Здесь постфикс по идее сразу даст реджект с кодом 5ХХ и повторов посылки письма быть не должно. DLK>> Пока не уверен в обработке знака "!"... DLK>> Я так думаю, что адрес должен быть правильным... DLK>> А историческое наследие типа UUCP отношения к этому не имеет. DLK>> Или я все перепутал ? > Похоже, у автора треда имеет место несколько специфическая конфигурация, раз > сработал rewrite. Вот в каких случаях это происходит (man 5 postconf): IMHO специально ничего хитрого не задумывал. Мож где и накосячил... > The message is received with the Postfix sendmail(1) command, Где это глянуть? Или это если локально отправляется письмо с помощью sendmail? В моем случае просто происходил снаружи коннект по SMTP с демоном постфикса. > The message is received from a network client that matches $local_header_re- > write_clients, = permit_inet_interfaces Похоже ЭТО правило отработало. Я кстати специально эту строку не менял. Это значение берется у меня из main.cf.default. > The message is received from the network, and the remote_header_rewrite_domain parame- > ter specifies a non-empty value. = Пусто swap_bangpath по умолчанию стоял YES. Переставил на NO, но выводов пока не сделал, ибо такая ситуация пока не встретилась. -- С уважением, Konstantin mailto:orloff@aramid.ru
next prev parent reply other threads:[~2007-04-02 8:38 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-27 8:00 ` Dmitriy L. Kruglikov 2007-03-27 9:06 ` Konstantin Orloff 2007-03-27 9:43 ` Шенцев Алексей Владимирович 2007-03-27 9:48 ` Dmitriy L. Kruglikov 2007-03-27 11:36 ` Konstantin Orloff 2007-03-27 8:03 ` Alexey Morsov 2007-03-27 9:09 ` Alexey Morsov 2007-03-27 9:14 ` Dmitriy L. Kruglikov 2007-03-27 9:31 ` Konstantin Orloff 2007-03-27 9:35 ` Alexey Morsov 2007-03-30 6:16 ` Vladimir V. Kamarzin 2007-03-30 13:08 ` Dmitry V. Levin 2007-03-30 13:31 ` Dmitriy L. Kruglikov 2007-04-02 6:26 ` Vladimir V. Kamarzin 2007-04-02 6:38 ` Dmitriy L. Kruglikov 2007-04-02 8:38 ` Konstantin Orloff [this message] 2007-04-06 8:01 ` Vladimir V. Kamarzin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=969291280.20070402123850@aramid.ru \ --to=orloff@aramid.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git