tankistua
Gold Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору не верю - какой-то бред. Ну и что , что кто-то что-то написал Для меня это филькина грамота пока не я не прочитаю это на официальном источнике. где в почтовике настраивается прокси ? а если указать в качестве смпт сквид, то сквид должен висеть и отдаваться как смпт-сервер. Вобщем надо больше информации. По этому солюшину сквид попробую настроить - потом отпишусь, думаю завтра уже проверю. Добавлено: обалдеть - надо проверить http://wiki.squid-cache.org/SquidFaq/SecurityPitfalls Код: Mail relaying SMTP and HTTP are rather similar in design. This, unfortunately, may allow someone to relay an email message through your HTTP proxy. To prevent this, you must make sure that your proxy denies HTTP requests to port 25, the SMTP port. Squid is configured this way by default. The default squid.conf file lists a small number of trusted ports. See the Safe_ports ACL in squid.conf. Your configuration file should always deny unsafe ports early in the http_access lists: http_access deny !Safe_ports (additional http_access lines ...) Do NOT add port 25 to Safe_ports (unless your goal is to end up in the RBL). You may want to make a cron job that regularly verifies that your proxy blocks access to port 25. | http://wiki.squid-cache.org/HelpOnConfiguration/EmailSupport Код: Outgoing mails In order to enable support for outgoing mails, you must specify the From: address with "mail_from". Furthermore, you must enable a transport, either by SMTP (use "mail_smarthost" to enable it) or by sendmail (use "mail_sendmail" to enable it). If you use "mail_smarthost" and the server requires authentication, then set "mail_login", too. mail_from This value is used for the "From:" and "To:" headers in the emails sent (the "To:" has email address privacy reasons, email is not really sent to this address, but we don't want to disclose any real recipient address). mail_smarthost This is the IP or domain name of an FOLDOC:SMTP enabled server. On a Unix host, you can try to use localhost; on a Windows machine this will normally be a machine in your LAN or some host of your ISP. mail_login This is only needed when you use mail_smarthost and a server that requires SMTP AUTH to send mail; in that case, set this to the username and password separated by a space, i.e. "user pwd". mail_sendmail This is a local command to run to send a message. If set to e.g. '/usr/sbin/sendmail -t -i', use this sendmail command to send mail. This is only useful on machines that have a mail transport agent installed. |
|