OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: autmotatic messages

From: Jan-Hendrik (jhk1net.de)
Date: Sat May 03 2003 - 06:35:01 CDT


Sorry, but is noone able to help out with this one ?

I seriously do not find the bug...

thanks a lot, jhh

----- Original Message -----
From: "Jan-Hendrik Heuing" <jhk1net.de>
To: <postfix-userspostfix.org>
Sent: Thursday, May 01, 2003 8:25 PM
Subject: Re: autmotatic messages

> Folks, I fergot one thing::
> deliver+(.*): $1 // this is also in my vacation file.
>
>
> My logs while sending a mail and postconf is also in this mail, I hope
this
> helps to help me with my problem.
>
> jhh
>
>
> -------------------
> May 1 20:16:27 mail1_0 postfix/smtpd[1853]: connection established
> May 1 20:16:27 mail1_0 postfix/smtpd[1853]: master_notify: status 0
> May 1 20:16:27 mail1_0 postfix/smtpd[1853]: name_mask: resource
> May 1 20:16:27 mail1_0 postfix/smtpd[1853]: name_mask: software
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: > mx0.gmx.de[213.165.64.100]:
> 220 mail1.k1net.de ESMTP Postfix
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: connect from
> mx0.gmx.de[213.165.64.100]
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: watchdog_pat: 0x80987c0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: < mx0.gmx.de[213.165.64.100]:
> HELO mx0.gmx.net
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: > mx0.gmx.de[213.165.64.100]:
> 250 mail1.k1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: watchdog_pat: 0x80987c0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: < mx0.gmx.de[213.165.64.100]:
> MAIL FROM:<Heuinggmx.de>
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: extract_addr: input:
> <Heuinggmx.de>
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: extract_addr: result:
> Heuinggmx.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: connect to subsystem
> public/cleanup
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: public/cleanup socket: wanted
> attribute: queue_id
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute name:
queue_id
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute value:
> 0CF0B7DBB
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: public/cleanup socket: wanted
> attribute: (list terminator)
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute name: (end)
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: send attr flags = 2
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: 0CF0B7DBB:
> client=mx0.gmx.de[213.165.64.100]
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: > mx0.gmx.de[213.165.64.100]:
> 250 Ok
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: watchdog_pat: 0x80987c0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: < mx0.gmx.de[213.165.64.100]:
> RCPT TO:<jhk1net.de>
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: extract_addr: input:
> <jhk1net.de>
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: extract_addr: result:
> jhk1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: fsspace: .: block size 1024,
> blocks free 128294
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: smtpd_check_size: blocks 1024
> avail 128294 min_free 0 size 0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: generic_checks: START
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: generic_checks:
> name=permit_sasl_authenticated
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: generic_checks:
> name=permit_sasl_authenticated status=0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: generic_checks:
> name=permit_mynetworks
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: permit_mynetworks: mx0.gmx.de
> 213.165.64.100
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_hostname: mx0.gmx.de ~?
> 127.0.0.0/8
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_hostaddr:
213.165.64.100
> ~? 127.0.0.0/8
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_list_match: mx0.gmx.de:
> no match
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_list_match:
> 213.165.64.100: no match
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: generic_checks:
> name=permit_mynetworks status=0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: generic_checks:
> name=check_relay_domains
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: check_relay_domains:
> jhk1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_hostname: mx0.gmx.de ~?
> k1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_hostname: mx0.gmx.de ~?
> mail1.k1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_hostname: mx0.gmx.de ~?
> mysql:/etc/postfix/transport.cf
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup using sql
> query: select transport from user_mail_transport where domain =
'mx0.gmx.de'
>
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql: successful query
> from host 10.1.0.50
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup: retrieved
0
> rows
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup using sql
> query: select transport from user_mail_transport where domain = 'gmx.de'
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql: successful query
> from host 10.1.0.50
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup: retrieved
0
> rows
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup using sql
> query: select transport from user_mail_transport where domain = 'de'
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql: successful query
> from host 10.1.0.50
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup: retrieved
0
> rows
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_list_match: mx0.gmx.de:
> no match
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: permit_auth_destination:
> jhk1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: ctable_locate: leave existing
> entry key jhk1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: match_string: k1net.de ~?
> k1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup using sql
> query: select goto from user_mail_virtual where address = 'k1net.de'
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql: successful query
> from host 10.1.0.50
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup: retrieved
0
> rows
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: maps_find: k1net.de: not
found
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup using sql
> query: select maildir from user_mail_user where id = 'k1net.de'
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql: successful query
> from host 10.1.0.50
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup: retrieved
0
> rows
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: maps_find: k1net.de: not
found
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: generic_checks:
> name=check_relay_domains status=1
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: smtpd_check_rcptmap:
> jhk1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: ctable_locate: leave existing
> entry key jhk1net.de
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup using sql
> query: select goto from user_mail_virtual where address = 'k1net.de'
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql: successful query
> from host 10.1.0.50
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup: retrieved
0
> rows
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: maps_find: k1net.de: not
found
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup using sql
> query: select maildir from user_mail_user where id = 'k1net.de'
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql: successful query
> from host 10.1.0.50
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: dict_mysql_lookup: retrieved
0
> rows
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: maps_find: k1net.de: not
found
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: > mx0.gmx.de[213.165.64.100]:
> 250 Ok
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: watchdog_pat: 0x80987c0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: < mx0.gmx.de[213.165.64.100]:
> DATA
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: > mx0.gmx.de[213.165.64.100]:
> 354 End data with <CR><LF>.<CR><LF>
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: public/cleanup socket: wanted
> attribute: status
> May 1 20:16:28 mail1_0 postfix/cleanup[1826]: 0CF0B7DBB:
> message-id=<21036.1051812997www40.gmx.net>
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute name: status
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute value: 0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: public/cleanup socket: wanted
> attribute: reason
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute name: reason
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute value: (end)
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: public/cleanup socket: wanted
> attribute: (list terminator)
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: input attribute name: (end)
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: > mx0.gmx.de[213.165.64.100]:
> 250 Ok: queued as 0CF0B7DBB
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: watchdog_pat: 0x80987c0
> May 1 20:16:28 mail1_0 postfix/qmgr[1410]: 0CF0B7DBB:
from=<Heuinggmx.de>,
> size=818, nrcpt=1 (queue active)
> May 1 20:16:28 mail1_0 amavis[1685]: (01685-07) ESMTP:10024
> /var/amavisd/tmp/amavis-20030501T200539-01685: <Heuinggmx.de> ->
> <jhk1net.de> Received: SIZE=818 BODY=8BITMIME from mail1.k1net.de
> ([127.0.0.1]) by localhost (mail1_0.k1net.de [127.0.0.1]) (amavisd-new,
port
> 10024) with ESMTP id 01685-07 for <jhk1net.de>; Thu, 1 May 2003 20:16:28
> +0200 (CEST)
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: < mx0.gmx.de[213.165.64.100]:
> QUIT
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: > mx0.gmx.de[213.165.64.100]:
> 221 Bye
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: disconnect from
> mx0.gmx.de[213.165.64.100]
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: master_notify: status 1
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: connection closed
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: watchdog_stop: 0x80987c0
> May 1 20:16:28 mail1_0 postfix/smtpd[1853]: watchdog_start: 0x80987c0
> May 1 20:16:28 mail1_0 amavis[1685]: (01685-07) Checking:
> <Heuinggmx.de> -> <jhk1net.de>
> May 1 20:16:29 mail1_0 amavis[1685]: (01685-07) FWD via SMTP:
> [127.0.0.1:10025] <Heuinggmx.de> -> <jhk1net.de>
> May 1 18:16:29 mail1_0 postfix/smtpd[1825]: connect from
unknown[127.0.0.1]
> May 1 18:16:29 mail1_0 postfix/smtpd[1825]: 5734F7DBC:
> client=unknown[127.0.0.1]
> May 1 20:16:29 mail1_0 postfix/cleanup[1805]: 5734F7DBC:
> message-id=<21036.1051812997www40.gmx.net>
> May 1 18:16:29 mail1_0 postfix/smtpd[1825]: disconnect from
> unknown[127.0.0.1]
> May 1 20:16:29 mail1_0 amavis[1685]: (01685-07) Passed,
<Heuinggmx.de> ->
> <jhk1net.de>, Message-ID:
> May 1 18:16:29 mail1_0 postfix/smtp[1824]: 0CF0B7DBB: to=<jhk1net.de>,
> relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok,
id=01685-07,
> from MTA: 250 Ok: queued as 5734F7DBC)
> May 1 20:16:29 mail1_0 amavis[1685]: (01685-07) ESMTP: NOTICE client
broke
> the connection without a QUIT
> May 1 20:16:29 mail1_0 postfix/qmgr[1410]: 5734F7DBC:
from=<Heuinggmx.de>,
> size=1181, nrcpt=1 (queue active)
> May 1 20:16:29 mail1_0 postfix/virtual[1809]: 5734F7DBC:
to=<jhk1net.de>,
> relay=virtual, delay=0, status=sent (maildir)
> ---------------------------------------
>
> postconf:
> --------------------
> alias_maps = regexp:/etc/postfix/vacation
> broken_sasl_auth_clients = yes
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> content_filter = smtp-amavis:[127.0.0.1]:10024
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> mail_owner = postfix
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/local/man
> mydestination = $mydomain, $myhostname, $transport_maps
> mydomain = k1net.de
> myhostname = mail1.k1net.de
> mynetworks = 127.0.0.0/8
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = no
> recipient_delimiter = +
> sample_directory = /etc/postfix
> sendmail_path = /usr/sbin/sendmail
> setgid_group = postdrop
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks, check_relay_domains
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = $myhostname
> smtpd_sasl_security_options = noanonymous
> transport_maps = mysql:/etc/postfix/transport.cf
> virtual_gid_maps = mysql:/etc/postfix/gids.cf
> virtual_mailbox_base = /data/mail/
> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virt.cf
> virtual_maps = mysql:/etc/postfix/virtual.cf
> virtual_uid_maps = mysql:/etc/postfix/uids.cf
> ------
>
>
>
>
> ----- Original Message -----
> From: "Jan-Hendrik Heuing" <jhk1net.de>
> To: "Devdas Bhagat" <dvbusers.sourceforge.net>
> Cc: <postfix-userspostfix.org>
> Sent: Thursday, May 01, 2003 7:37 PM
> Subject: Re: autmotatic messages
>
>
> > Hi !
> >
> > I set it up, here I show you an example of what I did:
> >
> >
> > > > If you've got any ideas how to set it up in a virtual user
> environment,
> > that
> > > > would be great.
> > > Script a wrapper around vacation, and add it as an additional
forwarding
> > > address for the virtual user?
> > >
> > > recipient_delimiter = +
> > as you say...
> >
> > >
> > > /etc/postfix/virtual (translate to your ldap map)
> > > userdomain userremote, virt_vacation+user
> > This is in the mysql-table...
> > col address: jhk1net.de deliver+jhk1net.de
> > col goto: virt_vacation+jhk1net.de
> > As I didn't know about the remote, I asked Simon Loader, he said
generaly
> > it's a good idea, but maybe it would onle work this way with
mysql-lookup.
> > This is while there is a user jhk1net.de beside that in the user-table.
> > WHich sould be as this is vacation, not only a forwarder.
> >
> > >
> > > alias_maps = regexp:/etc/vacation
> > alias_maps = regexp:/etc/postfix/vacation
> >
> > >
> > > /etc/vacation
> > > virt_vacation+(.*): "|/usr/local/bin/vacation-wrapper $1"
> >
> > virt_vacation+(.*): "|/data/mail/mail-vacation.php $1"
> > The php-script can be run at command line. If I do that manualy, it just
> > adds a record to the database, so I know, it works. The file's owner is
> > postfix:postdrop (vacation as well as the php-script).
> >
> > No forwarding or anything else is done here, I'd do it as soon as this
> > script is run at all.
> >
> >
> >
> > Finaly: Nothing happens, nothing in the logs realy. No entries in the
> > database, the script is not run at all. Nothing in the logs about the
> > scripts or anything (smpt -v is enabled)
> >
> >
> > Any help appreciated... Thansk a lot !
> >
> > jhh
> >
> >
> >
>
>
>
>