ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Юрий Хорошков" <hyuv@svitonline.com>
To: community@altlinux.ru
Subject: Re: [Comm] sendmail+postfix+fetchmail
Date: Mon, 31 Mar 2003 10:30:47 +0100
Message-ID: <200303311030.47613.hyuv@svitonline.com> (raw)
In-Reply-To: <20030330183158.62269f3e.thebeast@fromru.com>

В сообщении от Воскресенье 30 Март 2003 15:31 Alexey Morsov 
написал(a):
> Привет,
>
> Я наверное совсем глупый. Как заставить всю эту mail-братву
> работать. Где брать эти их .rc файлы или информацию как их
> писать. В тех документах что есть в /usr/share/doc очень много
> всего про что угодно, только не про то как их всех взвести с
> самого нуля.
>
> Вроде postfix да fetchmail взведены (судя по chkconfig --list)
> Но вот что и как они должны брать с удаленных серверов, куда
> они будут докидывать то что я отправляю? Все эти порты,
> фильтры procmail.
>
> Куда рыть, господа? Или это грааль?

В ALT связка postfix+sendmail уже настроена. Если Вы будете 
использовать протокол SMTP установите пакет postfix-smtpd.
По совету Ol я настраивал так:
1. Дописываете в /etc/postfix/main.cf строчки (можно в конце):
relayhost = [smtp.provider.net]:25
defer_transports = smtp
sender_canonical_maps = hash:/etc/postfix/sender_canonical
2. Раскоментируйте строку
disable_dns_lookup = yes
3. Создайте текстовый файл /etc/postfix/sender_canonical и 
сделайте в нём запись:
user Ваш@email
4. Под root выполните команды:
postmap /etc/postfix/sender_canonical
service postfix reload
5. В почтовом клиете выставляете: Сервер SMTP --> 127.0.0.1 или 
localhost. Проверте есть ли в /etc/resolv.conf запись 
nameserver 127.0.0.1

Для fetchmail установите пакет fetchmailconf. При настройке 
будьте внимательны кто Вы здесь (user) и какой Ваш ID у 
провайдера :) . Если Вы используете dialup, то должны отключить 
загрузку fetchmail при загруке системы и создать в /etc/ppp 
скрипты ip-up.local & ip-down.local, где соответственно 
записывается:
service fetchmail start
service fetchmail stop
Ваши письма будут приниматься в /var/spool/mail/user.
Большинство почтовых клиентов понимают локальный приём почты.
Для Мозиллы нужны дополнительные "телодвижения" :) .
И будет у Вас полное счастье :) .

С уважением,
Юрий. 	


  parent reply	other threads:[~2003-03-31  9:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-30 14:31 Alexey Morsov
2003-03-30 17:47 ` [Comm] sendmail+postfix+fetchmail Sergey Kuznetsov
2003-04-01 16:20   ` Alexey Morsov
2003-04-02 19:25     ` Андрей Новосёлов
2003-03-30 18:20 ` [Comm] sendmail+postfix+fetchmail Roman S
2003-03-31 16:49   ` Alexey Morsov
2003-04-02 16:11     ` Sergey Kuznetsov
2003-03-31  9:30 ` Юрий Хорошков [this message]
2003-03-31 16:46   ` Alexey Morsov
2003-04-01  7:49     ` [Comm] sendmail+postfix+fetchmail Artem K. Jouravsky
2003-04-01  8:23     ` [Comm] sendmail+postfix+fetchmail Юрий Хорошков
2003-04-01 16:12       ` Alexey Morsov
2003-04-02 19:25         ` Андрей Новосёлов
2003-04-03  7:20         ` Юрий Хорошков
2003-04-04 16:44           ` Alexey Morsov

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=200303311030.47613.hyuv@svitonline.com \
    --to=hyuv@svitonline.com \
    --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