Getting Postfix Silently Discard Catchall Emails
Dec 24, 2007
I finally got to the spam point I had to need to disable the "catchall" email accounts on postfix. I simply removed the catchall lines from /etc/postfix/virtual, and it works correctly, however I want postfix to tell the spammer that the message was accepted but really silently discard it.
right now it discards their email correctly, but postfix emails a reply back to the "from" address (which is most likely faked or some innocent user)
Quote:
"PERM_FAILURE: SMTP Error (state 13): 550 <localhost@example.com>: Recipient address rejected: User unknown in virtual alias table"
how do I get postfix to silently trash their message, give the smtp reply code that it was successfully accepted, and not email the user back.
or is it not that big of deal and I should just let it send (but this seems like a huge waste as this means my server is wasting resources sending hundreds/thousands of unnecessary "REJECTED" messages to users who probably are completely unrelated)
View 1 Replies
ADVERTISEMENT
Jan 29, 2007
I'm running postfix 2.3.5 with my alias info being drawn from a mysql database.
What i'm trying to do is setup a partial catchall setup to forward all email that's addressed *@hah.cx to uber@spamcop.net. However, I want email addressed to mikey@hah.cx, and mike@hah.cx to be directed to my local "mikey" user email account.
View 0 Replies
View Related
Oct 21, 2014
I have a hard problem with my VPS. I have postfix as mail server on plesk 12 under ubuntu 12.
I dont know why the outgoing mails of all my domains in my servers are getting spam in servers like gmail, yahoo, hotmail...
I'm using mxtoolbox to fix errors and warnings and finally fixed all of them, but my mails are still outgoing to spam.
In mxtoolbox actually I have no mail server errors / warning, u can see it with, for example, this one of my domains: [URL] ....
Headers:
This message is an automatic response from Port25's authentication verifier service at verifier.port25.com. The service allows email senders to perform a simple check of various sender authentication mechanisms. It is provided free of charge, in the hope that it is useful to the email community.
[Code] ....
View 1 Replies
View Related
Jan 13, 2008
Has anyone had issues with Level3 honoring their discard community recently (3556:9999)? We had to null 2 IPs earlier in the week. The first one they didn't pick up the route when advertised via BGP (or if they did, it took hours). We ended up having to call and get them to filter it manually. The second IP we were able to null route fine using BGP. Now we have another IP being attacked and it looks like Level3 isn't going to pick up the route and discard traffic.
View 12 Replies
View Related
Jan 30, 2014
I'm trying to add a new subscription and I get the error
Error: Discard mode not supported
I've tried adding a test domain to other clients even my main admin and I still get this error. Panel version 11.5.30 Update #31, last updated at Jan 30, 2014 04:02 AM
I believe that is the only thing that changed between my last domain creation and today's attempt. Anyway to rollback ? Or anyway to get more information on this error ?
I'm running on Plesk's auto-update and I have it set to "Late adopter release"....
View 9 Replies
View Related
Jul 2, 2014
My issue started ince a couple of months seemed to increase with update to Plesk 12.0 (though I can't guarantee it).I am using Centos 6.5, all updated. What happens is that postfix usage starts to increase without any apparent reason (during week-ends for example). Then postfix is not responding anymore.
Code:
top - 13:27:13 up 3 days, 18:44, 0 users, load average: 0.73, 0.33, 0.32
Tasks: 238 total, 2 running, 236 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.6%sy, 0.1%ni, 98.7%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32917292k total, 8982212k used, 23935080k free, 1899416k buffers
Swap: 1046520k total, 0k used, 1046520k free, 4905884k cached
[code]....
View 1 Replies
View Related
Sep 4, 2007
Since Jan 07, one of our servers has been sending thousands of emails to ne.jp hosts.
Eg from logs:
Code:
Sep 4 19:11:11 debian sm-mta[25383]: l84FY9ME016602: to=, ctladdr= (2001/2001), delay=01:37:02, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYB7d016734: to=, ctladdr= (2001/2001), delay=01:37:00, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FY9A4016629: to=, ctladdr= (2001/2001), delay=01:37:02, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FY9la016616: to=, ctladdr= (2001/2001), delay=01:37:02, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYCkO016807: to=, ctladdr= (2001/2001), delay=01:36:58, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYB7B016730: to=, ctladdr= (2001/2001), delay=01:37:00, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYCO0016757: to=, ctladdr= (2001/2001), delay=01:36:59, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYDjq016819: to=, ctladdr= (2001/2001), delay=01:36:58, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYBhL016751: to=, ctladdr= (2001/2001), delay=01:37:00, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
Sep 4 19:11:11 debian sm-mta[25383]: l84FYDPw016811: to=, ctladdr= (2001/2001), delay=01:36:58, xdelay=00:00:00, mailer=esmtp, pri=930403, relay=lsean.ezweb.ne.jp., dsn=4.0.0, stat=Deferred: Connection timed out with lsean.ezweb.ne.jp.
We're absolutely unable to track or find out who is sending it or how to stop this.
So I'm wondering if it is possible to prevent sendmail from sending to:
lsean.ezweb.ne.jp, OR
docomo.ne.jp, OR
softbank.ne.jp
/var/mail/vhostswww logs are not showing helpful info at all. Eg:
Code:
--l84GRnX5029819.1188924137/debian--
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-2022-JP
Mime-Version: 1.0
From: hanako.@docomo.ne.jp
Subject:
To: a_j.n-y_bluespider-tattoo@softbank.ne.jp
Message-Id: <200709041410.l84EA0Fh007971@debian>
Date: Tue, 4 Sep 2007 16:10:00 +0200
Tue, 4 Sep 2007 16:10:00 +0200
by debian (8.13.4/8.13.4/Submit) id l84EA0Fh007971;
Received: (from vhostswww@localhost)
for ; Tue, 4 Sep 2007 16:10:00 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l84EA0jk007973
Received: from debian (localhost [127.0.0.1])
Return-Path:
Content-Type: text/rfc822-headers
--l84GRnX5029819.1188924137/debian
Last-Attempt-Date: Tue, 4 Sep 2007 18:42:16 +0200
Diagnostic-Code: SMTP; 550 Invalid recipient:
Remote-MTA: DNS; mx.softbank.ne.jp
Status: 5.1.1
Action: failed
Final-Recipient: RFC822; a_j.n-y_bluespider-tattoo@softbank.ne.jp
Arrival-Date: Tue, 4 Sep 2007 16:10:00 +0200
Reporting-MTA: dns; debian
Content-Type: message/delivery-status
--l84GRnX5029819.1188924137/debian
<<< 503 No recipients specified
550 5.1.1 ... User unknown
<<< 550 Invalid recipient:
>>> DATA
... while talking to mx.softbank.ne.jp.:
----- Transcript of session follows -----
(reason: 550 Invalid recipient: )
----- The following addresses had permanent fatal errors -----
from localhost [127.0.0.1]
The original message was received at Tue, 4 Sep 2007 16:10:00 +0200
--l84GRnX5029819.1188924137/debian
This is a MIME-encapsulated message
Auto-Submitted: auto-generated (failure)
Subject: Returned mail: see transcript for details
boundary="l84GRnX5029819.1188924137/debian"
Content-Type: multipart/report; report-type=delivery-status;
MIME-Version: 1.0
To:
Message-Id: <200709041642.l84GRnX5029819@debian>
From: Mail Delivery Subsystem
Date: Tue, 4 Sep 2007 18:42:17 +0200
Tue, 4 Sep 2007 18:42:17 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) id l84GRnX5029819;
Received: from localhost (localhost)
Return-Path:
From MAILER-DAEMON Tue Sep 4 18:42:17 2007
--l84GRnX4029819.1188924135/debian--
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-2022-JP
Mime-Version: 1.0
From: hanako.@docomo.ne.jp
Subject:
To: a_j.n-y_bluespider-tattoo@softbank.ne.jp
Message-Id: <200709041411.l84EB8CS011861@debian>
Date: Tue, 4 Sep 2007 16:11:08 +0200
Tue, 4 Sep 2007 16:11:08 +0200
by debian (8.13.4/8.13.4/Submit) id l84EB8CS011861;
Received: (from vhostswww@localhost)
for ; Tue, 4 Sep 2007 16:11:09 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l84EB8f6011862
Received: from debian (localhost [127.0.0.1])
Return-Path:
Content-Type: text/rfc822-headers
--l84GRnX4029819.1188924135/debian
Last-Attempt-Date: Tue, 4 Sep 2007 18:42:15 +0200
Diagnostic-Code: SMTP; 550 Invalid recipient:
Remote-MTA: DNS; mx.softbank.ne.jp
Status: 5.1.1
Action: failed
Final-Recipient: RFC822; a_j.n-y_bluespider-tattoo@softbank.ne.jp
Arrival-Date: Tue, 4 Sep 2007 16:11:09 +0200
Reporting-MTA: dns; debian
Content-Type: message/delivery-status
--l84GRnX4029819.1188924135/debian
<<< 503 No recipients specified
550 5.1.1 ... User unknown
<<< 550 Invalid recipient:
>>> DATA
... while talking to mx.softbank.ne.jp.:
----- Transcript of session follows -----
(reason: 550 Invalid recipient: )
----- The following addresses had permanent fatal errors -----
from localhost [127.0.0.1]
The original message was received at Tue, 4 Sep 2007 16:11:09 +0200
--l84GRnX4029819.1188924135/debian
This is a MIME-encapsulated message
Auto-Submitted: auto-generated (failure)
Subject: Returned mail: see transcript for details
boundary="l84GRnX4029819.1188924135/debian"
Content-Type: multipart/report; report-type=delivery-status;
MIME-Version: 1.0
To:
Message-Id: <200709041642.l84GRnX4029819@debian>
From: Mail Delivery Subsystem
Date: Tue, 4 Sep 2007 18:42:15 +0200
Tue, 4 Sep 2007 18:42:15 +0200
by debian (8.13.4/8.13.4/Debian-3sarge3) id l84GRnX4029819;
Received: from localhost (localhost)
Return-Path:
From MAILER-DAEMON Tue Sep 4 18:42:15 2007
--l84GRnX3029819.1188924134/debian--
How would I solve this problem as it's making our server load skyhigh 24/7.
Additional info about system:
> Debian Linux, latest kernel
> Sendmail (we've tried postfix, exim, with same results)
> Non cPanel system.
View 6 Replies
View Related
Sep 22, 2007
i'm running postfix on my mail server.
Is it possible to make each user/domain only send out 100mails per hour or less?
View 6 Replies
View Related
Oct 19, 2007
I'm currently having trouble with Postfix. I recently installed some new web hosting software (ispCP) and so some new configs were written for all my software. Postfix was one of them and I can't figure out what's wrong with it.
Whenever I send e-mails to my server, Postfix denies it saying "Unknown address error 554: Relay access denied". The logs say NOTHING about it and I've been trying the old configs on Postfix and still nothing works.
Here are my configs:
main.cf
Code:
#
# Postfix MTA Manager Main Configuration File;
#
# Please do NOT edit this file manually;
#
#
# Postfix directory settings; These are critical for normal Postfix MTA functionallity;
#
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
#
# Some common configuration parameters;
#
inet_interfaces = all
mynetworks_style = host
myhostname = xetaspace.net
mydomain = xetaspace.net.local
myorigin = $mydomain
smtpd_banner = $myhostname ISPCP 1.0.0 Managed ESMTP
setgid_group = postdrop
#
# Receiving messages parameters;
#
mydestination = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
transport_maps = hash:/etc/postfix/ispcp/transport
#
# Delivering local messages parameters;
#
mail_spool_directory = /var/mail
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"
biff = no
alias_database = hash:/etc/aliases
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
#
# Delivering virtual messages parameters;
#
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_limit = 0
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_minimum_uid = 2887
virtual_uid_maps = static:2887
virtual_gid_maps = static:8
#
# SASL paramters;
#
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = vhcs.net
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
master.cf
Code:
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - - - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo 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
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error 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/local/bin/maildrop -d ${recipient}
#
# 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 - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
#
# vhcs delivery agent.
#
ispcp-arpl unix - n n - - pipe flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr
View 6 Replies
View Related
Jul 6, 2007
I tried following the directions about 'The Perfect Setup' for SuSE 10.1 for my email server and finally got it to work, but now I am having issues with error messages!
In my /var/log/mail file I get tons of:
Jul 6 18:15:17 <server> postfix/qmgr[8226]: warning: connect to transport error: Operation not permitted
and in my /var/log/messages file I get tons of:
Jul 6 18:19:17 <server> kernel: audit(1183738757.049:122): REJECTING w access to /var/spool/postfix/private/error (qmgr(8226) profile /usr/lib/postfix
/qmgr active /usr/lib/postfix/qmgr)
I can't find anyone having issues with the 'error' part of postfix.
View 7 Replies
View Related
Jan 17, 2007
Its incredible.... what happens with postfix....
the install is ok but:
Code:
[root@vps25621 ~]# ping google.com
PING google.com (64.233.167.99) 56(84) bytes of data.
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=1 ttl=244 time=24.6 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=2 ttl=244 time=27.9 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=3 ttl=244 time=24.6 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=4 ttl=244 time=24.9 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=5 ttl=244 time=24.7 ms
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 24.651/25.394/27.930/1.275 ms
[root@vps25621 ~]# postfix start
postfix/postfix-script: warning: /var/spool/postfix/etc/services and /etc/services differ
postfix/postfix-script: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
postfix/postfix-script: warning: /var/spool/postfix/etc/passwd and /etc/passwd differ
postfix/postfix-script: starting the Postfix mail system
[root@vps25621 ~]# ping google.com
[root@vps25621 ~]#
View 12 Replies
View Related
Jul 7, 2008
I'm thinking of forcing the install but well maybe I should just post what's going on
After unpacking 0B of additional disk space will be used.
Setting up virtualmin-base (1.0-19) ...
Setting Webmin theme
Setting Usermin theme
Configuring Postfix
Error: Failed to query Postfix config command to get the current value of parameter virtual_alias_maps: <tt></tt>
Error
-----
Failed to query Postfix config command to get the current value of parameter virtual_alias_maps: <tt></tt>
-----
dpkg: error processing virtualmin-base (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
virtualmin-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
I ran a dpkg-reconfigure and well I didn't had any problems
The system is Debian 4.0
View 1 Replies
View Related
Jul 4, 2008
no mails are sent, without mail i'm lost because my users need confirmation emails to activate their membership, thank you
this is from my mail.log
postfix/smtp[30100]: 597E529C0FE1: to=<d1234@yahoo.com>, relay=none, delay=38985, delays=38985/0.01/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)
postfix/smtp[30098]: 5FCBA29C1032: to=<h1234@yahoo.com>, relay=none, delay=27875, delays=27875/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)
postfix/smtp[30099]: 5162829C1053: to=<s1234@ukr.net>, relay=none, delay=22725, delays=22725/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=ukr.net type=MX: Host not found, try again)
View 14 Replies
View Related
Aug 1, 2008
I recently moved to a VPS and installed Postfix onto it as my mail server. But I have following problems with its consistent working:
1. I experience that every now and then (once in 2 weeks) , it stops sending mails and put them in the mail queue with the following error:
Host or domain name not found. Name service error for name= type=MX: mysite.com not found, try again
I am not sure why it says so. However if I try to restart my mail server /etc/init.d/postfix restart and then try to flush the mails out of queue they are sent successfully. I am not sure where the problem is.
2. Secondly, I see that the header of my mails contains the hostname of my VPS machine "gospel" which is ofcourse not intended. How can I have my domain name in the mail headers?
View 1 Replies
View Related
Feb 23, 2008
My server's running Debian Etch, Postfix and spamassassin.
Spamassassin works: it flags spam messages correctly.
Currently I have set it to discard messages marked as spam and messages that doesn't have a proper ascii header (Eliminates mail from chinese & japanese spammers). But how do I make postfix to move spam to "Junk" (or such) folder, not to discard it.
Current /etc/postfix/header_checks:
Code:
/[^[:print:]]{8}/ DISCARD
/^X-Spam-level: *******.*$/ DISCARD
I did found something that could help, but didn't know how to apply it to my configuration, and it seems to be Php code for ispconfig.
View 1 Replies
View Related
Jan 25, 2007
I'm having some SMTP server security issues. I am running Postfix on my Debian VPS and I am trying to disable Postfix from being publically used by anybody except those with webmail.
I read Postfix's configuration at Postfix.org, but I couldn't find anything that I thought to be relevent to this situation. Do any of you have suggestions or ways to fix this? Besides disabling e-mail all together?
As another detail, I'm running Postfix on its original config, not through a MySQL database config.
View 1 Replies
View Related
Mar 2, 2007
I've got virtualmin installed and configured and working beautifully, and I'm able to add email accounts and have them checked by dovecot. Now I'm trying to work the SMTP side of things, but I'm stuck.
What's happening here is that when I attempt to send an email through Postfix, it replies with 'relay access denied'
I've searched google and tried various things, but none of them have worked so far. I can post any configuration files you need. After I get this working, I get to add another domain and see if the settings work there too
View 5 Replies
View Related
Oct 23, 2007
I'm trying to iron out this huge bug with Postfix. Right now I am stuck in a hole. I am trying to disable Postfix from relaying e-mail sent to my server. When I send e-mail without "relay_domains", I get a "554 Relay Access Denied" error. When I supply a "relay_domains" variable to Postfix, I get "mail for example.com loops back to myself" for an error.
I was skimming over the Postfix docs and it said you can make these errors go away with a "virtual_mailbox_domains" or "virtual_alias_domains" variable. My config has "virtual_mailbox_domains" but still these errors appear.
Is there a way to fix this, or a way to disable Postfix from relaying e-mail?
View 3 Replies
View Related
Aug 13, 2007
I am running postfix on my server. This server is used by me only Here is what I want to do for this server:
1. Receive email: I want to receive emails for some of my virtual domains host in this server
2. Check mail: I check email by using a web client which install in the server
3. Send mail: I send email by using a web client which install in the server.
4. Don't want to let any remote user to send email through my server.
Here is my config:
alias_database hash:/etc/aliases
mynetworks_style host
myorigin $mydomain
inet_interfaces all
mail_owner postfix
mydestination $myhostname, localhost.$mydomain, localhost
mydomain example.com
myhostname mail.example.com
queue_directory /var/spool/postfix
setgid_group postdrop
unknown_local_recipient_reject_code 550
virtual_alias_domains somevirtualdomains.com
virtual_alias_maps hash:/etc/postfix/virtual
Is my server secure enough? Can people spam email through my server?
I see people suggest to use smtp auth or pop before smtp to increase the security, Do you think it's necessary to do so in my case?
View 0 Replies
View Related
Apr 18, 2009
I'm using Postfix as my mail agent. I was wondering how to forward incoming emails to a script.
I did a search in google and couldn't find anything relevant only this.
create a alias like this.
email@example.com: "| php -q /home/user/full/path/to/script.php"
But is not working not forward nothing. I have tried everything but nothing works and the logs not show me any errors.
View 2 Replies
View Related
Feb 25, 2008
I installed recently Postfix + Dovecot (yum) on a CentOS 5.1 test box. The configuration went OK, I can telnet on port 25, 587 and 465 with no problems.
# hostname -f
localhost.localdomain
#openssl s_client -connect localhost:465
CONNECTED(00000003)
depth=0 /C=CA/ST=Quebec/L=Montreal/O=Axivo Inc./CN=localhost/emailAddress=webmaster@localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=CA/ST=Quebec/L=Montreal/O=Axivo Inc./CN=localhost/emailAddress=webmaster@localhost
verify return:1
[more certificate code here ...]
---
220 localhost.localdomain ESMTP Postfix
ehlo localhost
250-localhost.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
# telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 localhost.localdomain ESMTP Postfix
ehlo localhost
250-localhost.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN ....
View 8 Replies
View Related
Sep 23, 2009
Does anyone know of a good postfix tutorial?
I'm having trouble getting it to work on my server.
I'm using Ubuntu 8.10.
I have a working SMTP but I need POSTFIX for php mail()
View 9 Replies
View Related
Jul 9, 2008
i am confused about setting up mail server.
1.Postfix or sendmail or exim as MTA? which is best?
2. which SMTP/POP3 is best? dovecot or courier or any other
3. or which MTA/POP3 combination is easy and works best?
i am looking for easy installation so that i can use webmail and outlook for emails.
what do you suggest? and of course not commercial ones.
View 6 Replies
View Related
Jun 19, 2008
How can I change port of postfix?
View 8 Replies
View Related
Nov 21, 2008
I have a server which runs suse linux on it. Postfix is already installed on it.
But, the problem is i am not able to send mail using root. I mean using mail -v command.
I could see the following in mail logs. I know 2 files main.cf and master.cf are there.
Not, sure what to change and how.
Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: connect to mx3.domain.com [x.x.x.x]: Connection timed out (port 25)
Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: 61715223EE: to=<sabarish@domain.com>, relay=none, delay=30, status=deferred (connect to mx3.domain.com[x.x.x.x]: Connection timed out)
The same thing happens will Gmail also. I think outgoing mail is not working at all.
Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: connect to gsmtp183.google.com[64.233.183.27]: Connection timed out (port 25)
Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: 5A177223E1: to=<sabarish@gmail.com>, relay=none, delay=189739, status=deferred (connect to gsmtp183.google.com[64.233.183.27]: Connection timed out)
View 7 Replies
View Related
Feb 6, 2008
Where can I turn off the emails that go out in response to a message not being delivered?
View 2 Replies
View Related
Feb 8, 2007
I have my postfix server configured to allow me to send email without authentication whenever my ip matches a value in my config. Only problem is, i have it open to accept anyone in my subnet, and i'm kind of weary of letting anyone in this area send mail through it.
I have a script on my server that gets my ip address whenever i send an http-based request to my winamp now playing script. When it gets my ip address, it updates a file called ip.txt with my ip address. What i'm trying to do is config my postfix main.cf file to grab the ip from ip.txt, and add it onto the mynetworks variable. Then when i try to send the email, i want it to recognize me, and let me send the email.
View 2 Replies
View Related
Oct 21, 2007
I have searched the whole forum for help on this but couldnt find anything.
I have postfix running on a backup mx server for a plesk box. The backup mx does a very good job of reducing spam and virus to my plesk box thanks to mailscanner.
The problem i have now is i have to manually update postfix transport and relay_recipients file everytime a new domain is created in plesk. Do any one know how i can create a custom script that will pull domain information from my plesk box and will update postfix on the backup mx server. Maybe a website with information that can help.
i can always set a cron to run the postmap command to update the tables but i will need to update the respective files (transport, relay_recipients) first.
View 3 Replies
View Related
Feb 10, 2007
I've just finished setting up postfix with mysql virtualdomains, on debian sarge with mysql 5.0. However it refuses to connect to the mysql database and I have found a bug report for courrier-authdeamon
[url]
how can I get around this? I would like to be able to keep mysql 5 but need a stable version so I do not want to install the 5.1 version...
View 0 Replies
View Related
Sep 9, 2007
how do I configure a minimal/basic sendmail/postfix mail server on an ubuntu 7.04 server edition? I tried with postfix but I ran only into errors.
View 1 Replies
View Related