Re: Postfix: unable to deliver this message after 4 days

2006-04-03 Thread Vaaf

At 03:36 03.04.2006, James Long wrote:

As your subject indicates, this is not a FreeBSD problem.

Postfix support is available via their mailing lists.  Please see
http://www.postfix.org/lists.html


Hello Mr Long!

This is the reply I got from the Postfix list:

However I'll put this thread to rest if it isn't replied to from here on.

From: [EMAIL PROTECTED] (Wietse Venema)
Subject: Re: Postfix: unable to deliver this message after 4 days
To: Vaaf [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

Vaaf:

 When I try to send e-mails to [EMAIL PROTECTED], I get:

 Reason: unable to deliver this message after 4 days

That is not a Postfix error message. This message comes
from a different mail system.

Check your mail logfile.

Wietse

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix: unable to deliver this message after 4 days

2006-04-03 Thread Jerry McAllister
 
 At 03:36 03.04.2006, James Long wrote:
 As your subject indicates, this is not a FreeBSD problem.
 
 Postfix support is available via their mailing lists.  Please see
 http://www.postfix.org/lists.html
 
 Hello Mr Long!
 
 This is the reply I got from the Postfix list:
 
 However I'll put this thread to rest if it isn't replied to from here on.
 
 From: [EMAIL PROTECTED] (Wietse Venema)
 Subject: Re: Postfix: unable to deliver this message after 4 days
 To: Vaaf [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 
 Vaaf:
 
   When I try to send e-mails to [EMAIL PROTECTED], I get:
  
   Reason: unable to deliver this message after 4 days
 
 That is not a Postfix error message. This message comes
 from a different mail system.
 
 Check your mail logfile.
 
  Wietse

It merely means that something was wrong with delivery of the message.   
Probably it means that the other system was down/unavailable/refusing
to accept mail.   The system trying to send it will attempt to repeat
the message for a period of time.   Then it gives up and sends a 
message back to the original sender saying it gave up.  The period
of time is configurable and is typically 5 days, but that is often
shortened by some system managers.   So, the sending host manager, in
this case, probably set it to 4 days.

jerry

 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postfix: unable to deliver this message after 4 days

2006-04-02 Thread Vaaf


Hello!

I would appreciate help from kind people.

In return I can design beautiful things for you :)

Anyway ...

Trying to make an addition to my existing setup on myrealdomain.com,
specifically for virtual domains, in this case lalaladomain.com.

Existing setup works. Virtual setup doesn't.

The virtual domain's MX record has been pointed to myrealdomain.com's IP.

FreeBSD 6.0-STABLE + postfix-2.1.6,1 + mysql-5.0.16

I can telnet localhost 25, no problems there.

When I try to send e-mails to [EMAIL PROTECTED], I get:

Reason: unable to deliver this message after 4 days

TCP active open: Failed connect()
Error: Connection timed out

Even though syslog is set to do maillogs, they're all empty!

Apr  2 00:00:01 lala newsyslog[43111]: logfile turned over

# ls -l /var/log/maillog*
#
-rw-r-  1 root  wheel   60 Apr  2 00:00 maillog
-rw-r-  1 root  wheel  120 Apr  2 00:00 maillog.0
-rw-r-  1 root  wheel  120 Apr  2 00:00 maillog.1
-rw-r-  1 root  wheel  120 Apr  1 00:00 maillog.2
-rw-r-  1 root  wheel  119 Apr  1 00:00 maillog.3
-rw-r-  1 root  wheel  118 Mar 31 00:00 maillog.4
-rw-r-  1 root  wheel  119 Mar 31 00:00 maillog.5
-rw-r-  1 root  wheel  120 Mar 30 00:00 maillog.6
-rw-r-  1 root  wheel  120 Mar 30 00:00 maillog.7

# /etc/pf.conf
#
pass in on $ext_if inet proto tcp from any to ($ext_if) port { 21, 
22, 25, 80, 110, 113, 143 } flags S/SA keep state


# /usr/local/etc/postfix/main.cf
#
mail_owner = postfix
home_mailbox = .maildir/

queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mailbox_command = /usr/local/bin/procmail

mydomain = myrealdomain.com
myhostname = fosho.myrealdomain.com
mynetworks = 213.21.123.0/24, 127.0.0.0/8

myorigin = $mydomain
mydestination = $mydomain, localhost.$mydomain, $myhostname

debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id  sleep 5
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no
html_directory = no

virtual_transport = virtual
virtual_uid_maps = static:125
virtual_gid_maps = static:125
virtual_mailbox_base = /var/spool/virtual
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/v_domain.cf
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/v_mailbox.cf
virtual_alias_maps = mysql:/usr/local/etc/postfix/v_alias.cf

broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd

smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

unknown_local_recipient_reject_code = 450

# /usr/local/etc/postfix/v_alias.cf
#
user = postfix
password = lalalas_password
dbname = mail
table = alias
select_field = goto
where_field = address

# /etc/rc.conf
#
sendmail_enable=YES
sendmail_flags=-bd
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO

# MySQL
#
CREATE DATABASE IF NOT EXISTS mail;
GRANT ALL ON mail.* TO [EMAIL PROTECTED] IDENTIFIED BY 'lalalas_password';

USE mail;
CREATE TABLE IF NOT EXISTS alias (
  address varchar(255) NOT NULL default '',
  goto text NOT NULL,
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (address),
  KEY address (address)
) TYPE=MyISAM COMMENT='Aliases';

USE mail;
CREATE TABLE IF NOT EXISTS domain (
  domain varchar(255) NOT NULL default '',
  description varchar(255) NOT NULL default '',
  aliases int(10) NOT NULL default '0',
  mailboxes int(10) NOT NULL default '0',
  maxquota int(10) NOT NULL default '0',
  transport varchar(255) default NULL,
  backupmx tinyint(1) NOT NULL default '0',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (domain),
  KEY domain (domain)
) TYPE=MyISAM COMMENT='Domains';

USE mail;
CREATE TABLE IF NOT EXISTS mailbox (
  username varchar(255) NOT NULL default '',
  password varchar(255) NOT NULL default '',
  name varchar(255) NOT NULL default '',
  maildir varchar(255) NOT NULL default '',
  quota int(10) NOT NULL default '0',
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 

Re: Postfix: unable to deliver this message after 4 days

2006-04-02 Thread James Long
As your subject indicates, this is not a FreeBSD problem.

Postfix support is available via their mailing lists.  Please see
http://www.postfix.org/lists.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]