
5th August 2010, 15:34
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes I run newaliases & restart postfix each time I change /etc/aliases file.
this is mail.log:
Quote:
Aug 5 15:30:12 ks358431 postfix/master[20850]: reload configuration /etc/postfix
Aug 5 15:30:41 ks358431 postfix/pickup[20864]: EEB6BBFBF: uid=0 from=<root>
Aug 5 15:30:41 ks358431 postfix/cleanup[20870]: EEB6BBFBF: message-id=<20100805133041.EEB6BBFBF@ks358431.kimsufi.com>
Aug 5 15:30:41 ks358431 postfix/qmgr[20865]: EEB6BBFBF: from=<root@ks358431.kimsufi.com>, size=325, nrcpt=1 (queue active)
Aug 5 15:30:51 ks358431 postfix/smtpd[20879]: connect from localhost.localdomain[127.0.0.1]
Aug 5 15:30:51 ks358431 postfix/smtpd[20879]: 2D365BFBE: client=localhost.localdomain[127.0.0.1]
Aug 5 15:30:51 ks358431 postfix/cleanup[20870]: 2D365BFBE: message-id=<20100805133041.EEB6BBFBF@ks358431.kimsufi.com>
Aug 5 15:30:51 ks358431 postfix/smtpd[20879]: disconnect from localhost.localdomain[127.0.0.1]
Aug 5 15:30:51 ks358431 postfix/qmgr[20865]: 2D365BFBE: from=<root@ks358431.kimsufi.com>, size=802, nrcpt=1 (queue active)
Aug 5 15:30:51 ks358431 amavis[8261]: (08261-05) Passed CLEAN, <root@ks358431.kimsufi.com> -> <ulrich@live-pics.net>, Message-ID: <20100805133041.EEB6BBFBF@ks358431.kimsufi.com>, mail_id: oqvCvLvFG4hJ, Hits: 0.023, size: 325, queued_as: 2D365BFBE, 9204 ms
Aug 5 15:30:51 ks358431 postfix/smtp[20873]: EEB6BBFBF: to=<ulrich@live-pics.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.2, delays=0.02/0/0/9.2, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=08261-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2D365BFBE)
Aug 5 15:30:51 ks358431 postfix/qmgr[20865]: EEB6BBFBF: removed
Aug 5 15:30:51 ks358431 postfix/smtp[20883]: 2D365BFBE: to=<ulrich@live-pics.net>, relay=none, delay=0.01, delays=0/0/0.01/0, dsn=5.4.6, status=bounced (mail for mail.live-pics.net loops back to myself)
Aug 5 15:30:51 ks358431 postfix/cleanup[20870]: 31A06BFC0: message-id=<20100805133051.31A06BFC0@ks358431.kimsufi.com>
Aug 5 15:30:51 ks358431 postfix/bounce[20884]: 2D365BFBE: sender non-delivery notification: 31A06BFC0
Aug 5 15:30:51 ks358431 postfix/qmgr[20865]: 31A06BFC0: from=<>, size=2706, nrcpt=1 (queue active)
Aug 5 15:30:51 ks358431 postfix/qmgr[20865]: 2D365BFBE: removed
Aug 5 15:30:51 ks358431 postfix/cleanup[20870]: 333FCBFBE: message-id=<20100805133051.31A06BFC0@ks358431.kimsufi.com>
Aug 5 15:30:51 ks358431 postfix/local[20885]: 31A06BFC0: to=<root@ks358431.kimsufi.com>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (forwarded as 333FCBFBE)
Aug 5 15:30:51 ks358431 postfix/qmgr[20865]: 333FCBFBE: from=<>, size=2847, nrcpt=1 (queue active)
Aug 5 15:30:51 ks358431 postfix/qmgr[20865]: 31A06BFC0: removed
Aug 5 15:30:51 ks358431 postfix/smtp[20883]: 333FCBFBE: to=<ulrich@live-pics.net>, orig_to=<root@ks358431.kimsufi.com>, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for mail.live-pics.net loops back to myself)
Aug 5 15:30:51 ks358431 postfix/qmgr[20865]: 333FCBFBE: removed
|
|

6th August 2010, 11:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Aug 5 15:30:51 ks358431 postfix/smtp[20883]: 333FCBFBE: to=<ulrich@live-pics.net>, orig_to=<root@ks358431.kimsufi.com>, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for mail.live-pics.net loops back to myself)
|
Did you add mail.live-pics.net to the mydestination line in /etc/postfix/main.cf?
|

6th August 2010, 12:01
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
Did you add mail.live-pics.net to the mydestination line in /etc/postfix/main.cf?
|
Yes I did it, you asked me to do it few days ago;
|

7th August 2010, 13:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Please post your /etc/postfix/main.cf.
|

7th August 2010, 14:20
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = /usr/share/doc/postfix
# TLS parameters
smtpd_tls_cert_file=/etc/postfix/smtpd.cert
smtpd_tls_key_file=/etc/postfix/smtpd.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = ks358431.kimsufi.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.live-pics.net, ks358431.kimsufi.com, localhost.kimsufi.com, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
message_size_limit = 30720000
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to to reach is over quota."
revirtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
Last edited by metfan; 9th August 2010 at 09:36.
|

8th August 2010, 20:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Is this the last line of your main.cf?
|

9th August 2010, 09:37
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
Is this the last line of your main.cf?
|
oups, not it's an error during copy/paste.
Last line of main.cf is "receive_override_options = no_address_mappings"
|

10th August 2010, 16:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Hm... Is your Postfix maybe running chrooted? What's in /etc/postfix/master.cf?
|

10th August 2010, 17:24
|
|
Junior Member
|
|
Join Date: Jul 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I follow your howto so I would reply no.
I know theory of chroot but I never apply it.
This is my master.cf detail
Code:
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 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/bin/maildrop -d ${recipient}
#
# 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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
##### CONFIG d'AMAVIS #####
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
|

11th August 2010, 17:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
It's not running chrooted. I'm running out of ideas now...
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Debian Lenny
|
DiAvOl |
HOWTO-Related Questions |
1 |
21st October 2009 14:57 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny
|
ttd2340 |
HOWTO-Related Questions |
5 |
23rd June 2009 16:21 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny
|
warpengi |
HOWTO-Related Questions |
2 |
26th May 2009 00:49 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny
|
warpengi |
HOWTO-Related Questions |
3 |
29th April 2009 20:18 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny
|
ChristianFe |
HOWTO-Related Questions |
2 |
14th April 2009 15:14 |
All times are GMT +2. The time now is 04:38.
|
Recent comments
1 day 2 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 18 hours ago
2 days 7 hours ago
2 days 9 hours ago