PDA

View Full Version : mail from server being blocked?


palkat
19th January 2006, 04:17
This is a head scratcher for me, been fighting with this for a while.
I got the ISPconfig on a Suse9.3 install and the Uebimaiu webmail that ISPconfig installed works great email AOL users but we have found that PHP programs like Geeklog and Coppermine Photo Gallery to name a couple can send emails to most all servers and people get the emails from them but not AOL and my brother on roadrunner cable back in NewYork.

I can send emails to AOL and my brother on Roadrunner perfectly and they get all the emails sent directly from the Ubimail webmail on my server but its those pesky php programs they don't get email from.

I have gone round an dround with the developtboth GEEKLOG and COPPERMINE PHOTO GALLERY and now turn to you all for any input/help on this.

Why do the PHP programs seem to get blocked by AOL and roadrunner?

Thanks.

themachine
19th January 2006, 06:16
Most likely you are using the "mail()" funtion in PHP. And most likely you are not creating proper email headers. Reference the following:


<?php

$to = "to@domain.com";
$from = "from@domain.com";
$subject = "Subject Line";
$msg = "Email Content";

$headers = "From: $from\r\n";
$headers .= "Reply-To: $from\r\n";
$headers .= "Return-Path: $from\r\n";

mail ($to,$subject,$msg,$headers);

?>



Its possible that if your emails are not sending with a proper return path then they are being rejected. However AOL can reject emails for whatever reason they choose... and therefore it would be helpful if you could post the *FULL HEADERS* of the email message that is bouncing back. Please turn on *FULL HEADERS* in your email client, and then copy all headers including the bounce error message to the forum and then we can help you further.

palkat
19th January 2006, 15:57
THats just it, I don't get anything bounced back either...the messages just seem to vaporize to aol.

falko
19th January 2006, 21:11
What about the code that produces the mails? Does it generate full headers? Please post this code here (only the code that generates the emails).

till
19th January 2006, 22:38
Please have a look at the mail log and post the lines that appear when you send an email to AOL with the PHP application.

palkat
20th January 2006, 00:50
What about the code that produces the mails? Does it generate full headers? Please post this code here (only the code that generates the emails).

Here is the code from one program where it will not deliver to AOL. this is GEEKLOG and the code is to send an article to a person via email.

/**
* This will email new stories in the topics that the user is interested in
*
* In account information the user can specify which topics for which they
* will receive any new article for in a daily digest.
*
* @return void
*/

function COM_emailUserTopics()
{
global $_CONF, $_TABLES, $LANG08, $LANG24;

$subject = strip_tags( $_CONF['site_name'] . $LANG08[30] . strftime( '%Y-%m-%d', time() ));

$authors = array();

// Get users who want stories emailed to them
$usersql = "SELECT username,email,etids,{$_TABLES['users']}.uid AS uuid "
. "FROM {$_TABLES['users']}, {$_TABLES['userindex']} "
. "WHERE {$_TABLES['users']}.uid > 1 AND {$_TABLES['userindex']}.uid = {$_TABLES['users']}.uid AND (etids <> '-') ORDER BY {$_TABLES['users']}.uid";

$users = DB_query( $usersql );
$nrows = DB_numRows( $users );

$lastrun = DB_getItem( $_TABLES['vars'], 'value', "name = 'lastemailedstories'" );

// For each user, pull the stories they want and email it to them
for( $x = 1; $x <= $nrows; $x++ )
{
$U = DB_fetchArray( $users );

$storysql = "SELECT sid,uid,date AS day,title,introtext,bodytext "
. "FROM {$_TABLES['stories']} "
. "WHERE draft_flag = 0 AND date <= NOW() AND date >= '{$lastrun}'";

$topicsql = "SELECT tid FROM {$_TABLES['topics']}"
. COM_getPermSQL( 'WHERE', $U['uuid'] );
$tresult = DB_query( $topicsql );
$trows = DB_numRows( $tresult );

if( $trows == 0 )
{
// this user doesn't seem to have access to any topics ...
continue;
}

$TIDS = array();
for( $i = 1; $i <= $trows; $i++ )
{
$T = DB_fetchArray( $tresult );
$TIDS[] = $T['tid'];
}

if( !empty( $U['etids'] ))
{
$ETIDS = explode( ' ', $U['etids'] );
$TIDS = array_intersect( $TIDS, $ETIDS );
}

if( sizeof( $TIDS ) > 0)
{
$storysql .= " AND (tid IN ('" . implode( "','", $TIDS ) . "'))";
}

$storysql .= COM_getPermSQL( 'AND', $U['uuid'] );
$storysql .= ' ORDER BY featured DESC, date DESC';

$stories = DB_query( $storysql );
$nsrows = DB_numRows( $stories );

if( $nsrows == 0 )
{
// If no new stories where pulled for this user, continue with next
continue;
}

$mailtext = $LANG08[29] . strftime( $_CONF['shortdate'], time() ) . "\n";

for( $y = 0; $y < $nsrows; $y++ )
{
// Loop through stories building the requested email message
$S = DB_fetchArray( $stories );

$mailtext .= "\n------------------------------\n\n";
$mailtext .= "$LANG08[31]: "
. COM_undoSpecialChars( stripslashes( $S['title'] )) . "\n";
if( $_CONF['contributedbyline'] == 1 )
{
if( empty( $authors[$S['uid']] ))
{
$storyauthor = DB_getItem( $_TABLES['users'], 'username', "uid = '{$S['uid']}'" );
$authors[$S['uid']] = $storyauthor;
}
else
{
$storyauthor = $authors[$S['uid']];
}
$mailtext .= "$LANG24[7]: " . $storyauthor . "\n";
}

$mailtext .= "$LANG08[32]: " . strftime( $_CONF['date'], strtotime( $S['day' ])) . "\n\n";

if( $_CONF['emailstorieslength'] > 0 )
{
$storytext = COM_undoSpecialChars( stripslashes( strip_tags( $S['introtext'] )));

if( $_CONF['emailstorieslength'] > 1 )
{
if( strlen( $storytext ) > $_CONF['emailstorieslength'] )
{
$storytext = substr( $storytext, 0, $_CONF['emailstorieslength'] ) . '...';
}
}

$mailtext .= $storytext . "\n\n";
}

$mailtext .= $LANG08[33] . ' ' . COM_buildUrl( $_CONF['site_url']
. '/article.php?story=' . $S['sid'] ) . "\n";
}

$mailtext .= "\n------------------------------\n";
$mailtext .= "\n$LANG08[34]\n";
$mailtext .= "\n------------------------------\n";

$mailto = $U['username'] . ' <' . $U['email'] . '>';

COM_mail( $mailto, $subject, $mailtext );
}

DB_query( "UPDATE {$_TABLES['vars']} SET value = NOW() WHERE name = 'lastemailedstories'" );
}

palkat
20th January 2006, 00:54
Please have a look at the mail log and post the lines that appear when you send an email to AOL with the PHP application.

Sorry to be lame but i have not touched the server is soo long and not a linux god would you mind if i ask where would i find the mail log on the server?

thanks!

falko
20th January 2006, 06:41
Please post the COM_mail() function, that's where the emails seem to be generated.

Sorry to be lame but i have not touched the server is soo long and not a linux god would you mind if i ask where would i find the mail log on the server?

Somewhere in /var/log.

till
20th January 2006, 07:48
Sorry to be lame but i have not touched the server is soo long and not a linux god would you mind if i ask where would i find the mail log on the server?

The mail log is in the directory /var/log

Depending on your linux distro, it might be named:

/var/log/mail
/var/log/mail.log
/var/log/mail.info

palkat
31st January 2006, 23:47
Alright sorry for the dealy here is a log from the /var/log of the "mail" file

Note: the log is of 2 mail messages sent the first one from Coppermine Photo Gallery to my AOL account that does not get the messages. This message should be around the 15:34 time stamp.
the Second message is sent again to the same AOL account but from GEEKLOG bloggin program at 15:37 time frame.

Jan 31 15:34:47 server1 postfix/pickup[22590]: 5764D2AF1A: uid=30 from=<wwwrun> Jan 31 15:34:47 server1 postfix/cleanup[23644]: 5764D2AF1A:
message-id=<20060131223446.5764D2AF1A@server1.example.com>
Jan 31 15:34:47 server1 postfix/qmgr[22591]: 5764D2AF1A:
from=<wwwrun@server1.example.com>, size=2570, nrcpt=1 (queue active) Jan 31 15:34:47 server1 postfix/smtp[23646]: warning: connect to
private/tlsmgr: No such file or directory Jan 31 15:34:48 server1 postfix/smtp[23646]: warning: connect to
private/tlsmgr: No such file or directory Jan 31 15:34:48 server1 postfix/smtp[23646]: warning: problem talking to server private/tlsmgr: No such file or directory Jan 31 15:34:48 server1 postfix/smtp[23646]: warning: no entropy for TLS key
generation: disabling TLS support
Jan 31 15:34:49 server1 postfix/smtp[23646]: 5764D2AF1A:
to=<palkat@aim.com>, relay=mailin-02.mx.aol.com[205.188.155.89], delay=3, status=bounced (host mailin-02.mx.aol.com[205.188.155.89] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE (in reply to MAIL FROM command)) Jan 31 15:34:49 server1 postfix/cleanup[23644]: EAC392AF19:
message-id=<20060131223449.EAC392AF19@server1.example.com>
Jan 31 15:34:49 server1 postfix/qmgr[22591]: 5764D2AF1A: removed Jan 31 15:34:49 server1 postfix/qmgr[22591]: EAC392AF19: from=<>, size=4515,
nrcpt=1 (queue active)
Jan 31 15:34:50 server1 postfix/local[23650]: EAC392AF19:
to=<root@server1.example.com>, orig_to=<wwwrun@server1.example.com>,
relay=local, delay=1, status=sent (delivered to maildir) Jan 31 15:34:50 server1 postfix/qmgr[22591]: EAC392AF19: removed Jan 31 15:36:03 server1 postfix/pickup[22590]: 0398F2AF17: uid=30 from=<wwwrun> Jan 31 15:36:03 server1 postfix/cleanup[23644]: 0398F2AF17:
message-id=<20060131223602.0398F2AF17@server1.example.com>
Jan 31 15:36:03 server1 postfix/qmgr[22591]: 0398F2AF17:
from=<wwwrun@server1.example.com>, size=2570, nrcpt=1 (queue active) Jan 31 15:36:05 server1 postfix/smtp[23646]: 0398F2AF17:
to=<palkat@aim.com>, relay=mailin-01.mx.aol.com[205.188.156.185], delay=3, status=bounced (host mailin-01.mx.aol.com[205.188.156.185] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE (in reply to MAIL FROM command)) Jan 31 15:36:05 server1 postfix/cleanup[23644]: D16DB2AF19:
message-id=<20060131223605.D16DB2AF19@server1.example.com>
Jan 31 15:36:05 server1 postfix/qmgr[22591]: D16DB2AF19: from=<>, size=4517,
nrcpt=1 (queue active)
Jan 31 15:36:05 server1 postfix/qmgr[22591]: 0398F2AF17: removed Jan 31 15:36:06 server1 postfix/local[23650]: D16DB2AF19:
to=<root@server1.example.com>, orig_to=<wwwrun@server1.example.com>,
relay=local, delay=1, status=sent (delivered to maildir) Jan 31 15:36:06 server1 postfix/qmgr[22591]: D16DB2AF19: removed Jan 31 15:36:49 server1 pop3d: Connection, ip=[::ffff:68.35.83.14] Jan 31 15:36:50 server1 pop3d: LOGIN, user=visionscreativematting.com_steve,
ip=[::ffff:68.35.83.14]
Jan 31 15:36:51 server1 pop3d: LOGOUT,
user=visionscreativematting.com_steve, ip=[::ffff:68.35.83.14], top=0, retr=0, time=1 Jan 31 15:37:39 server1 postfix/pickup[22590]: 5C9362AF24: uid=30 from=<wwwrun> Jan 31 15:37:39 server1 postfix/cleanup[23644]: 5C9362AF24:
message-id=<20060131223739.5C9362AF24@server1.example.com>
Jan 31 15:37:39 server1 postfix/qmgr[22591]: 5C9362AF24:
from=<wwwrun@server1.example.com>, size=2070, nrcpt=1 (queue active) Jan 31 15:37:40 server1 postfix/smtp[23646]: 5C9362AF24:
to=<palkat@aim.com>, relay=mailin-04.mx.aol.com[64.12.138.152], delay=1, status=bounced (host mailin-04.mx.aol.com[64.12.138.152] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE (in reply to MAIL FROM command)) Jan 31 15:37:40 server1 postfix/cleanup[23644]: D5D612AF25:
message-id=<20060131223740.D5D612AF25@server1.example.com>
Jan 31 15:37:40 server1 postfix/qmgr[22591]: 5C9362AF24: removed Jan 31 15:37:40 server1 postfix/qmgr[22591]: D5D612AF25: from=<>, size=3947,
nrcpt=1 (queue active)
Jan 31 15:37:41 server1 postfix/local[23650]: D5D612AF25:
to=<root@server1.example.com>, orig_to=<wwwrun@server1.example.com>,
relay=local, delay=1, status=sent (delivered to maildir) Jan 31 15:37:41 server1 postfix/qmgr[22591]: D5D612AF25: removed

palkat
31st January 2006, 23:48
Alright sorry for the dealy here is a log from the /var/log of the "mail.info" file

Note: the log is of 2 mail messages sent the first one from Coppermine Photo Gallery to my AOL account that does not get the messages. This message should be around the 15:34 time stamp.
the Second message is sent again to the same AOL account but from GEEKLOG bloggin program at 15:37 time frame.



Jan 31 15:34:47 server1 postfix/pickup[22590]: 5764D2AF1A: uid=30 from=<wwwrun> Jan 31 15:34:47 server1 postfix/cleanup[23644]: 5764D2AF1A:
message-id=<20060131223446.5764D2AF1A@server1.example.com>
Jan 31 15:34:47 server1 postfix/qmgr[22591]: 5764D2AF1A:
from=<wwwrun@server1.example.com>, size=2570, nrcpt=1 (queue active) Jan 31 15:34:49 server1 postfix/smtp[23646]: 5764D2AF1A:
to=<palkat@aim.com>, relay=mailin-02.mx.aol.com[205.188.155.89], delay=3, status=bounced (host mailin-02.mx.aol.com[205.188.155.89] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE (in reply to MAIL FROM command)) Jan 31 15:34:49 server1 postfix/cleanup[23644]: EAC392AF19:
message-id=<20060131223449.EAC392AF19@server1.example.com>
Jan 31 15:34:49 server1 postfix/qmgr[22591]: 5764D2AF1A: removed Jan 31 15:34:49 server1 postfix/qmgr[22591]: EAC392AF19: from=<>, size=4515,
nrcpt=1 (queue active)
Jan 31 15:34:50 server1 postfix/local[23650]: EAC392AF19:
to=<root@server1.example.com>, orig_to=<wwwrun@server1.example.com>,
relay=local, delay=1, status=sent (delivered to maildir) Jan 31 15:34:50 server1 postfix/qmgr[22591]: EAC392AF19: removed Jan 31 15:36:03 server1 postfix/pickup[22590]: 0398F2AF17: uid=30 from=<wwwrun> Jan 31 15:36:03 server1 postfix/cleanup[23644]: 0398F2AF17:
message-id=<20060131223602.0398F2AF17@server1.example.com>
Jan 31 15:36:03 server1 postfix/qmgr[22591]: 0398F2AF17:
from=<wwwrun@server1.example.com>, size=2570, nrcpt=1 (queue active) Jan 31 15:36:05 server1 postfix/smtp[23646]: 0398F2AF17:
to=<palkat@aim.com>, relay=mailin-01.mx.aol.com[205.188.156.185], delay=3, status=bounced (host mailin-01.mx.aol.com[205.188.156.185] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE (in reply to MAIL FROM command)) Jan 31 15:36:05 server1 postfix/cleanup[23644]: D16DB2AF19:
message-id=<20060131223605.D16DB2AF19@server1.example.com>
Jan 31 15:36:05 server1 postfix/qmgr[22591]: D16DB2AF19: from=<>, size=4517,
nrcpt=1 (queue active)
Jan 31 15:36:05 server1 postfix/qmgr[22591]: 0398F2AF17: removed Jan 31 15:36:06 server1 postfix/local[23650]: D16DB2AF19:
to=<root@server1.example.com>, orig_to=<wwwrun@server1.example.com>,
relay=local, delay=1, status=sent (delivered to maildir) Jan 31 15:36:06 server1 postfix/qmgr[22591]: D16DB2AF19: removed Jan 31 15:36:50 server1 pop3d: LOGIN, user=visionscreativematting.com_steve,
ip=[::ffff:68.35.83.14]
Jan 31 15:36:51 server1 pop3d: LOGOUT,
user=visionscreativematting.com_steve, ip=[::ffff:68.35.83.14], top=0, retr=0, time=1 Jan 31 15:37:39 server1 postfix/pickup[22590]: 5C9362AF24: uid=30 from=<wwwrun> Jan 31 15:37:39 server1 postfix/cleanup[23644]: 5C9362AF24:
message-id=<20060131223739.5C9362AF24@server1.example.com>
Jan 31 15:37:39 server1 postfix/qmgr[22591]: 5C9362AF24:
from=<wwwrun@server1.example.com>, size=2070, nrcpt=1 (queue active) Jan 31 15:37:40 server1 postfix/smtp[23646]: 5C9362AF24:
to=<palkat@aim.com>, relay=mailin-04.mx.aol.com[64.12.138.152], delay=1, status=bounced (host mailin-04.mx.aol.com[64.12.138.152] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE (in reply to MAIL FROM command)) Jan 31 15:37:40 server1 postfix/cleanup[23644]: D5D612AF25:
message-id=<20060131223740.D5D612AF25@server1.example.com>
Jan 31 15:37:40 server1 postfix/qmgr[22591]: 5C9362AF24: removed Jan 31 15:37:40 server1 postfix/qmgr[22591]: D5D612AF25: from=<>, size=3947,
nrcpt=1 (queue active)
Jan 31 15:37:41 server1 postfix/local[23650]: D5D612AF25:
to=<root@server1.example.com>, orig_to=<wwwrun@server1.example.com>,
relay=local, delay=1, status=sent (delivered to maildir) Jan 31 15:37:41 server1 postfix/qmgr[22591]: D5D612AF25: removed

falko
1st February 2006, 12:50
I found this about AOL's mail policy: http://postmaster.aol.com/trouble/mailer.html
It says:
550 Requested action not taken: DNS FAILURE
These errors indicate that there are DNS resolution problems somewhere between your domain and AOL. This usually means that AOL is unable to resolve your domain name in DNS before accepting that mail for delivery. Contact your e-mail administrator for assistance. The network administrator for the site may have to modify their resource records in DNS.

So there seems to be something wrong with the DNS records of the sender domain. What's the sender domain you use?

palkat
1st February 2006, 15:53
So there seems to be something wrong with the DNS records of the sender domain. What's the sender domain you use?

well looking at the mail logs files i posted i see a lot of xxxx@server1.example.com is that the case? the fact that the server is setup with "server1.example.com" via the ISPconfig install and aol is rejecting it that way. should that be corrected if so how now that the server is already configured.

falko
1st February 2006, 16:44
well looking at the mail logs files i posted i see a lot of xxxx@server1.example.com is that the case? the fact that the server is setup with "server1.example.com" via the ISPconfig install and aol is rejecting it that way.
You should have taken your own and existing hostname.
should that be corrected if so how now that the server is already configured.
You should check /stc/hosts and /etc/postfix/main.cf for server1.example.com.
Also, what's the output of hostname and hostname -f?

palkat
1st February 2006, 16:56
Okay my Hostname is: server1

and my Hostname -F is: server1.example.com

palkat
1st February 2006, 17:03
You should check /stc/hosts and /etc/postfix/main.cf for server1.example.com.
[/CODE]?

All i found is the /etc/postfix/main.cf and that has the following two entries in there of for SERVER1.EXAMPLE.COM:

myhostname = server1.$mydomain
mydomain = example.com

can these be changed manually in the main.cf file here.

as for /stc/hosts i don't have a STC folder off my root. this is running on a suse9.3 build if that helps.

falko
1st February 2006, 21:06
All i found is the /etc/postfix/main.cf and that has the following two entries in there of for SERVER1.EXAMPLE.COM:

myhostname = server1.$mydomain
mydomain = example.com

can these be changed manually in the main.cf file here.
Yes.

as for /stc/hosts i don't have a STC folder off my root. this is running on a suse9.3 build if that helps.
Sorry, I meant /etc/hosts.

palkat
2nd February 2006, 03:21
Falko:
here is my /etc/host file:

#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname #

127.0.0.1 localhost

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
192.168.1.205 server1.example.com server1



So the question is on this file and the mail files what would i modify if my domain is say "doamin.com" being these files ask for a HOSTNAME and DOMAIN NAME how would i enter it? Sorry to be lame but just not sure on the format.

falko
2nd February 2006, 09:45
So the question is on this file and the mail files what would i modify if my domain is say "doamin.com" being these files ask for a HOSTNAME and DOMAIN NAME how would i enter it? Sorry to be lame but just not sure on the format.
You put
<IP_Address> HOSTNAME.DOMAINNAME HOSTNAME into /etc/hosts. I'd do it before the IPv6 section in the file, so put the line
192.168.1.205 server1.example.com server1
right after the 127.0.0.1 line. And I'd also modify the 127.0.0.1 line a little bit:

127.0.0.1 localhost.localdomain localhost

palkat
2nd February 2006, 20:59
Falko HELP!!! LOL

palkat
2nd February 2006, 21:06
Falko HELP!!! LOL

Alright so i just made the changes in the /etc/postfix/main.cf what i did is as follows:

changed myhostname = server1.$mydomain
to
myhostname = mail.oneillpcs.com

also changed mydomain = example.com
to
mydomain = oneillpcs.com

(I used "mail." in stead of "server1." because server1 still did not allow messages to aol but using "mail." aol accepted my mail messages so that worked GREAT!

BUT i had to change it all back to server1.example.com because my server became as slow as my OLD commodore64 hahaha...it was working non stop and in my own personal mail box on the oneillpcs.com domain i kept getting the following message sent over and over about 300 per hour:

----[mail message being]----------
This is the Postfix program at host mail.oneillpcs.com.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The Postfix program

<admispconfig@localhost.oneillpcs.com> (expanded from
<admispconfig@localhost>): mail for localhost.oneillpcs.com loops back to
myself
---[mail message end]--------

I'm getting these in my mail box (never got them before) about every 25seconds PLEASE HELP its slow and a ton of these same message filling up my mail.

How do i get that undeliverable message to stop happening? and my server still now runs REALLY REALLY slow unless i stop the postfix in the command prompt.

Please help! thanks!

falko
2nd February 2006, 21:32
Just append localhost.oneillpcs.com to the mydestination line in /etc/postfix/main.cf and restart Postfix.

palkat
2nd February 2006, 21:57
Just append localhost.oneillpcs.com to the mydestination line in /etc/postfix/main.cf and restart Postfix.


just tried that my MYSEDTINATION is as follows:

mydestination - /etc/postfix/local-host-names localhost.oneillpcs.com

and i restarted the postfix but still getting message of undeliverable and other people on differant domains than "oneillpcs.com" are now calling saying they have 400+ of these messages in their inboxes too..

What next? thanks for the help!

till
2nd February 2006, 22:01
just tried that my MYSEDTINATION is as follows:

mydestination - /etc/postfix/local-host-names localhost.oneillpcs.com

and i restarted the postfix but still getting message of undeliverable and other people on differant domains than "oneillpcs.com" are now calling saying they have 400+ of these messages in their inboxes too..

This setting of mydestination wont work. If mydeatination is a path like: /etc/postfix/local-host-names, must open the file /etc/postfix/local-host-names and add the line:

localhost.oneillpcs.com

at the end of the file instead of appending it to mydestination in your main.cf file.

palkat
2nd February 2006, 22:04
Till,

I did that already too...in the local-host-names i added both

localhost.oneillpcs.com and mail.oneillpcs.com and still the undeliverable message keeps coming in the past 5 minutes i have now (and other domains) gotten over 40 of the messages so what ever it is they undeliverable message is coming at me faster! man on man...what next?

palkat
2nd February 2006, 22:05
here is the attachement on the messages all the domains are getting:

Reporting-MTA: dns; mail.oneillpcs.com
X-Postfix-Queue-ID: EDB1E2BAA2
X-Postfix-Sender: rfc822; oneillpcs.com_shane@mail.oneillpcs.com
Arrival-Date: Thu, 2 Feb 2006 12:25:00 -0700 (MST)

Final-Recipient: rfc822; admispconfig@localhost.oneillpcs.com
Original-Recipient: rfc822; admispconfig@localhost
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail for localhost.oneillpcs.com loops back to
myself

till
2nd February 2006, 22:09
Till,

I did that already too...in the local-host-names i added both

localhost.oneillpcs.com and mail.oneillpcs.com and still the undeliverable message keeps coming in the past 5 minutes i have now (and other domains) gotten over 40 of the messages so what ever it is they undeliverable message is coming at me faster! man on man...what next?

Have you restarted postfix after you added the line to the local-host-names file?

palkat
2nd February 2006, 22:10
yes i have resterted after everytime still keep coming in though. the machine is slowing down cause of it.

till
2nd February 2006, 22:11
Does the mydestination line looks like this:

mydestination = /etc/postfix/local-host-names

and not with a "-" inside like you posted it in the forum?

palkat
2nd February 2006, 22:14
yes till,

it is:

mydestionation = /etc/postfix/local-host-names

falko
2nd February 2006, 23:53
What's in /etc/postfix/local-host-names?

palkat
3rd February 2006, 03:07
local-host-names:

(it also included localhost.oneillpcs.com but took it out as that really slowed the system down and produced even more undeliverable messages)

###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
server1.example.com
localhost.server1.example.com
localhost.example.com

----- edited for customer sake ----


#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

palkat
3rd February 2006, 03:53
Im at wits end...i stop the postfix server then run the postsuper -r ALL and it nukes hundreds of messages. then restart the postfix for less than 1 minute stop it and the postsuper will still remove about 190+ messages.

WHat is creating this message replication of undeliverable for all users on all domains? it is killing us.

falko
3rd February 2006, 10:13
Can you post a more detailed excerpt of the mail log?

palkat
4th February 2006, 22:51
Can you post a more detailed excerpt of the mail log?

Falko & Till, Thanks for all your help and quick responce. I had to give up and build out a new server cloaning this one.

This thread started out because any domain on my server could not get emails through AOL or Timewarner that were sent from a PHP program. Well on the new server i rebuilt i installed it correctly in the fact that i named the server build "server.myhostingdomainname.com" versus the original machine that was "server1.example.com".

so now AOL, timewarner no longer block emails from my new machine...48hours of stress and pain but a heck of a learning experience! LOL

thanks again you two for all the help! till next time....