Quantcast

status=bounced unknown user:

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

status=bounced unknown user:

Bugzilla from hans@kriyayoga.com
Hi all

status=bounced unknown user:

since MANY days I google, trial and error, read howtos
and .postfix.org-howto's/readme's
and still get above error

any precise help would be most welcome

setup:
postfix version 2.6.1 + dovecot on opensuse 11.2

2 MX servers
1 running since 4 years on postfix/cyrus (currently my primary MX)
1 NEW MX to replace old above - running postfix/dovecut

for the current configuration I have thus 2 MX entries in my NS

kriyayoga.com.          3600    IN      MX      0 mail.kriyayoga.com.
kriyayoga.com.          3600    IN      MX      10 smtp.kriyayoga.com.

ALL problems listed are related to smtp.kriyayoga.com - which eventually
shall replace old primary MX or be used with a second new MX server as
backup.

working so far is:
auth - BOTH POP3 (dovecot) and SMTP (postfix)

there is NO mail on server because any method i send mail - error always
is

status=bounced unknown user:

all testmail  are send directly to the ONE MX server smtp.kriyayoga.com

mydomain is:

1 domain = kriyayoga.com running with round-robin on total 4 servers =1
server only for NS + MX  and the other 3 servers for content (plus
ecards via MX)

i.e. local system mail from 4 servers need to be sent to/received in one
mailbox
mail from the world needs to be received in same mailbox
mail from any of the 4 servers needs to go into the world ( i run among
others eCards on 3 servers listed as mynetworks )

1 mailbox = 1 mail user = NON-unix user = hans (me)

ALL eMail addresses are @kriyayoga.com

I am honestly NOT sure how many lists/maps/aliases i really need for a
solid simple and secure mail system ( my old primary MX with cyrus and
mysql appears much simpler in config than what I have now) ...

after about one week of reading and reconfiguring ... my brain smokes
and all looks more Chinese than simple to me.
may be i need help to simplify all main.cf to the real minimum necessary
for a one NON-unix mail box user system.

If I remove in main.cf "$mydomain, localhost" from mydestination =  then
all email sent from me to me goes instantly to my main MX
mail.kriyayoga.com without further error messages.


a verbose mail log output is located as plain text file at
http://www.kriyayoga.com/god/postfix/mail-log.txt
this verbose mail log output is for ONE email sent from me to me using
the MX in question.

------------ below >  postconf -n  
                                     
alias_maps = hash:/etc/postfix/aliases              
biff = no                                              
broken_sasl_auth_clients = yes                        
canonical_maps = hash:/etc/postfix/canonical          
command_directory = /usr/sbin                          
config_directory = /etc/postfix                        
daemon_directory = /usr/lib/postfix                    
data_directory = /var/lib/postfix                      
debug_peer_level = 2                                  
delay_warning_time = 1h                                
disable_dns_lookups = no                              
disable_mime_output_conversion = no                    
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = all                                    
inet_protocols = all                                    
local_recipient_maps = hash:/etc/postfix/local-recipients
mail_owner = postfix                                    
mail_spool_directory = /var/spool/mail                  
mailbox_command = /usr/lib/dovecot/deliver              
mailbox_size_limit = 0                                  
mailq_path = /usr/bin/mailq                              
manpage_directory = /usr/share/man                      
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_exceptions = root                                        
message_size_limit = 0                                              
message_strip_characters = \0                                        
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
mydomain = kriyayoga.com
myhostname = kriyayoga1.kriyayoga.com
mynetworks = 85.10.203.98, 78.46.106.71, 78.46.101.111, 127.0.0.0/8,
88.198.14.45
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = cram-md5 plain login
smtp_use_tls = no
smtpd_helo_required = no
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_auth_only = no
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_transport = dovecot


------------


any real help to trace the problem and/or simplify the entire main.cf
would be highly apreciated and welcome

greetings

hans




signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: status=bounced unknown user:

Jerry
On Wed, 07 Jul 2010 20:40:55 +0800
Hans Neukomm <[hidden email]> articulated:

> ------------ below >  postconf -n  
>                                      
> alias_maps = hash:/etc/postfix/aliases              
> biff = no                                              
> broken_sasl_auth_clients = yes                        
> canonical_maps = hash:/etc/postfix/canonical          
> command_directory = /usr/sbin                          
> config_directory = /etc/postfix                        
> daemon_directory = /usr/lib/postfix                    
> data_directory = /var/lib/postfix                      
> debug_peer_level = 2                                  
> delay_warning_time = 1h                                
> disable_dns_lookups = no                              
> disable_mime_output_conversion = no                    
> html_directory = /usr/share/doc/packages/postfix-doc/html
> inet_interfaces = all                                    
> inet_protocols = all                                    
> local_recipient_maps = hash:/etc/postfix/local-recipients
> mail_owner = postfix                                    
> mail_spool_directory = /var/spool/mail                  
> mailbox_command = /usr/lib/dovecot/deliver              
> mailbox_size_limit = 0                                  
> mailq_path = /usr/bin/mailq                              
> manpage_directory = /usr/share/man                      
> masquerade_classes = envelope_sender, header_sender, header_recipient
> masquerade_exceptions = root                                        
> message_size_limit = 0                                              
> message_strip_characters = \0                                        
> mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
> mydomain = kriyayoga.com
> myhostname = kriyayoga1.kriyayoga.com
> mynetworks = 85.10.203.98, 78.46.106.71, 78.46.101.111, 127.0.0.0/8,
> 88.198.14.45
> mynetworks_style = subnet
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
> relay_domains = $mydestination, hash:/etc/postfix/relay
> relocated_maps = hash:/etc/postfix/relocated
> sample_directory = /usr/share/doc/packages/postfix-doc/samples
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> sendmail_path = /usr/sbin/sendmail
> setgid_group = maildrop
> smtp_sasl_auth_enable = no
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options = cram-md5 plain login
> smtp_use_tls = no
> smtpd_helo_required = no
> smtpd_recipient_restrictions =
> permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_path = private/auth
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_type = dovecot
> smtpd_sender_restrictions = hash:/etc/postfix/access
> smtpd_tls_auth_only = no
> smtpd_use_tls = no
> strict_8bitmime = no
> strict_rfc821_envelopes = no
> transport_maps = hash:/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_domains = hash:/etc/postfix/virtual
> virtual_alias_maps = hash:/etc/postfix/virtual
> virtual_transport = dovecot

Why are you setting configuration parameters to their default setting?
It doesn't serve any purpose that I am aware of.

--
Jerry ✌
[hidden email]

_____________________________________________________________________
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: status=bounced unknown user:

Magnus Bäck
In reply to this post by Bugzilla from hans@kriyayoga.com
On Wednesday, July 07, 2010 at 14:40 CEST,
     Hans Neukomm <[hidden email]> wrote:

> status=bounced unknown user:
>
> since MANY days I google, trial and error, read howtos
> and .postfix.org-howto's/readme's
> and still get above error

[...]

> 1 mailbox = 1 mail user = NON-unix user = hans (me)

Local domains with deliveries via local(8) are meant for local (Unix)
users. Either

   a) use another delivery agent in place of local(8) by setting
      local_transport (rather than mailbox_command), or
   b) make the domain into a virtual mailbox domain.

Please do not supply verbose logs unless asked to do so. Postfix
debugging *very* rarely requires verbose logs, so most of the times
they just add noise.

[...]

--
Magnus Bäck
[hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: status=bounced unknown user:

Bugzilla from hans@kriyayoga.com
In reply to this post by Jerry
On Wed, 2010-07-07 at 09:09 -0400, Jerry wrote:
> Why are you setting configuration parameters to their default setting?
> It doesn't serve any purpose that I am aware of.

NOE does it do any harm I am aware of
but it may be bad style - I am aware of that
but to know which lines are obsolete might have been of much greater
help to shorten the mail.cf

the wrong configuration or missing configuration lines most likely cause
the problem I have

and that is what I intended or hoped to find out on this postfix-users
mail-list

greetings

hans

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: status=bounced unknown user:

Bugzilla from hans@kriyayoga.com
In reply to this post by Magnus Bäck
On Wed, 2010-07-07 at 15:57 +0200, Magnus Bäck wrote:
> 1 mailbox = 1 mail user = NON-unix user = hans (me)

Local domains with deliveries via local(8) are meant for local (Unix)
users. Either

   a) use another delivery agent in place of local(8) by setting
      local_transport (rather than mailbox_command), or
   b) make the domain into a virtual mailbox domain.

Please do not supply verbose logs unless asked to do so. Postfix
debugging *very* rarely requires verbose logs, so most of the times
they just add noise.

[...]


thanks Magnus

I will Google and find out how to do either of your 2 options suggested by you

re verbose logs:

I work in remote Cambodian province - regular daily www-interruptions and slow www-access lines make it impossible to be any time online or upload on request any time additional data
therefore i preferred to supply ALL verbose mail-log during a good www connection-time

for those having difficulties filtering out the important short data from the verbose log - here the regular mail log output for ONE mail sent to my mailbox:


--------- mail-log

Jul  8 02:55:14 kriyayoga postfix/smtpd[6128]: connect from unknown[124.108.51.96]
Jul  8 02:55:14 kriyayoga dovecot: auth(default): new auth connection: pid=6128
Jul  8 02:55:15 kriyayoga dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=smtp#011nologin#011lip=78.46.101.111#011rip=124.108.51.96#011resp=aGFucwBoYW5zAEk4Q3Nhd084MUR4Y1JlTTh1QmgwTA==
Jul  8 02:55:15 kriyayoga dovecot: auth(default): passwd-file(hans,124.108.51.96): lookup: user=hans file=/etc/dovecot/passwd
Jul  8 02:55:15 kriyayoga dovecot: auth(default): client out: OK#0111#011user=hans
Jul  8 02:55:15 kriyayoga postfix/smtpd[6128]: E27E229D9B: client=unknown[124.108.51.96], sasl_method=PLAIN, sasl_username=hans
Jul  8 02:55:16 kriyayoga postfix/cleanup[6133]: E27E229D9B: message-id=<[hidden email]>
Jul  8 02:55:16 kriyayoga postfix/qmgr[6072]: E27E229D9B: from=<[hidden email]>, size=1249, nrcpt=2 (queue active)
Jul  8 02:55:16 kriyayoga postfix/local[6134]: E27E229D9B: to=<[hidden email]>, relay=local, delay=0.55, delays=0.5/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown user: "hans")
Jul  8 02:55:16 kriyayoga postfix/smtpd[6128]: disconnect from unknown[124.108.51.96]
Jul  8 02:55:17 kriyayoga postfix/local[6135]: E27E229D9B: to=<[hidden email]>, relay=local, delay=1.7, delays=0.5/0.02/0/1.1, dsn=5.1.1, status=bounced (unknown user: "hans")
Jul  8 02:55:17 kriyayoga postfix/cleanup[6133]: 8ECE729F0E: message-id=<[hidden email]>
Jul  8 02:55:17 kriyayoga postfix/bounce[6137]: E27E229D9B: sender non-delivery notification: 8ECE729F0E
Jul  8 02:55:17 kriyayoga postfix/qmgr[6072]: 8ECE729F0E: from=<>, size=3095, nrcpt=1 (queue active)
Jul  8 02:55:17 kriyayoga postfix/qmgr[6072]: E27E229D9B: removed
Jul  8 02:55:17 kriyayoga postfix/local[6134]: 8ECE729F0E: to=<[hidden email]>, orig_to=<[hidden email]>, relay=local, delay=0.03, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "hans")
Jul  8 02:55:17 kriyayoga postfix/qmgr[6072]: 8ECE729F0E: removed


---------


greetings

hans

--
Hans Neukomm <[hidden email]>
Cyberspace Ashram

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: status=bounced unknown user:

Stan Hoeppner
In reply to this post by Jerry
Jerry put forth on 7/7/2010 8:09 AM:

> Why are you setting configuration parameters to their default setting?
> It doesn't serve any purpose that I am aware of.

I've seen this quite a bit.  It leads me to believe there are some Linux
distros that ship with this stuff in main.cf by default.  IIRC CentOS is one
of them.  It may be better to phrase this question with "Did your OS stick xxx
into main.cf"?

--
Stan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: status=bounced unknown user:

Charles Marcus
On 2010-07-07 11:27 PM, Stan Hoeppner wrote:
> Jerry put forth on 7/7/2010 8:09 AM:
>
>> Why are you setting configuration parameters to their default setting?
>> It doesn't serve any purpose that I am aware of.

> I've seen this quite a bit.  It leads me to believe there are some Linux
> distros that ship with this stuff in main.cf by default.

I've never done a vanilla install and always wondered about this...

Does the vanilla install of postfix provide a main.cf with all of the
default settings already commented out?

If so, then gentoo apparently explicitly uncomments them, because every
time I update, the config file update process always wants to uncomment
all of the defaults I commented out again, so I have to carefully refuse
all of these changes...

--

Best regards,

Charles
Loading...