The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"Проблемы с работой алиасов"
Отправлено vmois, 21-Мрт-06 17:07 
>>>local_recipient_maps = $virtual_mailbox_maps $virtual_maps $transport_maps $alias_maps
>>Может все-таки объясните, зачем Вы запихали все сюда? Я так понимаю, Вы
>>настраиваете virtual mailbox domains? Список этих доменов? Покажите master.cf и уберите
>>receive_override_options = no_address_mappings из main.cf.
>
>
>Совершенно верно,
>mysql> select *from transport;
>+------------------+-----------+---------+
>| domain          
>| transport | comment |
>+------------------+-----------+---------+
>| galaform.ru      | virtual:  | NULL
>   |
>| siberianneft.com | virtual:  | NULL    |
>| smanngroup.com   | virtual:  | NULL    
>|
>+------------------+-----------+---------+
>
>main.cf
>
># Postfix master process configuration file.  For details on the format
>
># of the file, see the Postfix master(5) manual page.
>#
># ==========================================================================
># service type  private unpriv  chroot  wakeup  maxproc
>command + args
>#            
>   (yes)   (yes)   (yes)  
> (never) (100)
># ==========================================================================
>smtp      inet  n    
>   -       n
>      -    
>  16       smtpd -o
>content_filter=spamfilter
>#submission inet n      -    
>   n       -
>      -    
>  smtpd
>#       -o smtpd_etrn_restrictions=reject
>#       -o smtpd_client_restrictions=permit_sasl_authenticated,reject
>#smtps    inet  n      
> -       n  
>    -      
>-       smtpd
>#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
>#submission   inet    n    
>  -       n  
>     -      
> -       smtpd
>#  -o smtpd_etrn_restrictions=reject
>#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
>#628      inet  n    
>   -       n
>      -    
>  -       qmqpd
>pickup    fifo  n      
> -       n  
>    60      1
>      pickup
>cleanup   unix  n      
>-       n    
>   -       0
>      cleanup
>qmgr      fifo  n    
>   -       n
>      300    
>1       qmgr
>#qmgr     fifo  n    
>  -       n  
>     300     1
>      oqmgr
>tlsmgr    unix  -      
> -       n  
>    1000?   1    
>   tlsmgr
>rewrite   unix  -      
>-       n    
>   -       -
>      trivial-rewrite
>bounce    unix  -      
> -       n  
>    -      
>0       bounce
>defer     unix  -    
>  -       n  
>     -      
> 0       bounce
>trace     unix  -    
>  -       n  
>     -      
> 0       bounce
>verify    unix  -      
> -       n  
>    -      
>1       verify
>flush     unix  n    
>  -       n  
>     1000?   0  
>    flush
>proxymap  unix  -       -
>      n    
>  -       -  
>     proxymap
>smtp      unix  -    
>   -       n
>      -    
>  -       smtp
># When relaying mail as backup MX, disable fallback_relay to avoid MX
>loops
>relay     unix  -    
>  -       n  
>     -      
> -       smtp
>        -o fallback_relay=
>#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
>showq     unix  n    
>  -       n  
>     -      
> -       showq
>error     unix  -    
>  -       n  
>     -      
> -       error
>discard   unix  -      
>-       n    
>   -       -
>      discard
>local     unix  -    
>  n       n  
>     -      
> -       local
>virtual   unix  -      
>n       n    
>   -       -
>      virtual
>lmtp      unix  -    
>   -       n
>      -    
>  -       lmtp
>anvil     unix  -    
>  -       n  
>     -      
> 1       anvil
>scache    unix  -      
> -       n  
>    -      
>1       scache
>#
># ====================================================================
># Interfaces to non-Postfix software. Be sure to examine the manual
># pages of the non-Postfix software to find out what options it
>wants.
>#
># Many of the following services use the Postfix pipe(8) delivery
># agent.  See the pipe(8) man page for information about ${recipient}
>
># and other message envelope options.
># ====================================================================
>#
># maildrop. See the Postfix MAILDROP_README file for details.
># Also specify in main.cf: maildrop_destination_recipient_limit=1
>#
>maildrop  unix  -       n
>      n    
>  -       -  
>     pipe
>  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
>#
># The Cyrus deliver program has changed incompatibly, multiple times.
>#
>old-cyrus unix  -       n  
>     n      
> -       -  
>    pipe
>  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
># Cyrus 2.1.5 (Amos Gouaux)
># Also specify in main.cf: cyrus_destination_recipient_limit=1
>cyrus     unix  -    
>  n       n  
>     -      
> -       pipe
>  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
>#
># See the Postfix UUCP_README file for configuration details.
>#
>uucp      unix  -    
>   n       n
>      -    
>  -       pipe
>  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
>
>#
># Other external delivery methods.
>#
>ifmail    unix  -      
> n       n  
>    -      
>-       pipe
>  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
>bsmtp     unix  -    
>  n       n  
>     -      
> -       pipe
>  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
>#filter   unix  -      
>n       n    
>   -       -
>      pipe
> # flags=R   user=drweb argv=/usr/local/drweb/drweb-postfix --conf=/usr/local/et#c/drweb/drweb_postfix.conf -f ${sender} -- ${recipient}
>
>#Clamav
>scan    unix    -    
>   -       n
>      -    
>  16      smtp
>        -o smtp_send_xforward_command=yes
>127.0.0.1:10026 inet    n      
>-       n    
>   -       16
>     smtpd
>        -o content_filter=spamfilter
>        -o recive_override_options=no_unknown_recipient_checks,no_header_body_checks
>        -o smtpd_helo_restrictions=
>        -o smptd_client_restrictions=
>        -o smtpd_sender_restrictions=
>        -o smtpd_recipient_restrictions=permit_mynetworks,reject
>        -o mynetworks_style=host
>        -o smtpd_authorized_xforward_hosts=127.0.0.0/8
>#Spamassassin
>spamfilter unix -       n  
>    n      
>-       10    
>  pipe
> flags=R
> user=filter
> argv=/usr/local/etc/postfix/scripts/spam.pl "localhost:10027" "spamfilter"
> "${sender}" "$(recipient)" "/usr/local/bin/spamc"
>
>localhost:10027 inet    n      
>-       n    
>   -       10
>     smtpd
>        -o content_filter=
>        -o local_recipient_maps=
>        -o relay_recipient_maps=
>        -o smtpd_helo_restrictions=
>        -o smtpd_client_restrictions=
>        -o smtpd_sender_restrictions=
>        -o mynetworks=127.0.0.0/8
>        -o smtpd_recipient_restrictions=permit_mynetworks,reject
>        -o myhostname=localhost

receive_override_options = no_address_mappings -

postfix не делал никаких манипуляций с адресами до того, как они дойдут до content_filter. Так что получается, что фильтр работает с реальными почтовыми адресами, а не с результатами перевода в виртуальные псевдонимы, маскарадингом и т.п. я убрал и алиас отработал. Т.е. получается данная схема не позволяет работать с алиасами. Подскажите если Вам не трудно, какие ошибки не стоит делать из данной конфигурации, первый сервак делаю.

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру