From: Andrei Popov <a.popov@sam-solutions.net> To: ALTLinux Community <community@altlinux.ru> Subject: [Comm] postfix + SMTP + dialup = trouble Date: Tue, 8 Feb 2005 11:23:06 +0200 Message-ID: <1834026169.20050208112306@sam-solutions.net> (raw) Hello All. Ситуация: система АЛМ 2.4, postfix (с настройками из коробки), sendmail, dialup и проблема: Почта не отправляется ни по SMTP, ни через sendmail. В первом случае log postfix-a говорит что "no route to host", во втором mailq объясняет что "host unknown". Прочитав доку по АЛМ 2.4, раздел Postfix, и порыскав по тырнету, я определил для себя некоторую последовательность действий. Если верить доке из дистра, 1. для dialup + smtp мне нужно в main.cf вписать defer_transports = smtp relayhost = [smtp.myISP.net] 2. в кач-ве SMTP сервера указать localhost / 127.0.0.1, осле чего почта уйдет куда надо при наличии ppp по каманде sendmail -q. Вписал. Указал. reload postfix / service postfix restart. Ноль реакции. Если верить тырнету, то Postfix может работать и как локальный агент, и по 25 порту, как сервер прова. Соответственно, control postfix local либо server В связи с этим вопросы: 1. Какова связь между postfix и sendmail, учитывая что для работы постфикса в кач-ве локального агента клиент должен уметь посылать почту на _sendmail_, и при этом же в доке по дистру сказано, что postfix этот самый sendmail типа obsoletes, ибо сендмыл сложен в настройках и стар? Тогда зачем мне сендмыл, если есть постфикс? 2. В чем разница между postfix flush и sendmail -q? 3. Что мне настраивать - postfix, sendmail ли? Где лежат настройки этого сендмыла? 4. Правильно ли я понял, что postfix именно _забирает_ локальную почту либо почту по 25 порту, как пров? То есть клиент по SMTP например почту отправляет, а postfix забирает, так? Если так, то где здесь место для моего прова с моим дайлапом, и как таки письмецо-то отправить? ;) В голове у меня, признаться, каша, и чтение man postfix на ночь ни разу не помогает %-\ Howto на эту тему не нашел, за ссылку буду благодарен. В результате хотелось бы разобраться с работой этих демонов в ситуции dial-up, чтобы понять, как: а. отправлять почту по SMTP из любого клиента, причем ящиков у меня несколько, соответственно и SMTP-серверов надо столько же. либо: б. отправлять почту через sendmail для тех клиентов, которые это поддерживают, опять же нужна поддержка нескольких SMTP-серверов. А еще лучше попробовать оба варианта, и решить для себя, как мне удобнее. Кто-нибудь может грамотно объяснить чайнику последовательность шагов в обоих вариантах? -- WBR, Andrei Popov
next reply other threads:[~2005-02-08 9:23 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-02-08 9:23 Andrei Popov [this message] 2005-02-08 9:52 ` Alexey Morsov 2005-02-08 13:15 ` Re[2]: " Andrei Popov 2005-02-08 13:23 ` Mike Lykov 2005-02-11 6:46 ` Afanasov Dmitry 2005-02-11 7:20 ` Alexey I. Froloff 2005-02-11 7:41 ` Afanasov Dmitry 2005-02-11 7:43 ` Alexey I. Froloff 2005-02-11 8:03 ` [Comm][JT] " Afanasov Dmitry 2005-02-10 9:29 ` Re[2]: [Comm] " Andrei Popov 2005-02-11 6:43 ` Afanasov Dmitry
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=1834026169.20050208112306@sam-solutions.net \ --to=a.popov@sam-solutions.net \ --cc=community@altlinux.ru \ /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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git