On Fri, 16 Apr 2010 00:26:25 +0200, fakessh <fake...@fakessh.eu> wrote:
> On Thu, 15 Apr 2010 08:33:43 -0500, Noel Jones <njo...@megan.vbhcs.org>
> wrote:
>> On 4/14/2010 3:42 PM, fakessh wrote:
>>> On Wed, 14 Apr 2010 13:50:34 -0500, Noel Jones<njo...@megan.vbhcs.org>
>>> wrote:
>>>> On 4/14/2010 1:45 PM, fakessh wrote:
>>>>> On Wed, 14 Apr 2010 14:12:25 -0400, Charles Marcus
>>>>> <cmar...@media-brokers.com>   wrote:
>>>
>>>
>>> I changed the entries @fakessh to r...@localhost in
> /etc/postfix/virtual
>>> postmap then a file  to
>>> the postfix restart.
>>>
>>> all without success, or rather the same mistake
>> 
>> Then post your new "postconf -n", log entries showing the 
>> problem, and file contents.
> 
> 
> my postcon -n
> [r...@r13151 ~]# postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> body_checks = regexp:/etc/postfix/body_checks.cf
> bounce_notice_recipient = postmaster
> broken_sasl_auth_clients = yes
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> content_filter = dksign:[127.0.0.1]:10028
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> default_privs = nobody
> double_bounce_sender = no
> header_checks = regexp:/etc/postfix/header_checks.cf
> home_mailbox = Maildir/
> html_directory = no
> in_flow_delay = 10
> inet_interfaces = all
> mail_spool_directory = /var/spool/mail
> mailbox_command = /usr/libexec/dovecot/deliver
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> maps_rbl_domains = bl.spamcop.net
> mime_header_checks = regexp:/etc/postfix/mime_header_checks.cf
> mydestination = $myhostname, localhost.$mydomain
> mydomain = r13151.ovh.net
> mynetworks = 127.0.0.0/8 ,87.98.186.232
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases.postfix
> queue_run_delay = 2000s
> readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
> recipient_delimiter = +
> relay_domains = 
> sample_directory = /usr/share/doc/postfix-2.3.3/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtp_sasl_security_options = noanonymous
> smtp_sasl_tls_security_options = noanonymous
> smtp_sender_dependent_authentication = yes
> smtp_tls_loglevel = 3
> smtp_tls_session_cache_database =
> btree:/var/lib/postfix/smtp_tls_session_cache
> smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
> smtpd_client_restrictions =
>
permit_mynetworks,reject_unknown_reverse_client_hostname,reject_unauth_pipelining,
> reject_non_fqdn_recipient ,  permit
> smtpd_milters = inet:[127.0.0.1]:10040
> smtpd_recipient_restrictions = permit_mynetworks  permit_inet_interfaces
> permit_sasl_authenticated  reject_unverified_recipient
> reject_non_fqdn_sender reject_non_fqdn_recipient
> reject_unknown_sender_domain reject_unknown_recipient_domain
> reject_unknown_reverse_client_hostname reject_unauth_destination
> reject_unauth_pipelining reject_rbl_client zen.spamhaus.org
> reject_sender_login_mismatch check_policy_service unix:postgrey/socket
> check_sender_access hash:/etc/postfix/check_backscatterer 
> check_policy_service unix:private/spfpolicy reject_rbl_client
> bl.spamcop.net reject_rhsbl_sender  dbl.spamhaus.org  reject_rbl_client
> cbl.abuseat.org  reject_rbl_client b.barracudacentral.org
> smtpd_reject_unlisted_sender = no
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_authenticated_header = yes
> smtpd_sasl_local_domain = $myhostname
> smtpd_sasl_path = private/auth
> smtpd_sasl_type = dovecot
> smtpd_tls_CAfile = /etc/pki/tls/sub.class4.server.ca.pem
> smtpd_tls_auth_only = yes
> smtpd_tls_cert_file = /etc/pki/tls/newcerts/01.pem
> smtpd_tls_key_file = /etc/pki/tls/private/r13151.ovh.net.key
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_database =
> btree:/var/lib/postfix/smtpd_tls_session_cache
> smtpd_use_tls = yes
> soft_bounce = no
> tls_random_source = dev:/dev/urandom
> unknown_local_recipient_reject_code = 550
> virtual_alias_domains = fakessh.eu renelacroute.fr nicolaspichot.fr
> virtual_alias_maps = hash:/etc/postfix/virtual
> 
>> 
>> But you already have all the information you need to fix this 
>> yourself.
>> 
>> Key points are
>> 1) use fully qualified names in virtual_alias_maps. ie.
>> u...@example1.com   u...@example2.com
>> 
>> *not*
>> u...@example1.com   user
> 
> my jed /etc/postfix/virtual
> #
> # AUTHOR(S)
> #        Wietse Venema
> #        IBM T.J. Watson Research
> #        P.O. Box 704
> #        Yorktown Heights, NY 10598, USA
> #
> #                                                                    
> VIRTUAL(5$
> postmas...@fakessh.eu   r...@localhost.r13151.ovh.net
> fake...@fakessh.eu     fake...@localhost.r13151.ovh.net
> webm...@fakessh.eu     webm...@localhost.r13151.ovh.net
> se...@fakessh.eu       se...@localhost.r13151.ovh.net
> @fakessh       r...@localhost.r13151.ovh.net
> renelacro...@renelacroute.fr renelacro...@localhost.r13151.ovh.net
> @renelacroute.fr               r...@localhost.r13151.ovh.net
> postmas...@renelacroute.fr   r...@localhost.r13151.ovh.net
> nicolaspic...@nicolaspichot.fr   nicolaspic...@localhost.r13151.ovh.net
> @nicolaspichot.fr                   r...@localhost.r13151.ovh.net
> 
> 
>> 
>> 2) if you want local delivery of the mail, the new domain must 
>> be listed in mydestination.
>> 
> i use local delivery agent
> [r...@r13151 ~]# rpm -qa | grep dovecot
> dovecot-sieve-devel-0.1.15-4.el5
> dovecot-sieve-cmu-1.1.8-11.el5
> dovecot-1.2.11-3_108.el5
> dovecot-sieve-0.1.15-4.el5
> dovecot-managesieve-0.11.11-0_4.el5
> [r...@r13151 ~]# 
> 
> to atrpms repo
> 
>> Your fix may be as simple as adding "localhost.$mydomain" to 
>> mydestination.
>> 
> 
> my hostname is r13151.ovh.net
>> 
>>    -- Noel Jones


my log to correct session

Apr 16 00:36:16 r13151 postfix/postfix-script: stopping the Postfix mail
system
Apr 16 00:36:16 r13151 postfix/master[14544]: terminating on signal 15
Apr 16 00:36:17 r13151 postfix/postfix-script: starting the Postfix mail
system
Apr 16 00:36:17 r13151 postfix/master[14848]: daemon started -- version
2.3.3, configuration /etc/postfix
Apr 16 00:36:31 r13151 postfix/tlsmgr[14861]: open smtp TLS cache
btree:/var/lib/postfix/smtp_tls_session_cache
Apr 16 00:36:31 r13151 postfix/tlsmgr[14861]: tlsmgr_cache_run_event:
start TLS smtp session cache cleanup
Apr 16 00:36:31 r13151 postfix/smtpd[14859]: connect from
smtp20.orange.fr[80.12.242.26]
Apr 16 00:36:31 r13151 postfix/cleanup[14866]: 6617457F6F:
message-id=<20100415223631.6617457...@r13151.ovh.net>
Apr 16 00:36:31 r13151 postfix/qmgr[14851]: 6617457F6F:
from=<postmas...@r13151.ovh.net>, size=260, nrcpt=1 (queue active)
Apr 16 00:36:31 r13151 postfix/local[14867]: 6617457F6F:
to=<fake...@localhost.r13151.ovh.net>, orig_to=<fake...@fakessh.eu>,
relay=local, delay=0.16, delays=0.15/0.01/0/0, dsn=2.0.0,
status=deliverable (delivers to command: /usr/libexec/dovecot/deliver)
Apr 16 00:36:31 r13151 postfix/qmgr[14851]: 6617457F6F: removed
Apr 16 00:36:34 r13151 postgrey[838]: action=pass, reason=client
whitelist, client_name=smtp20.orange.fr, client_address=80.12.242.26,
sender=john.swilt...@wanadoo.fr, recipient=fake...@fakessh.eu 
Apr 16 00:36:34 r13151 postgrey[838]: cleaning up old logs... 
Apr 16 00:36:35 r13151 postfix/policy-spf[14869]: : SPF none (No
applicable sender policy available): Envelope-from:
john.swilt...@wanadoo.fr 
Apr 16 00:36:35 r13151 postfix/policy-spf[14869]: handler
sender_policy_framework: is decisive. 
Apr 16 00:36:35 r13151 postfix/policy-spf[14869]: : Policy action=PREPEND
Received-SPF: none (wanadoo.fr: No applicable sender policy available)
receiver=r13151.ovh.net; identity=mailfrom;
envelope-from="john.swilt...@wanadoo.fr"; helo=smtp20.orange.fr;
client-ip=80.12.242.26 
Apr 16 00:36:35 r13151 postfix/smtpd[14859]: AD73957F6F:
client=smtp20.orange.fr[80.12.242.26]
Apr 16 00:36:35 r13151 postfix/cleanup[14866]: AD73957F6F:
message-id=<1271370966.7979.13.ca...@localhost.localdomain>
Apr 16 00:36:37 r13151 postfix/qmgr[14851]: AD73957F6F:
from=<john.swilt...@wanadoo.fr>, size=1460, nrcpt=1 (queue active)
Apr 16 00:36:37 r13151 postfix/smtpd[14859]: disconnect from
smtp20.orange.fr[80.12.242.26]
Apr 16 00:36:37 r13151 dkimproxy.out[817]: connect from 127.0.0.1 
Apr 16 00:36:37 r13151 postfix/smtpd[14874]: connect from
localhost.localdomain[127.0.0.1]
Apr 16 00:36:37 r13151 postfix/smtp[14873]: discarding EHLO keywords:
8BITMIME STARTTLS
Apr 16 00:36:38 r13151 postfix/smtpd[14874]: 30AB357F71:
client=smtp20.orange.fr[80.12.242.26]
Apr 16 00:36:38 r13151 dkimproxy.out[817]: DKIM signing - skipped;
message-id=<1271370966.7979.13.ca...@localhost.localdomain>,
from=<john.swilt...@wanadoo.fr> 
Apr 16 00:36:38 r13151 postfix/cleanup[14866]: 30AB357F71:
message-id=<1271370966.7979.13.ca...@localhost.localdomain>
Apr 16 00:36:39 r13151 postfix/qmgr[14851]: 30AB357F71:
from=<john.swilt...@wanadoo.fr>, size=1866, nrcpt=1 (queue active)
Apr 16 00:36:39 r13151 postfix/smtp[14873]: AD73957F6F:
to=<fake...@fakessh.eu>, relay=127.0.0.1[127.0.0.1]:10028, delay=7.9,
delays=6.5/0.01/0.3/1.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
30AB357F71)
Apr 16 00:36:39 r13151 postfix/smtpd[14874]: disconnect from
localhost.localdomain[127.0.0.1]
Apr 16 00:36:39 r13151 clamd[7779]: SelfCheck: Database status OK. 
Apr 16 00:36:39 r13151 postfix/qmgr[14851]: AD73957F6F: removed
Apr 16 00:36:40 r13151 postfix/smtpd[14880]: connect from
localhost.localdomain[127.0.0.1]
Apr 16 00:36:40 r13151 postfix/smtpd[14880]: 6C5AB57F6F:
client=localhost.localdomain[127.0.0.1]
Apr 16 00:36:40 r13151 postfix/cleanup[14866]: 6C5AB57F6F:
message-id=<1271370966.7979.13.ca...@localhost.localdomain>
Apr 16 00:36:40 r13151 postfix/qmgr[14851]: 6C5AB57F6F:
from=<john.swilt...@wanadoo.fr>, size=2728, nrcpt=1 (queue active)
Apr 16 00:36:40 r13151 postfix/smtpd[14880]: disconnect from
localhost.localdomain[127.0.0.1]
Apr 16 00:36:40 r13151 postfix/smtpd[14880]: connect from
localhost.localdomain[127.0.0.1]
Apr 16 00:36:40 r13151 postfix/smtpd[14880]: A3F4A57F74:
client=localhost.localdomain[127.0.0.1]
Apr 16 00:36:40 r13151 postfix/cleanup[14866]: A3F4A57F74:
message-id=<1271370966.7979.13.ca...@localhost.localdomain>
Apr 16 00:36:40 r13151 postfix/qmgr[14851]: A3F4A57F74: from=<>,
size=2240, nrcpt=1 (queue active)
Apr 16 00:36:40 r13151 postfix/smtpd[14880]: disconnect from
localhost.localdomain[127.0.0.1]
Apr 16 00:36:41 r13151 amavis[9551]: (09551-05) Passed CLEAN, [127.0.0.1]
[90.55.123.193] <john.swilt...@wanadoo.fr> ->
<fake...@localhost.r13151.ovh.net>, Message-ID:
<1271370966.7979.13.ca...@localhost.localdomain>, mail_id: 2HnPlHlQZ5AT,
Hits: 4.791, size: 2046, queued_as: 6C5AB57F6F, 1723 ms
Apr 16 00:36:41 r13151 postfix/lmtp[14876]: 30AB357F71:
to=<fake...@localhost.r13151.ovh.net>, orig_to=<fake...@fakessh.eu>,
relay=127.0.0.1[127.0.0.1]:10024, delay=2.8, delays=1.1/0.01/0.01/1.7,
dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09551-05, from
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 6C5AB57F6F)
Apr 16 00:36:41 r13151 postfix/qmgr[14851]: 30AB357F71: removed
Apr 16 00:36:41 r13151 dovecot: deliver(fakessh):
msgid=<1271370966.7979.13.ca...@localhost.localdomain>: saved mail to INBOX
Apr 16 00:36:41 r13151 postfix/local[14867]: 6C5AB57F6F:
to=<fake...@localhost.r13151.ovh.net>, relay=local, delay=0.93,
delays=0.22/0/0/0.71, dsn=2.0.0, status=sent (delivered to command:
/usr/libexec/dovecot/deliver)
Apr 16 00:36:41 r13151 postfix/qmgr[14851]: 6C5AB57F6F: removed
Apr 16 00:36:41 r13151 dovecot: deliver(root):
msgid=<1271370966.7979.13.ca...@localhost.localdomain>: saved mail to INBOX
Apr 16 00:36:41 r13151 postfix/local[14886]: A3F4A57F74:
to=<r...@r13151.ovh.net>, orig_to=<postmas...@r13151.ovh.net>, relay=local,
delay=0.99, delays=0.29/0.01/0/0.68, dsn=2.0.0, status=sent (delivered to
command: /usr/libexec/dovecot/deliver)
Apr 16 00:36:41 r13151 postfix/qmgr[14851]: A3F4A57F74: removed


my error log to tentative a catch-all

Apr 16 00:38:28 r13151 dovecot: IMAP(fakessh): Disconnected: Logged out
bytes=329/7731
Apr 16 00:39:37 r13151 dovecot: dovecot: Killed with signal 15 (by
pid=15053 uid=0 code=kill)
Apr 16 00:39:38 r13151 dovecot: Dovecot v1.2.11 starting up (core dumps
disabled)
Apr 16 00:39:40 r13151 postfix/postfix-script: stopping the Postfix mail
system
Apr 16 00:39:40 r13151 postfix/master[14848]: terminating on signal 15
Apr 16 00:39:42 r13151 postfix/postfix-script: starting the Postfix mail
system
Apr 16 00:39:42 r13151 postfix/master[15149]: daemon started -- version
2.3.3, configuration /etc/postfix
Apr 16 00:39:52 r13151 postfix/tlsmgr[15162]: open smtp TLS cache
btree:/var/lib/postfix/smtp_tls_session_cache
Apr 16 00:39:52 r13151 postfix/tlsmgr[15162]: tlsmgr_cache_run_event:
start TLS smtp session cache cleanup
Apr 16 00:39:52 r13151 postfix/smtpd[15160]: connect from
smtp28.orange.fr[80.12.242.101]
Apr 16 00:39:52 r13151 postfix/cleanup[15167]: B8F9157F6F:
message-id=<20100415223952.b8f9157...@r13151.ovh.net>
Apr 16 00:39:52 r13151 postfix/qmgr[15152]: B8F9157F6F:
from=<postmas...@r13151.ovh.net>, size=260, nrcpt=1 (queue active)
Apr 16 00:39:52 r13151 postfix/error[15168]: B8F9157F6F:
to=<ca...@fakessh.eu>, relay=none, delay=0.17, delays=0.15/0.01/0/0,
dsn=5.0.0, status=undeliverable (User unknown in virtual alias table)
Apr 16 00:39:52 r13151 postfix/qmgr[15152]: B8F9157F6F: removed
Apr 16 00:39:55 r13151 postfix/smtpd[15160]: NOQUEUE: reject: RCPT from
smtp28.orange.fr[80.12.242.101]: 450 4.1.1 <ca...@fakessh.eu>: Recipient
address rejected: undeliverable address: User unknown in virtual alias
table; from=<john.swilt...@wanadoo.fr> to=<ca...@fakessh.eu> proto=ESMTP
helo=<smtp28.orange.fr>
Apr 16 00:39:55 r13151 postfix/smtpd[15160]: disconnect from
smtp28.orange.fr[80.12.242.101]
Apr 16 00:40:15 r13151 postfix/smtpd[15160]: connect from
smtp28.orange.fr[80.12.242.101]
Apr 16 00:40:15 r13151 postfix/smtpd[15160]: NOQUEUE: reject: RCPT from
smtp28.orange.fr[80.12.242.101]: 450 4.1.1 <ca...@fakessh.eu>: Recipient
address rejected: undeliverable address: User unknown in virtual alias
table; from=<john.swilt...@wanadoo.fr> to=<ca...@fakessh.eu> proto=ESMTP
helo=<smtp28.orange.fr>
Apr 16 00:40:15 r13151 postfix/smtpd[15160]: disconnect from
smtp28.orange.fr[80.12.242.101]



Reply via email to