HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Mail Problem (http://www.howtoforge.com/forums/showthread.php?t=60172)

agord 9th January 2013 11:17

Mail Problem
 
Hi i installed the last version of ispconfi3 and i got problems with the email. I cant receive or sent.

This is the mensage:

"ERROR:
Message not sent. Server replied:
"

(nothing else)

Mail-log:

Jan 9 05:59:08 server1 postfix/master[5085]: daemon started -- version 2.9.3, configuration /etc/postfix
Jan 9 05:59:46 server1 postfix/submission/smtpd[5091]: fatal: unexpected command-line argument: smtps
Jan 9 05:59:47 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5091 exit status 1
Jan 9 05:59:47 server1 postfix/master[5085]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 9 06:00:01 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 06:00:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 06:00:47 server1 postfix/submission/smtpd[5188]: fatal: unexpected command-line argument: smtps
Jan 9 06:00:47 server1 postfix/submission/smtpd[5189]: fatal: unexpected command-line argument: smtps
Jan 9 06:00:47 server1 postfix/submission/smtpd[5190]: fatal: unexpected command-line argument: smtps
Jan 9 06:00:48 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5188 exit status 1
Jan 9 06:00:48 server1 postfix/master[5085]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 9 06:00:48 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5189 exit status 1
Jan 9 06:00:48 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5190 exit status 1
Jan 9 06:02:16 server1 postfix/submission/smtpd[5204]: fatal: unexpected command-line argument: smtps
Jan 9 06:02:17 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5204 exit status 1
Jan 9 06:02:17 server1 postfix/master[5085]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 9 06:03:17 server1 postfix/submission/smtpd[5211]: fatal: unexpected command-line argument: smtps
Jan 9 06:03:18 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5211 exit status 1
Jan 9 06:03:18 server1 postfix/master[5085]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 9 06:04:18 server1 postfix/submission/smtpd[5218]: fatal: unexpected command-line argument: smtps
Jan 9 06:04:19 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5218 exit status 1
Jan 9 06:04:19 server1 postfix/master[5085]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 9 06:04:19 server1 dovecot: auth-worker: mysql(localhost): Connected to database dbispconfig
Jan 9 06:04:19 server1 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=5224, secured
Jan 9 06:04:19 server1 dovecot: imap(cristianleyes@aycral.com): Disconnected: Logged out bytes=79/687
Jan 9 06:05:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 06:05:01 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 9 06:05:19 server1 postfix/submission/smtpd[5268]: fatal: unexpected command-line argument: smtps
Jan 9 06:05:20 server1 postfix/master[5085]: warning: process /usr/lib/postfix/smtpd pid 5268 exit status 1
Jan 9 06:05:20 server1 postfix/master[5085]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling


Mail Error-log:

Jan 9 05:30:01 server1 postfix/submission/smtpd[4164]: fatal: unexpected command-line argument: smtps
Jan 9 05:31:03 server1 postfix/submission/smtpd[4229]: fatal: unexpected command-line argument: smtps
Jan 9 05:31:03 server1 postfix/submission/smtpd[4230]: fatal: unexpected command-line argument: smtps
Jan 9 05:32:56 server1 postfix/submission/smtpd[4348]: fatal: unexpected command-line argument: smtps
Jan 9 05:34:34 server1 postfix/submission/smtpd[4406]: fatal: unexpected command-line argument: smtps
Jan 9 05:35:35 server1 postfix/submission/smtpd[4455]: fatal: unexpected command-line argument: smtps
Jan 9 05:36:36 server1 postfix/submission/smtpd[4471]: fatal: unexpected command-line argument: smtps
Jan 9 05:40:02 server1 postfix/submission/smtpd[4535]: fatal: unexpected command-line argument: smtps
Jan 9 05:43:41 server1 postfix/submission/smtpd[4581]: fatal: unexpected command-line argument: smtps
Jan 9 05:43:41 server1 postfix/submission/smtpd[4583]: fatal: unexpected command-line argument: smtps
Jan 9 05:45:01 server1 postfix/submission/smtpd[4615]: fatal: unexpected command-line argument: smtps
Jan 9 05:46:02 server1 postfix/submission/smtpd[4641]: fatal: unexpected command-line argument: smtps
Jan 9 05:46:02 server1 postfix/submission/smtpd[4642]: fatal: unexpected command-line argument: smtps
Jan 9 05:50:02 server1 postfix/submission/smtpd[4687]: fatal: unexpected command-line argument: smtps
Jan 9 05:55:01 server1 postfix/submission/smtpd[4764]: fatal: unexpected command-line argument: smtps
Jan 9 05:58:41 server1 postfix/submission/smtpd[4808]: fatal: unexpected command-line argument: smtps
Jan 9 05:58:41 server1 postfix/submission/smtpd[4810]: fatal: unexpected command-line argument: smtps
Jan 9 05:59:46 server1 postfix/submission/smtpd[5091]: fatal: unexpected command-line argument: smtps
Jan 9 06:00:47 server1 postfix/submission/smtpd[5188]: fatal: unexpected command-line argument: smtps
Jan 9 06:00:47 server1 postfix/submission/smtpd[5189]: fatal: unexpected command-line argument: smtps
Jan 9 06:00:47 server1 postfix/submission/smtpd[5190]: fatal: unexpected command-line argument: smtps
Jan 9 06:02:16 server1 postfix/submission/smtpd[5204]: fatal: unexpected command-line argument: smtps
Jan 9 06:03:17 server1 postfix/submission/smtpd[5211]: fatal: unexpected command-line argument: smtps
Jan 9 06:04:18 server1 postfix/submission/smtpd[5218]: fatal: unexpected command-line argument: smtps
Jan 9 06:05:19 server1 postfix/submission/smtpd[5268]: fatal: unexpected command-line argument: smtps
Jan 9 06:10:02 server1 postfix/submission/smtpd[5334]: fatal: unexpected command-line argument: smtps
Jan 9 06:12:28 server1 postfix/submission/smtpd[5375]: fatal: unexpected command-line argument: smtps
Jan 9 06:13:42 server1 postfix/submission/smtpd[5383]: fatal: unexpected command-line argument: smtps
Jan 9 06:13:42 server1 postfix/submission/smtpd[5384]: fatal: unexpected command-line argument: smtps
Jan 9 06:15:01 server1 postfix/submission/smtpd[5425]: fatal: unexpected command-line argument: smtps


Thanks!

till 9th January 2013 11:21

There is a misconfiguration in your /etc/postfix/master.cf file. Please post the file.

agord 9th January 2013 11:29

Here is:

#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
#smtp inet n - - - 1 postscreen
#smtpd pass - - - - - smtpd
#dnsblog unix - - - - 0 dnsblog
#tlsproxy unix - - - - 0 tlsproxy
#submission inet n - - - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
smtps inet n - - - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
#
# ================================================== ==================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ================================================== ==================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ================================================== ==================
# Old example of delivery via Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ================================================== ==================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1








Thanks for the reply :)

till 9th January 2013 11:59

Rmove # in front of the line:

#submission inet n - - - - smtpd

and restart postfix.

agord 9th January 2013 12:10

Now i can sent from my email@domain.com to my email@domain.com

but.. if i want to sent an email from email@domain.com to my personal email @gmail.com or @hotmail.com it cant go out from the queue

Data from: 2013-01-09 10:05
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
8B0D87013BD 1193 Wed Jan 9 06:59:56 cristianleyes@aycral.com
(connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c03::1a]:25: Network is unreachable)
xxxxxxxx@gmail.com

-- 1 Kbytes in 1 Request.


Edit: i have smtp/pop3/http..etc ports open

falko 10th January 2013 19:24

Can you post the outputs of

Code:

postconf -d | grep inet_protocols
and

Code:

postconf -n | grep inet_protocols
?

agord 10th January 2013 21:34

Thanks for the help :)

The last problem was an ISP problem..i just get tired trying things..then it start working lol. :)

Bye! Regards


All times are GMT +2. The time now is 22:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.