2 msgSQL query as alias
3 msgMailfrom restriction and SASL clients
4 msgHow to inform outside users that domain soon wi...
31 msgASSP and NOOP
9 msgDouble restrictions for SMTP Authen question ?
5 msgResend 'virus' mails
3 msgmessage_size_limit exceptions
53 msgabout greylist.pl and alternatives
7 msgfailing to send a large mail
1 msgRe: Another weird cert question
2 msgRestrict sending to one address from one IP?
6 msgForcing PIX workarounds?
4 msgheader checks are not working
9 msgrecipient_delimiter
3 msgDocumenting alias expansion in mails
5 msgDomain Change Notification
4 msgHow to do a defer_if_permit with a SMTP code 451?

virtual: mbox fine, maildir generates 'fatal: g...
\ William Robinson (28 May 2007)
. \ (Wietse Venema) (28 May 2007)
. . \ William Robinson (28 May 2007)
. . . \ (Wietse Venema) (28 May 2007)

5 msgMultiple relays and rate control with anvil
19 msg550
Subject:Re: virtual: mbox fine, maildir generates 'fatal: gethostbyname: success' errors
Group:Postfix-users
From:(Wietse Venema)
Date:28 May 2007


 
William Robinson:
> Actually. I managed to get it working. This link proved somewhat useful:
> http://draperyfalls83.livejournal.com/1942.html
> Also, I had to add mail_virtual entries for everything (seemingly
> duplicating what is in mail_user).
>
> thanks for your attention anyway

Could you please file a bug report with UBUNTU?

It's unacceptable that they break Postfix in this manner,
and force people to jump hoops like this.

The more people complain the more likely this gets fixed.

Wietse

> bill
>
> On 28/05/07, Wietse Venema <wietse> wrote:
> >
> > William Robinson:
> > > Hi
> > >
> > > I have a virtual-email hosting set up with PostgreSQL 8.2,
> > postfix-pgsql, on
> > > Ubuntu 6.10 that i really wanted to get working with maildir, so I can
> > use
> > > courier imap with it cleanly. However, when I append the trailing / to
> > the
> > > maildir and absolute_maildir fields of the database row, i start getting
> > > very strange errors. Has anyone got any ideas? I do remove the mbox file
> > > before trying the maildir way. I saw some very old messages saying that
> > > there was an incorrect error message somewhere.
> >
> > Congratulations, this is one of the "improvements" that vendors make
> > to Postfix without understanding what they are doing.
> >
> > In this case a vendor "improved" postfix by inserting a gethostbyname()
> > call, probably in the get_hostname.c code module.
> >
> > Wietse
> >
> > > Thanks!
> > > bill
> > >
> > > log messages using mbox (without trailing / on maildir and
> > > absolute_maildir):
> > >
> > > May 28 15:38:52 tadas-desktop postfix/cleanup[17114]: E3CE0CC189:
> > > message-id=< c700a5560705280538q3ada2b7q86d1ab08c247c747>
> > > May 28 15:38:52 tadas-desktop postfix/qmgr[16842]: E3CE0CC189:
> > > from=<airbaggins>,
> > > size=2054, nrcpt=1 (queue active)
> > > May 28 15:38:52 tadas-desktop postfix/virtual[17119]: E3CE0CC189: to=<
> > > info>, relay=virtual, delay= 0.74, delays=0.67
> > /0.01/0/0.05,
> > > dsn=2.0.0, status=sent (delivered to mailbox)
> > > May 28 15:38:52 tadas-desktop postfix/qmgr[16842]: E3CE0CC189: removed
> > >
> > > log messages using maildir (with trailing / on maildir and
> > > absolute_maildir):
> > >
> > > May 28 15:36:48 tadas-desktop postfix/smtpd[17037]: connect from
> > > wa-out-1112.google.com [209.85.146.178]
> > > May 28 15:36:49 tadas-desktop postfix/smtpd[17037]: 7CC16CC134: client=
> > > wa-out-1112.google.com[209.85.146.178]
> > > May 28 15:36:50 tadas-desktop postfix/cleanup[17047]: 7CC16CC134:
> > > message-id=< c700a5560705280536p68eaef6dr54fb1579c72b399a
> > >
> > > May 28 15:36:50 tadas-desktop postfix/qmgr[16842]: 7CC16CC134:
> > > from=<airbaggins>,
> > > size=2054, nrcpt=1 (queue active)
> > > May 28 15:36:50 tadas-desktop postfix/virtual[17049]: fatal:
> > gethostbyname:
> > > Success
> > > May 28 15:36:51 tadas-desktop postfix/qmgr[16842]: warning: premature
> > > end-of-input on private/virtual socket while reading input attribute
> > name
> > > May 28 15:36:51 tadas-desktop postfix/qmgr[16842]: warning:
> > private/virtual
> > > socket: malformed response
> > > May 28 15:36:51 tadas-desktop postfix/qmgr[16842]: warning: transport
> > > virtual failure -- see a previous warning/fatal/panic logfile record for
> > the
> > > problem description
> > > May 28 15:36:51 tadas-desktop postfix/master[16837]: warning: process
> > > /usr/lib/postfix/virtual pid 17049 exit status 1
> > > May 28 15:36:51 tadas-desktop postfix/master[16837]: warning:
> > > /usr/lib/postfix/virtual: bad command startup -- throttling
> > > May 28 15:36:51 tadas-desktop postfix/qmgr[16842]: 7CC16CC134: to=<
> > > info>, relay=none, delay=2, delays= 0.84/1.1/0/0, dsn=
> > 4.3.0,
> > > status=deferred (unknown mail transport error)
> > >
> > > main.cf:
> > > smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
> > > 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
> > >
> > > # TLS parameters
> > > smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
> > > smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
> > > smtpd_use_tls=yes
> > > smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
> > > smtp_tls_session_cache_database = btree:${queue_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 = localhost
> > > alias_maps = hash:/etc/aliases
> > > alias_database = hash:/etc/aliases
> > > relayhost =
> > > mynetworks = 127.0.0.0/8
> > > mailbox_size_limit = 0
> > > recipient_delimiter = +
> > > inet_interfaces = all
> > >
> > > transport_maps=pgsql:/etc/postfix/transport.cf
> > > virtual_mailbox_maps=pgsql:/etc/postfix/pgsql_virt.cf
> > > virtual_uid_maps=pgsql:/etc/postfix/uids.cf
> > > virtual_gid_maps=pgsql:/etc/postfix/gids.cf
> > > virtual_mailbox_base=/var/spool/postfix/virtual/
> > >
> > > mydestination = $mydomain, $myhostname
> > > virtual_maps =pgsql:/etc/postfix/virtual.cf
> > > relay_domains = $mydestination, $transport_maps
> > >
> > > home_mailbox = ./
> >
> > [ Attachment, skipping... ]
> >
> >
>
>
> --
> http://wvr.me.uk/



© 2004-2008 readlist.com