Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help : Recipient address rejected: Relay access denied

22 views
Skip to first unread message

Cristina Turlacu

unread,
Jan 6, 2004, 4:24:35 AM1/6/04
to
This is a multi-part message in MIME format.

------=_NextPart_000_0112_01C3D447.9BE44220
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,=20
I have the folowing problem: when I'm trying send email I get this=20
error and the mail is not sent.

"Server replied: 554 <ctur...@simcoint.com>: Recipient address=20
rejected: Relay access denied
Please contact your system administrator and report the following=20
error:Fatal error: TOO MANY CONSECUTIVE PROTOCOL VIOLATIONS: "

I use postfix on Mandrake 9.2.

[root@wellhub2 root]# postconf -n

alias_database =3D hash:/etc/postfix/aliases
alias_maps =3D hash:/etc/postfix/aliases
command_directory =3D /usr/sbin
config_directory =3D /etc/postfix
content_filter =3D smtp:127.0.0.1:10024
daemon_directory =3D /usr/lib/postfix
debug_peer_level =3D 2
delay_warning_time =3D 4
home_mailbox =3D Maildir/
inet_interfaces =3D localhost
mail_owner =3D postfix
mail_spool_directory =3D /var/spool/mail
mailbox_transport =3D cyrus
mailq_path =3D /usr/bin/mailq.postfix
manpage_directory =3D /usr/share/man
mydestination =3D localhost, localhost.localdomain, 127.0.0.1, =
wellhub.simcoint.com
mydomain =3D simcoint.com
myhostname =3D localhost.localdomain
mynetworks =3D 168.100.189.0/28, 127.0.0.0/8
newaliases_path =3D /usr/bin/newaliases.postfix
queue_directory =3D /var/spool/postfix
readme_directory =3D /usr/share/doc/postfix-2.0.13/README_FILES
relay_domains =3D $mydestination, hash:/etc/postfix/relay_domains
relayhost =3D mail.simcoint.com
sample_directory =3D /usr/share/doc/postfix-2.0.13/samples
sendmail_path =3D /usr/sbin/sendmail.postfix
setgid_group =3D postdrop
smtpd_banner =3D $myhostname ESMTP $mail_name ($mail_version) (Mandrake=20
Linux)
unknown_local_recipient_reject_code =3D 450

Any help is appreciated.
Thanks
------=_NextPart_000_0112_01C3D447.9BE44220
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello, <BR>I have the folowing problem: =
when I'm=20
trying send email I get this <BR>error and the mail is not =
sent.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"Server replied: 554 &lt;<A=20
href=3D"mailto:ctur...@simcoint.com">ctur...@simcoint.com</A>&gt;: =
Recipient=20
address <BR>rejected: Relay access denied<BR>Please contact your system=20
administrator and report the following <BR>error:Fatal error: TOO MANY=20
CONSECUTIVE PROTOCOL VIOLATIONS: "</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I use postfix on Mandrake =
9.2.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[root@wellhub2 root]# postconf =
-n</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>alias_database =3D=20
hash:/etc/postfix/aliases<BR>alias_maps =3D=20
hash:/etc/postfix/aliases<BR>command_directory =3D =
/usr/sbin<BR>config_directory =3D=20
/etc/postfix<BR>content_filter =3D =
smtp:127.0.0.1:10024<BR>daemon_directory =3D=20
/usr/lib/postfix<BR>debug_peer_level =3D 2<BR>delay_warning_time =3D=20
4<BR>home_mailbox =3D Maildir/<BR>inet_interfaces =3D =
localhost<BR>mail_owner =3D=20
postfix<BR>mail_spool_directory =3D /var/spool/mail<BR>mailbox_transport =
=3D=20
cyrus<BR>mailq_path =3D /usr/bin/mailq.postfix<BR>manpage_directory =3D=20
/usr/share/man<BR>mydestination =3D localhost, localhost.localdomain, =
127.0.0.1,=20
wellhub.simcoint.com<BR>mydomain =3D simcoint.com<BR>myhostname =3D=20
localhost.localdomain<BR>mynetworks =3D 168.100.189.0/28,=20
127.0.0.0/8<BR>newaliases_path =3D =
/usr/bin/newaliases.postfix<BR>queue_directory=20
=3D /var/spool/postfix<BR>readme_directory =3D=20
/usr/share/doc/postfix-2.0.13/README_FILES<BR>relay_domains =3D =
$mydestination,=20
hash:/etc/postfix/relay_domains<BR>relayhost =3D=20
mail.simcoint.com<BR>sample_directory =3D=20
/usr/share/doc/postfix-2.0.13/samples<BR>sendmail_path =3D=20
/usr/sbin/sendmail.postfix<BR>setgid_group =3D postdrop<BR>smtpd_banner =
=3D=20
$myhostname ESMTP $mail_name ($mail_version) (Mandrake=20
<BR>Linux)<BR>unknown_local_recipient_reject_code =3D 450</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any help is=20
appreciated.<BR>Thanks</FONT></DIV></BODY></HTML>

------=_NextPart_000_0112_01C3D447.9BE44220--

Nico Wieland

unread,
Jan 6, 2004, 4:38:35 AM1/6/04
to
> error:Fatal error: TOO MANY CONSECUTIVE PROTOCOL VIOLATIONS: "

this sounds more like a courier-imap error msg ... can you show some
logfiles of what is happening?

nico


Cristina Turlacu

unread,
Jan 6, 2004, 5:17:18 AM1/6/04
to
Tanks for answer. This are my mail logs:


/var/log/errors

Jan 6 05:38:35 wellhub2 postfix/pickup[2084]: fatal: watchdog timeout
Jan 6 05:56:15 wellhub2 postfix/pickup[2127]: fatal: watchdog timeout
Jan 6 06:13:55 wellhub2 postfix/pickup[2185]: fatal: watchdog timeout
Jan 6 06:44:49 wellhub2 postfix/pickup[2544]: fatal: watchdog timeout
Jan 6 07:02:29 wellhub2 postfix/pickup[2696]: fatal: watchdog timeout

info

Jan 6 06:22:44 wellhub2 postfix/postfix-script: stopping the Postfix mail
system
Jan 6 06:22:44 wellhub2 postfix/master[2079]: terminating on signal 15
Jan 6 06:22:45 wellhub2 postfix/postfix-script: starting the Postfix mail
system
Jan 6 06:22:45 wellhub2 postfix/master[2409]: daemon started -- version
2.0.13
Jan 6 06:22:45 wellhub2 postfix/pickup[2414]: A193616366: uid=0 from=<root>
Jan 6 06:28:08 wellhub2 postfix/postfix-script: stopping the Postfix mail
system
Jan 6 06:28:08 wellhub2 postfix/master[2409]: terminating on signal 15
Jan 6 06:28:10 wellhub2 postfix/postfix-script: starting the Postfix mail
system
Jan 6 06:28:10 wellhub2 postfix/master[2539]: daemon started -- version
2.0.13
Jan 6 06:28:10 wellhub2 postfix/pickup[2544]: 4414116366: uid=0 from=<root>
Jan 6 06:36:13 wellhub2 postfix/smtpd[2603]: connect from
localhost[127.0.0.1]
Jan 6 06:37:35 wellhub2 postfix/smtpd[2603]: 6AD0616369:
client=localhost[127.0.0.1]
Jan 6 06:45:50 wellhub2 postfix/pickup[2696]: 42DEC1636A: uid=0 from=<root>
Jan 6 07:03:30 wellhub2 postfix/pickup[2728]: 47CA61636B: uid=0 from=<root>

warning

Jan 6 07:07:44 wellhub2 postfix/master[2539]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jan 6 07:08:45 wellhub2 postfix/master[2539]: warning: process
/usr/lib/postfix/trivial-rewrite pid 2789 exit status 127
Jan 6 07:08:45 wellhub2 postfix/master[2539]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jan 6 07:09:46 wellhub2 postfix/master[2539]: warning: process
/usr/lib/postfix/trivial-rewrite pid 2790 exit status 127
Jan 6 07:09:46 wellhub2 postfix/master[2539]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jan 6 07:10:47 wellhub2 postfix/master[2539]: warning: process
/usr/lib/postfix/trivial-rewrite pid 2791 exit status 127
Jan 6 07:10:47 wellhub2 postfix/master[2539]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jan 6 07:11:48 wellhub2 postfix/master[2539]: warning: process
/usr/lib/postfix/trivial-rewrite pid 2792 exit status 127
Jan 6 07:11:48 wellhub2 postfix/master[2539]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling

Nico Wieland

unread,
Jan 6, 2004, 5:30:13 AM1/6/04
to
> Tanks for answer. This are my mail logs:

ok. first, i would highly recommend to join your logs in =
/etc/syslog.conf! i
don't know mandrake, but it would look something like this:

mail.* /var/log/mail

then, restart syslogd. when that is done, reproduce the problem and send =
the
logfile part relevant to it.

thanks,

nico=20


Luca Berra

unread,
Jan 6, 2004, 8:03:49 AM1/6/04
to
On Tue, Jan 06, 2004 at 11:24:11AM +0200, Cristina Turlacu wrote:
> Hello,

> I have the folowing problem: when I'm trying send email I get this
> error and the mail is not sent.
>
>
>
> "Server replied: 554 <[1]ctur...@simcoint.com>: Recipient address

> rejected: Relay access denied
> Please contact your system administrator and report the following
> error:Fatal error: TOO MANY CONSECUTIVE PROTOCOL VIOLATIONS: "
this error report does not come from postfix, but from your mua or
another mta in the middle.

>
> mydestination = localhost, localhost.localdomain, 127.0.0.1,
> wellhub.simcoint.com
does not include simcoint.com.

--
Luca Berra -- bl...@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \

Luca Berra

unread,
Jan 6, 2004, 8:04:38 AM1/6/04
to
On Tue, Jan 06, 2004 at 12:16:55PM +0200, Cristina Turlacu wrote:
>Jan 6 07:07:44 wellhub2 postfix/master[2539]: warning:
>/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
>Jan 6 07:08:45 wellhub2 postfix/master[2539]: warning: process
>/usr/lib/postfix/trivial-rewrite pid 2789 exit status 127
your master.cf please

L.

Luca Berra

unread,
Jan 6, 2004, 8:08:16 AM1/6/04
to
On Tue, Jan 06, 2004 at 11:27:58AM +0100, Nico Wieland wrote:
>> Tanks for answer. This are my mail logs:
>
>ok. first, i would highly recommend to join your logs in /etc/syslog.conf! i

>don't know mandrake, but it would look something like this:
>
sort /var/log/mail/{info,errors,warnings} has the same effect.

Cristina Turlacu

unread,
Jan 6, 2004, 8:25:11 AM1/6/04
to
Hello,

postconf -u looks like that now:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_privs = nobody
delay_warning_time = 4
home_mailbox = Maildir/
inet_interfaces = localhost
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, 127.0.0.1,
wellhub2.simcoint.com, simcoint.com
mydomain = simcoint.com
myhostname = wellhub2.simcoint.com
mynetworks = 168.100.189.0/28, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.13/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay_domains
relayhost = mail.simcoint.com
sample_directory = /usr/share/doc/postfix-2.0.13/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
unknown_local_recipient_reject_code = 450


and my master.cf is thi one:

#
# Postfix master process configuration file. Each logical line
# describes how a Postfix daemon program should be run.
#
# A logical line starts with non-whitespace, non-comment text.
# Empty lines and whitespace-only lines are ignored, as are comment
# lines whose first non-whitespace character is a `#'.
# A line that starts with whitespace continues a logical line.
#
# The fields that make up each line are described below. A "-" field
# value requests that a default value be used for that field.
#
# Service: any name that is valid for the specified transport type
# (the next field). With INET transports, a service is specified as
# host:port. The host part (and colon) may be omitted. Either host
# or port may be given in symbolic form or in numeric form. Examples
# for the SMTP server: localhost:smtp receives mail via the loopback
# interface only; 10025 receives mail on port 10025.
#
# Transport type: "inet" for Internet sockets, "unix" for UNIX-domain
# sockets, "fifo" for named pipes.
#
# Private: whether or not access is restricted to the mail system.
# Default is private service. Internet (inet) sockets can't be private.
#
# Unprivileged: whether the service runs with root privileges or as
# the owner of the Postfix system (the owner name is controlled by the
# mail_owner configuration variable in the main.cf file). Only the
# pipe, virtual and local delivery daemons require privileges.
#
# Chroot: whether or not the service runs chrooted to the mail queue
# directory (pathname is controlled by the queue_directory configuration
# variable in the main.cf file). Presently, all Postfix daemons can run
# chrooted, except for the pipe, virtual and local delivery daemons.
# The proxymap server can run chrooted, but doing so defeats most of
# the purpose of having that service in the first place.
# The files in the examples/chroot-setup subdirectory describe how
# to set up a Postfix chroot environment for your type of machine.
#
# Wakeup time: automatically wake up the named service after the
# specified number of seconds. A ? at the end of the wakeup time
# field requests that wake up events be sent only to services that
# are actually being used. Specify 0 for no wakeup. Presently, only
# the pickup, queue manager and flush daemons need a wakeup timer.
#
# Max procs: the maximum number of processes that may execute this
# service simultaneously. Default is to use a globally configurable
# limit (the default_process_limit configuration parameter in main.cf).
# Specify 0 for no process count limit.
#
# Command + args: the command to be executed. The command name is
# relative to the Postfix program directory (pathname is controlled by
# the daemon_directory configuration variable). Adding one or more
# -v options turns on verbose logging for that service; adding a -D
# option enables symbolic debugging (see the debugger_command variable
# in the main.cf configuration file). See individual command man pages
# for specific command-line options, if any.
#
# In order to use the "uucp" message tranport below, set up entries
# in the transport table.
#
# In order to use the "cyrus" message transport below, configure it
# in main.cf as the mailbox_transport.
#
# SPECIFY ONLY PROGRAMS THAT ARE WRITTEN TO RUN AS POSTFIX DAEMONS.
# ALL DAEMONS SPECIFIED HERE MUST SPEAK A POSTFIX-INTERNAL PROTOCOL.
#
# DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - y - - smtpd
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
#qmgr fifo n - n 300 1 qmgr
qmgr fifo n - y 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - y - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
flush unix n - y 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - y - - smtp
relay unix - - y - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - y - - showq
error unix - - y - - error
local unix - n n - - local
virtual unix - n y - - virtual
lmtp unix - - y - - lmtp
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient

Thanks for help

Luca Berra

unread,
Jan 6, 2004, 9:30:35 AM1/6/04
to
On Tue, Jan 06, 2004 at 03:24:50PM +0200, Cristina Turlacu wrote:
>inet_interfaces = localhost
mmm
i dinna notice this in your previous mail, is this box supposed to
receive mail for simcoint.com domain?

>and my master.cf is thi one:

...


>rewrite unix - - y - - trivial-rewrite

I don't see why it was throttling...

Cristina Turlacu

unread,
Jan 6, 2004, 9:42:29 AM1/6/04
to
> mmm
> i dinna notice this in your previous mail, is this box supposed to
> receive mail for simcoint.com domain?

No, it supposed to receive mail for wellhub2.simcoint.com.

Now I reinstalled the postfix and I'm trying to sent mails from command
line and this is what I get:

Jan 6 10:41:46 wellhub2 postfix/smtpd[4245]: disconnect from
localhost[127.0.0.1]
Jan 6 10:47:19 wellhub2 postfix/smtpd[4406]: connect from
localhost[127.0.0.1]
Jan 6 10:48:02 wellhub2 postfix/smtpd[4406]: 6912D24312:
client=localhost[127.0.0.1]
Jan 6 10:48:37 wellhub2 postfix/cleanup[4408]: 6912D24312:
message-id=<200401061548...@wellhub2.simcoint.com>
Jan 6 10:48:37 wellhub2 postfix/nqmgr[3855]: 6912D24312:
from=<d...@wellhub2.simcoint.com>, size=372, nrcpt=1 (queue active)
Jan 6 10:48:37 wellhub2 postfix/local[4410]: 6912D24312:
to=<pos...@wellhub2.simcoint.com>, orig_to=<ro...@wellhub2.simcoint.com>,
relay=local, delay=35, status=bounced (maildir delivery failed: create
/var/spool/postfix/Maildir/tmp/1073404117.P4410.wellhub2.simcoint.com:
Permission denied)
Jan 6 10:48:37 wellhub2 postfix/cleanup[4408]: 9011624315:
message-id=<200401061548...@wellhub2.simcoint.com>
Jan 6 10:48:37 wellhub2 postfix/nqmgr[3855]: 9011624315: from=<>,
size=2216, nrcpt=1 (queue active)
Jan 6 10:48:37 wellhub2 postfix/local[4410]: 9011624315:
to=<d...@wellhub2.simcoint.com>, relay=local, delay=0, status=sent (maildir)
Jan 6 10:48:42 wellhub2 postfix/smtpd[4406]: disconnect from
localhost[127.0.0.1]


Did anyone know what did "(maildir delivery failed: create
/var/spool/postfix/Maildir/tmp/1073404117.P4410.wellhub2.simcoint.com:
Permission denied)" means and what can I do to fix it.

Thanks a lot for your help.

Magnus Bäck

unread,
Jan 6, 2004, 10:05:34 AM1/6/04
to
On Tuesday, January 06, 2004 at 15:42 CET,
Cristina Turlacu <ctur...@simcoint.com> wrote:

[...]

> Jan 6 10:48:37 wellhub2 postfix/local[4410]: 6912D24312:

> to=3D<pos...@wellhub2.simcoint.com>, orig_to=3D<ro...@wellhub2.simcoint=
.com>,
> relay=3Dlocal, delay=3D35, status=3Dbounced (maildir delivery failed: c=
reate
> /var/spool/postfix/Maildir/tmp/1073404117.P4410.wellhub2.simcoint.com:
> Permission denied)

Do not alias root to the postfix user, but to a real user (typically
yourself).

[...]

--=20
Magnus B=E4ck
mag...@dsek.lth.se

0 new messages